mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-9456 The full compile line is not needed by default. Make the line visible when VERBOSE=1 for the makefiles. This makes it easier to view the warnings.
X-SVN-Rev: 32097
This commit is contained in:
parent
f0b7707008
commit
b6bb07e5a6
2 changed files with 9 additions and 4 deletions
|
@ -63,14 +63,14 @@ MIDDLE_SO_TARGET= $(basename $(SO_TARGET)).$(SO_TARGET_VERSION_MAJOR).$(SO)
|
|||
|
||||
## Compilation and dependency rules
|
||||
%.$(STATIC_O): $(srcdir)/%.c
|
||||
$(strip $(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS)) -MMD -MT "$*.d$(DYNAMIC_DEPENDENCY_FILE)" -o $@ $<
|
||||
$(SILENT_COMPILE)$(strip $(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS)) -MMD -MT "$*.d$(DYNAMIC_DEPENDENCY_FILE)" -o $@ $<
|
||||
%.o: $(srcdir)/%.c
|
||||
$(strip $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS)) -MMD -MT "$*.d$(STATIC_DEPENDENCY_FILE)" -o $@ $<
|
||||
$(SILENT_COMPILE)$(strip $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS)) -MMD -MT "$*.d$(STATIC_DEPENDENCY_FILE)" -o $@ $<
|
||||
|
||||
%.$(STATIC_O): $(srcdir)/%.cpp
|
||||
$(strip $(COMPILE.cc) $(STATICCPPFLAGS) $(STATICCXXFLAGS)) -MMD -MT "$*.d$(DYNAMIC_DEPENDENCY_FILE)" -o $@ $<
|
||||
$(SILENT_COMPILE)$(strip $(COMPILE.cc) $(STATICCPPFLAGS) $(STATICCXXFLAGS)) -MMD -MT "$*.d$(DYNAMIC_DEPENDENCY_FILE)" -o $@ $<
|
||||
%.o: $(srcdir)/%.cpp
|
||||
$(strip $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS)) -MMD -MT "$*.d$(STATIC_DEPENDENCY_FILE)" -o $@ $<
|
||||
$(SILENT_COMPILE)$(strip $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS)) -MMD -MT "$*.d$(STATIC_DEPENDENCY_FILE)" -o $@ $<
|
||||
|
||||
## Versioned libraries rules
|
||||
|
||||
|
|
|
@ -172,6 +172,11 @@ LINK.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS)
|
|||
SHLIB.c= $(CC) $(CFLAGS) $(LDFLAGS) -shared $(LD_SOOPTIONS)
|
||||
SHLIB.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(LD_SOOPTIONS)
|
||||
|
||||
# Do not show the large compiling arguments by default.
|
||||
ifndef VERBOSE
|
||||
SILENT_COMPILE=@echo Compiling $< &&
|
||||
endif
|
||||
|
||||
# Environment variable to set a runtime search path
|
||||
LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue