libc: consolidate pthread stub functions
[dragonfly.git] / usr.bin / passwd / Makefile
1 # From: @(#)Makefile    8.3 (Berkeley) 4/2/94
2 # $FreeBSD: src/usr.bin/passwd/Makefile,v 1.46 2004/12/29 08:16:39 ache Exp $
3 # $DragonFly: src/usr.bin/passwd/Makefile,v 1.5 2007/08/27 16:50:57 pavalos Exp $
4
5 PROG=   passwd
6 BINOWN= root
7 BINMODE= 4555
8 DPADD=  ${LIBPAM}
9 LDADD=  ${MINUSLPAM}
10 .if !defined(NO_NIS)
11 LINKS=  ${BINDIR}/passwd ${BINDIR}/yppasswd
12 MLINKS= passwd.1 yppasswd.1
13 .endif
14
15 beforeinstall:
16 .for i in passwd yppasswd
17         [ ! -e ${DESTDIR}${BINDIR}/$i ] || \
18                 chflags noschg ${DESTDIR}${BINDIR}/$i || true
19 .endfor
20
21 .if !defined(NOFSCHG)
22 afterinstall:
23         -chflags schg ${DESTDIR}${BINDIR}/passwd
24 .endif
25
26 .include <bsd.prog.mk>