2011-09-30 12:18:10 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2009/04/14 22:15:24 lukem Exp $
|
|
|
|
#
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= newgrp
|
|
|
|
SRCS= newgrp.c grutil.c
|
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
|
|
|
|
|
|
|
CPPFLAGS+=-DGRUTIL_ACCEPT_GROUP_NUMBERS
|
|
|
|
CPPFLAGS+=-DGRUTIL_ALLOW_GROUP_ERRORS # for POSIX.1 compliance
|
2012-10-26 15:22:39 +02:00
|
|
|
.if !defined(__MINIX)
|
|
|
|
CPPFLAGS+=-DLOGIN_CAP
|
|
|
|
.endif
|
2011-09-30 12:18:10 +02:00
|
|
|
|
|
|
|
DPADD+= ${LIBCRYPT} ${LIBUTIL}
|
|
|
|
LDADD+= -lcrypt -lutil
|
|
|
|
|
|
|
|
.if (${USE_KERBEROS} != "no")
|
|
|
|
CPPFLAGS+=-DKERBEROS
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|