-# $NetBSD: Makefile.inc,v 1.7 1997/10/12 14:21:44 lukem Exp $
+# $NetBSD: Makefile.inc,v 1.9 1997/11/20 00:12:30 mrg Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
-BINOWN?= games
.if defined(HIDEGAME) && defined(PROG)
BINDIR?= /usr/games/hide
-BINMODE?= 4700
+BINGRP?= games
+.if defined(SETGIDGAME)
+BINMODE?= 2550
+.else
+BINMODE?= 550
+.endif
SYMLINKS+= dm /usr/games/${PROG}
.else
BINDIR?= /usr/games