summaryrefslogtreecommitdiff
path: root/usr.bin/chpass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/chpass/Makefile')
-rw-r--r--usr.bin/chpass/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 752792ba265..f6f19c838f6 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -1,18 +1,16 @@
-# $NetBSD: Makefile,v 1.5 1995/03/26 04:55:22 glass Exp $
+# $NetBSD: Makefile,v 1.6 1996/05/15 21:50:39 jtc Exp $
# @(#)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 pw_yp.c table.c util.c getpwent.c
+SRCS= chpass.c edit.c field.c pw_yp.c table.c util.c getpwent.c
BINOWN= root
BINMODE=4555
-.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw \
- ${.CURDIR}/../../lib/libc/gen
-CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
+.PATH: ${.CURDIR}/../../lib/libc/gen
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
CFLAGS+=-DYP
-DPADD+= ${LIBRPCSVC}
-LDADD+= -lrpcsvc
+DPADD+= ${LIBRPCSVC} ${LIBUTIL}
+LDADD+= -lrpcsvc -lutil
.include <bsd.prog.mk>