Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ##===- lib/CodeGen/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 | |
| 10 | LEVEL = ../.. |
| 11 | LIBRARYNAME = LLVMCodeGen |
Anton Korobeynikov | eb7f720 | 2008-08-17 13:53:04 +0000 | [diff] [blame] | 12 | PARALLEL_DIRS = SelectionDAG AsmPrinter |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 13 | BUILD_ARCHIVE = 1 |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 14 | |
| 15 | include $(LEVEL)/Makefile.common |
| 16 | |
| 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 | |