mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-24 10:31:13 +00:00
Initial commit of mod_hiredis. Add expanded redis support to include raw redis command support, as well as the existing support for FreeSWITCH limits.
18 lines
524 B
Makefile
18 lines
524 B
Makefile
include $(top_srcdir)/build/modmake.rulesam
|
|
MODNAME=mod_hiredis
|
|
|
|
if HAVE_HIREDIS
|
|
|
|
mod_LTLIBRARIES = mod_hiredis.la
|
|
mod_hiredis_la_SOURCES = mod_hiredis.c hiredis_utils.c hiredis_profile.c
|
|
mod_hiredis_la_CFLAGS = $(AM_CFLAGS) $(HIREDIS_CFLAGS)
|
|
mod_hiredis_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
|
mod_hiredis_la_LDFLAGS = -avoid-version -module -no-undefined -shared $(HIREDIS_LIBS) $(SWITCH_AM_LDFLAGS)
|
|
|
|
else
|
|
install: error
|
|
all: error
|
|
error:
|
|
$(error You must install libhiredis-dev to build this module)
|
|
endif
|