Move IA64 asmprinter to separate library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2009-04-03 10:38:51 +00:00
parent 1e95580925
commit ea38970596
4 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,12 @@
include_directories(
${CMAKE_CURRENT_BINARY_DIR}/..
${CMAKE_CURRENT_SOURCE_DIR}/..
)
add_partially_linked_object(LLVMIA64AsmPrinter
IA64AsmPrinter.cpp
)
target_name_of_partially_linked_object(LLVMIA64CodeGen n)
add_dependencies(LLVMIA64AsmPrinter ${n})

View File

@ -0,0 +1,17 @@
##===- lib/Target/CellSPU/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 = LLVMIA64AsmPrinter
# Hack: we need to include 'main' IA64 target directory to grab
# private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
include $(LEVEL)/Makefile.common

View File

@ -6,7 +6,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../../..
LIBRARYNAME = LLVMIA64
LIBRARYNAME = LLVMIA64CodeGen
TARGET = IA64
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = IA64GenRegisterInfo.h.inc IA64GenRegisterNames.inc \
@ -14,5 +14,7 @@ BUILT_SOURCES = IA64GenRegisterInfo.h.inc IA64GenRegisterNames.inc \
IA64GenInstrInfo.inc IA64GenAsmWriter.inc \
IA64GenDAGISel.inc
DIRS = AsmPrinter
include $(LEVEL)/Makefile.common