Do a better job at tracking dependencies into the libs, so libs are re-built when they need to.

Eliminate some more gmakeisms in the modules makefiles




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4629 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-03-17 08:40:10 +00:00
1 parent 70a70aa922
commit 940bf73b72
30 files changed
+147 -204

No files matched your search

+7 -14
View File
@@ -1,19 +1,12 @@
# define these targets in your makefile if you wish
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
# and define these variables to impact your build
BASE=../../../..
SPEEXLA=$(BASE)/libs/speex/libspeex/libspeex.la
SPEEX_DIR=$(BASE)/libs/speex
SPEEXLA=$(SPEEX_DIR)/libspeex/libspeex.la
LOCAL_CFLAGS=-I$(BASE)/libs/speex/include
LOCAL_LDFLAGS=$(SPEEXLA)
LOCAL_OBJS=
LOCAL_CFLAGS=-I$(SPEEX_DIR)/include
LOCAL_LIBADD=$(SPEEXLA)
include $(BASE)/build/modmake.rules
local_depend: $(SPEEXLA)
$(SPEEXLA): $(BASE)/libs/speex/stamp-h1
cd $(BASE)/libs/speex && $(MAKE)
$(SPEEXLA): $(SPEEX_DIR) $(SPEEX_DIR)/.update
cd $(SPEEX_DIR) && $(MAKE)
$(TOUCH_TARGET)