Fix Makefile for bv

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15577 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-11-20 19:35:39 +00:00
parent 827e9abb5a
commit 13d1311589
1 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,11 @@
BASE=../../../..
DIR=$(BASE)/libs/broadvoice
A=$(DIR)/src/.libs/libbroadvoice.a
LOCAL_INSERT_CFLAGS=if test -f $(A); then echo "-I$(DIR)/src" ; fi ;
LOCAL_INSERT_LDFLAGS=test ! -f $(A) || echo $(A)
BV_DIR=$(BASE)/libs/broadvoice
LOCAL_CFLAGS=-I$(BV_DIR)/src
BV_LA=$(BV_DIR)/src/.libs/libbroadvoice.la
LOCAL_LIBADD=$(BV_LA)
include $(BASE)/build/modmake.rules
$(BV_LA): $(BV_DIR)/.update
cd $(BV_DIR) && ./configure --disable-shared --with-pic && $(MAKE)
$(TOUCH_TARGET)