forked from Mirrors/freeswitch
attempted srcdir fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15834 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
4ae6b09230
commit
a2cd9bfb54
@ -1,11 +1,12 @@
|
||||
BASE=../../../..
|
||||
ILBC_DIR=$(BASE)/libs/ilbc
|
||||
ILBCLA=$(ILBC_DIR)/src/libilbc.la
|
||||
ILBC_DIR=$(switch_srcdir)/libs/ilbc
|
||||
ILBC_BUILDDIR=$(switch_builddir)/libs/ilbc
|
||||
ILBCLA=$(ILBC_BUILDDIR)/src/libilbc.la
|
||||
LOCAL_CFLAGS=-I$(ILBC_DIR)/src
|
||||
LOCAL_LIBADD=$(ILBCLA)
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(ILBCLA): $(ILBC_DIR) $(ILBC_DIR)/.update
|
||||
cd $(ILBC_DIR) && $(MAKE)
|
||||
cd $(ILBC_BUILDDIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
@ -1,10 +1,11 @@
|
||||
BASE=../../../..
|
||||
G722_1_DIR=$(BASE)/libs/libg722_1
|
||||
G722_1_DIR=$(switch_srcdir)/libs/libg722_1
|
||||
G722_1_BUILDDIR=$(switch_builddir)/libs/libg722_1
|
||||
LOCAL_CFLAGS=-I$(G722_1_DIR)/src
|
||||
G722_1_LA=$(G722_1_DIR)/src/.libs/libg722_1.la
|
||||
G722_1_LA=$(G722_1_BUILDDIR)/src/.libs/libg722_1.la
|
||||
LOCAL_LIBADD=$(G722_1_LA)
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(G722_1_LA): $(G722_1_DIR)/.update
|
||||
cd $(G722_1_DIR) && $(MAKE)
|
||||
cd $(G722_1_BUILDDIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
Loading…
Reference in New Issue
Block a user