Remove building with NOCRYPTO option
[minix.git] / usr.bin / chpass / Makefile
blobfb7462fed2126e14fd5b2cd63cb13143621510f5
1 # $NetBSD: Makefile,v 1.15 2007/05/28 12:06:25 tls Exp $
2 # @(#)Makefile 8.2 (Berkeley) 4/2/94
4 .include <bsd.own.mk>
6 USE_FORT?= yes # setuid
7 PROG= chpass
8 SRCS= chpass.c edit.c field.c table.c util.c
9 BINOWN= root
10 BINMODE=4555
11 .PATH: ${NETBSDSRCDIR}/lib/libc/gen
12 LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
13 MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
15 CPPFLAGS+=-I${NETBSDSRCDIR}/lib/libc/include
17 .if (${USE_YP} != "no")
18 SRCS+= pw_yp.c
19 CPPFLAGS+=-DYP
20 DPADD+= ${LIBRPCSVC}
21 LDADD+= -lrpcsvc
22 .else
23 SRCS+= getpwent.c
24 CPPFLAGS.getpwent.c=-UYP
25 .endif
27 DPADD+= ${LIBUTIL}
28 LDADD+= -lutil
30 .include <bsd.prog.mk>