diff options
Diffstat (limited to 'graphics/libGLU/files/config')
-rw-r--r-- | graphics/libGLU/files/config | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/graphics/libGLU/files/config b/graphics/libGLU/files/config new file mode 100644 index 000000000000..2d3520d90dfe --- /dev/null +++ b/graphics/libGLU/files/config @@ -0,0 +1,31 @@ +# Configuration for mesa-demos port for FreeBSD +# Taken from Mesa CVS mesa/Mesa/configs/freebsd Rev 1.2 +# $FreeBSD: /tmp/pcvs/ports/graphics/libGLU/files/Attic/config,v 1.1 2007-05-19 20:09:44 flz Exp $ +# + +# Set and remember $CFLAGS, $CXXFLAGS, $CC and $CXX before they are +# overriden in default include + +_CC := $(CC) +_CXX := $(CXX) +_CFLAGS := -fPIC -pedantic -I$(X11BASE)/include -DUSE_XSHM -DHZ=100 $(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 = $(X11BASE)/lib + +GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm + +APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXext -lXmu -lXi -lX11 -lm + |