2004-01-09 14:24:06 +08:00
|
|
|
##===- lib/CodeGen/Makefile --------------------------------*- Makefile -*-===##
|
2009-01-10 00:44:42 +08:00
|
|
|
#
|
2003-10-21 06:26:57 +08:00
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-30 04:09:26 +08:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2009-01-10 00:44:42 +08:00
|
|
|
#
|
2003-10-21 06:26:57 +08:00
|
|
|
##===----------------------------------------------------------------------===##
|
2004-01-09 14:24:06 +08:00
|
|
|
|
2001-07-21 20:41:01 +08:00
|
|
|
LEVEL = ../..
|
2004-10-28 07:18:45 +08:00
|
|
|
LIBRARYNAME = LLVMCodeGen
|
2008-08-17 21:53:04 +08:00
|
|
|
PARALLEL_DIRS = SelectionDAG AsmPrinter
|
2006-07-21 01:27:58 +08:00
|
|
|
BUILD_ARCHIVE = 1
|
2001-07-21 20:41:01 +08:00
|
|
|
|
2006-11-04 03:15:55 +08:00
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
2006-11-04 03:13:59 +08:00
|
|
|
# Xcode prior to 2.4 generates an error in -pedantic mode with use of HUGE_VAL
|
|
|
|
# in this directory. Disable -pedantic for this broken compiler.
|
|
|
|
ifneq ($(HUGE_VAL_SANITY),yes)
|
|
|
|
CompileCommonOpts := $(filter-out -pedantic, $(CompileCommonOpts))
|
|
|
|
endif
|
|
|
|
|