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