Remove unnecessary paths
[mesa.git] / configs / freebsd
1 # Configuration for FreeBSD
2
3 include $(TOP)/configs/default
4
5 CONFIG_NAME = FreeBSD
6
7 # Compiler and flags
8 CC = cc
9 CXX = c++
10 MAKE = gmake
11
12 OPT_FLAGS = -O2
13 PIC_FLAGS = -fPIC
14
15 DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DUSE_XSHM \
16 -DHZ=100 -DHAVE_POSIX_MEMALIGN
17
18 X11_INCLUDES = -I/usr/X11R6/include
19
20 CFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES) -ffast-math -pedantic
21
22 CXXFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES)
23
24 GLUT_CFLAGS = -fexceptions
25
26 EXTRA_LIB_PATH = -L/usr/X11R6/lib
27 APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) $(EXTRA_LIB_PATH) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXext -lXmu -lXi -lX11 -lm