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