summaryrefslogtreecommitdiffstats
path: root/chpass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chpass/Makefile')
-rw-r--r--chpass/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/chpass/Makefile b/chpass/Makefile
new file mode 100644
index 0000000..b68ad10
--- /dev/null
+++ b/chpass/Makefile
@@ -0,0 +1,15 @@
+# @(#)Makefile 8.2 (Berkeley) 4/2/94
+
+PROG= chpass
+SRCS= chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c table.c util.c
+BINOWN= root
+BINMODE=4555
+.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw
+CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
+LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
+MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
+
+afterinstall:
+ chflags schg /usr/bin/chpass
+
+.include <bsd.prog.mk>