summaryrefslogtreecommitdiff
path: root/configs/freebsd-dri
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2005-05-28 20:17:06 +0000
committerEric Anholt <anholt@FreeBSD.org>2005-05-28 20:17:06 +0000
commitf054fa85d8e9f5eadf4fe845764905e102802e88 (patch)
tree373a5391a1cefa0b23f9f677f11966b9ac1b0b7c /configs/freebsd-dri
parent2ed4c296d93c2df905684fad374a516c828022b7 (diff)
Add a freebsd-dri-amd64 config, and quiet makedepend slightly by making an
EXPAT_INCLUDES config variable (set on FreeBSD) which is then used in Makefile.template's INCLUDES.
Diffstat (limited to 'configs/freebsd-dri')
-rw-r--r--configs/freebsd-dri6
1 files changed, 4 insertions, 2 deletions
diff --git a/configs/freebsd-dri b/configs/freebsd-dri
index 8d92f11bc5..b3a99493bf 100644
--- a/configs/freebsd-dri
+++ b/configs/freebsd-dri
@@ -11,16 +11,18 @@ CXX = g++
WARN_FLAGS = -Wall
OPT_FLAGS = -O
+EXPAT_INCLUDES = -I/usr/local/include
X11_INCLUDES = -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions
DEFINES = -DDRI_NEW_INTERFACE_ONLY
-CFLAGS = $(DEFINES) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math -I/usr/local/include $(X11_INCLUDES)
+CFLAGS = $(DEFINES) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC \
+ -ffast-math $(X11_INCLUDES)
CXXFLAGS = $(DEFINES) -Wall -g -ansi -pedantic -fPIC
ASM_SOURCES =
# Library/program dependencies
DRI_LIB_DEPS = -L/usr/local/lib -lm -lpthread -lexpat
-GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -pthread
+GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
GLUT_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
GLW_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lXm -lX11