do a better job with dependency tracking so the the mods don't keep trying to build or install when they don't need to. This should start to help with the speed of the build.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4602 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-03-15 04:32:09 +00:00
1 parent 2da5437e0b
commit 18b47de4b2
25 files changed
+162 -149

No files matched your search

+8 -5
View File
@@ -1,13 +1,16 @@
MODNAME=mod_amr
ifeq ($(shell ls -d $(BASE)/libs/amr),$(BASE)/libs/amr)
BASE=../../../..
LOCAL_CFLAGS += -I$(PREFIX)/include/amr
LOCAL_LDFLAGS +=-lamr
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
LOCAL_CFLAGS = -DAMR_PASSTHROUGH
endif
include ../../../../build/modmake.rules
include $(BASE)/build/modmake.rules