From d1ecaa53d9d79dbbeda93d018f23ef59dd173497 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 21 Jan 2013 18:48:11 -0600 Subject: [PATCH] FS-5040 --resolve --- Makefile.am | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 62ac66a274..3a99b52824 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,7 +34,6 @@ DEFAULT_SOUNDS=en-us-callie-8000 fi; \ fi - sounds: sounds-en-us-callie-8000 sounds-install: sounds-en-us-callie-8000-install sounds-ru: sounds-ru-RU-elena-8000 @@ -72,6 +71,35 @@ cd-moh-install: uhd-moh-install sounds-music-48000-install all-recursive: libfreeswitch.la clean-recusive: clean_core install-recursive: install-libLTLIBRARIES install-binPROGRAMS +$(RECURSIVE_TARGETS): freeswitch + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; \ + if test -z "$$fail" ; then \ + cd $(top_builddir)/build && $(MAKE) $(AM_MAKEFLAGS) $$target || exit 1; \ + else \ + exit 1; \ + fi ; CORE_CFLAGS = `$(switch_builddir)/libs/apr/apr-1-config --cflags --cppflags --includes` CORE_CFLAGS += `$(switch_builddir)/libs/apr-util/apu-1-config --includes`