mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-08 20:43:51 +00:00
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:
1 parent
70a70aa922
commit
940bf73b72
30 files changed
+147
-204
No files matched your search
@@ -1,10 +1,6 @@
|
||||
|
||||
BASE=../../../..
|
||||
topdir=$(shell cd $(BASE) && pwd)
|
||||
ifeq ($(shell test -d $(topdir)/libs/libg723_1 && cd $(topdir)/libs/libg723_1 && pwd),$(topdir)/libs/libg723_1)
|
||||
LOCAL_CFLAGS += -I$(PREFIX)/include/g723
|
||||
LOCAL_LDFLAGS +=-lg723
|
||||
else
|
||||
LOCAL_CFLAGS += -DG723_PASSTHROUGH
|
||||
endif
|
||||
|
||||
LOCAL_INSERT_CFLAGS=if test -d $(BASE)/libs/libg723_1; then echo "-I$(PREFIX)/include/g723" ; else echo "-DG723_PASSTHROUGH" ; fi ;
|
||||
LOCAL_INSERT_LDFLAGS=test ! -d $(BASE)/libs/libg723_1 || echo "-lg723"
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
Reference in new issue
Block a user