Commit 5475b399 authored by mru's avatar mru

Replace $(G) with more generic $(M) in silent make rules

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22419 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1852f712
...@@ -24,7 +24,6 @@ ECHO = printf "$(1)\t%s\n" $(2) ...@@ -24,7 +24,6 @@ ECHO = printf "$(1)\t%s\n" $(2)
BRIEF = CC AS YASM AR LD HOSTCC RANLIB STRIP CP BRIEF = CC AS YASM AR LD HOSTCC RANLIB STRIP CP
SILENT = DEPCC YASMDEP RM SILENT = DEPCC YASMDEP RM
MSG = $@ MSG = $@
G = @$(call ECHO,GEN,$@);
M = @$(call ECHO,$(MSG),$@); M = @$(call ECHO,$(MSG),$@);
$(foreach VAR,$(BRIEF), \ $(foreach VAR,$(BRIEF), \
$(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR)))) $(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR))))
...@@ -53,13 +52,15 @@ CFLAGS += $(ECFLAGS) ...@@ -53,13 +52,15 @@ CFLAGS += $(ECFLAGS)
%.ver: %.v %.ver: %.v
$(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@ $(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
%.c %.h: MSG = GEN
SVN_ENTRIES = $(SRC_PATH_BARE)/.svn/entries SVN_ENTRIES = $(SRC_PATH_BARE)/.svn/entries
ifeq ($(wildcard $(SVN_ENTRIES)),$(SVN_ENTRIES)) ifeq ($(wildcard $(SVN_ENTRIES)),$(SVN_ENTRIES))
$(BUILD_ROOT_REL)/version.h: $(SVN_ENTRIES) $(BUILD_ROOT_REL)/version.h: $(SVN_ENTRIES)
endif endif
$(BUILD_ROOT_REL)/version.h: $(SRC_PATH_BARE)/version.sh config.mak $(BUILD_ROOT_REL)/version.h: $(SRC_PATH_BARE)/version.sh config.mak
$(G)$< $(SRC_PATH) $@ $(EXTRA_VERSION) $(M)$< $(SRC_PATH) $@ $(EXTRA_VERSION)
install: install-libs install-headers install: install-libs install-headers
install-libs: install-libs-yes install-libs: install-libs-yes
......
...@@ -736,10 +736,10 @@ include $(SUBDIR)../subdir.mak ...@@ -736,10 +736,10 @@ include $(SUBDIR)../subdir.mak
$(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o $(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o
$(SUBDIR)cos_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF) $(SUBDIR)cos_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
$(G)./$< > $@ $(M)./$< > $@
$(SUBDIR)sin_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF) $(SUBDIR)sin_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
$(G)./$< sin > $@ $(M)./$< sin > $@
ifdef CONFIG_MPEGAUDIO_HP ifdef CONFIG_MPEGAUDIO_HP
$(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=23 $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=23
...@@ -753,7 +753,7 @@ $(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c ...@@ -753,7 +753,7 @@ $(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c
$(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ $(HOSTLIBS) $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ $(HOSTLIBS)
$(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF) $(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF)
$(G)./$< > $@ $(M)./$< > $@
ifdef CONFIG_HARDCODED_TABLES ifdef CONFIG_HARDCODED_TABLES
$(SUBDIR)mdct.o: $(SUBDIR)mdct_tables.h $(SUBDIR)mdct.o: $(SUBDIR)mdct_tables.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment