From: Anthony Minessale Date: Fri, 21 Sep 2007 21:58:16 +0000 (+0000) Subject: fix for MODENDP-26, mod_openzap build before sofia-sip X-Git-Tag: v1.0-beta2~618 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5022cc57a733b224fd7ad4785c167b0f06e1992;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/mod/asr_tts/mod_openmrcp/Makefile b/src/mod/asr_tts/mod_openmrcp/Makefile index 8b65bf9262..53ef74e159 100644 --- a/src/mod/asr_tts/mod_openmrcp/Makefile +++ b/src/mod/asr_tts/mod_openmrcp/Makefile @@ -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) + +