Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

linux-dri 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # -*-makefile-*-
  2. # Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others
  3. include $(TOP)/configs/default
  4. CONFIG_NAME = linux-dri
  5. # Compiler and flags
  6. CC = gcc
  7. CXX = g++
  8. WARN_FLAGS = -Wall
  9. OPT_FLAGS = -O
  10. SOURCE_FLAGS = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
  11. -D_BSD_SOURCE -D_GNU_SOURCE
  12. PIC_FLAGS = -fPIC
  13. CFLAGS = -DDRI_NEW_INTERFACE_ONLY $(WARN_FLAGS) -g $(OPT_FLAGS) $(ASM_FLAGS) \
  14. -std=c99 $(PIC_FLAGS) -ffast-math $(SOURCE_FLAGS) -DPTHREADS \
  15. -DUSE_EXTERNAL_DXTN_LIB=1 \
  16. -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions
  17. CXXFLAGS = -DDRI_NEW_INTERFACE_ONLY $(WARN_FLAGS) -g $(OPT_FLAGS) -fPIC \
  18. $(SOURCE_FLAGS)
  19. ASM_SOURCES =
  20. # Library/program dependencies
  21. GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -lexpat -ldl
  22. GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
  23. GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11
  24. # Directories
  25. SRC_DIRS = mesa glu glut/glx glw
  26. DRIVER_DIRS = dri
  27. PROGRAM_DIRS =
  28. WINDOW_SYSTEM=dri
  29. # ffb and gamma are missing because they have not been converted to use the new
  30. # interface.
  31. DRI_DIRS = dri_client i810 i830 i915 mach64 mga r128 r200 radeon tdfx \
  32. unichrome savage sis