X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/dac705a2406595b9fe3d58d72a5e2a9fe1ca25a0..5c8c80051cbc9a51e43e68a907b302554f905b96:/larn/Makefile diff --git a/larn/Makefile b/larn/Makefile index 987d0159..ca5469a9 100644 --- a/larn/Makefile +++ b/larn/Makefile @@ -1,10 +1,13 @@ -# $NetBSD: Makefile,v 1.8 1995/04/22 07:34:00 cgd Exp $ +# $NetBSD: Makefile,v 1.16 1999/02/13 02:54:21 lukem 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,19 +55,22 @@ # NOLOG # Turn off logging. +.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 +DPADD= ${LIBTERM} +LDADD= -ltermcap HIDEGAME=hidegame - -beforeinstall: - (cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ - larnmaze larnopts larn.help \ - ${DESTDIR}/usr/share/games/larn) +SETGIDGAME=yes +.if ${MKSHARE} != "no" +DAT=larnmaze larnopts larn.help +FILES=${DAT:S@^@${.CURDIR}/datfiles/@g} +FILESDIR=/usr/share/games/larn +.endif .include