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