]> git.cameronkatri.com Git - bsdgames-darwin.git/commitdiff
build hunt.
authormrg <mrg@NetBSD.org>
Sat, 4 Oct 1997 09:11:14 +0000 (09:11 +0000)
committermrg <mrg@NetBSD.org>
Sat, 4 Oct 1997 09:11:14 +0000 (09:11 +0000)
hunt/Makefile [new file with mode: 0644]
hunt/Makefile.inc [new file with mode: 0644]
hunt/hunt/Makefile [new file with mode: 0644]
hunt/huntd/Makefile [new file with mode: 0644]

diff --git a/hunt/Makefile b/hunt/Makefile
new file mode 100644 (file)
index 0000000..28a76a3
--- /dev/null
@@ -0,0 +1,5 @@
+#      $NetBSD: Makefile,v 1.1 1997/10/04 09:11:14 mrg Exp $
+
+SUBDIR=        hunt huntd
+
+.include <bsd.subdir.mk>
diff --git a/hunt/Makefile.inc b/hunt/Makefile.inc
new file mode 100644 (file)
index 0000000..a0039bc
--- /dev/null
@@ -0,0 +1,67 @@
+#      $NetBSD: Makefile.inc,v 1.1 1997/10/04 09:11:16 mrg Exp $
+#
+#  Hunt
+#  Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
+#  San Francisco, California
+
+#
+# Game parameter flags are:
+#      RANDOM  Include doors which disperse shots randomly
+#      REFLECT Include diagonal walls that reflect shots
+#      MONITOR Include code for watching the game from the sidelines
+#      OOZE    Include slime shots
+#      FLY     Make people fly when walls regenerate under them
+#      VOLCANO Include occasional large slime explosions
+#      DRONE   Include occasional drone shots
+#      BOOTS   Include boots (which makes you immune to slime)
+#      OTTO    Reserved for CGL automatic player
+#
+GAME_PARAM=    -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS \
+               -DOTTO
+
+#
+# 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)
+#      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
+
+#
+# The following flags are used for system specific compilation arguments.
+# Change them to include the appropriate arguments.  For example, on SGI
+# machines, they should look like
+# SYSCFLAGS=   -I/usr/include/bsd
+# SYSLIBS=     -lbsd
+#
+SYSCFLAGS=
+SYSLIBS=
+
+#
+# Generic definitions
+#
+DEFS=          $(GAME_PARAM) $(DEFS_BSD44)
+CFLAGS+=       -O2 $(SYSCFLAGS) $(DEFS) -DHUNTD=\"/usr/games/huntd\"
+
+.include "../../Makefile.inc"
diff --git a/hunt/hunt/Makefile b/hunt/hunt/Makefile
new file mode 100644 (file)
index 0000000..127f711
--- /dev/null
@@ -0,0 +1,13 @@
+#      $NetBSD: Makefile,v 1.1 1997/10/04 09:11:18 mrg Exp $
+
+PROG=  hunt
+SRCS=  connect.c hunt.c otto.c playit.c pathname.c
+MAN=   hunt.6
+LDADD= -ltermcap -lcurses
+DPADD= ${LIBTERMCAP} ${LIBCURSES}
+
+CFLAGS+=-I${.CURDIR}/../huntd
+
+.PATH: ${.CURDIR}/../huntd
+
+.include <bsd.prog.mk>
diff --git a/hunt/huntd/Makefile b/hunt/huntd/Makefile
new file mode 100644 (file)
index 0000000..cbf0772
--- /dev/null
@@ -0,0 +1,8 @@
+#      $NetBSD: Makefile,v 1.1 1997/10/04 09:11:21 mrg Exp $
+
+PROG=  huntd
+SRCS=  answer.c ctl.c ctl_transact.c draw.c driver.c execute.c expl.c \
+       extern.c faketalk.c get_names.c makemaze.c pathname.c shots.c terminal.c
+MAN=   huntd.6
+
+.include <bsd.prog.mk>