-# $NetBSD: Makefile.inc,v 1.8 1997/11/19 08:23:16 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.9 1997/11/20 00:12:30 mrg Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
.if defined(HIDEGAME) && 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
-# $NetBSD: Makefile,v 1.13 1997/10/22 02:01:17 lukem Exp $
+# $NetBSD: Makefile,v 1.14 1997/11/20 00:12:31 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= atc
game_4 novice two-corners
CLEANFILES=grammar.c y.tab.h lex.c
HIDEGAME=hidegame
+SETGIDGAME=yes
FILES=${GAMES:S@^@${.CURDIR}/games/@g}
FILESDIR=/usr/share/games/atc
FILESMODE=400
-# $NetBSD: Makefile,v 1.5 1995/03/21 15:06:38 cgd Exp $
+# $NetBSD: Makefile,v 1.6 1997/11/20 00:12:32 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= battlestar
DPADD= ${LIBCURSES} ${LIBTERMCAP}
LDADD= -lcurses -ltermlib
HIDEGAME=hidegame
+SETGIDGAME=yes
.include <bsd.prog.mk>
-# $NetBSD: Makefile,v 1.5 1995/03/21 15:08:28 cgd Exp $
+# $NetBSD: Makefile,v 1.6 1997/11/20 00:12:33 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= canfield
DPADD= ${LIBCURSES} ${LIBTERM}
LDADD= -lcurses -ltermcap
HIDEGAME=hidegame
+SETGIDGAME=yes
.include "../../Makefile.inc"
-# $NetBSD: Makefile,v 1.7 1997/03/24 22:15:41 christos Exp $
+# $NetBSD: Makefile,v 1.8 1997/11/20 00:12:34 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= cribbage
SRCS= extern.c crib.c cards.c instr.c io.c score.c support.c
MAN= cribbage.6
HIDEGAME=hidegame
+SETGIDGAME=yes
FILES= cribbage.n
FILESNAME=cribbage.instr
FILESDIR=/usr/share/games
-# $NetBSD: Makefile,v 1.25 1997/10/22 05:24:11 lukem Exp $
+# $NetBSD: Makefile,v 1.26 1997/11/20 00:12:35 mrg Exp $
# @(#)Makefile 8.2 (Berkeley) 4/27/95
PROG= hack
DPADD+= ${LIBTERM} ${LIBCOMPAT}
LDADD+= -ltermcap
HIDEGAME=hidegame
+SETGIDGAME=yes
CLEANFILES+=hack.onames.h makedefs
FILES=help hh data
FILESDIR=/var/games/hackdir
-# $NetBSD: Makefile,v 1.13 1997/10/22 05:29:13 lukem Exp $
+# $NetBSD: Makefile,v 1.14 1997/11/20 00:12:36 mrg Exp $
# @(#)Makefile 5.12 (Berkeley) 5/30/93
# EXTRA
DPADD= ${LIBTERM}
LDADD= -ltermcap
HIDEGAME=hidegame
+SETGIDGAME=yes
DAT=larnmaze larnopts larn.help
FILES=${DAT:S@^@${.CURDIR}/datfiles/@g}
FILESDIR=/usr/share/games/larn
-# $NetBSD: Makefile,v 1.12 1997/10/13 02:18:06 lukem Exp $
+# $NetBSD: Makefile,v 1.13 1997/11/20 00:12:37 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= phantasia
DPADD= ${LIBM} ${LIBCURSES} ${LIBTERM} ${LIBCOMPAT}
LDADD= -lm -lcurses -ltermlib -lcompat
HIDEGAME=hidegame
+SETGIDGAME=yes
USETBL=
MAN= phantasia.6
CLEANFILES+=map setup setup.o host_phantglobs.o
-# $NetBSD: Makefile,v 1.9 1997/10/22 05:05:46 lukem Exp $
+# $NetBSD: Makefile,v 1.10 1997/11/20 00:12:38 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= robots
DPADD= ${LIBCURSES} ${LIBTERM}
LDADD= -lcurses -ltermlib
HIDEGAME=hidegame
+SETGIDGAME=yes
FILES= /dev/null
FILESNAME=robots_roll
-# $NetBSD: Makefile,v 1.9 1997/10/22 05:09:36 lukem Exp $
+# $NetBSD: Makefile,v 1.10 1997/11/20 00:12:39 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= rogue
DPADD= ${LIBCURSES} ${LIBTERM} ${LIBCOMPAT}
LDADD= -lcurses -ltermlib -lcompat
HIDEGAME=hidegame
+SETUIDGAME=yes
MAN= rogue.6
.if make(install)
-# $NetBSD: Makefile,v 1.7 1997/10/13 19:42:53 christos Exp $
+# $NetBSD: Makefile,v 1.8 1997/11/20 00:12:40 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= sail
DPADD= ${LIBCURSES} ${LIBTERM}
LDADD= -lcurses -ltermlib
HIDEGAME=hidegame
+SETGIDGAME=yes
.include <bsd.prog.mk>
-# $NetBSD: Makefile,v 1.6 1995/04/22 08:34:27 cgd Exp $
+# $NetBSD: Makefile,v 1.7 1997/11/20 00:12:41 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= snake
DPADD= ${LIBM} ${LIBTERM} ${LIBCOMPAT}
LDADD= -lm -ltermcap -lcompat
HIDEGAME=hidegame
+SETGIDGAME=yes
.include "../../Makefile.inc"
.include <bsd.prog.mk>
-# $NetBSD: Makefile,v 1.3 1995/04/22 07:42:31 cgd Exp $
+# $NetBSD: Makefile,v 1.4 1997/11/20 00:12:42 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= tetris
DPADD= ${LIBTERM}
LDADD= -ltermcap
HIDEGAME=hidegame
+SETGIDGAME=yes
.include <bsd.prog.mk>