18 lines
476 B
Makefile
Raw Normal View History

2014-02-27 14:16:54 -05:00
include $(top_srcdir)/build/modmake.rulesam
MODNAME=mod_ldap
if HAVE_LDAP
2014-02-27 14:16:54 -05:00
mod_LTLIBRARIES = mod_ldap.la
mod_ldap_la_SOURCES = mod_ldap.c
mod_ldap_la_CFLAGS = $(AM_CFLAGS) -DWITH_OPENLDAP -DLDAP_DEPRECATED
mod_ldap_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(OPENLDAP_LIBS)
2014-02-27 14:16:54 -05:00
mod_ldap_la_LDFLAGS = -avoid-version -module -no-undefined -shared
else
install: error
all: error
error:
$(error You must install libldap2-dev or similar package to build mod_ldap)
endif