aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/SparcV9/Makefile')
-rw-r--r--lib/Target/SparcV9/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/lib/Target/SparcV9/Makefile b/lib/Target/SparcV9/Makefile
index 82404c8..018dd8a 100644
--- a/lib/Target/SparcV9/Makefile
+++ b/lib/Target/SparcV9/Makefile
@@ -3,11 +3,17 @@ LIBRARYNAME = sparc
## List source files in link order
Source = \
- Sparc.o \
- Sparc.burm.o \
- SparcInstrSelection.o \
- SparcRegClassInfo.o \
- SparcRegInfo.o EmitAssembly.o
+ 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' > $@
+