1 # Configuration for OpenBSD
3 include $(TOP)/configs/default
10 CFLAGS = -O2 -fPIC -I/usr/X11R6/include -DUSE_XSHM -DHZ=100
11 CXXFLAGS = -O2 -fPIC -I/usr/X11R6/include -DHZ=100
13 # Work around aliasing bugs - developers should comment this out
14 CFLAGS += -fno-strict-aliasing
15 CXXFLAGS += -fno-strict-aliasing
17 GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm
19 GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
20 GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lm
21 APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm