capture implicit uses and defs in CodeGenInstruction
[oota-llvm.git] / utils / buildit / GNUmakefile
index 6e5131254cb0ee999c6797d91f83d19122ebe177..8d8504c39b5cb8c4e2908427fab5d02023269f4c 100644 (file)
@@ -35,10 +35,8 @@ DSTROOT = $(OBJROOT)/../dst
 PREFIX = /usr/local
 
 # Unless assertions are forced on in the GMAKE command line, disable them.
-ifdef ENABLE_ASSERTIONS
-LLVM_ASSERTIONS := yes
-else
-LLVM_ASSERTIONS := no
+ifndef ENABLE_ASSERTIONS
+ENABLE_ASSERTIONS := no
 endif
 
 # Default is optimized build.
@@ -59,9 +57,9 @@ endif
 # NOTE : Always put version numbers at the end because they are optional.
 install: $(OBJROOT) $(SYMROOT) $(DSTROOT)
        cd $(OBJROOT) && \
-         $(SRC)/build_llvm "$(RC_ARCHS)" "$(TARGETS)" \
+         $(SRC)/utils/buildit/build_llvm "$(RC_ARCHS)" "$(TARGETS)" \
            $(SRC) $(PREFIX) $(DSTROOT) $(SYMROOT) \
-           $(LLVM_ASSERTIONS) $(LLVM_OPTIMIZED) \
+           $(ENABLE_ASSERTIONS) $(LLVM_OPTIMIZED) \
            $(RC_ProjectSourceVersion) $(RC_ProjectSourceSubversion) 
 
 
@@ -85,6 +83,7 @@ installsrc:
                                -type f -a -name .DS_Store -o \
                                -name \*~ -o -name .\#\* \) \
          -exec rm -rf {} \;
+       rm -rf "$(SRCROOT)/test"
 
 #######################################################################