blob: 0942291589463df8ba66113194964ad31e857540 [file] [log] [blame]
Brian Paula70ad912004-03-26 15:16:35 +00001# Configuration for SunOS 4, with gcc, shared libs
2
3include $(TOP)/configs/default
4
5CONFIG_NAME = sunos4-gcc
6
7# Compiler and flags
8CC = gcc
9CXX = g++
10CFLAGS = -fPIC -O3 -I/usr/openwin/include -I/usr/include/X11R5 -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4
11CXXFLAGS = -fPIC -O3 -I/usr/openwin/include -DSUNOS4
12GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG
13
Dan Nicholson01b18ab2007-11-01 06:01:53 -070014# Work around aliasing bugs - developers should comment this out
15CFLAGS += -fno-strict-aliasing
16CXXFLAGS += -fno-strict-aliasing
17
Brian Paul883f9892006-07-13 02:50:27 +000018APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm
Brian Paula70ad912004-03-26 15:16:35 +000019