2011-11-09 18:03:48 -06:00
|
|
|
NULL =
|
|
|
|
|
2016-10-31 06:33:43 -05:00
|
|
|
PLUGIN_COMMON_DIR = $(srcdir)/../common
|
2011-11-09 18:03:48 -06:00
|
|
|
|
2013-03-12 09:28:58 -05:00
|
|
|
AM_CPPFLAGS = \
|
2011-11-09 18:03:48 -06:00
|
|
|
-I$(srcdir) \
|
|
|
|
-I$(PLUGIN_COMMON_DIR) \
|
2020-09-11 07:49:16 -05:00
|
|
|
-I$(top_srcdir)/util \
|
2011-11-09 18:03:48 -06:00
|
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
|
|
-DBINDIR=\""$(bindir)"\" \
|
|
|
|
-DLIBDIR=\""$(libdir)"\" \
|
|
|
|
-DLIBEXECDIR=\""$(libexecdir)"\" \
|
|
|
|
-DDATADIR=\""$(datadir)"\" \
|
2017-03-15 00:14:25 -05:00
|
|
|
$(DIRSRV_CFLAGS) \
|
2011-11-09 18:03:48 -06:00
|
|
|
$(LDAP_CFLAGS) \
|
|
|
|
$(WARN_CFLAGS) \
|
|
|
|
$(NDRNBT_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
plugindir = $(libdir)/dirsrv/plugins
|
|
|
|
plugin_LTLIBRARIES = \
|
|
|
|
libipa_cldap.la \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libipa_cldap_la_SOURCES = \
|
2011-11-15 17:33:26 -06:00
|
|
|
ipa_cldap_netlogon.c \
|
2011-11-09 18:03:48 -06:00
|
|
|
ipa_cldap_worker.c \
|
|
|
|
ipa_cldap.c \
|
2016-11-02 11:44:47 -05:00
|
|
|
ipa_cldap.h \
|
2011-11-09 18:03:48 -06:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libipa_cldap_la_LDFLAGS = -avoid-version
|
|
|
|
|
|
|
|
libipa_cldap_la_LIBADD = \
|
2020-09-11 07:49:16 -05:00
|
|
|
$(top_builddir)/util/libutil.la \
|
2011-11-09 18:03:48 -06:00
|
|
|
$(LDAP_LIBS) \
|
|
|
|
$(NDRNBT_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2014-01-23 07:44:08 -06:00
|
|
|
if HAVE_CMOCKA
|
|
|
|
TESTS = ipa_cldap_tests
|
|
|
|
check_PROGRAMS = ipa_cldap_tests
|
|
|
|
endif
|
|
|
|
|
|
|
|
ipa_cldap_tests_SOURCES = \
|
|
|
|
ipa_cldap_tests.c \
|
|
|
|
ipa_cldap_netlogon.c \
|
|
|
|
$(NULL)
|
|
|
|
ipa_cldap_tests_CFLAGS = $(CMOCKA_FLAGS)
|
|
|
|
ipa_cldap_tests_LDFLAGS = \
|
|
|
|
-rpath $(shell pkg-config --libs-only-L dirsrv | sed -e 's/-L//') \
|
|
|
|
$(NULL)
|
|
|
|
ipa_cldap_tests_LDADD = \
|
2020-09-11 07:49:16 -05:00
|
|
|
$(top_builddir)/util/libutil.la \
|
2014-01-23 07:44:08 -06:00
|
|
|
$(CMOCKA_LIBS) \
|
|
|
|
$(NDRNBT_LIBS) \
|
|
|
|
$(DIRSRV_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-11-09 18:03:48 -06:00
|
|
|
appdir = $(IPA_DATA_DIR)
|
|
|
|
app_DATA = \
|
|
|
|
ipa-cldap-conf.ldif \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(app_DATA) \
|
|
|
|
$(NULL)
|