summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-10 22:04:19 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-10 22:04:19 +0000
commitf1ece811cf50002fd14593d791bba38bc7116a4e (patch)
treed08787a3eac76be739975483f488985032c7129e
parent8beef7d0a675bc64e2923d671c5b161fa58495c1 (diff)
A more normal way of building kerberos, faster, and it works with SUDO
-rw-r--r--include/Makefile5
-rw-r--r--kerberosIV/Makefile14
2 files changed, 4 insertions, 15 deletions
diff --git a/include/Makefile b/include/Makefile
index 63ad81aecb3..62adb3fbef4 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.80 2000/02/29 03:28:38 deraadt Exp $
+# $OpenBSD: Makefile,v 1.81 2000/03/10 22:04:18 niklas Exp $
# $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
@@ -59,7 +59,8 @@ NOOBJ= noobj
.include <bsd.own.mk>
SYS_INCLUDE?= copies
.if (${KERBEROS} == "yes")
-RDIRS+= ../kerberosIV
+RDIRS+= ../kerberosIV/lib
+PRDIRS+=../kerberosIV/lib/kadm ../kerberosIV/lib/krb
.endif
prereq:
diff --git a/kerberosIV/Makefile b/kerberosIV/Makefile
index 4e77521ea51..6e9dd32ce83 100644
--- a/kerberosIV/Makefile
+++ b/kerberosIV/Makefile
@@ -1,17 +1,5 @@
-# $OpenBSD: Makefile,v 1.28 2000/02/25 16:35:22 hin Exp $
+# $OpenBSD: Makefile,v 1.29 2000/03/10 22:04:18 niklas Exp $
SUBDIR = lib usr.bin usr.sbin libexec
-build:
- ${MAKE} cleandir
- ${MAKE} includes
- ${MAKE} depend
- ( cd ${.CURDIR}/lib && ${MAKE} && ${MAKE} install )
- ${MAKE}
- ${MAKE} install
-
-prereq:
- ( cd ${.CURDIR}/lib/kadm && ${MAKE} prereq )
- ( cd ${.CURDIR}/lib/krb && ${MAKE} prereq )
-
.include <bsd.subdir.mk>