* llvm.spec.in: update blurb
[oota-llvm.git] / Makefile
index c8604daf74e47765361c77a70fb3415ab9acb2c4..0be1f122aac15f7637ffb9a49dec2fb19f5e3a43 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ LEVEL := .
 #
 DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-config \
         tools runtime docs
-        
+
 OPTIONAL_DIRS := examples projects
 EXTRA_DIST := test llvm.spec include win32 Xcode
 
@@ -111,10 +111,10 @@ ifeq ($(BuildMode),Debug)
 endif
 
 check-llvm2cpp:
-       $(MAKE) check TESTSUITE=Feature RUNLLVM2CPP=1
+       $(Verb)$(MAKE) check TESTSUITE=Feature RUNLLVM2CPP=1
 
 check-one:
-       $(MAKE) -C test check-one TESTONE=$(TESTONE)
+       $(Verb)$(MAKE) -C test check-one TESTONE=$(TESTONE)
 
 srpm: $(LLVM_OBJ_ROOT)/llvm.spec 
        rpmbuild -bs $(LLVM_OBJ_ROOT)/llvm.spec
@@ -128,4 +128,12 @@ show-footprint:
        $(Verb) du -sk $(ExmplDir)
        $(Verb) du -sk $(ObjDir)
 
+build-for-llvm-top:
+       $(Verb) if test ! -f ./config.status ; then \
+         ./configure --prefix="$(LLVM_TOP)/install" \
+           --with-llvm-gcc="$(LLVM_TOP)/llvm-gcc" ; \
+       fi
+       $(Verb) $(MAKE) tools-only
+
 .PHONY: srpm rpm
+