xref: /freebsd/usr.bin/passwd/Makefile (revision 3fc36ee018bb836bd1796067cf4ef8683f166ebc)
1# From:	@(#)Makefile	8.3 (Berkeley) 4/2/94
2# $FreeBSD$
3
4.include <src.opts.mk>
5
6PROG	 = passwd
7BINOWN	 = root
8BINMODE	 = 4555
9PRECIOUSPROG=
10LIBADD   = pam
11.if ${MK_NIS} != "no"
12SYMLINKS = ${BINDIR}/passwd ${BINDIR}/yppasswd
13MLINKS	 = passwd.1 yppasswd.1
14.endif
15
16beforeinstall:
17.for i in passwd yppasswd
18	[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
19		chflags noschg ${DESTDIR}${BINDIR}/$i || true
20.endfor
21
22.include <bsd.prog.mk>
23