LEVEL = .
DIRS = lib/System lib/Support utils lib tools
-
ifneq ($(MAKECMDGOALS),tools-only)
-DIRS += runtime
+DIRS += runtime docs
OPTIONAL_DIRS = examples projects
endif
include $(LEVEL)/Makefile.common
+.PHONY: debug-opt-prof
+debug-opt-prof:
+ $(Echo) Building Debug Version
+ $(Verb) $(MAKE)
+ $(Echo)
+ $(Echo) Building Optimized Version
+ $(Echo)
+ $(Verb) $(MAKE) ENABLE_OPTIMIZED=1
+ $(Echo)
+ $(Echo) Building Profiling Version
+ $(Echo)
+ $(Verb) $(MAKE) ENABLE_PROFILING=1
+
dist-hook::
$(Echo) Eliminating CVS directories from distribution
$(Verb) $(RM) -rf `find $(TopDistDir) -type d -name CVS -print`
$(TopDistDir)/include/llvm/Support/ThreadSupport.h
check ::
- cd test; $(MAKE)
+ $(MAKE) -C test
tools-only: all
check-dejagnu:
- cd test; $(MAKE) check-dejagnu TESTSUITE=$(TESTSUITE) TARGET=$(TARGET_TRIPLE)
+ $(MAKE) -C test check-dejagnu TESTSUITE=$(TESTSUITE)