summaryrefslogtreecommitdiff
path: root/usr.bin/passwd/Makefile
diff options
context:
space:
mode:
authorMagnus Holmberg <mho@cvs.openbsd.org>2003-05-14 07:22:48 +0000
committerMagnus Holmberg <mho@cvs.openbsd.org>2003-05-14 07:22:48 +0000
commit239f9b78ec06d03e4ff991f334a2200b4129de88 (patch)
treedf77d7f037b59edd8ea6d975912a67e90f4d41dc /usr.bin/passwd/Makefile
parent5d16bfb7afc257883fbb429a48895c73800c699a (diff)
Remove krb4 support.
Diffstat (limited to 'usr.bin/passwd/Makefile')
-rw-r--r--usr.bin/passwd/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
index 83af505603a..31059b8234c 100644
--- a/usr.bin/passwd/Makefile
+++ b/usr.bin/passwd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.26 2002/05/08 19:41:53 deraadt Exp $
+# $OpenBSD: Makefile,v 1.27 2003/05/14 07:22:47 mho Exp $
.include <bsd.own.mk>
@@ -17,18 +17,12 @@ CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp
.include <bsd.own.mk> # For Kerberos
.if (${KERBEROS5:L} == "yes")
+.PATH: ${.CURDIR}/../rsh
+SRCS+= krb_passwd.c des_rw.c
SRCS+= krb5_passwd.c
CFLAGS+= -DKRB5
-DPADD+= ${LIBKRB5} ${LIBASN1}
-LDADD+= -lkrb5 -lasn1
-.endif
-
-.if (${KERBEROS:L} == "yes")
-.PATH: ${.CURDIR}/../rsh
-SRCS+= new_pwd.c krb_passwd.c des_rw.c
-CFLAGS+= -DKERBEROS
-DPADD+= ${LIBKADM} ${LIBKRB} ${LIBDES} ${LIBCOMERR} ${LIBKAFS} ${LIBCRYPTO}
-LDADD+= -lkadm -lkrb -ldes -lcom_err -lkafs -lcrypto
+DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBDES} ${LIBCOM_ERR} ${LIBCRYPTO}
+LDADD+= -lkrb5 -lasn1 -ldes -lcom_err -lcrypto
.endif
BINMODE=4555