diff options
author | Danilo Almeida <dalmeida@mit.edu> | 2001-06-22 07:24:46 +0000 |
---|---|---|
committer | Danilo Almeida <dalmeida@mit.edu> | 2001-06-22 07:24:46 +0000 |
commit | 0573a7bb339f68f0fa5556e71e46dfda6a149f98 (patch) | |
tree | e6671572baf09adb3474e9056ab92a911b279264 /src/config | |
parent | e04d29f5c7ac1175904ebeac39034da32032cc21 (diff) | |
download | krb5-0573a7bb339f68f0fa5556e71e46dfda6a149f98.tar.gz krb5-0573a7bb339f68f0fa5556e71e46dfda6a149f98.tar.xz krb5-0573a7bb339f68f0fa5556e71e46dfda6a149f98.zip |
* 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
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/ChangeLog | 5 | ||||
-rw-r--r-- | src/config/win-pre.in | 22 |
2 files changed, 23 insertions, 4 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog index d3c4487388..c016e133a4 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,8 @@ +2001-06-22 Danilo Almeida <dalmeida@mit.edu> + + * win-pre.in: Minimize printing of compiler command line during + build of a directory. + 2001-06-21 Danilo Almeida <dalmeida@mit.edu> * 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 694603ee9a..b254432663 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) |