X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/5526682d8116582745b79bee12e5007abfddcd86..cd6a6786a83c6ffc71841f4c49e6192f2296b2a1:/larn/Makefile diff --git a/larn/Makefile b/larn/Makefile index 34b3ba3e..cca697bb 100644 --- a/larn/Makefile +++ b/larn/Makefile @@ -1,10 +1,13 @@ -# $NetBSD: Makefile,v 1.11 1997/10/12 14:21:47 lukem Exp $ +# $NetBSD: Makefile,v 1.21 2011/08/16 11:19:41 christos Exp $ # @(#)Makefile 5.12 (Berkeley) 5/30/93 # EXTRA # Incorporates code to gather additional performance statistics -# SYSV -# Use system III/V (instead of V7) type ioctl calls +# +# TERMIO +# Use sysv termio +# TERMIOS +# Use posix termios # BSD # Use BSD specific features (mostly timer and signal stuff) # BSD4.1 @@ -52,18 +55,26 @@ # NOLOG # Turn off logging. -WARNS= 0 +.include + PROG= larn MAN= larn.6 -CFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE +CPPFLAGS+=-DBSD -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 -DPADD= ${LIBTERM} ${LIBCOMPAT} -LDADD= -ltermcap -lcompat + signal.c action.c moreobj.c movem.c regen.c fortune.c savelev.c +DPADD= ${LIBTERMINFO} +LDADD= -lterminfo HIDEGAME=hidegame +SETGIDGAME=yes + +.if ${MKSHARE} != "no" DAT=larnmaze larnopts larn.help FILES=${DAT:S@^@${.CURDIR}/datfiles/@g} FILESDIR=/usr/share/games/larn +.endif + +COPTS.display.c += -Wno-format-nonliteral +COPTS.monster.c += -Wno-format-nonliteral .include