From 0c62b3f1d66944c96b37e0c1cb4d313bb130254f Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sat, 12 Dec 2009 03:28:15 +0000 Subject: [PATCH] fixes for --srcdir git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15933 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/asr_tts/mod_unimrcp/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/mod/asr_tts/mod_unimrcp/Makefile.am b/src/mod/asr_tts/mod_unimrcp/Makefile.am index 25be5a6baa..07cea2f512 100644 --- a/src/mod/asr_tts/mod_unimrcp/Makefile.am +++ b/src/mod/asr_tts/mod_unimrcp/Makefile.am @@ -2,8 +2,9 @@ include $(top_srcdir)/build/modmake.rulesam MODNAME=mod_unimrcp -UNIMRCP_DIR=$(switch_builddir)/libs/unimrcp -UNIMRCPLA=$(UNIMRCP_DIR)/platforms/libunimrcp-client/libunimrcpclient.la +UNIMRCP_DIR=$(switch_srcdir)/libs/unimrcp +UNIMRCP_BUILDDIR=$(switch_builddir)/libs/unimrcp +UNIMRCPLA=$(UNIMRCP_BUILDDIR)/platforms/libunimrcp-client/libunimrcpclient.la mod_LTLIBRARIES = mod_unimrcp.la mod_unimrcp_la_SOURCES = mod_unimrcp.c @@ -11,6 +12,8 @@ mod_unimrcp_la_CFLAGS = $(AM_CFLAGS) mod_unimrcp_la_CFLAGS += -I. mod_unimrcp_la_CFLAGS += -I$(switch_srcdir)/libs/apr/include mod_unimrcp_la_CFLAGS += -I$(switch_srcdir)/libs/apr-util/include +mod_unimrcp_la_CFLAGS += -I$(switch_builddir)/libs/apr/include +mod_unimrcp_la_CFLAGS += -I$(switch_builddir)/libs/apr-util/include mod_unimrcp_la_CFLAGS += -I$(UNIMRCP_DIR)/build mod_unimrcp_la_CFLAGS += -I$(UNIMRCP_DIR)/platforms/libunimrcp-client/include mod_unimrcp_la_CFLAGS += -I$(UNIMRCP_DIR)/modules/mrcp-sofiasip/include @@ -35,7 +38,7 @@ endif BUILT_SOURCES = $(UNIMRCPLA) $(UNIMRCPLA): $(UNIMRCP_DIR) $(UNIMRCP_DIR)/.update - cd $(UNIMRCP_DIR) && $(MAKE) + cd $(UNIMRCP_BUILDDIR) && $(MAKE) $(TOUCH_TARGET) $(mod_unimrcp_la_SOURCES) : $(BUILT_SOURCES)