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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17173 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-10-22 23:24:39 +00:00
parent e53e397a96
commit b8d5570e95

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