Drop main() prototype. Syncs with NetBSD-8
[minix.git] / usr.bin / newgrp / Makefile
blobd04ebc1c52057a00b95e2c0141e1211ac0cd0b9d
1 # $NetBSD: Makefile,v 1.4 2009/04/14 22:15:24 lukem Exp $
4 .include <bsd.own.mk>
6 PROG= newgrp
7 SRCS= newgrp.c grutil.c
8 BINOWN= root
9 BINMODE=4555
11 CPPFLAGS+=-DGRUTIL_ACCEPT_GROUP_NUMBERS
12 CPPFLAGS+=-DGRUTIL_ALLOW_GROUP_ERRORS # for POSIX.1 compliance
13 .if !defined(__MINIX)
14 CPPFLAGS+=-DLOGIN_CAP
15 .endif
17 DPADD+= ${LIBCRYPT} ${LIBUTIL}
18 LDADD+= -lcrypt -lutil
20 .if (${USE_KERBEROS} != "no")
21 CPPFLAGS+=-DKERBEROS
22 .endif
24 .include <bsd.prog.mk>