1 # $NetBSD: Makefile.inc,v 1.4 2000/04/13 06:07:06 simonb Exp $
4 # Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
5 # San Francisco, California
8 # Game parameter flags are:
9 # RANDOM Include doors which disperse shots randomly
10 # REFLECT Include diagonal walls that reflect shots
11 # MONITOR Include code for watching the game from the sidelines
12 # OOZE Include slime shots
13 # FLY Make people fly when walls regenerate under them
14 # VOLCANO Include occasional large slime explosions
15 # DRONE Include occasional drone shots
16 # BOOTS Include boots (which makes you immune to slime)
17 # OTTO Reserved for CGL automatic player
19 GAME_PARAM= -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS \
23 # System parameter flags are:
24 # DEBUG Don't trust everything in the code
25 # INTERNET Use the Internet domain IPC instead of UNIX domain
26 # LOG Use syslog error-logging in driver (needs SYSLOG_42 or
28 # OLDIPC Use 4.1a internet system calls (must also define
30 # TERMINFO Use terminfo instead of termcap
31 # SYSLOG_42 Use 4.2 BSD syslog(3)
32 # SYSLOG_43 Use 4.2 BSD syslog(3)
33 # LOG Use syslog(3) for logging errors
34 # BSD_RELEASE Which version of BSD distribution
35 # 42 is 4.2BSD (implies SYSLOG_42)
36 # 43 is 4.3BSD (implies BROADCAST, SYSLOG_43)
37 # USE_CURSES Use curses for everything (automatic w/TERMINFO)
38 # SIGNAL_TYPE void or int
39 # HPUX do special HPUX only hacks
41 DEFS_BSD43= -DINTERNET -DLOG -DBSD_RELEASE=43 -DSIGNAL_TYPE=int
42 DEFS_BSD44= -DINTERNET -DLOG -DBSD_RELEASE=44 -DSIGNAL_TYPE=void -DUSE_CURSES
43 DEFS_SUN= -DINTERNET -DLOG -DBSD_RELEASE=42 -DBROADCAST -DSIGNAL_TYPE=int
44 DEFS_SUN4_0= -DINTERNET -DLOG -DSYSLOG_43 -DBROADCAST -DSIGNAL_TYPE=void
45 DEFS_ULTRIX= -DINTERNET -DLOG -DBSD_RELEASE=42 -DSIGNAL_TYPE=void
46 DEFS_HPUX= -DHPUX -DINTERNET -DLOG -DSYSLOG_43 -DBROADCAST -DTERMINFO -DSIGNAL_TYPE=void
47 DEFS_SGI= -DINTERNET -DLOG -DBSD_RELEASE=43 -DTERMINFO -DSIGNAL_TYPE=void
48 DEFS_NEXT= $(DEFS_43) -bsd -traditional -Dconst= -DSIGNAL_TYPE=int
49 DEFS_OSF1= -DINTERNET -DLOG -DBSD_RELEASE=43 -DSIGNAL_TYPE=void -D_BSD
52 # The following flags are used for system specific compilation arguments.
53 # Change them to include the appropriate arguments. For example, on SGI
54 # machines, they should look like
55 # SYSCFLAGS= -I/usr/include/bsd
64 DEFS= $(GAME_PARAM) $(DEFS_BSD44)
65 CPPFLAGS+= $(SYSCFLAGS) $(DEFS) -DHUNTD=\"/usr/games/huntd\"
67 .include "../Makefile.inc"