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-solo 998B

123456789101112131415161718192021222324252627282930
  1. # Configuration for linux-solo: Linux DRI hardware drivers for fbdev
  2. include $(TOP)/configs/default
  3. CONFIG_NAME = linux-solo
  4. # Compiler and flags
  5. CC = gcc
  6. CXX = g++
  7. DEFINES = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE -DUSE_EXTERNAL_DXTN_LIB=1 -DDRM_USE_MALLOC
  8. CFLAGS = $(DEFINES) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math
  9. CXXFLAGS = $(DEFINES) -Wall -O3 -ansi -pedantic -fPIC
  10. # Library/program dependencies
  11. DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl -L$(LIB_DIR) -lEGL -l$(GL_LIB)
  12. GL_LIB_DEPS = -lm -lpthread -ldl
  13. GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
  14. GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
  15. APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lpthread
  16. # Directories
  17. SRC_DIRS = mesa egl glx/mini glu glut/mini
  18. DRIVER_DIRS = dri
  19. PROGRAM_DIRS = miniglx egl
  20. #DRI_DIRS = ffb gamma sis savage
  21. DRI_DIRS = i810 i830 i915 mach64 mga r128 r200 radeon tdfx unichrome fb