]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - usr.bin/passwd/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / usr.bin / passwd / Makefile
1 # From: @(#)Makefile    8.3 (Berkeley) 4/2/94
2 # $FreeBSD$
3
4 .include <bsd.own.mk>
5
6 PROG     = passwd
7 BINOWN   = root
8 BINMODE  = 4555
9 DPADD    = ${LIBPAM}
10 LDADD    = ${MINUSLPAM}
11 .if ${MK_NIS} != "no"
12 LINKS    = ${BINDIR}/passwd ${BINDIR}/yppasswd
13 MLINKS   = passwd.1 yppasswd.1
14 .endif
15
16 beforeinstall:
17 .for i in passwd yppasswd
18         [ ! -e ${DESTDIR}${BINDIR}/$i ] || \
19                 chflags noschg ${DESTDIR}${BINDIR}/$i || true
20 .endfor
21
22 afterinstall:
23         -chflags schg ${DESTDIR}${BINDIR}/passwd
24
25 .include <bsd.prog.mk>