# bzflag
# Copyright (c) 1993 - 2001 Tim Riker
#
# This package is free software;  you can redistribute it and/or
# modify it under the terms of the license found in the file
# named LICENSE that should have accompanied this file.
#
# THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

#
# configuration for generic platform
#
CONFIG	= solaris

#
# tools
#
AR	= ar cru
CC	= cc
CXX	= CC
CD	= cd
CP	= cp
ECHO	= echo
LD	= ld
MKDIR	= mkdir
NROFF	= nroff
RM	= rm -f
RMR	= $(RM) -r
SHELL	= /bin/sh

#
# compiler definitions
#
PCDEFS   = -DSUN_OGL_NO_VERTEX_MACROS
PCXXDEFS = -DSUN_OGL_NO_VERTEX_MACROS

#
# compiler options
#
PCOPTS   =
PCXXOPTS =
COPT     = -DNDEBUG -O
CXXOPT   = -DNDEBUG -O
CDEBUG   = -DDEBUG -g
CXXDEBUG = -DDEBUG -g
CWOFF    =
CXXWOFF  =

#
# search paths
#
PCINCS   =
PCXXINCS =

#
# linker options
#
PLDOPTS  = -L/usr/openwin/lib
PLDLIBS  = -lresolv -lsocket -lnsl

#
# dirt
#
PDIRT    = *.[eou] a.out core ar.tmp.*

#
# libraries
#
# audio libraries
AUDIO_LIBS =				\
	-L/usr/demo/SOUND/lib 		\
	-laudio				\
	$(NULL)

# display resolution change libraries
DISPLAY_LIBS =				\
	$(NULL)

# opengl libraries
GL_LIBS =				\
	-lGL				\
	-lGLU				\
	$(NULL)

# libraries for opening image files
IMAGE_LIBS =				\
	$(NULL)

# libraries for network stuff
NETWORK_LIBS =				\
	$(NULL)

# libraries for windowing
WINDOW_LIBS =				\
	-lX11				\
	-lXext				\
	$(NULL)

