1# From: @(#)Makefile 8.3 (Berkeley) 4/2/94 2# $FreeBSD$ 3 4.include <src.opts.mk> 5 6PROG = passwd 7BINOWN = root 8BINMODE = 4555 9DPADD = ${LIBPAM} 10LDADD = ${MINUSLPAM} 11.if ${MK_NIS} != "no" 12LINKS = ${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.if !defined(NO_FSCHG) 23afterinstall: 24 -chflags schg ${DESTDIR}${BINDIR}/passwd 25.endif 26 27.include <bsd.prog.mk> 28