
1: # Makeconfig - configuration stuff for hunt and huntd. 2: 3: ifneq ($(hunt_config_included),yes) 4: 5: hunt_config_included := yes 6: 7: # Originally from: 8: # 9: # Hunt 10: # Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold 11: # San Francisco, California 12: # 13: # Heavily modified for Linux - JSM 1997-04-26, 1997-12-19, 1998-09-05 14: 15: # 16: # Game parameter flags are: 17: # RANDOM Include doors which disperse shots randomly 18: # REFLECT Include diagonal walls that reflect shots 19: # MONITOR Include code for watching the game from the sidelines 20: # OOZE Include slime shots 21: # FLY Make people fly when walls regenerate under them 22: # VOLCANO Include occasional large slime explosions 23: # DRONE Include occasional drone shots 24: # BOOTS Include boots (which makes you immune to slime) 25: # OTTO Reserved for CGL automatic player 26: # 27: hunt_GAME_PARAM := -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO \ 28: -DBOOTS -DOTTO 29: 30: # 31: # System parameter flags are: 32: # DEBUG Don't trust everything in the code 33: # INTERNET Use the Internet domain IPC instead of UNIX domain 34: # LOG Use syslog error-logging in driver (needs SYSLOG_42 or 35: # or SYSLOG_43) 36: # OLDIPC Use 4.1a internet system calls (must also define 37: # INTERNET) 38: # TERMINFO Use terminfo instead of termcap 39: # SYSLOG_42 Use 4.2 BSD syslog(3) 40: # SYSLOG_43 Use 4.2 BSD syslog(3) 41: # LOG Use syslog(3) for logging errors 42: # BSD_RELEASE Which version of BSD distribution 43: # 42 is 4.2BSD (implies SYSLOG_42) 44: # 43 is 4.3BSD (implies BROADCAST, SYSLOG_43) 45: # USE_CURSES Use curses for everything (automatic w/TERMINFO) 46: # SIGNAL_TYPE void or int 47: # HPUX do special HPUX only hacks 48: # 49: # NOTE: if you change the domain (INTERNET vs UNIX) then "make newdomain" 50: # 51: hunt_DEFS_BSD43 := -DINTERNET -DLOG -DBSD_RELEASE=43 -DSIGNAL_TYPE=int 52: hunt_DEFS_BSD44 := -DINTERNET -DLOG -DBSD_RELEASE=44 -DSIGNAL_TYPE=void 53: hunt_DEFS_SUN := -DINTERNET -DLOG -DBSD_RELEASE=42 -DBROADCAST -DSIGNAL_TYPE=int 54: hunt_DEFS_SUN4_0 := -DINTERNET -DLOG -DSYSLOG_43 -DBROADCAST -DSIGNAL_TYPE=void 55: hunt_DEFS_ULTRIX := -DINTERNET -DLOG -DBSD_RELEASE=42 -DSIGNAL_TYPE=void 56: hunt_DEFS_HPUX := -DHPUX -DINTERNET -DLOG -DSYSLOG_43 -DBROADCAST -DTERMINFO -DSIGNAL_TYPE=void 57: hunt_DEFS_SGI := -DINTERNET -DLOG -DBSD_RELEASE=43 -DTERMINFO -DSIGNAL_TYPE=void 58: hunt_DEFS_NEXT := $(DEFS_43) -bsd -traditional -Dconst= -DSIGNAL_TYPE=int 59: hunt_DEFS_OSF1 := -DINTERNET -DLOG -DBSD_RELEASE=43 -DSIGNAL_TYPE=void -D_BSD 60: hunt_DEFS_LINUX := -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void 61: 62: hunt_DEFS := $(hunt_GAME_PARAM) $(hunt_DEFS_LINUX) -DHUNTD=\"$(SBINDIR)/huntd\" 63: 64: endif