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

+2 -12
View File
@@ -1,16 +1,6 @@
BASE=../../../..
topdir=$(shell cd $(BASE) && pwd)
ifeq ($(shell test -d $(topdir)/libs/amr && cd $(topdir)/libs/amr && pwd),$(topdir)/libs/amr)
LOCAL_CFLAGS = -I$(PREFIX)/include/amr
LOCAL_LDFLAGS =-lamr
else
LOCAL_CFLAGS = -DAMR_PASSTHROUGH
endif
LOCAL_INSERT_CFLAGS=if test -d $(BASE)/libs/amr; then echo "-I$(PREFIX)/include/amr" ; else echo "-DAMR_PASSTHROUGH" ; fi ;
LOCAL_INSERT_LDFLAGS=test ! -d $(BASE)/libs/amp || echo "-lamr"
include $(BASE)/build/modmake.rules