aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2014-11-30 18:50:15 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2014-11-30 18:50:15 +0000
commitaa9bd11d5d12ddc394c1868430ead2e6e61e4178 (patch)
treea519daf361ec5f9d32a3fff28239445fafc2e565
parentc0b2d894beb0265ed5b1c3b6f4c300f17f22126f (diff)
downloadsrc-aa9bd11d5d12ddc394c1868430ead2e6e61e4178.tar.gz
src-aa9bd11d5d12ddc394c1868430ead2e6e61e4178.zip
If we are doing META_MODE use targets/Makefile as top-level
since this one isn't suitable.
Notes
Notes: svn path=/projects/bmake/; revision=275343
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3951269382ac..d2a5f3a5d108 100644
--- a/Makefile
+++ b/Makefile
@@ -99,6 +99,11 @@
#
# For more information, see the build(7) manual page.
#
+.if ${MK_META_MODE} == "yes"
+# targets/Makefile plays the role of top-level
+.include "targets/Makefile"
+.else
+
TGTS= all all-man buildenv buildenvvars buildkernel buildworld \
check-old check-old-dirs check-old-files check-old-libs \
checkdpadd clean cleandepend cleandir \
@@ -527,3 +532,4 @@ MAKE_JOB_ERROR_TOKEN= no
.export MAKE_JOB_ERROR_TOKEN
.endif
.endif
+.endif