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
|
||||
|
||||
# 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
|
||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMARMAsmPrinter
|
||||
|
||||
# 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
|
||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMAlphaAsmPrinter
|
||||
|
||||
# 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
|
||||
|
|
|
@ -11,6 +11,6 @@ LIBRARYNAME = LLVMBlackfinAsmPrinter
|
|||
|
||||
# Hack: we need to include 'main' Blackfin 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
|
||||
|
|
|
@ -12,6 +12,6 @@ LIBRARYNAME = LLVMCellSPUAsmPrinter
|
|||
|
||||
# Hack: we need to include 'main' CellSPU 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
|
||||
|
|
|
@ -12,6 +12,6 @@ LIBRARYNAME = LLVMMBlazeAsmPrinter
|
|||
|
||||
# Hack: we need to include 'main' MBlaze 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
|
||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMMSP430AsmPrinter
|
||||
|
||||
# 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
|
||||
|
|
|
@ -12,6 +12,6 @@ LIBRARYNAME = LLVMMipsAsmPrinter
|
|||
|
||||
# Hack: we need to include 'main' Mips 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
|
||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMPIC16AsmPrinter
|
||||
|
||||
# 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
|
||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMPowerPCAsmPrinter
|
||||
|
||||
# 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
|
||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMSparcAsmPrinter
|
||||
|
||||
# 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
|
||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMSystemZAsmPrinter
|
||||
|
||||
# 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
|
||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMX86AsmParser
|
||||
|
||||
# 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
|
||||
|
|
|
@ -10,6 +10,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMX86AsmPrinter
|
||||
|
||||
# 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
|
||||
|
|
|
@ -11,6 +11,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMX86Disassembler
|
||||
|
||||
# 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
|
||||
|
|
|
@ -11,6 +11,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMX86Info
|
||||
|
||||
# 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
|
||||
|
|
|
@ -11,6 +11,6 @@ LEVEL = ../../../..
|
|||
LIBRARYNAME = LLVMXCoreAsmPrinter
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue