mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Separate sparc asmprinter. This should unbreak the native build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59047 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bfac4260d8
commit
3bd86aac99
9
lib/Target/Sparc/AsmPrinter/CMakeLists.txt
Normal file
9
lib/Target/Sparc/AsmPrinter/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||||
|
|
||||||
|
add_partially_linked_object(LLVMSparcAsmPrinter
|
||||||
|
SparcAsmPrinter.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
target_name_of_partially_linked_object(LLVMSparcCodeGen n)
|
||||||
|
|
||||||
|
add_dependencies(LLVMSparcAsmPrinter ${n})
|
15
lib/Target/Sparc/AsmPrinter/Makefile
Normal file
15
lib/Target/Sparc/AsmPrinter/Makefile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
##===- lib/Target/Sparc/Makefile ---------------------------*- Makefile -*-===##
|
||||||
|
#
|
||||||
|
# The LLVM Compiler Infrastructure
|
||||||
|
#
|
||||||
|
# This file is distributed under the University of Illinois Open Source
|
||||||
|
# License. See LICENSE.TXT for details.
|
||||||
|
#
|
||||||
|
##===----------------------------------------------------------------------===##
|
||||||
|
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)/..
|
||||||
|
|
||||||
|
include $(LEVEL)/Makefile.common
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
##===----------------------------------------------------------------------===##
|
##===----------------------------------------------------------------------===##
|
||||||
LEVEL = ../../..
|
LEVEL = ../../..
|
||||||
LIBRARYNAME = LLVMSparc
|
LIBRARYNAME = LLVMSparcCodeGen
|
||||||
TARGET = Sparc
|
TARGET = Sparc
|
||||||
|
|
||||||
# Make sure that tblgen is run, first thing.
|
# Make sure that tblgen is run, first thing.
|
||||||
@ -16,5 +16,7 @@ BUILT_SOURCES = SparcGenRegisterInfo.h.inc SparcGenRegisterNames.inc \
|
|||||||
SparcGenInstrInfo.inc SparcGenAsmWriter.inc \
|
SparcGenInstrInfo.inc SparcGenAsmWriter.inc \
|
||||||
SparcGenDAGISel.inc SparcGenSubtarget.inc SparcGenCallingConv.inc
|
SparcGenDAGISel.inc SparcGenSubtarget.inc SparcGenCallingConv.inc
|
||||||
|
|
||||||
|
DIRS = AsmPrinter
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user