ahci - Add workarounds for Marvell 88SE9215
[dragonfly.git] / usr.bin / passwd / Makefile
blobf854daa42e1e2f1dd8b7890207b80023dc6a1650
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 $
3 # $DragonFly: src/usr.bin/passwd/Makefile,v 1.5 2007/08/27 16:50:57 pavalos Exp $
5 PROG= passwd
6 BINOWN= root
7 BINMODE= 4555
8 DPADD= ${LIBPAM}
9 LDADD= ${MINUSLPAM}
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>