mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
Separate alpha asmprinter. This should unbreak native build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59046 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
27cae7b01b
commit
bfac4260d8
9
lib/Target/Alpha/AsmPrinter/CMakeLists.txt
Normal file
9
lib/Target/Alpha/AsmPrinter/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_partially_linked_object(LLVMAlphaAsmPrinter
|
||||
AlphaAsmPrinter.cpp
|
||||
)
|
||||
|
||||
target_name_of_partially_linked_object(LLVMAlphaCodeGen n)
|
||||
|
||||
add_dependencies(LLVMAlphaAsmPrinter ${n})
|
15
lib/Target/Alpha/AsmPrinter/Makefile
Normal file
15
lib/Target/Alpha/AsmPrinter/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
##===- lib/Target/Alpha/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 = LLVMAlphaAsmPrinter
|
||||
|
||||
# Hack: we need to include 'main' alpha target directory to grab private headers
|
||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
@ -7,7 +7,7 @@
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
LEVEL = ../../..
|
||||
LIBRARYNAME = LLVMAlpha
|
||||
LIBRARYNAME = LLVMAlphaCodeGen
|
||||
TARGET = Alpha
|
||||
|
||||
# Make sure that tblgen is run, first thing.
|
||||
@ -17,4 +17,6 @@ BUILT_SOURCES = AlphaGenRegisterInfo.h.inc AlphaGenRegisterNames.inc \
|
||||
AlphaGenAsmWriter.inc AlphaGenDAGISel.inc \
|
||||
AlphaGenSubtarget.inc
|
||||
|
||||
DIRS = AsmPrinter
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
Loading…
x
Reference in New Issue
Block a user