aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/chpass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/chpass/Makefile')
-rw-r--r--usr.bin/chpass/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 573781ba3339..76eb09174306 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -1,11 +1,17 @@
# @(#)Makefile 5.5 (Berkeley) 2/19/91
PROG= chpass
-SRCS= chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c table.c util.c
+SRCS= chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c table.c util.c \
+ pw_fastmkdb.c
BINOWN= root
BINMODE=4555
-.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw
+.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw \
+ ${.CURDIR}/../../usr.bin/passwd
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
+.if defined (PW_COMPACT)
+CFLAGS+=-DPW_COMPACT
+.endif
+
.include <bsd.prog.mk>