diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile index 7199da5..147313c 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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 |