# bzflag # Copyright 1993-1999, Chris Schoeneman # # 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 linux # CONFIG = linux # # use XF86 vidmode extension (comment out to disable) # XF86VIDMODE_DEF = -DXF86VIDMODE_EXT XF86VIDMODE_LIB = -lXxf86vm # # install locations # INSTALL_DATA_DIR = ${PORTPREFIX}/share/bzflag/data # # tools # AR = /usr/bin/ar cru #CC = /usr/bin/gcc #CXX = /usr/bin/g++ CD = cd CP = /bin/cp LD = /usr/bin/ld MKDIR = /bin/mkdir NROFF = /usr/bin/nroff RM = /bin/rm -f RMR = $(RM) -r SHELL = /bin/sh ECHO = echo # # compiler definitions # PCDEFS = $(XF86VIDMODE_DEF) PCXXDEFS = $(XF86VIDMODE_DEF) # # compiler options # PCOPTS = -Wall -W -ansi $(ACOPTS) PCXXOPTS = -Wall -W -fno-exceptions -fno-rtti $(ACXXOPTS) COPT = -DNDEBUG ${PORTCFLAGS} -DUSBJOYSTICK CXXOPT = -DNDEBUG ${PORTCXXFLAGS} -DUSBJOYSTICK -ffast-math -fomit-frame-pointer \ -fnonnull-objects -fexpensive-optimizations CDEBUG = -DDEBUG -g CXXDEBUG = -DDEBUG -g CWOFF = CXXWOFF = # # search paths # PCINCS = -I/usr/include -I/usr/X11R6/include PCXXINCS = -I/usr/include -I/usr/X11R6/include # # linker options # PLDOPTS = -L${X11BASE}/lib # # dirt # PDIRT = *.[eou] a.out core ar.tmp.* # # libraries # AUDIO_LIBS = \ $(NULL) DISPLAY_LIBS = \ $(XF86VIDMODE_LIB) \ $(NULL) GL_LIBS = \ -lGLU \ -lGL \ $(NULL) IMAGE_LIBS = \ $(NULL) NETWORK_LIBS = \ $(NULL) WINDOW_LIBS = \ -lusbhid \ -lXext \ -lX11 \ $(NULL)