aboutsummaryrefslogtreecommitdiffstats
path: root/configs/linux-fbdev
blob: e36d20a702cdd40d26938c37e6a8a793648c99a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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

SRC_DIRS = mesa glu glut/fbdev
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