mkfs: symlink support
[minix.git] / usr.bin / chpass / Makefile
blob80f49701c210de71c60177ccbe7bb8b35b5387ac
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 defined(__MINIX)
18 USE_YP= no
19 .endif
21 .if (${USE_YP} != "no")
22 SRCS+= pw_yp.c
23 CPPFLAGS+=-DYP
24 DPADD+= ${LIBRPCSVC}
25 LDADD+= -lrpcsvc
26 .else
27 SRCS+= getpwent.c
28 CPPFLAGS.getpwent.c=-UYP
29 .endif
31 DPADD+= ${LIBUTIL}
32 LDADD+= -lutil
34 .include <bsd.prog.mk>