summaryrefslogtreecommitdiff
path: root/usr.bin/passwd/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/passwd/Makefile
parent200dde568cd8db5fa9ddc42e6b5388df55a16573 (diff)
libutil
Diffstat (limited to 'usr.bin/passwd/Makefile')
-rw-r--r--usr.bin/passwd/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
index 6ffcfd56b64..c6111c990e6 100644
--- a/usr.bin/passwd/Makefile
+++ b/usr.bin/passwd/Makefile
@@ -1,15 +1,11 @@
-# from: @(#)Makefile 5.11 (Berkeley) 2/19/91
-# $Id: Makefile,v 1.6 1996/04/03 05:44:45 tholo Exp $
+# $OpenBSD: Makefile,v 1.7 1996/05/22 11:35:26 deraadt Exp $
PROG= passwd
-SRCS= local_passwd.c yp_passwd.c passwd.c pw_copy.c pw_util.c getpwent.c
-.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \
- ${.CURDIR}/../rlogin ${.CURDIR}/../../lib/libc/gen
-#DPADD+= ${LIBRPCSVC} ${LIBCRYPT}
-DPADD+= ${LIBRPCSVC}
-#LDADD+= -lrpcsvc -lcrypt
-LDADD+= -lrpcsvc
-CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../usr.sbin/vipw -DYP
+SRCS= local_passwd.c yp_passwd.c passwd.c getpwent.c
+.PATH: ${.CURDIR}/../../lib/libc/gen
+DPADD+= ${LIBRPCSVC} ${LIBCRYPT} ${LIBUTIL}
+LDADD+= -lrpcsvc -lcrypt -lutil
+CFLAGS+=-I${.CURDIR} -DYP
.include <bsd.own.mk> # For Kerberos
@@ -19,6 +15,7 @@ CFLAGS+= -DKERBEROS5
DPADD+= ${LIBKRB5} ${LIBCRYPTO}
LDADD+= -lkrb5 -lcrypto
.elif defined(KERBEROS)
+.PATH: ${.CURDIR}/../rlogin
SRCS+= krb_passwd.c des_rw.c
CFLAGS+= -DKERBEROS
DPADD+= ${LIBKRB} ${LIBDES}