diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2000-06-29 07:55:43 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2000-06-29 07:55:43 +0000 |
commit | afe22eb51e4f808aa964a4c9bffba4914baa8fe3 (patch) | |
tree | d8d0de568365f4b9e3c7318f1251df495dbd3226 /games/larn/Makefile | |
parent | 4c4981824991e9ac42791c3203847402110691a2 (diff) |
Prune some obsolete defines, in particular VT100. Eventually curses will
replace termios.
Use system-defined limits for path lengths and usernames.
Use strlcpy() for convenience and to avoid a possible buffer overflow or two.
Various small tweaks.
Diffstat (limited to 'games/larn/Makefile')
-rw-r--r-- | games/larn/Makefile | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/games/larn/Makefile b/games/larn/Makefile index e9fd9d54c99..a89436e9c14 100644 --- a/games/larn/Makefile +++ b/games/larn/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 1999/03/27 03:45:49 pjanzen Exp $ +# $OpenBSD: Makefile,v 1.12 2000/06/29 07:55:39 pjanzen Exp $ # EXTRA # Incorporates code to gather additional performance statistics @@ -6,13 +6,6 @@ # Use sysv termio # TERMIOS # Use posix termios -# BSD -# Use BSD specific features (mostly timer and signal stuff) -# BSD4.1 -# Use BSD4.1 to avoid some 4.2 dependencies (must be used with -# BSD above; do not mix with SYSV) -# HIDEBYLINK -# If defined, the program attempts to hide from ps # DOCHECKPOINTS # If not defined, checkpoint files are periodically written by the # larn process (no forking) if enabled in the .larnopts description @@ -37,14 +30,6 @@ # cause player id's from the file ".playerids" to be used instead. # (.playerids is created upon demand). Only one entry per id # is # allowed in each scoreboard (winning & non-winning). -# VT100 -# Compile for using vt100 family of terminals. Omission of this -# define will cause larn to use termcap, but it will be MUCH slower -# due to an extra layer of output interpretation. Also, only VT100 -# mode allows 2 different standout modes, inverse video, and bold video. -# And only in VT100 mode is the scrolling region of the terminal used -# (much nicer than insert/delete line sequences to simulate it, if -# VT100 is omitted). # NONAP # This causes napms() to return immediately instead of delaying n # milliseconds. This define may be needed on some systems if the nap @@ -57,7 +42,7 @@ PROG= larn MAN= larn.6 -CFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -DTERMIOS +CFLAGS+=-DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -DTERMIOS SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \ monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \ signal.c moreobj.c movem.c regen.c fortune.c savelev.c |