]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - Makefile.inc
Fix buffer overrun in rogue.
[bsdgames-darwin.git] / Makefile.inc
index 0b7613ab3a7ca15a6609a9913e5d34d304e3bc3b..68a953cf8c437549b465e64c64a7edf0860d3b36 100644 (file)
@@ -1,15 +1,16 @@
-#      $NetBSD: Makefile.inc,v 1.5 1997/10/11 19:55:46 veego Exp $
+#      $NetBSD: Makefile.inc,v 1.9 1997/11/20 00:12:30 mrg Exp $
 #      @(#)Makefile.inc        8.1 (Berkeley) 5/31/93
 
-
-BINOWN?=       games
-.if defined(HIDEGAME)
+.if defined(HIDEGAME) && defined(PROG)
 BINDIR?=       /usr/games/hide
-BINMODE?=      4700
-.if defined(PROG)
-SYMLINKS+=     dm /usr/games/${PROG}
+BINGRP?=       games
+.if defined(SETGIDGAME)
+BINMODE?=      2550
+.else
+BINMODE?=      550
 .endif
+SYMLINKS+=     dm /usr/games/${PROG}
 .else
 BINDIR?=       /usr/games
 .endif
-
+WARNS?=                1