llvm-6502/lib/Target/SparcV9/Makefile
Chris Lattner 0714e3bc44 Make the sparc.burg file be a little more flexible and rubust in the fact of
renumbering of instructions.  It is still horribly broken and grossly dependant on the number of instructions, but now it is a least a little better.

Oh yeah it also works now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@793 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-14 17:25:31 +00:00

20 lines
544 B
Makefile

LEVEL = ../../..
LIBRARYNAME = sparc
## List source files in link order
Source = \
Sparc.cpp \
Sparc.burm.cpp \
SparcInstrSelection.cpp \
SparcRegClassInfo.cpp \
SparcRegInfo.cpp EmitAssembly.cpp
include $(LEVEL)/Makefile.common
Debug/Sparc.burg.in1 : Sparc.burg.in
g++ -E -I$(LEVEL)/include -D_DEBUG -x c++ $< | sed '/^# /d' | sed 's/Ydefine/#define/' > $@
Debug/Sparc.burg : Debug/Sparc.burg.in1
g++ -E -I$(LEVEL)/include -D_DEBUG -x c++ $< | sed '/^# /d' | sed 's/Xinclude/#include/g' | sed 's/Xdefine/#define/g' > $@