]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.bin/passwd/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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 .if !defined(NO_FSCHG)
23 afterinstall:
24         -chflags schg ${DESTDIR}${BINDIR}/passwd
25 .endif
26
27 .include <bsd.prog.mk>