Some improvements based on feedback from Anders.
[oota-llvm.git] / runtime / Makefile
index f8b6ba63f857a10230efecd97f3954daf8a064e2..99a5e0cb93963e0a50737fdd3e29b0e8bca63f0f 100644 (file)
 LEVEL = ..
 include $(LEVEL)/Makefile.config
 
-ifneq ($(LLVMGCC_MAJVERS),3)
-PARALLEL_DIRS :=
-install all::
-       $(Echo) "Warning: These runtime libraries only need to be built with"
-       $(Echo) "Warning: llvm-gcc version 3. They are automatically included"
-       $(Echo) "Warning: with llvm-gcc version 4 and beyond"
-else 
 ifneq ($(wildcard $(LLVMGCC)),)
-PARALLEL_DIRS  := GCCLibraries  libdummy libprofile libtrace GC
+PARALLEL_DIRS  := libprofile GC
 else
 PARALLEL_DIRS  := 
 install all ::
@@ -33,7 +26,6 @@ endif
 ifeq ($(ARCH), Sparc)
 PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
 endif
-endif
 
 include $(LEVEL)/Makefile.common