summaryrefslogtreecommitdiffstats
path: root/usr.bin/passwd/Makefile
blob: ef68ba6e7b4fa445eac2e13c3a9ea6aa839111b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# From:	@(#)Makefile	8.3 (Berkeley) 4/2/94
# $FreeBSD$

PROG	 = passwd
BINOWN	 = root
BINMODE	 = 4555
DPADD	 = ${LIBPAM}
LDADD	 = ${MINUSLPAM}
.if !defined(NO_NIS)
LINKS	 = ${BINDIR}/passwd ${BINDIR}/yppasswd
MLINKS	 = passwd.1 yppasswd.1
.endif
WARNS	?= 4

beforeinstall:
.for i in passwd yppasswd
	[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
		chflags noschg ${DESTDIR}${BINDIR}/$i || true
.endfor

afterinstall:
	-chflags schg ${DESTDIR}${BINDIR}/passwd

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud