aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/Makefile
blob: c70b786a25a56c0d25f85a565074e5c33db0236f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
LEVEL = ../../..
LIBRARYNAME = sparc
ExtraSource = Debug/Sparc.burm.cpp 

#all:: Debug/Sparc.burg
#all:: Sparc.burm.cpp
include $(LEVEL)/Makefile.common

Debug/Sparc.burm.cpp: Debug/Sparc.burm
	$(RunBurg) $< -o $@

Debug/Sparc.burm.o: Debug/Sparc.burm.cpp
	$(CompileG) $< -o $@

Debug/Sparc.burg.in1 : Sparc.burg.in Debug/.dir
	g++ -E -I$(LEVEL)/include -D_DEBUG -x c++ $< | sed '/^# /d' | sed 's/Ydefine/#define/' > $@

Debug/Sparc.burm : Debug/Sparc.burg.in1 Debug/.dir
	g++ -E -I$(LEVEL)/include -D_DEBUG -x c++ $< | sed '/^# /d' | sed 's/Xinclude/#include/g' | sed 's/Xdefine/#define/g' > $@

Depend/Sparc.burm.d:
	touch $@