MODCODEC-18

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17059 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2010-03-20 17:15:05 +00:00
parent eb77cb8ce6
commit 2d963757f0
1 changed files with 9 additions and 6 deletions

View File

@ -1,8 +1,11 @@
BASE=../../../..
A=../../../../libs/silk/libSKP_SILK_SDK.a
LOCAL_INSERT_CFLAGS=if test -f $(A); then echo "-I../../../../libs/silk/interface" ; else echo "-DNOTFOUND" ; fi ;
LOCAL_INSERT_LDFLAGS=test ! -f $(A) || echo $(A)
SILK_DIR=$(switch_srcdir)/libs/silk
SILK_BUILDDIR=$(switch_builddir)/libs/silk
LOCAL_CFLAGS=-I$(SILK_DIR)/src -I$(SILK_DIR)/interface
SILK_LA=$(SILK_BUILDDIR)/.libs/libSKP_SILK_SDK.la
LOCAL_LIBADD=$(SILK_LA)
include $(BASE)/build/modmake.rules
$(SILK_LA): $(SILK_DIR)/.update
cd $(SILK_BUILDDIR) && $(MAKE)
$(TOUCH_TARGET)