minix/usr.bin/newgrp/Makefile
Lionel Sambuc d19d7d58aa Toolchain upgrade and portability improvements.
upgrade to NetBSD CVS release from 2012/10/17 12:00:00 UTC

Makefiles updates to imporve portability

Made sure to be consistent in the usage of braces/parenthesis at
least on a per file basis. For variables, it is recommended to
continue to use braces.
2012-11-15 16:07:29 +01:00

24 lines
440 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
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>