Silence -pedantic warning.
[oota-llvm.git] / Makefile
index 5a25a799b2ff93be26e63f2b38134cd639bedcba..d917e58811f60b15602de377ef6adc7608731aee 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,9 +7,9 @@
 # 
 #===------------------------------------------------------------------------===#
 LEVEL = .
-DIRS = lib/System lib/Support utils lib
+DIRS = lib/System lib/Support utils lib/VMCore lib
 
-include $(LEVEL)/Makefile.common
+include $(LEVEL)/Makefile.config 
 
 ifeq ($(MAKECMDGOALS),tools-only)
   DIRS += tools
@@ -21,11 +21,13 @@ else
     else
       $(warning Skipping runtime libraries, llvm-gcc 4 detected.)
     endif
+    OPTIONAL_DIRS := examples projects
     DIRS += docs
   endif
-  OPTIONAL_DIRS = examples projects
 endif
-EXTRA_DIST := test llvm.spec include
+EXTRA_DIST := test llvm.spec include win32 Xcode
+
+include $(LLVM_SRC_ROOT)/Makefile.rules
 
 # Specify options to pass to configure script when we're
 # running the dist-check target
@@ -85,3 +87,5 @@ ifeq ($(BuildMode),Debug)
        $(Echo) '*****' make an optimized build.
 endif
 
+check-llvm2cpp:
+       $(MAKE) check TESTSUITE=Feature RUNLLVM2CPP=1