|
|
1.1 root 1: # @(#)Makefile 5.9 (Berkeley) 7/25/90
2:
3: # EXTRA
4: # Incorporates code to gather additional performance statistics
5: # SYSV
6: # Use system III/V (instead of V7) type ioctl calls
7: # BSD
8: # Use BSD specific features (mostly timer and signal stuff)
9: # BSD4.1
10: # Use BSD4.1 to avoid some 4.2 dependencies (must be used with
11: # BSD above; do not mix with SYSV)
12: # HIDEBYLINK
13: # If defined, the program attempts to hide from ps
14: # DOCHECKPOINTS
15: # If not defined, checkpoint files are periodically written by the
16: # larn process (no forking) if enabled in the .larnopts description
17: # file. Checkpointing is handy on an unreliable system, but takes
18: # CPU. Inclusion of DOCHECKPOINTS will cause fork()ing to perform the
19: # checkpoints (again if enabled in the .larnopts file). This usually
20: # avoids pauses in larn while the checkpointing is being done (on
21: # large machines).
22: # VER
23: # This is the version of the software, example: 12
24: # SUBVER
25: # This is the revision of the software, example: 1
26: # FLUSHNO=#
27: # Set the input queue excess flushing threshold (default 5)
28: # NOVARARGS
29: # Define for systems that don't have varargs (a default varargs will
30: # be used).
31: # MACRORND
32: # Define to use macro version of rnd() and rund() (fast and big)
33: # UIDSCORE
34: # Define to use user id's to manage scoreboard. Leaving this out will
35: # cause player id's from the file ".playerids" to be used instead.
36: # (.playerids is created upon demand). Only one entry per id # is
37: # allowed in each scoreboard (winning & non-winning).
38: # VT100
39: # Compile for using vt100 family of terminals. Omission of this
40: # define will cause larn to use termcap, but it will be MUCH slower
41: # due to an extra layer of output interpretation. Also, only VT100
42: # mode allows 2 different standout modes, inverse video, and bold video.
43: # And only in VT100 mode is the scrolling region of the terminal used
44: # (much nicer than insert/delete line sequences to simulate it, if
45: # VT100 is omitted).
46: # NONAP
47: # This causes napms() to return immediately instead of delaying n
48: # milliseconds. This define may be needed on some systems if the nap
49: # stuff does not work correctly (possible hang). nap() is primarilly
50: # used to delay for effect when casting missile type spells.
51: # NOLOG
52: # Turn off logging.
53:
54: PROG= larn
55: MAN6= larn.0
56: CFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP
57: SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \
58: monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \
59: signal.c moreobj.c movem.c regen.c fortune.c savelev.c
60: DPADD= ${LIBTERM} ${LIBCOMPAT}
61: LDADD= -ltermcap -lcompat
62: HIDEGAME=hidegame
63:
64: beforeinstall:
65: (cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
66: larnmaze larnopts lfortune larn.help \
67: ${DESTDIR}/usr/share/games/larn)
68:
69: .include <bsd.prog.mk>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.