get build banner to come up in a different way, avoiding the duplicate targets
This commit is contained in:
parent
d908c5d8af
commit
3341fcb142
31
Makefile.am
31
Makefile.am
|
@ -1,5 +1,5 @@
|
|||
EXTRA_DIST =
|
||||
SUBDIRS = . src
|
||||
SUBDIRS = . src build
|
||||
AUTOMAKE_OPTIONS = foreign subdir-objects
|
||||
NAME = freeswitch
|
||||
|
||||
|
@ -79,35 +79,6 @@ 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 = $(AM_LIBAPR_CFLAGS) $(AM_LIBAPR_CPPFLAGS)
|
||||
CORE_CFLAGS += $(AM_LIBAPU_CPPFLAGS)
|
||||
|
|
Loading…
Reference in New Issue