summaryrefslogtreecommitdiff
path: root/kerberosIV/Makefile
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-15 08:52:00 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-15 08:52:00 +0000
commit150be116802d369e044ff6c15f124c32637af2e7 (patch)
tree600cc46cbada42b78a8df6d5c79b870bec12c185 /kerberosIV/Makefile
parentab28937d175b0b44394a0dddb6a2faf220016e88 (diff)
when depending in this tree some dynamically built sources need be
made first. See to that the generating binaries for these are built before recursing with the depend target.
Diffstat (limited to 'kerberosIV/Makefile')
-rw-r--r--kerberosIV/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/kerberosIV/Makefile b/kerberosIV/Makefile
index b335f8d933b..1f803df98d3 100644
--- a/kerberosIV/Makefile
+++ b/kerberosIV/Makefile
@@ -1,5 +1,5 @@
+# $OpenBSD: Makefile,v 1.3 1996/05/15 08:51:59 niklas Exp $
# from @(#)Makefile 5.1 (Berkeley) 6/25/90
-# $Id: Makefile,v 1.2 1995/12/16 21:08:28 tholo Exp $
# do compile_et and mk_cmds first, used by other directories
@@ -31,4 +31,11 @@ build:
(cd ${.CURDIR}/kdb && ${MAKE} depend && ${MAKE} && ${MAKE} install)
(cd ${.CURDIR}/ss && ${MAKE} depend && ${MAKE} && ${MAKE} install)
+# Since depending need to have some dynamically built sources available,
+# we need to build the generators first.
+beforedepend:
+ (cd ${.CURDIR}/compile_et && ${MAKE} depend && ${MAKE})
+ (cd ${.CURDIR}/mk_cmds && ${MAKE} depend && ${MAKE})
+
+.include <bsd.dep.mk>
.include <bsd.subdir.mk>