Sync usage with man page.
[netbsd-mini2440.git] / usr.bin / chpass / Makefile
blob5a03fc01a93beb4e2bcc114d565ff33e8fb25dcd
1 # $NetBSD: Makefile,v 1.14 2003/07/22 12:25:57 lukem 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>