aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8136798a3a..9688879af8 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@
LEVEL = .
DIRS = lib/System lib/Support utils lib
-include $(LEVEL)/Makefile.common
+include $(LEVEL)/Makefile.config
ifeq ($(MAKECMDGOALS),tools-only)
DIRS += tools
@@ -21,12 +21,14 @@ else
else
$(warning Skipping runtime libraries, llvm-gcc 4 detected.)
endif
+ OPTIONAL_DIRS := examples projects
DIRS += docs
- OPTIONAL_DIRS = examples projects
endif
endif
EXTRA_DIST := test llvm.spec include
+include $(LLVM_SRC_ROOT)/Makefile.rules
+
# Specify options to pass to configure script when we're
# running the dist-check target
DIST_CHECK_CONFIG_OPTIONS = --with-llvmgccdir=$(LLVMGCCDIR)