]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - Makefile.inc
unstr: Check that the input filename fits in the buffer.
[bsdgames-darwin.git] / Makefile.inc
index 2ae546a00e6c6adef2ba20559a472b1ac9e4bdd3..48090e05154f7495f59593b7f9a89185ba0d4c11 100644 (file)
@@ -1,12 +1,13 @@
-#      $NetBSD: Makefile.inc,v 1.11 2002/01/27 00:35:16 perry Exp $
+#      $NetBSD: Makefile.inc,v 1.16 2014/03/23 00:17:40 dholland Exp $
 #      @(#)Makefile.inc        8.1 (Berkeley) 5/31/93
 
 MKHIDEGAME?=   no
 
-.if defined(HIDEGAME) && (MKHIDEGAME!=no) && defined(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
@@ -19,4 +20,7 @@ BINGRP=               games
 BINMODE=       2555
 .endif
 .endif
-WARNS?=                1
+# 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