]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - Makefile.inc
Fix formatting bug apparently introduced when the page was mdoc'd. (Had
[bsdgames-darwin.git] / Makefile.inc
index d96fa0c5306aa6ff2496d28bca5f483d04d3ebb3..9557593c7813cb23699603cf986520c55ecb1954 100644 (file)
@@ -1,11 +1,23 @@
-#      $NetBSD: Makefile.inc,v 1.6 1997/10/11 20:22:10 mycroft Exp $
+#      $NetBSD: Makefile.inc,v 1.13 2008/01/28 07:03:58 dholland Exp $
 #      @(#)Makefile.inc        8.1 (Berkeley) 5/31/93
 
-BINOWN?=       games
-.if defined(HIDEGAME) && defined(PROG)
-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