Skip to content

Commit db7a1c8

Browse files
committed
Quieter autotools build of d directory
We add a few more $(HIDE)'s so that the default non-verbose build of the d directories looks more like the build of the e directory.
1 parent 6358533 commit db7a1c8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

M2/include/config.Makefile.in

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -157,27 +157,27 @@ ifeq "$(NORULES)" ""
157157

158158
.SUFFIXES : .sig.tmp .sig .dep .d .dd -exports.h.tmp -exports.h -tmp.c -tmp.cc
159159

160-
%.sig: ; test -e $*.sig && @CMP@ -s $*.sig.tmp $*.sig || cp $*.sig.tmp $*.sig
161-
%-exports.h: ; test -e $*-exports.h && @CMP@ -s $*-exports.h.tmp $*-exports.h || cp $*-exports.h.tmp $*-exports.h
160+
%.sig: ; $(HIDE)test -e $*.sig && @CMP@ -s $*.sig.tmp $*.sig || cp $*.sig.tmp $*.sig
161+
%-exports.h: ; $(HIDE)test -e $*-exports.h && @CMP@ -s $*-exports.h.tmp $*-exports.h || cp $*-exports.h.tmp $*-exports.h
162162

163163
%.sig.tmp %.dep: %.d
164164
$(SHOW)SCC1 -dep $*.d
165165
$(HIDE)$(SCC1) -dep $(SCCFLAGS) $<
166-
mv $*.dep.tmp $*.dep
167-
test -e $*.sig && @CMP@ -s $*.sig.tmp $*.sig || cp $*.sig.tmp $*.sig
166+
$(HIDE)mv $*.dep.tmp $*.dep
167+
$(HIDE)test -e $*.sig && @CMP@ -s $*.sig.tmp $*.sig || cp $*.sig.tmp $*.sig
168168
%.sig.tmp %.dep: %.dd
169169
$(SHOW)SCC1 -dep $*.dd
170170
$(HIDE)$(SCC1) -dep $(SCCFLAGS) $<
171-
mv $*.dep.tmp $*.dep
172-
test -e $*.sig && @CMP@ -s $*.sig.tmp $*.sig || cp $*.sig.tmp $*.sig
171+
$(HIDE)mv $*.dep.tmp $*.dep
172+
$(HIDE)test -e $*.sig && @CMP@ -s $*.sig.tmp $*.sig || cp $*.sig.tmp $*.sig
173173
%-tmp.c %-exports.h.tmp: %.d
174174
$(SHOW)SCC1 $*.d
175175
$(HIDE)$(SCC1) $(SCCFLAGS) $<
176-
test -e $*-exports.h && @CMP@ -s $*-exports.h.tmp $*-exports.h || cp $*-exports.h.tmp $*-exports.h
176+
$(HIDE)test -e $*-exports.h && @CMP@ -s $*-exports.h.tmp $*-exports.h || cp $*-exports.h.tmp $*-exports.h
177177
%-tmp.cc %-exports.h.tmp: %.dd
178178
$(SHOW)SCC1 $*.dd
179179
$(HIDE)$(SCC1) $(SCCFLAGS) $<
180-
test -e $*-exports.h && @CMP@ -s $*-exports.h.tmp $*-exports.h || cp $*-exports.h.tmp $*-exports.h
180+
$(HIDE)test -e $*-exports.h && @CMP@ -s $*-exports.h.tmp $*-exports.h || cp $*-exports.h.tmp $*-exports.h
181181
%.o: %-tmp.c %-exports.h
182182
$(SHOW)CC $*-tmp.c
183183
$(HIDE)$(COMPILE.c) $(DCFLAGS) $< $(OUTPUT_OPTION)
@@ -223,8 +223,8 @@ HIDE := $(if $(VERBOSE),,@)
223223
$(SHOW)CC $*.c
224224
$(HIDE)$(COMPILE.c) $< $(OUTPUT_OPTION)
225225

226-
%.o: %.cc
227-
$(SHOW)CXX $*.cc
226+
%.o: %.cc %.cpp
227+
$(SHOW)CXX $<
228228
$(HIDE)$(COMPILE.cc) $< $(OUTPUT_OPTION)
229229

230230
# Local Variables:

0 commit comments

Comments
 (0)