From f773e2b12dadb34d7d5de91e53c2a06b88304034 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 18 Mar 2007 19:23:09 +0000 Subject: [PATCH] make the core honor VERBOSE setting for the core c files compile git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4648 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- Makefile.am | 9 +++++++-- Makefile.in | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 310cc6ac9c..7d2efb1a0e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,9 @@ AM_LDFLAGS = $(SWITCH_AM_LDFLAGS) BASE = $(switch_srcdir) OSARCH=`uname -s` -LIBTOOL=$(switch_builddir)/libtool +LIBTOOL=`if test -z "$(VERBOSE)" ; then echo $(SHELL) $(switch_builddir)/quiet_libtool ;else echo $(switch_builddir)/libtool; fi;` + +#LIBTOOL = $(SHELL) $(switch_builddir)/quiet_libtool LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL) TOUCH_TARGET=if test -f "$@" ; then touch "$@" ; fi ; AM_MAKEFLAGS=`test -n "$(VERBOSE)" || echo -s` @@ -99,7 +101,10 @@ nodist_freeswitch_SOURCES = src/include/switch_version.h freeswitch_CFLAGS = $(AM_CFLAGS) freeswitch_LDADD = ${MOD_LINK} -$(libfreeswitch_la_SOURCES): $(CORE_LIBS) +$(libfreeswitch_la_SOURCES): $(CORE_LIBS) $(switch_builddir)/quiet_libtool + +$(switch_builddir)/quiet_libtool: $(switch_builddir)/libtool + @cat libtool | sed -e 's|$$show "$$command"|if test -z "$$suppress_output" ; then $$show "Compiling $$srcfile ..." ; fi|' > quiet_libtool install-data-local: @echo Installing $(NAME) diff --git a/Makefile.in b/Makefile.in index 684a8cb141..c7b300eff7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -203,7 +203,7 @@ LIBCURL_CPPFLAGS = @LIBCURL_CPPFLAGS@ LIBCURL_DEPS = @LIBCURL_DEPS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ -LIBTOOL = $(switch_builddir)/libtool +LIBTOOL = `if test -z "$(VERBOSE)" ; then echo $(SHELL) $(switch_builddir)/quiet_libtool ;else echo $(switch_builddir)/libtool; fi;` LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ @@ -299,6 +299,8 @@ AM_CPPFLAGS = $(SWITCH_AM_CXXFLAGS) AM_LDFLAGS = $(SWITCH_AM_LDFLAGS) BASE = $(switch_srcdir) OSARCH = `uname -s` + +#LIBTOOL = $(SHELL) $(switch_builddir)/quiet_libtool LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL) TOUCH_TARGET = if test -f "$@" ; then touch "$@" ; fi ; AM_MAKEFLAGS = `test -n "$(VERBOSE)" || echo -s` @@ -1088,7 +1090,10 @@ uninstall-info: uninstall-info-recursive uninstall-libLTLIBRARIES uninstall-library_includeHEADERS -$(libfreeswitch_la_SOURCES): $(CORE_LIBS) +$(libfreeswitch_la_SOURCES): $(CORE_LIBS) $(switch_builddir)/quiet_libtool + +$(switch_builddir)/quiet_libtool: $(switch_builddir)/libtool + @cat libtool | sed -e 's|$$show "$$command"|if test -z "$$suppress_output" ; then $$show "Compiling $$srcfile ..." ; fi|' > quiet_libtool install-data-local: @echo Installing $(NAME)