]> git.cameronkatri.com Git - pw-darwin.git/blob - chpass/Makefile
Fix logic in previous commit.
[pw-darwin.git] / chpass / Makefile
1 # @(#)Makefile 8.2 (Berkeley) 4/2/94
2
3 PROG= chpass
4 SRCS= chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c table.c util.c
5 BINOWN= root
6 BINMODE=4555
7 .PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw
8 CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
9 LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
10 MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
11
12 beforeinstall:
13 [ ! -e /usr/bin/chpass ] || chflags noschg /usr/bin/chpass
14
15 afterinstall:
16 chflags schg /usr/bin/chpass
17
18 .include <bsd.prog.mk>