forked from OSchip/llvm-project
Separate sparc asmprinter. This should unbreak the native build
llvm-svn: 59047
This commit is contained in:
parent
f4caceb668
commit
03e084d482
|
@ -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})
|
|
@ -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