GCC 3.1 changes, finally the burm file builds the FIRST time a clean directory is...
[oota-llvm.git] / lib / Target / SparcV9 / Makefile
1 LEVEL = ../../..
2 LIBRARYNAME = sparc
3 ExtraSource = Debug/Sparc.burm.cpp 
4
5 #all:: Debug/Sparc.burg
6 #all:: Sparc.burm.cpp
7 include $(LEVEL)/Makefile.common
8
9 Debug/Sparc.burm.cpp: Debug/Sparc.burm
10         $(RunBurg) $< -o $@
11
12 Debug/Sparc.burm.o: Debug/Sparc.burm.cpp
13         $(CompileG) $< -o $@
14
15 Debug/Sparc.burg.in1 : Sparc.burg.in Debug/.dir
16         g++ -E -I$(LEVEL)/include -D_DEBUG -x c++ $< | sed '/^# /d' | sed 's/Ydefine/#define/' > $@
17
18 Debug/Sparc.burm : Debug/Sparc.burg.in1 Debug/.dir
19         g++ -E -I$(LEVEL)/include -D_DEBUG -x c++ $< | sed '/^# /d' | sed 's/Xinclude/#include/g' | sed 's/Xdefine/#define/g' > $@
20
21 Depend/Sparc.burm.d:
22         touch $@
23