Changed the type of data_table to be unsigned char[] instead of char[],
[bsdgames-darwin.git] / Makefile.inc
index 5d7eef28cc02790a6c3d48d3283e8e1955251174..2ae546a00e6c6adef2ba20559a472b1ac9e4bdd3 100644 (file)
@@ -1,12 +1,22 @@
-#      $NetBSD: Makefile.inc,v 1.7 1997/10/12 14:21:44 lukem Exp $
+#      $NetBSD: Makefile.inc,v 1.11 2002/01/27 00:35:16 perry Exp $
 #      @(#)Makefile.inc        8.1 (Berkeley) 5/31/93
 
-BINOWN?=       games
-.if defined(HIDEGAME) && defined(PROG)
-BINDIR?=       /usr/games/hide
-BINMODE?=      4700
+MKHIDEGAME?=   no
+
+.if defined(HIDEGAME) && (MKHIDEGAME!=no) && defined(PROG)
+BINDIR=                /usr/games/hide
+BINGRP=                games
+.if defined(SETGIDGAME)
+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?=                1