summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-05-15 08:51:59 +0000
committerniklas <niklas@openbsd.org>1996-05-15 08:51:59 +0000
commit8534843a5e13a9d2d2f28d37759b96feca83ac84 (patch)
tree0883976a4cb225171fbbd154962032fd934162d4
parentNow uses libkern instead of locore functions. (diff)
downloadwireguard-openbsd-8534843a5e13a9d2d2f28d37759b96feca83ac84.tar.xz
wireguard-openbsd-8534843a5e13a9d2d2f28d37759b96feca83ac84.zip
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.
-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>