X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/e5a21192ac9a006706efa9272687821a3a04dc3f..31f496067cd42ce5ff71163efa5921ab6522e4aa:/hunt/Makefile.inc diff --git a/hunt/Makefile.inc b/hunt/Makefile.inc index a0039bcf..008fbae6 100644 --- a/hunt/Makefile.inc +++ b/hunt/Makefile.inc @@ -1,8 +1,37 @@ -# $NetBSD: Makefile.inc,v 1.1 1997/10/04 09:11:16 mrg Exp $ +# $NetBSD: Makefile.inc,v 1.11 2009/07/04 07:51:34 dholland Exp $ +# # # Hunt -# Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold -# San Francisco, California +# +# Copyright (c) 1983-2003, Regents of the University of California. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# + Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# + Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# + Neither the name of the University of California, San Francisco nor +# the names of its contributors may be used to endorse or promote +# products derived from this software without specific prior written +# permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# # # Game parameter flags are: @@ -23,30 +52,21 @@ GAME_PARAM= -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS \ # System parameter flags are: # DEBUG Don't trust everything in the code # INTERNET Use the Internet domain IPC instead of UNIX domain -# LOG Use syslog error-logging in driver (needs SYSLOG_42 or -# or SYSLOG_43) +# LOG Use syslog error-logging in driver # OLDIPC Use 4.1a internet system calls (must also define # INTERNET) -# TERMINFO Use terminfo instead of termcap -# SYSLOG_42 Use 4.2 BSD syslog(3) -# SYSLOG_43 Use 4.2 BSD syslog(3) # LOG Use syslog(3) for logging errors -# BSD_RELEASE Which version of BSD distribution -# 42 is 4.2BSD (implies SYSLOG_42) -# 43 is 4.3BSD (implies BROADCAST, SYSLOG_43) -# USE_CURSES Use curses for everything (automatic w/TERMINFO) -# SIGNAL_TYPE void or int # HPUX do special HPUX only hacks # -DEFS_BSD43= -DINTERNET -DLOG -DBSD_RELEASE=43 -DSIGNAL_TYPE=int -DEFS_BSD44= -DINTERNET -DLOG -DBSD_RELEASE=44 -DSIGNAL_TYPE=void -DEFS_SUN= -DINTERNET -DLOG -DBSD_RELEASE=42 -DBROADCAST -DSIGNAL_TYPE=int -DEFS_SUN4_0= -DINTERNET -DLOG -DSYSLOG_43 -DBROADCAST -DSIGNAL_TYPE=void -DEFS_ULTRIX= -DINTERNET -DLOG -DBSD_RELEASE=42 -DSIGNAL_TYPE=void -DEFS_HPUX= -DHPUX -DINTERNET -DLOG -DSYSLOG_43 -DBROADCAST -DTERMINFO -DSIGNAL_TYPE=void -DEFS_SGI= -DINTERNET -DLOG -DBSD_RELEASE=43 -DTERMINFO -DSIGNAL_TYPE=void -DEFS_NEXT= $(DEFS_43) -bsd -traditional -Dconst= -DSIGNAL_TYPE=int -DEFS_OSF1= -DINTERNET -DLOG -DBSD_RELEASE=43 -DSIGNAL_TYPE=void -D_BSD +DEFS_BSD43= -DINTERNET -DLOG +DEFS_BSD44= -DINTERNET -DLOG +DEFS_SUN= -DINTERNET -DLOG +DEFS_SUN4_0= -DINTERNET -DLOG +DEFS_ULTRIX= -DINTERNET -DLOG +DEFS_HPUX= -DINTERNET -DLOG -DHPUX +DEFS_SGI= -DINTERNET -DLOG +DEFS_NEXT= -DINTERNET -DLOG -bsd -Dconst= +DEFS_OSF1= -DINTERNET -DLOG -D_BSD # # The following flags are used for system specific compilation arguments. @@ -62,6 +82,6 @@ SYSLIBS= # Generic definitions # DEFS= $(GAME_PARAM) $(DEFS_BSD44) -CFLAGS+= -O2 $(SYSCFLAGS) $(DEFS) -DHUNTD=\"/usr/games/huntd\" +CPPFLAGS+= $(SYSCFLAGS) $(DEFS) -DHUNTD=\"/usr/games/huntd\" -.include "../../Makefile.inc" +.include "../Makefile.inc"