freeswitch/libs/unimrcp/conf/Makefile.am
Chris Rienzo 8330336e9a FS-6450 [unimrcp] Update library
[apr] Backport APR_RING_FOREACH and APR_RING_FOREACH_SAFE macros to APR for unimrcp compatibility.

 [unimrcp] configure.gnu - need full path, not relative path for library paths

 [unimrcp] added uni_revision.h - couldn't get it to autogenerate from build

 [mod_unimrcp] add better logging and error checking on module load.  Currently dumps core on MRCPv1 TTS attempt

 [mod_unimrcp] don't configure MRCPv1 session with a connection agent- causes crash
2014-11-18 14:23:54 -05:00

32 lines
1008 B
Makefile

MAINTAINERCLEANFILES = Makefile.in
CONFFILES = logger.xml dirlayout.xml
if UNIMRCP_CLIENT_LIB
CONFFILES += unimrcpclient.xml unimrcpclient.xsd
endif
if UNIMRCP_SERVER_LIB
CONFFILES += unimrcpserver.xml unimrcpserver.xsd
endif
if UMC
CONFFILES += umcscenarios.xml
endif
def-conf:
test -d $(DESTDIR)$(sysconfdir) || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
for conffile in $(CONFFILES) ; do \
$(INSTALL) -m 644 $(top_srcdir)/conf/$$conffile $(DESTDIR)$(sysconfdir); \
done
if UNIMRCP_CLIENT_LIB
test -d $(DESTDIR)$(sysconfdir)/client-profiles || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/client-profiles
for conffile in `find $(top_srcdir)/conf/client-profiles/ -maxdepth 1 -name \*.xml -o -name \*.xsd` ; do \
filename=`echo $$conffile | sed -e 's|^.*/||'`; \
$(INSTALL) -m 644 $(top_srcdir)/conf/client-profiles/$$filename $(DESTDIR)$(sysconfdir)/client-profiles; \
done
endif
install-data-local:
test -d $(DESTDIR)$(sysconfdir) || $(MAKE) def-conf