do a little bit better dependency tracking with module targets when the core is modified. Fix for FSBUILD-19

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6015 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-10-22 01:47:02 +00:00
parent 8d8d5e43be
commit b6c408a9e3
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ BASE = $(switch_srcdir)
OSARCH=`uname -s`
.DEFAULT:
@target=`echo $@ | sed -e 's|^.*-||'`; \
if test "$$target" = "install"; then $(MAKE) $(AM_MAKEFLAGS) core_install; else $(MAKE) $(AM_MAKEFLAGS) core ; fi;
@cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@
libfreeswitch_la_SOURCES = \