get build banner to come up in a different way, avoiding the duplicate targets

This commit is contained in:
Michael Jerris 2014-03-18 08:42:03 -04:00
parent d908c5d8af
commit 3341fcb142
1 changed files with 1 additions and 30 deletions

View File

@ -1,5 +1,5 @@
EXTRA_DIST = EXTRA_DIST =
SUBDIRS = . src SUBDIRS = . src build
AUTOMAKE_OPTIONS = foreign subdir-objects AUTOMAKE_OPTIONS = foreign subdir-objects
NAME = freeswitch NAME = freeswitch
@ -79,35 +79,6 @@ cd-moh-install: uhd-moh-install sounds-music-48000-install
all-recursive: libfreeswitch.la all-recursive: libfreeswitch.la
clean-recusive: clean_core clean-recusive: clean_core
install-recursive: install-libLTLIBRARIES install-binPROGRAMS 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 = $(AM_LIBAPR_CFLAGS) $(AM_LIBAPR_CPPFLAGS) CORE_CFLAGS = $(AM_LIBAPR_CFLAGS) $(AM_LIBAPR_CPPFLAGS)
CORE_CFLAGS += $(AM_LIBAPU_CPPFLAGS) CORE_CFLAGS += $(AM_LIBAPU_CPPFLAGS)