X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/48236419b31d93d9fca6ef3aad010044062dcb41..6cf28fc0462b053c201660f30c0c3af594915b6b:/Makefile.inc diff --git a/Makefile.inc b/Makefile.inc index d2f6f3a9..cdd7bc30 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -1,10 +1,23 @@ -# from: @(#)Makefile.inc 5.1 (Berkeley) 5/11/90 -# $Id: Makefile.inc,v 1.2 1993/08/01 05:46:27 mycroft Exp $ +# $NetBSD: Makefile.inc,v 1.14 2009/01/18 20:22:45 dholland Exp $ +# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93 -BINOWN?= games -.if defined(HIDEGAME) -BINDIR?= /usr/games/hide -BINMODE?= 4700 +MKHIDEGAME?= no + +.if defined(HIDEGAME) && (${MKHIDEGAME} != no) && defined(PROG) +BINDIR= /usr/games/hide +BINGRP= games +.if defined(SETGIDGAME) +USE_FORT?= yes +BINMODE= 2550 +.else +BINMODE= 550 +.endif +SYMLINKS+= dm /usr/games/${PROG} .else -BINDIR?= /usr/games +BINDIR= /usr/games +.if defined(SETGIDGAME) +BINGRP= games +BINMODE= 2555 +.endif .endif +WARNS?= 4