bus: Fix devctl nonblocking support.
[dragonfly.git] / games / larn / Makefile
blobcb708c77d0a5d28c80d2c531db71781e9b20dc03
1 # @(#)Makefile 5.12 (Berkeley) 5/30/93
2 # $FreeBSD: src/games/larn/Makefile,v 1.6.2.5 2002/08/07 16:31:42 ru Exp $
3 # $DragonFly: src/games/larn/Makefile,v 1.5 2006/10/08 16:22:35 pavalos Exp $
5 # EXTRA
6 # Incorporates code to gather additional performance statistics
7 # HIDEBYLINK
8 # If defined, the program attempts to hide from ps
9 # DOCHECKPOINTS
10 # If not defined, checkpoint files are periodically written by the
11 # larn process (no forking) if enabled in the .larnopts description
12 # file. Checkpointing is handy on an unreliable system, but takes
13 # CPU. Inclusion of DOCHECKPOINTS will cause fork()ing to perform the
14 # checkpoints (again if enabled in the .larnopts file). This usually
15 # avoids pauses in larn while the checkpointing is being done (on
16 # large machines).
17 # VER
18 # This is the version of the software, example: 12
19 # SUBVER
20 # This is the revision of the software, example: 1
21 # FLUSHNO=#
22 # Set the input queue excess flushing threshold (default 5)
23 # MACRORND
24 # Define to use macro version of rnd() and rund() (fast and big)
25 # UIDSCORE
26 # Define to use user id's to manage scoreboard. Leaving this out will
27 # cause player id's from the file ".playerids" to be used instead.
28 # (.playerids is created upon demand). Only one entry per id # is
29 # allowed in each scoreboard (winning & non-winning).
30 # VT100
31 # Compile for using vt100 family of terminals. Omission of this
32 # define will cause larn to use termcap, but it will be MUCH slower
33 # due to an extra layer of output interpretation. Also, only VT100
34 # mode allows 2 different standout modes, inverse video, and bold video.
35 # And only in VT100 mode is the scrolling region of the terminal used
36 # (much nicer than insert/delete line sequences to simulate it, if
37 # VT100 is omitted).
38 # NONAP
39 # This causes napms() to return immediately instead of delaying n
40 # milliseconds. This define may be needed on some systems if the nap
41 # stuff does not work correctly (possible hang). nap() is primarilly
42 # used to delay for effect when casting missile type spells.
43 # NOLOG
44 # Turn off logging.
46 PROG= larn
47 MAN= larn.6
48 CFLAGS+=-DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE
49 SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \
50 monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \
51 signal.c moreobj.c movem.c regen.c fortune.c savelev.c
52 DPADD= ${LIBTERMCAP}
53 LDADD= -ltermcap
54 FILES= larnmaze larnopts larn.help
55 FILESDIR= ${SHAREDIR}/games/larn
56 HIDEGAME=hidegame
58 .PATH: ${.CURDIR}/datfiles
60 beforeinstall:
61 .if !exists(${DESTDIR}/var/games/larn/lscore12.0)
62 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
63 ${DESTDIR}/var/games/larn/lscore12.0
64 .endif
65 .if !exists(${DESTDIR}/var/games/larn/llog12.0)
66 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
67 ${DESTDIR}/var/games/larn/llog12.0
68 .endif
70 .include <bsd.prog.mk>