blob: e7d13f2722dfbcc3652c0c71e620cd7ab62541ce [file] [log] [blame]
Chris Lattner83e841662004-01-09 06:24:06 +00001##===- lib/CodeGen/Makefile --------------------------------*- Makefile -*-===##
John Criswell4436c492003-10-20 22:26:57 +00002#
3# The LLVM Compiler Infrastructure
4#
5# This file was developed by the LLVM research group and is distributed under
6# the University of Illinois Open Source License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
Chris Lattner83e841662004-01-09 06:24:06 +00009
Vikram S. Adve9c049ca2001-07-21 12:41:01 +000010LEVEL = ../..
Chris Lattnera35f8c12006-11-03 19:13:59 +000011include $(LEVEL)/Makefile.config
Reid Spencer57cbe392004-10-27 23:18:45 +000012LIBRARYNAME = LLVMCodeGen
Reid Spencera647c7f2006-06-01 01:30:27 +000013PARALLEL_DIRS = SelectionDAG
Andrew Lenharth2b0badd2006-07-20 17:27:58 +000014BUILD_ARCHIVE = 1
Vikram S. Adve9c049ca2001-07-21 12:41:01 +000015
Chris Lattnera35f8c12006-11-03 19:13:59 +000016# Xcode prior to 2.4 generates an error in -pedantic mode with use of HUGE_VAL
17# in this directory. Disable -pedantic for this broken compiler.
18ifneq ($(HUGE_VAL_SANITY),yes)
19CompileCommonOpts := $(filter-out -pedantic, $(CompileCommonOpts))
20endif
21
Vikram S. Adve9c049ca2001-07-21 12:41:01 +000022include $(LEVEL)/Makefile.common