2006-11-25 11:49:17 -07:00
|
|
|
# Configuration for Linux fbdev interface
|
|
|
|
|
|
|
|
include $(TOP)/configs/linux
|
|
|
|
|
|
|
|
CONFIG_NAME = linux-fbdev
|
|
|
|
|
2007-03-03 04:56:24 -07:00
|
|
|
CFLAGS = -O3 -ffast-math -ansi -pedantic -fPIC -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS -DUSE_GLFBDEV_DRIVER
|
2006-11-25 11:49:17 -07:00
|
|
|
|
2008-02-12 14:09:25 -07:00
|
|
|
# Work around aliasing bugs - developers should comment this out
|
|
|
|
CFLAGS += -fno-strict-aliasing
|
|
|
|
|
2006-11-25 11:49:17 -07:00
|
|
|
SRC_DIRS = mesa glu glut/fbdev
|
2007-03-03 04:56:24 -07:00
|
|
|
DRIVER_DIRS = fbdev osmesa
|
2006-11-25 11:49:17 -07:00
|
|
|
PROGRAM_DIRS = fbdev demos redbook samples
|
|
|
|
|
|
|
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread
|
2007-03-03 04:56:24 -07:00
|
|
|
OSMESA_LIB_DEPS = -lm -lpthread
|
2006-11-25 11:49:17 -07:00
|
|
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lgpm -lm
|
|
|
|
|