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