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