
1: # $NetBSD: Makefile.inc,v 1.7 2003/06/11 12:10:21 wiz Exp $ 2: # 3: # 4: # Hunt 5: # 6: # Copyright (c) 1983-2003, Regents of the University of California. 7: # All rights reserved. 8: # 9: # Redistribution and use in source and binary forms, with or without 10: # modification, are permitted provided that the following conditions are 11: # met: 12: # 13: # + Redistributions of source code must retain the above copyright 14: # notice, this list of conditions and the following disclaimer. 15: # + Redistributions in binary form must reproduce the above copyright 16: # notice, this list of conditions and the following disclaimer in the 17: # documentation and/or other materials provided with the distribution. 18: # + Neither the name of the University of California, San Francisco nor 19: # the names of its contributors may be used to endorse or promote 20: # products derived from this software without specific prior written 21: # permission. 22: # 23: # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 24: # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 25: # TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 26: # PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 27: # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 28: # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 29: # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 30: # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 31: # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32: # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 33: # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34: # 35: 36: # 37: # Game parameter flags are: 38: # RANDOM Include doors which disperse shots randomly 39: # REFLECT Include diagonal walls that reflect shots 40: # MONITOR Include code for watching the game from the sidelines 41: # OOZE Include slime shots 42: # FLY Make people fly when walls regenerate under them 43: # VOLCANO Include occasional large slime explosions 44: # DRONE Include occasional drone shots 45: # BOOTS Include boots (which makes you immune to slime) 46: # OTTO Reserved for CGL automatic player 47: # 48: GAME_PARAM= -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS \ 49: -DOTTO 50: 51: # 52: # System parameter flags are: 53: # DEBUG Don't trust everything in the code 54: # INTERNET Use the Internet domain IPC instead of UNIX domain 55: # LOG Use syslog error-logging in driver (needs SYSLOG_42 or 56: # or SYSLOG_43) 57: # OLDIPC Use 4.1a internet system calls (must also define 58: # INTERNET) 59: # TERMINFO Use terminfo instead of termcap 60: # SYSLOG_42 Use 4.2 BSD syslog(3) 61: # SYSLOG_43 Use 4.2 BSD syslog(3) 62: # LOG Use syslog(3) for logging errors 63: # BSD_RELEASE Which version of BSD distribution 64: # 42 is 4.2BSD (implies SYSLOG_42) 65: # 43 is 4.3BSD (implies BROADCAST, SYSLOG_43) 66: # USE_CURSES Use curses for everything (automatic w/TERMINFO) 67: # SIGNAL_TYPE void or int 68: # HPUX do special HPUX only hacks 69: # 70: DEFS_BSD43= -DINTERNET -DLOG -DBSD_RELEASE=43 -DSIGNAL_TYPE=int 71: DEFS_BSD44= -DINTERNET -DLOG -DBSD_RELEASE=44 -DSIGNAL_TYPE=void -DUSE_CURSES 72: DEFS_SUN= -DINTERNET -DLOG -DBSD_RELEASE=42 -DBROADCAST -DSIGNAL_TYPE=int 73: DEFS_SUN4_0= -DINTERNET -DLOG -DSYSLOG_43 -DBROADCAST -DSIGNAL_TYPE=void 74: DEFS_ULTRIX= -DINTERNET -DLOG -DBSD_RELEASE=42 -DSIGNAL_TYPE=void 75: DEFS_HPUX= -DHPUX -DINTERNET -DLOG -DSYSLOG_43 -DBROADCAST -DTERMINFO -DSIGNAL_TYPE=void 76: DEFS_SGI= -DINTERNET -DLOG -DBSD_RELEASE=43 -DTERMINFO -DSIGNAL_TYPE=void 77: DEFS_NEXT= $(DEFS_BSD43) -bsd -Dconst= -DSIGNAL_TYPE=int 78: DEFS_OSF1= -DINTERNET -DLOG -DBSD_RELEASE=43 -DSIGNAL_TYPE=void -D_BSD 79: 80: # 81: # The following flags are used for system specific compilation arguments. 82: # Change them to include the appropriate arguments. For example, on SGI 83: # machines, they should look like 84: # SYSCFLAGS= -I/usr/include/bsd 85: # SYSLIBS= -lbsd 86: # 87: SYSCFLAGS= 88: SYSLIBS= 89: 90: # 91: # Generic definitions 92: # 93: DEFS= $(GAME_PARAM) $(DEFS_BSD44) 94: CPPFLAGS+= $(SYSCFLAGS) $(DEFS) -DHUNTD=\"/usr/games/huntd\" 95: 96: .include "../Makefile.inc"