diff options
author | Brian Paul <[email protected]> | 2008-04-09 19:02:41 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-04-09 19:02:41 -0600 |
commit | 40ee989db56cb3938e36c436c7c4b1def7aa2331 (patch) | |
tree | 51a1244e8ae3a9d4ecaffb8e9d18992e0ab7cbcb /configs/dragonfly | |
parent | ef76dfc7a0404e069d60796353f961680d13e69e (diff) |
Hasso Tepper <[email protected]>
Diffstat (limited to 'configs/dragonfly')
-rw-r--r-- | configs/dragonfly | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/configs/dragonfly b/configs/dragonfly new file mode 100644 index 00000000000..97c10e3c90e --- /dev/null +++ b/configs/dragonfly @@ -0,0 +1,38 @@ +# Configuration for DragonFly + +include $(TOP)/configs/default + +CONFIG_NAME = DragonFly + +# Compiler and flags +CC = cc +CXX = c++ +MAKE = gmake + +OPT_FLAGS = -O2 +PIC_FLAGS = -fPIC + +DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DUSE_XSHM \ + -DHZ=100 + +X11_INCLUDES = -I/usr/pkg/include + +CFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES) \ + -ffast-math -pedantic + +CXXFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES) + +GLUT_CFLAGS = -fexceptions + +# Work around aliasing bugs - developers should comment this out +CFLAGS += -fno-strict-aliasing +CXXFLAGS += -fno-strict-aliasing + +EXTRA_LIB_PATH = -L/usr/pkg/lib +APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) $(EXTRA_LIB_PATH) -l$(GLUT_LIB) \ + -l$(GLU_LIB) -l$(GL_LIB) -lXext -lXmu -lXi -lX11 -lm + +# Installation directories (for make install) +INSTALL_DIR = /usr/pkg +DRI_DRIVER_INSTALL_DIR = /usr/pkg/lib/modules/dri/ + |