blob: a46afa0e1d7c62be193672081ca4e69fc8026d8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Configuration for mesa-demos port for FreeBSD
# Taken from Mesa CVS mesa/Mesa/configs/freebsd Rev 1.2
# $FreeBSD$
#
# Set and remember $CFLAGS, $CXXFLAGS, $CC and $CXX before they are
# overriden in default include
_CC := $(CC)
_CXX := $(CXX)
_CFLAGS := -fPIC -pedantic -I$(LOCALBASE)/include -DUSE_XSHM -DHZ=100 $(CFLAGS) \
-DPTHREADS $(PTHREAD_CFLAGS)
_CXXFLAGS := -fPIC -pedantic $(CXXFLAGS)
include $(TOP)/configs/default
CONFIG_NAME = FreeBSD
# Now reset compiler and flags
CC = $(_CC)
CXX = $(_CXX)
CFLAGS = $(_CFLAGS)
CXXFLAGS = $(_CXXFLAGS)
GLUT_CFLAGS = -fexceptions
LIB_DIR = $(LOCALBASE)/lib
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXext -lXmu -lXi -lX11 -lm $(PTHREAD_LIBS)
|