Files
freeswitch/src/mod/applications/mod_memcache/Makefile.am
T
James Le Cuirot 4bdb7129ba Ungetlib libmemcached
Tested with several libmemcached versions between 0.31 and
1.0.18. Unfortunately the API is extremely volatile and awkward to
use. Packaging scripts still need addressing.

FS-353
2014-04-11 22:55:36 +00:00

18 lines
485 B
Makefile

include $(top_srcdir)/build/modmake.rulesam
MODNAME=mod_memcache
if HAVE_MEMCACHED
mod_LTLIBRARIES = mod_memcache.la
mod_memcache_la_SOURCES = mod_memcache.c
mod_memcache_la_CFLAGS = $(AM_CFLAGS) $(MEMCACHED_CFLAGS)
mod_memcache_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(MEMCACHED_LIBS)
mod_memcache_la_LDFLAGS = -avoid-version -module -no-undefined -shared
else
install: error
all: error
error:
$(error You must install libmemcached-dev to build mod_memcache)
endif