aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-05-07 16:32:32 -0400
committerB. Watson <yalhcru@gmail.com>2015-05-07 16:32:32 -0400
commit013ac7742311556022304e8b30ca170d48b3a016 (patch)
tree53faa33e75991363f1a6dcc7edc83a66b70e6995 /Makefile.inc
downloadbsd-games-extra-013ac7742311556022304e8b30ca170d48b3a016.tar.gz
initial commit
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
new file mode 100644
index 0000000..48090e0
--- /dev/null
+++ b/Makefile.inc
@@ -0,0 +1,26 @@
+# $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)
+BINDIR= /usr/games/hide
+BINGRP= games
+.if defined(SETGIDGAME)
+USE_FORT?= yes
+BINMODE= 2550
+.else
+BINMODE= 550
+.endif
+SYMLINKS+= dm /usr/games/${PROG}
+.else
+BINDIR= /usr/games
+.if defined(SETGIDGAME)
+BINGRP= games
+BINMODE= 2555
+.endif
+.endif
+# 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