Rewrite the TrailingObjects template to provide two new features:
[oota-llvm.git] / unittests / Makefile
index 04d12e01ad77238df14e1b3d418b112082febf98..bf2ed22efea78e9958d68ac2f354878827674a53 100644 (file)
@@ -9,16 +9,12 @@
 
 LEVEL = ..
 
-include $(LEVEL)/Makefile.config
-
-LIBRARYNAME = UnitTestMain
-BUILD_ARCHIVE = 1
-CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/
-CPP.Flags += -Wno-variadic-macros
+PARALLEL_DIRS = ADT Analysis AsmParser Bitcode CodeGen DebugInfo \
+                ExecutionEngine IR LineEditor Linker MC Option ProfileData \
+                Support Transforms
 
-PARALLEL_DIRS = ADT Support VMCore MC
-
-include $(LEVEL)/Makefile.common
+include $(LEVEL)/Makefile.config
+include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
 
 clean::
        $(Verb) $(RM) -f *Tests