[BACK]Return to Makefile.inc CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / games

File: [cvs.NetBSD.org] / src / games / Makefile.inc (download)

Revision 1.10, Sun Jan 27 00:08:49 2002 UTC (22 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.9: +10 -6 lines

Make this work if HIDEGAME is not set but SETGIDGAME is set.
Also, fix SETGIDGAME -- it was breaking for anything that included
bsd.own.mk

#	$NetBSD: Makefile.inc,v 1.10 2002/01/27 00:08:49 perry 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
.if defined(SETGIDGAME)
BINGRP=		games
BINMODE=	2555
.endif
.endif
WARNS?=		1