mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-10 19:52:41 +00:00
FS-7338: remove libsndfile from tree, use system lib instead
FS-7338: remove libsilk from tree, use system lib instead FS-7338: change to always use system liblua FS-7338: remove libbroadvoice from tree, use system lib instead FS-7338: remove libilbc from tree, use system lib instead FS-7338: remove libs using system libs from bootstrap FS-7338: remove libg722_1 from tree, use system lib instead FS-7338: remove mod_celt, it has be superseded by mod_opus FS-7338: remove libcodec2 from tree, use system lib instead FS-7338: remove libopus from tree, use system lib instead FS-7338: remove libsoundtouch build from tree, use system lib instead FS-7338: remove flite build from tree, use system lib instead FS-7338: remove openldap build from tree, use system lib instead FS-7338: remove libmongoc build from tree, use system lib instead FS-7338: remove mod_mongo deps that are no longer actually required FS-7338: remove some dup demo modules and don't include demo code in packages
This commit is contained in:
1 parent
a4f656f414
commit
91a6fc82c0
49 files changed
+216
-2977
No files matched your search
@@ -1,33 +1,17 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_xml_ldap
|
||||
|
||||
LDAP=openldap-2.4.19
|
||||
LDAP_DIR=$(switch_srcdir)/libs/$(LDAP)
|
||||
LDAP_BUILDDIR=$(switch_builddir)/libs/$(LDAP)
|
||||
|
||||
LDAPLA=$(LDAP_BUILDDIR)/libraries/libldap_r/libldap_r.la
|
||||
LIBLBERLA=$(LDAP_BUILDDIR)/libraries/liblber/liblber.la
|
||||
LIBLUTILA=$(LDAP_BUILDDIR)/libraries/liblutil/liblutil.a
|
||||
if HAVE_LDAP
|
||||
|
||||
mod_LTLIBRARIES = mod_xml_ldap.la
|
||||
mod_xml_ldap_la_SOURCES = mod_xml_ldap.c
|
||||
mod_xml_ldap_la_CFLAGS = $(AM_CFLAGS) -DWITH_OPENLDAP -DLDAP_DEPRECATED -I$(LDAP_DIR)/include
|
||||
mod_xml_ldap_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(LDAPLA) $(LIBLBERLA) $(LIBLUTILA)
|
||||
mod_xml_ldap_la_CFLAGS = $(AM_CFLAGS) -DWITH_OPENLDAP -DLDAP_DEPRECATED
|
||||
mod_xml_ldap_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(OPENLDAP_LIBS)
|
||||
mod_xml_ldap_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
|
||||
BUILT_SOURCES=$(LDAPLA) $(LIBLBERLA) $(LIBLUTILA)
|
||||
|
||||
MY_DEFAULT_ARGS= --build=$(build) --host=$(host) --target=$(target) --prefix="$(prefix)" --exec_prefix="$(exec_prefix)" --libdir="$(libdir)" --disable-slapd --disable-slurpd --disable-relay --disable-bdb --disable-hdb
|
||||
|
||||
$(LDAP_DIR):
|
||||
$(GETLIB) $(LDAP).tar.gz
|
||||
|
||||
$(LDAP_BUILDDIR)/Makefile: $(LDAP_DIR)
|
||||
mkdir -p $(LDAP_BUILDDIR)
|
||||
cd $(LDAP_BUILDDIR) && $(MY_DEFAULT_VARS) $(LDAP_DIR)/configure $(MY_DEFAULT_ARGS) --srcdir=$(LDAP_DIR)
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
$(LDAPLA) $(LIBLBERLA): $(LDAP_BUILDDIR)/Makefile
|
||||
cd $(LDAP_BUILDDIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
else
|
||||
install: error
|
||||
all: error
|
||||
error:
|
||||
$(error You must install libldap2-dev or similar package to build mod_xml_ldap)
|
||||
endif
|
||||
Reference in new issue
Block a user