Makefile revision 1.10
11.10Schristos#	$NetBSD: Makefile,v 1.10 1997/03/24 22:15:46 christos Exp $
21.7Scgd#	@(#)Makefile	5.12 (Berkeley) 5/30/93
31.1Scgd
41.1Scgd# EXTRA
51.1Scgd#	Incorporates code to gather additional performance statistics
61.1Scgd# SYSV
71.1Scgd#	Use system III/V (instead of V7) type ioctl calls
81.1Scgd# BSD
91.1Scgd#	Use BSD specific features (mostly timer and signal stuff)
101.1Scgd# BSD4.1
111.1Scgd#	Use BSD4.1 to avoid some 4.2 dependencies (must be used with
121.1Scgd#	BSD above; do not mix with SYSV)
131.1Scgd# HIDEBYLINK
141.1Scgd#	If defined, the program attempts to hide from ps
151.1Scgd# DOCHECKPOINTS
161.1Scgd#	If not defined, checkpoint files are periodically written by the
171.1Scgd#	larn process (no forking) if enabled in the .larnopts description
181.1Scgd#	file.  Checkpointing is handy on an unreliable system, but takes
191.1Scgd#	CPU. Inclusion of DOCHECKPOINTS will cause fork()ing to perform the
201.1Scgd#	checkpoints (again if enabled in the .larnopts file).  This usually
211.1Scgd#	avoids pauses in larn while the checkpointing is being done (on
221.1Scgd#	large machines).
231.1Scgd# VER
241.1Scgd#	This is the version of the software, example:  12
251.1Scgd# SUBVER
261.1Scgd#	This is the revision of the software, example:  1
271.1Scgd# FLUSHNO=#
281.1Scgd#	Set the input queue excess flushing threshold (default 5)
291.1Scgd# NOVARARGS
301.1Scgd#	Define for systems that don't have varargs (a default varargs will
311.1Scgd#	be used).
321.1Scgd# MACRORND
331.1Scgd#	Define to use macro version of rnd() and rund() (fast and big)
341.1Scgd# UIDSCORE
351.1Scgd#	Define to use user id's to manage scoreboard.  Leaving this out will
361.1Scgd#	cause player id's from the file ".playerids" to be used instead.
371.1Scgd#	(.playerids is created upon demand).  Only one entry per id # is
381.1Scgd#	allowed in each scoreboard (winning & non-winning).
391.1Scgd#  VT100
401.1Scgd#	Compile for using vt100 family of terminals.  Omission of this
411.1Scgd#	define will cause larn to use termcap, but it will be MUCH slower
421.1Scgd#	due to an extra layer of output interpretation.  Also, only VT100
431.1Scgd#	mode allows 2 different standout modes, inverse video, and bold video.
441.1Scgd#	And only in VT100 mode is the scrolling region of the terminal used
451.1Scgd#	(much nicer than insert/delete line sequences to simulate it, if
461.1Scgd#	VT100 is omitted).
471.1Scgd# NONAP
481.1Scgd#	This causes napms() to return immediately instead of delaying n
491.1Scgd#	milliseconds.  This define may be needed on some systems if the nap
501.1Scgd#	stuff does not work correctly (possible hang).  nap() is primarilly
511.1Scgd#	used to delay for effect when casting missile type spells.
521.1Scgd# NOLOG
531.1Scgd#	Turn off logging.
541.1Scgd
551.1ScgdPROG=	larn
561.6ScgdMAN=	larn.6
571.7ScgdCFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE
581.1ScgdSRCS=	main.c object.c create.c tok.c display.c global.c data.c io.c \
591.1Scgd	monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \
601.1Scgd	signal.c moreobj.c movem.c regen.c fortune.c savelev.c
611.5ScgdDPADD=	${LIBTERM} ${LIBCOMPAT}
621.5ScgdLDADD=	-ltermcap -lcompat
631.1ScgdHIDEGAME=hidegame
641.10SchristosDAT=larnmaze larnopts larn.help
651.10SchristosFILES=${DAT:S@^@${.CURDIR}/datfiles/@g}
661.10SchristosFILESDIR=/usr/share/games/larn
671.1Scgd
681.1Scgd.include <bsd.prog.mk>
69