freeswitch/src/mod/applications/mod_mongo/Makefile.am

22 lines
520 B
Makefile
Raw Normal View History

2014-02-27 19:16:54 +00:00
include $(top_srcdir)/build/modmake.rulesam
AUTOMAKE_OPTIONS += foreign
2014-02-27 19:16:54 +00:00
MODNAME=mod_mongo
if HAVE_MONGOC
2014-02-27 19:16:54 +00:00
mod_LTLIBRARIES = mod_mongo.la
mod_mongo_la_SOURCES = mod_mongo.c
mod_mongo_la_CFLAGS = $(AM_CFLAGS) $(MONGOC_CFLAGS)
mod_mongo_la_CPPFLAGS = $(AM_CPPFLAGS)
mod_mongo_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(MONGOC_LIBS)
mod_mongo_la_LDFLAGS = -avoid-version -module -no-undefined -shared
2014-02-27 19:16:54 +00:00
else
install: error
all: error
error:
$(error You must install libmongoc-dev to build mod_mongo)
endif