NetBSD/usr.bin/newgrp/Makefile

24 lines
433 B
Makefile

# $NetBSD: Makefile,v 1.5 2016/07/13 13:10:55 shm Exp $
#
.include <bsd.own.mk>
USE_FORT?= yes # setuid
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
CPPFLAGS+=-DLOGIN_CAP
DPADD+= ${LIBCRYPT} ${LIBUTIL}
LDADD+= -lcrypt -lutil
.if (${USE_KERBEROS} != "no")
CPPFLAGS+=-DKERBEROS
.endif
.include <bsd.prog.mk>