kernel - Fix quickhalt panic-on-reboot
[dragonfly.git] / usr.bin / passwd / Makefile
blobf4e6c4bb628960f68b6ed7a27820e657a1b43ada
1 # From: @(#)Makefile 8.3 (Berkeley) 4/2/94
2 # $FreeBSD: src/usr.bin/passwd/Makefile,v 1.46 2004/12/29 08:16:39 ache Exp $
4 PROG= passwd
5 BINOWN= root
6 BINMODE= 4555
7 DPADD= ${LIBPAM}
8 LDADD= ${MINUSLPAM}
9 LDFLAGS+= ${LDFLAGSPAM}
10 .if !defined(NO_NIS)
11 LINKS= ${BINDIR}/passwd ${BINDIR}/yppasswd
12 MLINKS= passwd.1 yppasswd.1
13 .endif
15 beforeinstall:
16 .for i in passwd yppasswd
17 [ ! -e ${DESTDIR}${BINDIR}/$i ] || \
18 chflags noschg ${DESTDIR}${BINDIR}/$i || true
19 .endfor
21 .if !defined(NOFSCHG)
22 afterinstall:
23 -chflags schg ${DESTDIR}${BINDIR}/passwd
24 .endif
26 .include <bsd.prog.mk>