Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ##===- lib/Makefile ----------------------------------------*- Makefile -*-===## |
Misha Brukman | e025bcc | 2009-01-09 16:44:42 +0000 | [diff] [blame] | 2 | # |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
Chris Lattner | 80455b8 | 2007-12-29 20:09:26 +0000 | [diff] [blame] | 5 | # This file is distributed under the University of Illinois Open Source |
| 6 | # License. See LICENSE.TXT for details. |
Misha Brukman | e025bcc | 2009-01-09 16:44:42 +0000 | [diff] [blame] | 7 | # |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 8 | ##===----------------------------------------------------------------------===## |
| 9 | LEVEL = .. |
| 10 | |
Daniel Dunbar | 4771b9e | 2009-06-29 21:12:26 +0000 | [diff] [blame^] | 11 | include $(LEVEL)/Makefile.config |
| 12 | |
| 13 | PARALLEL_DIRS := VMCore AsmParser Bitcode Archive Analysis Transforms CodeGen \ |
| 14 | Target ExecutionEngine Debugger Linker MC |
| 15 | |
| 16 | # Only build the CompilerDriver when PIC is enabled. |
| 17 | |
| 18 | ifeq ($(ENABLE_PIC),1) |
| 19 | PARALLEL_DIRS += CompilerDriver |
| 20 | endif |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 21 | |
| 22 | include $(LEVEL)/Makefile.common |
| 23 | |