1 # Configuration for SunOS 5, with gcc
3 include $(TOP)/configs/default
5 CONFIG_NAME = sunos5-gcc
12 OPT_FLAGS = -O3 -g -fomit-frame-pointer -pipe
17 DEFINES = -D_REENTRANT -DUSE_XSHM
19 MESA_ASM_SOURCES = $(SPARC_SOURCES)
20 GLAPI_ASM_SOURCES = $(SPARC_API)
21 ASM_FLAGS = -DUSE_SPARC_ASM
23 CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
24 $(ASM_FLAGS) -std=c99 -ffast-math -I/usr/openwin/include
26 CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
27 -I/usr/openwin/include
30 # Work around aliasing bugs - developers should comment this out
31 CFLAGS += -fno-strict-aliasing
32 CXXFLAGS += -fno-strict-aliasing
34 # Library/program dependencies
35 EXTRA_LIB_PATH=-L/usr/openwin/lib
37 GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXi -lm