1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/usr.bin/passwd/Makefile
Dag-Erling Smørgrav 5f0ae68a18 PAMified passwd(1). Some NIS-related issues remain to be solved, but this
should work for everyday use.

Sponsored by:	DARPA, NAI Labs
2002-04-15 03:02:57 +00:00

23 lines
446 B
Makefile

# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
# $FreeBSD$
PROG = passwd
BINOWN = root
BINMODE = 4555
DPADD = ${LIBPAM}
LDADD = ${MINUSLPAM}
LINKS = ${BINDIR}/passwd ${BINDIR}/yppasswd
MLINKS = passwd.1 yppasswd.1
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>