xref: /freebsd/usr.bin/passwd/Makefile (revision ae83180158c4c937f170e31eff311b18c0286a93)
1# From:	@(#)Makefile	8.3 (Berkeley) 4/2/94
2# $FreeBSD$
3
4PROG	 = passwd
5BINOWN	 = root
6BINMODE	 = 4555
7DPADD	 = ${LIBPAM}
8LDADD	 = ${MINUSLPAM}
9LINKS	 = ${BINDIR}/passwd ${BINDIR}/yppasswd
10MLINKS	 = passwd.1 yppasswd.1
11WARNS	?= 4
12
13beforeinstall:
14.for i in passwd yppasswd
15	[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
16		chflags noschg ${DESTDIR}${BINDIR}/$i || true
17.endfor
18
19afterinstall:
20	-chflags schg ${DESTDIR}${BINDIR}/passwd
21
22.include <bsd.prog.mk>
23