]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - hunt/Makefile.inc
Fix merge conflicts
[bsdgames-darwin.git] / hunt / Makefile.inc
1 # $NetBSD: Makefile.inc,v 1.12 2014/03/29 22:11:19 dholland 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 # Perhaps, compile in a specific non-default huntd to run, for debugging:
53 #CPPFLAGS+= -DOVERRIDE_PATH_HUNTD=\"/home/socr/a/conrad/games/src/hunt/huntd.dbg\"
54
55
56 #
57 # System parameter flags are:
58 # DEBUG Don't trust everything in the code
59 # INTERNET Use the Internet domain IPC instead of UNIX domain
60 # LOG Use syslog error-logging in driver
61 # OLDIPC Use 4.1a internet system calls (must also define
62 # INTERNET)
63 # LOG Use syslog(3) for logging errors
64 # HPUX do special HPUX only hacks
65 #
66 DEFS_BSD43= -DINTERNET -DLOG
67 DEFS_BSD44= -DINTERNET -DLOG
68 DEFS_SUN= -DINTERNET -DLOG
69 DEFS_SUN4_0= -DINTERNET -DLOG
70 DEFS_ULTRIX= -DINTERNET -DLOG
71 DEFS_HPUX= -DINTERNET -DLOG -DHPUX
72 DEFS_SGI= -DINTERNET -DLOG
73 DEFS_NEXT= -DINTERNET -DLOG -bsd -Dconst=
74 DEFS_OSF1= -DINTERNET -DLOG -D_BSD
75
76 #
77 # The following flags are used for system specific compilation arguments.
78 # Change them to include the appropriate arguments. For example, on SGI
79 # machines, they should look like
80 # SYSCFLAGS= -I/usr/include/bsd
81 # SYSLIBS= -lbsd
82 #
83 SYSCFLAGS=
84 SYSLIBS=
85
86 #
87 # Generic definitions
88 #
89 DEFS= $(GAME_PARAM) $(DEFS_BSD44)
90 CPPFLAGS+= $(SYSCFLAGS) $(DEFS)
91
92 .include "../Makefile.inc"