Moved generation of the SparcV9CodeEmitter.inc file higher in the Makefile so

that Makefile.common would see it.

llvm-svn: 6367
This commit is contained in:
Misha Brukman 2003-05-27 22:04:38 +00:00
parent 5641434438
commit 8b28140662
1 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,10 @@ LIBRARYNAME = sparc
ExtraSource = Debug/Sparc.burm.cpp
SparcV9CodeEmitter.inc: SparcV9.td
@echo "TableGen-erating $@"
cpp -P SparcV9.td | tblgen -gen-emitter > SparcV9CodeEmitter.inc
include $(LEVEL)/Makefile.common
ifdef ENABLE_OPTIMIZED
@ -32,6 +36,3 @@ Debug/Sparc.burm : Debug/Sparc.burg.in1
$(BUILD_ROOT)/Depend/Sparc.burm.d: $(BUILD_ROOT)/Depend/.dir
touch $@
SparcV9CodeEmitter.inc: SparcV9.td
@echo "TableGen-erating $@"
cpp -P SparcV9.td | tblgen -gen-emitter > SparcV9CodeEmitter.inc