]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - Makefile.inc
avoid signed left-shift
[bsdgames-darwin.git] / Makefile.inc
index 68a953cf8c437549b465e64c64a7edf0860d3b36..5566c295f1b326719b77349b9f74d52ee9d1e4bb 100644 (file)
@@ -1,16 +1,23 @@
-#      $NetBSD: Makefile.inc,v 1.9 1997/11/20 00:12:30 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.15 2012/06/19 05:46:08 dholland Exp $
 #      @(#)Makefile.inc        8.1 (Berkeley) 5/31/93
 
-.if defined(HIDEGAME) && defined(PROG)
-BINDIR?=       /usr/games/hide
-BINGRP?=       games
+MKHIDEGAME?=   no
+
+.if defined(HIDEGAME) && (${MKHIDEGAME} != no) && defined(PROG)
+BINDIR=                /usr/games/hide
+BINGRP=                games
 .if defined(SETGIDGAME)
-BINMODE?=      2550
+USE_FORT?=     yes
+BINMODE=       2550
 .else
-BINMODE?=      550
+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?=                1
+WARNS?=                5