3161c603a6
for bin/, commands/, libexec/, sbin/, test/, usr.bin/ and usr.sbin/. Change-Id: I8fa12c3cd86865311cef71b7faa7cf4fa785174f
29 lines
521 B
Makefile
29 lines
521 B
Makefile
# $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
|
|
|
|
.if defined(__MINIX)
|
|
# Too many warnings for our clang otherwise
|
|
WARNS=3
|
|
.endif
|
|
|
|
CPPFLAGS+=-DGRUTIL_ACCEPT_GROUP_NUMBERS
|
|
CPPFLAGS+=-DGRUTIL_ALLOW_GROUP_ERRORS # for POSIX.1 compliance
|
|
.if !defined(__MINIX)
|
|
CPPFLAGS+=-DLOGIN_CAP
|
|
.endif
|
|
|
|
DPADD+= ${LIBCRYPT} ${LIBUTIL}
|
|
LDADD+= -lcrypt -lutil
|
|
|
|
.if (${USE_KERBEROS} != "no")
|
|
CPPFLAGS+=-DKERBEROS
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|