forked from OSchip/llvm-project
parent
d0d7256b8f
commit
52b7f0ad5f
|
@ -0,0 +1,6 @@
|
||||||
|
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||||
|
|
||||||
|
add_llvm_library(LLVMMSP430AsmPrinter
|
||||||
|
MSP430AsmPrinter.cpp
|
||||||
|
)
|
||||||
|
add_dependencies(LLVMMSP430AsmPrinter MSP430CodeGenTable_gen)
|
|
@ -0,0 +1,15 @@
|
||||||
|
##===- lib/Target/MSP430/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 = LLVMMSP430AsmPrinter
|
||||||
|
|
||||||
|
# Hack: we need to include 'main' MSP430 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 = LLVMMSP430
|
LIBRARYNAME = LLVMMSP430CodeGen
|
||||||
TARGET = MSP430
|
TARGET = MSP430
|
||||||
|
|
||||||
# Make sure that tblgen is run, first thing.
|
# Make sure that tblgen is run, first thing.
|
||||||
|
@ -17,7 +17,7 @@ BUILT_SOURCES = MSP430GenRegisterInfo.h.inc MSP430GenRegisterNames.inc \
|
||||||
MSP430GenDAGISel.inc MSP430GenCallingConv.inc \
|
MSP430GenDAGISel.inc MSP430GenCallingConv.inc \
|
||||||
MSP430GenSubtarget.inc
|
MSP430GenSubtarget.inc
|
||||||
|
|
||||||
DIRS = TargetInfo
|
DIRS = AsmPrinter TargetInfo
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue