Chris Lattner | 83e84166 | 2004-01-09 06:24:06 +0000 | [diff] [blame] | 1 | ##===- lib/CodeGen/Makefile --------------------------------*- Makefile -*-===## |
John Criswell | 4436c49 | 2003-10-20 22:26:57 +0000 | [diff] [blame] | 2 | # |
| 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
Chris Lattner | a087a8d | 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. |
John Criswell | 4436c49 | 2003-10-20 22:26:57 +0000 | [diff] [blame] | 7 | # |
| 8 | ##===----------------------------------------------------------------------===## |
Chris Lattner | 83e84166 | 2004-01-09 06:24:06 +0000 | [diff] [blame] | 9 | |
Vikram S. Adve | 9c049ca | 2001-07-21 12:41:01 +0000 | [diff] [blame] | 10 | LEVEL = ../.. |
Reid Spencer | 57cbe39 | 2004-10-27 23:18:45 +0000 | [diff] [blame] | 11 | LIBRARYNAME = LLVMCodeGen |
Reid Spencer | a647c7f | 2006-06-01 01:30:27 +0000 | [diff] [blame] | 12 | PARALLEL_DIRS = SelectionDAG |
Andrew Lenharth | 2b0badd | 2006-07-20 17:27:58 +0000 | [diff] [blame] | 13 | BUILD_ARCHIVE = 1 |
Vikram S. Adve | 9c049ca | 2001-07-21 12:41:01 +0000 | [diff] [blame] | 14 | |
Chris Lattner | bb3ea2a | 2006-11-03 19:15:55 +0000 | [diff] [blame] | 15 | include $(LEVEL)/Makefile.common |
| 16 | |
Chris Lattner | a35f8c1 | 2006-11-03 19:13:59 +0000 | [diff] [blame] | 17 | # Xcode prior to 2.4 generates an error in -pedantic mode with use of HUGE_VAL |
| 18 | # in this directory. Disable -pedantic for this broken compiler. |
| 19 | ifneq ($(HUGE_VAL_SANITY),yes) |
| 20 | CompileCommonOpts := $(filter-out -pedantic, $(CompileCommonOpts)) |
| 21 | endif |
| 22 | |