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.

1234567891011121314151617181920212223242526272829303132
  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. CCOMMON = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE
  8. CFLAGS = $(CCOMMON) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math
  9. CXXFLAGS = $(CCOMMON) -Wall -O3 -ansi -pedantic -fPIC
  10. ASM_SOURCES = $(X86_SOURCES)
  11. # Library/program dependencies
  12. GL_LIB_DEPS = -lm -lpthread -lexpat -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 glx glu glut/mini
  18. DRIVER_DIRS = dri
  19. PROGRAM_DIRS = miniglx
  20. #DRI_DIRS = fb ffb gamma sis savage
  21. DRI_DIRS = i810 i830 i915 mach64 mga r128 r200 radeon tdfx unichrome