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 committed 2007-03-18 19:23:09 +00:00
1 parent 44ef865065
commit f773e2b12d
2 files changed
+14 -4

No files matched your search

+7 -2
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)