forked from OSchip/llvm-project
Fix LLVM build when the user specifies CPPFLAGS on the make command line.
llvm-svn: 98394
This commit is contained in:
parent
c6140734c5
commit
9eeda13a52
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMARMAsmParser
|
LIBRARYNAME = LLVMARMAsmParser
|
||||||
|
|
||||||
# Hack: we need to include 'main' ARM target directory to grab private headers
|
# Hack: we need to include 'main' ARM target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMARMAsmPrinter
|
LIBRARYNAME = LLVMARMAsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' arm target directory to grab private headers
|
# Hack: we need to include 'main' arm target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMAlphaAsmPrinter
|
LIBRARYNAME = LLVMAlphaAsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' alpha target directory to grab private headers
|
# Hack: we need to include 'main' alpha target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -11,6 +11,6 @@ LIBRARYNAME = LLVMBlackfinAsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' Blackfin target directory to grab private
|
# Hack: we need to include 'main' Blackfin target directory to grab private
|
||||||
# headers
|
# headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -12,6 +12,6 @@ LIBRARYNAME = LLVMCellSPUAsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' CellSPU target directory to grab
|
# Hack: we need to include 'main' CellSPU target directory to grab
|
||||||
# private headers
|
# private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -12,6 +12,6 @@ LIBRARYNAME = LLVMMBlazeAsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' MBlaze target directory to grab
|
# Hack: we need to include 'main' MBlaze target directory to grab
|
||||||
# private headers
|
# private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMMSP430AsmPrinter
|
LIBRARYNAME = LLVMMSP430AsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' MSP430 target directory to grab private headers
|
# Hack: we need to include 'main' MSP430 target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -12,6 +12,6 @@ LIBRARYNAME = LLVMMipsAsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' Mips target directory to grab
|
# Hack: we need to include 'main' Mips target directory to grab
|
||||||
# private headers
|
# private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMPIC16AsmPrinter
|
LIBRARYNAME = LLVMPIC16AsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' pic16 target directory to grab private headers
|
# Hack: we need to include 'main' pic16 target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMPowerPCAsmPrinter
|
LIBRARYNAME = LLVMPowerPCAsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' PowerPC target directory to grab private headers
|
# Hack: we need to include 'main' PowerPC target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMSparcAsmPrinter
|
LIBRARYNAME = LLVMSparcAsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' Sparc target directory to grab private headers
|
# Hack: we need to include 'main' Sparc target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMSystemZAsmPrinter
|
LIBRARYNAME = LLVMSystemZAsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' SystemZ target directory to grab private headers
|
# Hack: we need to include 'main' SystemZ target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMX86AsmParser
|
LIBRARYNAME = LLVMX86AsmParser
|
||||||
|
|
||||||
# Hack: we need to include 'main' x86 target directory to grab private headers
|
# Hack: we need to include 'main' x86 target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMX86AsmPrinter
|
LIBRARYNAME = LLVMX86AsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' x86 target directory to grab private headers
|
# Hack: we need to include 'main' x86 target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -11,6 +11,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMX86Disassembler
|
LIBRARYNAME = LLVMX86Disassembler
|
||||||
|
|
||||||
# Hack: we need to include 'main' x86 target directory to grab private headers
|
# Hack: we need to include 'main' x86 target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -11,6 +11,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMX86Info
|
LIBRARYNAME = LLVMX86Info
|
||||||
|
|
||||||
# Hack: we need to include 'main' target directory to grab private headers
|
# Hack: we need to include 'main' target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
|
@ -11,6 +11,6 @@ LEVEL = ../../../..
|
||||||
LIBRARYNAME = LLVMXCoreAsmPrinter
|
LIBRARYNAME = LLVMXCoreAsmPrinter
|
||||||
|
|
||||||
# Hack: we need to include 'main' XCore target directory to grab private headers
|
# Hack: we need to include 'main' XCore target directory to grab private headers
|
||||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
Loading…
Reference in New Issue