mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
make build even quieter (at least on gmake)... export VERBOSE=yes if you think it's TOO quiet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4637 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -48,6 +48,7 @@ CSOURCEFILE=$(MODNAME).c
|
||||
CXXSOURCEFILE=$(MODNAME).cpp
|
||||
TOUCH_TARGET=if test -f "$@" ; then touch "$@" ; fi ;
|
||||
|
||||
MAKE_OPTS = `if test -z "$(VERBOSE)" ; then $(MAKE) --help | grep silent | grep "\-s"> /dev/null && echo -s;fi`
|
||||
RECURSE_MODNAME=`pwd | sed -e 's|^.*/||'`
|
||||
RECURSE_SOURCEFILE=`if test -f $$modname.cpp; then echo $$modname.cpp; else echo $$modname.c; fi`
|
||||
RECURSE_OUR_DEPS=`test -z "$(WANT_CURL)" || if test ! -z "$(LIBCURL_DEPS)"; then echo $(CURLLA); fi`
|
||||
@@ -59,7 +60,7 @@ RECURSE_MAKE=modname="$(RECURSE_MODNAME)" ; \
|
||||
ourdefs="$(RECURSE_OUR_DEPS)" ; \
|
||||
ourcflags="$(RECURSE_OUR_CFLAGS)" ; \
|
||||
ourldflags="$(RECURSE_OUR_LDFLAGS)" ; \
|
||||
$(MAKE) MODNAME="$$modname" SOURCEFILE="$$sourcefile" OUR_DEPS="$$ourdefs" OUR_CFLAGS="$$ourcflags" OUR_LDFLAGS="$$ourldflags"
|
||||
$(MAKE) $(MAKE_OPTS) MODNAME="$$modname" SOURCEFILE="$$sourcefile" OUR_DEPS="$$ourdefs" OUR_CFLAGS="$$ourcflags" OUR_LDFLAGS="$$ourldflags"
|
||||
|
||||
all: Makefile
|
||||
@$(RECURSE_MAKE) all-modules || exit 1
|
||||
|
Reference in New Issue
Block a user