X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/14ff8b9c7f890f9e7cbd384e1ae17b2d67ecdee7..638c095d5cf47282d99189e1425435a0763a369b:/larn/Makefile?ds=sidebyside diff --git a/larn/Makefile b/larn/Makefile index 58d6f814..f9bb3ac8 100644 --- a/larn/Makefile +++ b/larn/Makefile @@ -1,9 +1,13 @@ -# @(#)Makefile 5.9 (Berkeley) 7/25/90 +# $NetBSD: Makefile,v 1.15 1998/09/29 07:33: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,26 +56,19 @@ # Turn off logging. PROG= larn -MAN6= larn.0 -CFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP +MAN= larn.6 +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} LDADD= -ltermcap HIDEGAME=hidegame - -beforeinstall: - @if [ ! -d ${DESTDIR}/usr/share/games/larn ]; then \ - /bin/rm -f ${DESTDIR}/usr/share/games/larn ; \ - mkdir -p ${DESTDIR}/usr/share/games/larn ; \ - chown root.wheel ${DESTDIR}/usr/share/games/larn ; \ - chmod 755 ${DESTDIR}/usr/share/games/larn ; \ - else \ - true ; \ - fi - (cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ - larnmaze larnopts lfortune larn.help \ - ${DESTDIR}/usr/share/games/larn) +SETGIDGAME=yes +.if !defined(NOSHARE) +DAT=larnmaze larnopts larn.help +FILES=${DAT:S@^@${.CURDIR}/datfiles/@g} +FILESDIR=/usr/share/games/larn +.endif .include