Brian Paul | 1077779 | 2005-05-05 13:07:52 +0000 | [diff] [blame] | 1 | # Configuration for Linux fbdev interface |
Keith Whitwell | 431417f | 2005-04-29 17:30:29 +0000 | [diff] [blame] | 2 | |
| 3 | include $(TOP)/configs/linux |
| 4 | |
| 5 | CONFIG_NAME = linux-fbdev |
Keith Whitwell | 431417f | 2005-04-29 17:30:29 +0000 | [diff] [blame] | 6 | |
Sean D'Epagnier | 10cbd08 | 2006-11-30 03:25:28 +0000 | [diff] [blame] | 7 | CFLAGS = -O3 -ffast-math -ansi -pedantic -fPIC -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS -DUSE_GLFBDEV_DRIVER |
Brian Paul | 92c43b1 | 2006-08-18 20:20:28 +0000 | [diff] [blame] | 8 | |
Dan Nicholson | 013dbcd | 2007-10-31 09:47:39 -0700 | [diff] [blame] | 9 | # Work around aliasing bugs - developers should comment this out |
| 10 | CFLAGS += -fno-strict-aliasing |
| 11 | |
José Fonseca | 6acd63a | 2008-02-15 17:50:12 +0900 | [diff] [blame] | 12 | SRC_DIRS = gallium mesa glu glut/fbdev |
Sean D'Epagnier | 10cbd08 | 2006-11-30 03:25:28 +0000 | [diff] [blame] | 13 | DRIVER_DIRS = fbdev osmesa |
Sean D'Epagnier | 7e4152f | 2006-08-18 10:38:15 +0000 | [diff] [blame] | 14 | PROGRAM_DIRS = fbdev demos redbook samples |
| 15 | |
| 16 | GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread |
Sean D'Epagnier | 10cbd08 | 2006-11-30 03:25:28 +0000 | [diff] [blame] | 17 | OSMESA_LIB_DEPS = -lm -lpthread |
Sean D'Epagnier | 6545ebb | 2006-08-05 08:55:10 +0000 | [diff] [blame] | 18 | GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lgpm -lm |
| 19 | |