diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-10-10 22:20:40 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-10-10 22:20:40 +0000 |
commit | 81f76b324e0b22731d06ed34641032de983428b1 (patch) | |
tree | f5ab87c62a167638d6b9137687453da20d09aed3 /lib/Target/SparcV9 | |
parent | ddef0b3a6c0afe48d2eb596e0184f125c61cfe7f (diff) | |
download | external_llvm-81f76b324e0b22731d06ed34641032de983428b1.zip external_llvm-81f76b324e0b22731d06ed34641032de983428b1.tar.gz external_llvm-81f76b324e0b22731d06ed34641032de983428b1.tar.bz2 |
Initial version of automake Makefile.am file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9')
-rw-r--r-- | lib/Target/SparcV9/LiveVar/Makefile.am | 22 | ||||
-rw-r--r-- | lib/Target/SparcV9/Makefile.am | 62 | ||||
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/Makefile.am | 24 |
3 files changed, 108 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/LiveVar/Makefile.am b/lib/Target/SparcV9/LiveVar/Makefile.am new file mode 100644 index 0000000..b79d3d7 --- /dev/null +++ b/lib/Target/SparcV9/LiveVar/Makefile.am @@ -0,0 +1,22 @@ +#===-- lib/Target/SparcV9/LiveVar/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.rules.am + +lib_LIBRARIES = libLLVMSparcV9LiveVar.a +libexec_PROGRAMS = LLVMSparcV9LiveVar.o + +MYSOURCES = \ + BBLiveVar.cpp \ + FunctionLiveVarInfo.cpp \ + ValueSet.cpp + +libLLVMSparcV9LiveVar_a_SOURCES = $(MYSOURCES) +LLVMSparcV9LiveVar_o_SOURCES = $(MYSOURCES) +LIBS= diff --git a/lib/Target/SparcV9/Makefile.am b/lib/Target/SparcV9/Makefile.am new file mode 100644 index 0000000..0fd9a06 --- /dev/null +++ b/lib/Target/SparcV9/Makefile.am @@ -0,0 +1,62 @@ +#===-- 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.rules.am + +SUBDIRS = LiveVar RegAlloc + +libexec_PROGRAMS = LLVMSparcV9.o + +BUILT_SOURCES = \ + SparcV9CodeEmitter.inc \ + SparcV9.burm.cpp + +LLVMSparcV9_o_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) + +LIBS= + +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 + diff --git a/lib/Target/SparcV9/RegAlloc/Makefile.am b/lib/Target/SparcV9/RegAlloc/Makefile.am new file mode 100644 index 0000000..f181d15 --- /dev/null +++ b/lib/Target/SparcV9/RegAlloc/Makefile.am @@ -0,0 +1,24 @@ +#===-- lib/Target/SparcV9/RegAlloc/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.rules.am + +lib_LIBRARIES = libLLVMSparcV9RegAlloc.a +libexec_PROGRAMS = LLVMSparcV9RegAlloc.o + +MYSOURCES = \ + IGNode.cpp \ + InterferenceGraph.cpp \ + LiveRangeInfo.cpp \ + PhyRegAlloc.cpp \ + RegClass.cpp + +libLLVMSparcV9RegAlloc_a_SOURCES = $(MYSOURCES) +LLVMSparcV9RegAlloc_o_SOURCES = $(MYSOURCES) +LIBS= |