]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - Makefile.inc
Fix the old leftover license note
[bsdgames-darwin.git] / Makefile.inc
index b66e2f748e20443304119c1fc3a5adb36204470a..48090e05154f7495f59593b7f9a89185ba0d4c11 100644 (file)
@@ -1,9 +1,26 @@
-#      @(#)Makefile.inc        5.1 (Berkeley) 5/11/90
+#      $NetBSD: Makefile.inc,v 1.16 2014/03/23 00:17:40 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
 .else
-BINDIR?=       /usr/games
+BINDIR=                /usr/games
+.if defined(SETGIDGAME)
+BINGRP=                games
+BINMODE=       2555
+.endif
 .endif
 .endif
+# Note: do not bother with WARNS=6 until -Wconversion is either
+# removed from WARNS=6 or rendered useful by improving gcc; as it is
+# (with gcc48) it produces buckets of drivel.
+WARNS?=                5