fix for MODENDP-26, mod_openzap build before sofia-sip

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5742 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-09-21 21:58:16 +00:00
parent ba3eea9cad
commit a5022cc57a
1 changed files with 14 additions and 2 deletions

View File

@ -20,10 +20,22 @@ LOCAL_LIBADD=$(OPENMRCP_LIBS)
LOCAL_INSERT_LDFLAGS=if test $$osarch = "Darwin" ; then echo "-framework CoreFoundation -framework SystemConfiguration -lssl -lcrypto" ; fi ;
SOFIA_DIR=../../../../libs/sofia-sip
SOFIAUA_DIR=$(SOFIA_DIR)/libsofia-sip-ua
SOFIALA=$(SOFIAUA_DIR)/libsofia-sip-ua.la
include ../../../../build/modmake.rules
$(OPENMRCP_DIR)/Makefile:
cd $(OPENMRCP_DIR) && ./bootstrap && ./configure --with-apr=../apr --with-apr-util=../apr-util --with-sofia-sip=../sofia-sip
$(OPENMRCP_LIBS): $(OPENMRCP_DIR)/Makefile
cd $(OPENMRCP_DIR) && make
$(OPENMRCP_LIBS): $(OPENMRCP_DIR)/Makefile $(SOFIALA)
cd $(OPENMRCP_DIR) && $(MAKE)
$(SOFIALA): $(SOFIA_DIR) $(SOFIA_DIR)/.update
cd $(SOFIA_DIR) && $(MAKE)
$(TOUCH_TARGET)
../../../../libs/sofia-sip/libsofia-sip-ua/nua/sofia-sip/nua_tag.h: $(SOFIALA)