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)