mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
d96cb6eaa0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16950 91177308-0d34-0410-b5e6-96231b3b80d8
63 lines
1.8 KiB
Makefile
63 lines
1.8 KiB
Makefile
#===-- lib/Target/SparcV9/Makefile.am ----------------------*- Makefile -*--===#
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file was developed by Reid Spencer and is distributed under the
|
|
# University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
#
|
|
#===------------------------------------------------------------------------===#
|
|
|
|
include $(top_srcdir)/Makefile_config
|
|
|
|
SUBDIRS = InstrSched LiveVar ModuloScheduling RegAlloc
|
|
|
|
lib_LIBRARIES = libLLVMSparcV9.a
|
|
|
|
BUILT_SOURCES = \
|
|
SparcV9CodeEmitter.inc \
|
|
SparcV9.burm.cpp
|
|
|
|
libLLVMSparcV9_a_SOURCES = \
|
|
EmitBytecodeToAssembly.cpp \
|
|
InternalGlobalMapper.cpp \
|
|
MachineCodeForInstruction.cpp \
|
|
MachineFunctionInfo.cpp \
|
|
MappingInfo.cpp \
|
|
SparcV9AsmPrinter.cpp \
|
|
SparcV9BurgISel.cpp \
|
|
SparcV9CodeEmitter.cpp \
|
|
SparcV9FrameInfo.cpp \
|
|
SparcV9PeepholeOpts.cpp \
|
|
SparcV9PreSelection.cpp \
|
|
SparcV9PrologEpilogInserter.cpp \
|
|
SparcV9RegClassInfo.cpp \
|
|
SparcV9RegInfo.cpp \
|
|
SparcV9RegisterInfo.cpp \
|
|
SparcV9SchedInfo.cpp \
|
|
SparcV9StackSlots.cpp \
|
|
SparcV9TargetMachine.cpp \
|
|
SparcV9TmpInstr.cpp \
|
|
$(BUILT_SOURCES)
|
|
|
|
PRELINK=libLLVMSparcV9.a
|
|
|
|
SparcV9.burg.in1 : SparcV9.burg.in
|
|
$(CXX) -E $(AM_CPPFLAGS) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/Ydefine/#define/' > $@
|
|
|
|
SparcV9.burm : SparcV9.burg.in1
|
|
$(CXX) -E -I$(AM_CPPFLAGS) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/^Xinclude/#include/' | $(SED) 's/^Xdefine/#define/' > $@
|
|
|
|
SparcV9.burm.cpp: SparcV9.burm
|
|
@echo "Burging `basename $<`"
|
|
$(RunBurg) $< -o $@
|
|
|
|
SparcV9CodeEmitter.inc: SparcV9.td $(TABLEGEN_FILES) $(TBLGEN)
|
|
@echo "Tblgen'ing `basename $<`"
|
|
$(TBLGEN) -I $(srcdir) $< -gen-emitter -o $@
|
|
|
|
TABLEGEN_FILES := $(notdir $(wildcard $(SourceDir)/*.td))
|
|
|
|
clean::
|
|
$(VERB) $(RM) -f SparcV9CodeEmitter.inc SparcV9.burg.in1 SparcV9.burm SparcV9.burm.cpp
|
|
|