xref: /freebsd/usr.bin/passwd/Makefile (revision c43e99fd14c915adcb7173dd49c31e803ceadfe0)
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 = 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