From: Danilo Almeida Date: Fri, 22 Jun 2001 07:24:46 +0000 (+0000) Subject: * win-pre.in: Minimize printing of compiler command line during X-Git-Tag: krb5-1.3-alpha1~1305 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0573a7bb339f68f0fa5556e71e46dfda6a149f98;p=krb5.git * win-pre.in: Minimize printing of compiler command line during build of a directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13481 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/config/ChangeLog b/src/config/ChangeLog index d3c448738..c016e133a 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,8 @@ +2001-06-22 Danilo Almeida + + * win-pre.in: Minimize printing of compiler command line during + build of a directory. + 2001-06-21 Danilo Almeida * win-pre.in, win-post.in: Improve output directory creation and diff --git a/src/config/win-pre.in b/src/config/win-pre.in index 694603ee9..b25443266 100644 --- a/src/config/win-pre.in +++ b/src/config/win-pre.in @@ -1,6 +1,6 @@ WHAT=windows -all:: outpre-dir +all:: setup-msg outpre-dir all:: all-$(WHAT) clean:: clean-$(WHAT) @@ -188,17 +188,31 @@ MAKE=-$(MAKE) CFLAGS = $(CCOPTS) ALL_CFLAGS = $(DEFS) $(DEFINES) $(LOCALINCLUDES) $(CPPFLAGS) $(CFLAGS) +C_RULE_STUFF=$(CC) $(ALL_CFLAGS) -Fo$(OUTPRE)\ -c +C_RULE_PRINT=$(C_RULE_STUFF) +C_RULE=$(C_RULE_STUFF) $< + +setup-msg:: + @set C_RULE_PRINT= $(C_RULE_PRINT) + @set DO_C_RULE_PRINT=1 + {}.rc{$(OUTPRE)}.res: $(RC) $(RCFLAGS) -fo $@ -r $< {}.c{$(OUTPRE)}.obj: - $(CC) $(ALL_CFLAGS) -Fo$(OUTPRE)\ -c $< + @if "%DO_C_RULE_PRINT%"=="1" echo %C_RULE_PRINT% ... + @set DO_C_RULE_PRINT= + @$(C_RULE) {}.cxx{$(OUTPRE)}.obj: - $(CC) $(ALL_CFLAGS) -Fo$(OUTPRE)\ -c $< + @if "%DO_C_RULE_PRINT%"=="1" echo %C_RULE_PRINT% ... + @set DO_C_RULE_PRINT= + @$(C_RULE) {}.cpp{$(OUTPRE)}.obj: - $(CC) $(ALL_CFLAGS) -Fo$(OUTPRE)\ -c $< + @if "%DO_C_RULE_PRINT%"=="1" echo %C_RULE_PRINT% ... + @set DO_C_RULE_PRINT= + @$(C_RULE) # # End of Win32 pre-config lines (config/win-pre.in)