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
This commit is contained in:
Michael Jerris 2007-03-18 19:23:09 +00:00
parent 44ef865065
commit f773e2b12d
2 changed files with 14 additions and 4 deletions

View File

@ -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)

View File

@ -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)