Add Thumb-2 support for TEQ amd TST.
[oota-llvm.git] / lib / Makefile
index 7199da52d489cf6e65344bf98c9a3f136e97406c..147313ca76d96bb9accec43a935da01cbb70bb48 100644 (file)
@@ -8,8 +8,16 @@
 ##===----------------------------------------------------------------------===##
 LEVEL = ..
 
-PARALLEL_DIRS = VMCore AsmParser Bitcode Archive Analysis Transforms CodeGen \
-                Target ExecutionEngine Debugger Linker CompilerDriver MC
+include $(LEVEL)/Makefile.config
+
+PARALLEL_DIRS := VMCore AsmParser Bitcode Archive Analysis Transforms CodeGen \
+                Target ExecutionEngine Debugger Linker MC
+
+# Only build the CompilerDriver when PIC is enabled.
+
+ifeq ($(ENABLE_PIC),1)
+PARALLEL_DIRS += CompilerDriver
+endif
 
 include $(LEVEL)/Makefile.common