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