]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - Makefile.inc
Allow saved game filenames up to PATH_MAX. From OpenBSD.
[bsdgames-darwin.git] / Makefile.inc
index 0b7613ab3a7ca15a6609a9913e5d34d304e3bc3b..cdd7bc3087f4b3c546a461a5388b80447ead1a66 100644 (file)
@@ -1,15 +1,23 @@
-#      $NetBSD: Makefile.inc,v 1.5 1997/10/11 19:55:46 veego Exp $
+#      $NetBSD: Makefile.inc,v 1.14 2009/01/18 20:22:45 dholland Exp $
 #      @(#)Makefile.inc        8.1 (Berkeley) 5/31/93
 
+MKHIDEGAME?=   no
 
-BINOWN?=       games
-.if defined(HIDEGAME)
-BINDIR?=       /usr/games/hide
-BINMODE?=      4700
-.if defined(PROG)
-SYMLINKS+=     dm /usr/games/${PROG}
+.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