mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
Fix LLVM build when the user specifies CPPFLAGS on the make command line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98394 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
528a126d32
commit
150ae11976
@ -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
Block a user