]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - Makefile.inc
Hack is now BSD-licensed. Thanks to Andries Brouwer, Jay Fenlason and
[bsdgames-darwin.git] / Makefile.inc
index e1f6fdb662a9a377c149cbfd7c4c6bedfe6f8a2c..2ae546a00e6c6adef2ba20559a472b1ac9e4bdd3 100644 (file)
@@ -1,10 +1,22 @@
-#      $NetBSD: Makefile.inc,v 1.3 1995/03/21 12:04:12 cgd 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)
-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