[Freeswitch-svn] [commit] r5742 - freeswitch/trunk/src/mod/asr_tts/mod_openmrcp

Freeswitch SVN anthm at freeswitch.org
Fri Sep 21 17:58:16 EDT 2007


Author: anthm
Date: Fri Sep 21 17:58:16 2007
New Revision: 5742

Modified:
   freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/Makefile

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

Modified: freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/Makefile	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/Makefile	Fri Sep 21 17:58:16 2007
@@ -20,10 +20,22 @@
 
 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)
+
+



More information about the Freeswitch-svn mailing list