summaryrefslogtreecommitdiff
path: root/usr.bin/chpass/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-22 11:36:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-22 11:36:02 +0000
commit806021be093ad00ce2022a532c0f4cc99b0065ac (patch)
treec4f374fc66dbd93cdd093f4e1213808e855c8b39 /usr.bin/chpass/Makefile
parent200dde568cd8db5fa9ddc42e6b5388df55a16573 (diff)
libutil
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>