blob: ea2ab23e223bf1344223b6c6a69c5aef5656eb20 [file] [log] [blame]
Brian Paul6bef5e72006-04-14 14:13:00 +00001# Configuration for SunOS 5, SPARC V9
Brian Paulcb32dcf2006-04-13 02:59:29 +00002
3include $(TOP)/configs/default
4
5CONFIG_NAME = sunos5-v9
6
Brian Paul6bef5e72006-04-14 14:13:00 +00007MKLIB_OPTIONS = -cplusplus
Brian Paulcb32dcf2006-04-13 02:59:29 +00008
Brian Paul883f9892006-07-13 02:50:27 +00009LIB_DIR = lib64
Brian Paulcb32dcf2006-04-13 02:59:29 +000010
11# Compiler and flags
12CC = cc
13CXX = CC
14CFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS
15CXXFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS
16GLUT_CFLAGS = -DSOLARIS_2_4_BUG
17
18GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm -lpthread
Brian Paul883f9892006-07-13 02:50:27 +000019GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCstd -lCrun
20GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
21GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11
22APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lX11 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
Brian Paulcb32dcf2006-04-13 02:59:29 +000023