summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2009-10-19 17:53:54 +0000
committerStuart Hastings <stuart@apple.com>2009-10-19 17:53:54 +0000
commit93d8cd8072434f3348e12769145e0c8eb40edff1 (patch)
tree0c1389b5a33d34d0edafb358918508aed0457209 /Makefile
parented748a06775ca01f5c6faf366cc347677b9d66b9 (diff)
Tweak top-level Makefile to facilitate Apple-style build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84507 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f3bf3f2345e..ce79465dc8f 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ LEVEL := .
#
# When cross-compiling, there are some things (tablegen) that need to
# be build for the build system first.
+ifndef RC_ARCHS # Normal build (not "Apple-style").
ifeq ($(BUILD_DIRS_ONLY),1)
DIRS := lib/System lib/Support utils
OPTIONAL_DIRS :=
@@ -211,3 +212,8 @@ happiness: update all check unittests
.NOTPARALLEL:
+else # Building "Apple-style."
+# N.B. In an Apple-style build, once configuration is done, lines
+# marked "Apple-style" are removed with sed! See utils/buildit/build_llvm.
+include utils/buildit/GNUmakefile # Building "Apple-style."
+endif # Building "Apple-style."