aboutsummaryrefslogtreecommitdiff
path: root/mesalib/configs/linux-fbdev
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/configs/linux-fbdev')
-rw-r--r--mesalib/configs/linux-fbdev19
1 files changed, 19 insertions, 0 deletions
diff --git a/mesalib/configs/linux-fbdev b/mesalib/configs/linux-fbdev
new file mode 100644
index 000000000..0b03c33af
--- /dev/null
+++ b/mesalib/configs/linux-fbdev
@@ -0,0 +1,19 @@
+# Configuration for Linux fbdev interface
+
+include $(TOP)/configs/linux
+
+CONFIG_NAME = linux-fbdev
+
+CFLAGS = -O3 -ffast-math -ansi -pedantic -fPIC -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS -DUSE_GLFBDEV_DRIVER
+
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
+
+SRC_DIRS = gallium mesa glu glut/fbdev glew
+DRIVER_DIRS = fbdev osmesa
+PROGRAM_DIRS = fbdev demos redbook samples
+
+GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread
+OSMESA_LIB_DEPS = -lm -lpthread
+GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lgpm -lm
+