]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - usr.bin/passwd/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.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 WARNS   ?= 4
16
17 beforeinstall:
18 .for i in passwd yppasswd
19         [ ! -e ${DESTDIR}${BINDIR}/$i ] || \
20                 chflags noschg ${DESTDIR}${BINDIR}/$i || true
21 .endfor
22
23 afterinstall:
24         -chflags schg ${DESTDIR}${BINDIR}/passwd
25
26 .include <bsd.prog.mk>