Clean up the output from this makefile so its not verbose.

llvm-svn: 17173
This commit is contained in:
Reid Spencer 2004-10-22 23:24:39 +00:00
parent 23a703706c
commit 4755617619
1 changed files with 8 additions and 6 deletions

View File

@ -17,20 +17,22 @@ BUILT_SOURCES = \
include $(LEVEL)/Makefile.common
SparcV9.burg.in1 : $(BUILD_SRC_DIR)/SparcV9.burg.in
$(CXX) -E $(CPPFLAGS) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/Ydefine/#define/' > $@
@$(ECHO) Pre-processing SparcV9.burg.in
$(VERB) $(CXX) -E $(CPPFLAGS) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/Ydefine/#define/' > $@
SparcV9.burm : SparcV9.burg.in1
$(CXX) -E $(CPPFLAGS) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/^Xinclude/#include/' | $(SED) 's/^Xdefine/#define/' > $@
@$(ECHO) Pre-processing SparcV9.burg.in
$(VERB) $(CXX) -E $(CPPFLAGS) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/^Xinclude/#include/' | $(SED) 's/^Xdefine/#define/' > $@
SparcV9.burm.cpp: SparcV9.burm
@echo "Burging `basename $<`"
$(BURG) -I $< -o $@
@$(ECHO) "Burging `basename $<`"
$(VERB) $(BURG) -I $< -o $@
TABLEGEN_FILES := $(notdir $(wildcard $(BUILD_SRC_DIR)/*.td))
SparcV9CodeEmitter.inc: $(BUILD_SRC_DIR)/SparcV9.td $(TABLEGEN_FILES) $(TBLGEN)
@echo "Running tblgen on SparcV9.td"
$(TableGen) -gen-emitter -o $@ $<
@$(ECHO) "Running tblgen on SparcV9.td"
$(VERB) $(TableGen) -gen-emitter -o $@ $<
clean::
$(VERB) $(RM) -f SparcV9CodeEmitter.inc SparcV9.burg.in1 SparcV9.burm SparcV9.burm.cpp