2011-05-19 15:24:57 -05:00
|
|
|
NULL =
|
|
|
|
|
2011-06-01 16:58:21 -05:00
|
|
|
KRB5_UTIL_DIR = ../../util
|
2013-02-07 07:52:35 -06:00
|
|
|
IPA_UTIL_DIR = ../../../util
|
2011-07-01 12:33:28 -05:00
|
|
|
KRB5_UTIL_SRCS = $(KRB5_UTIL_DIR)/ipa_krb5.c \
|
|
|
|
$(KRB5_UTIL_DIR)/ipa_pwd.c
|
2011-06-01 16:58:21 -05:00
|
|
|
|
2013-03-12 09:28:58 -05:00
|
|
|
AM_CPPFLAGS = \
|
2011-05-19 15:24:57 -05:00
|
|
|
-I. \
|
|
|
|
-I$(srcdir) \
|
2011-06-01 16:58:21 -05:00
|
|
|
-I$(KRB5_UTIL_DIR) \
|
2013-02-07 07:52:35 -06:00
|
|
|
-I$(IPA_UTIL_DIR) \
|
2011-05-19 15:24:57 -05:00
|
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
|
|
-DBINDIR=\""$(bindir)"\" \
|
|
|
|
-DLIBDIR=\""$(libdir)"\" \
|
|
|
|
-DLIBEXECDIR=\""$(libexecdir)"\" \
|
|
|
|
-DDATADIR=\""$(datadir)"\" \
|
2011-05-20 00:26:46 -05:00
|
|
|
-DLDAPIDIR=\""$(localstatedir)/run"\" \
|
2011-05-19 15:24:57 -05:00
|
|
|
$(AM_CFLAGS) \
|
|
|
|
$(LDAP_CFLAGS) \
|
|
|
|
$(KRB5_CFLAGS) \
|
|
|
|
$(WARN_CFLAGS) \
|
2011-10-10 14:42:11 -05:00
|
|
|
$(NDRPAC_CFLAGS) \
|
2014-01-28 09:35:34 -06:00
|
|
|
$(NSS_CFLAGS) \
|
2011-05-19 15:24:57 -05:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
plugindir = $(libdir)/krb5/plugins/kdb
|
|
|
|
plugin_LTLIBRARIES = \
|
|
|
|
ipadb.la \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ipadb_la_SOURCES = \
|
|
|
|
ipa_kdb.c \
|
2011-06-10 13:35:46 -05:00
|
|
|
ipa_kdb_common.c \
|
2011-06-10 13:25:03 -05:00
|
|
|
ipa_kdb_mkey.c \
|
2011-06-20 18:35:50 -05:00
|
|
|
ipa_kdb_passwords.c \
|
2011-05-25 17:32:14 -05:00
|
|
|
ipa_kdb_principals.c \
|
2011-06-23 14:02:04 -05:00
|
|
|
ipa_kdb_pwdpolicy.c \
|
2011-10-10 14:42:11 -05:00
|
|
|
ipa_kdb_mspac.c \
|
2011-11-20 17:36:26 -06:00
|
|
|
ipa_kdb_delegation.c \
|
2012-02-13 11:15:07 -06:00
|
|
|
ipa_kdb_audit_as.c \
|
2011-06-01 16:58:21 -05:00
|
|
|
$(KRB5_UTIL_SRCS) \
|
2011-05-19 15:24:57 -05:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ipadb_la_LDFLAGS = \
|
|
|
|
-avoid-version \
|
2011-07-05 21:39:23 -05:00
|
|
|
-module \
|
|
|
|
-Wl,--version-script,$(srcdir)/ipa_kdb.exports
|
2011-05-19 15:24:57 -05:00
|
|
|
|
|
|
|
ipadb_la_LIBADD = \
|
|
|
|
$(KRB5_LIBS) \
|
|
|
|
$(LDAP_LIBS) \
|
2011-10-10 14:42:11 -05:00
|
|
|
$(NDRPAC_LIBS) \
|
2013-07-16 10:47:27 -05:00
|
|
|
$(UNISTRING_LIBS) \
|
2014-01-28 09:35:34 -06:00
|
|
|
$(NSS_LIBS) \
|
2011-05-19 15:24:57 -05:00
|
|
|
$(NULL)
|
|
|
|
|
2015-05-20 11:31:19 -05:00
|
|
|
if HAVE_CMOCKA
|
2013-02-19 05:16:37 -06:00
|
|
|
TESTS = ipa_kdb_tests
|
|
|
|
check_PROGRAMS = ipa_kdb_tests
|
|
|
|
endif
|
|
|
|
|
|
|
|
ipa_kdb_tests_SOURCES = \
|
|
|
|
tests/ipa_kdb_tests.c \
|
|
|
|
ipa_kdb.c \
|
|
|
|
ipa_kdb_common.c \
|
|
|
|
ipa_kdb_mkey.c \
|
|
|
|
ipa_kdb_passwords.c \
|
|
|
|
ipa_kdb_principals.c \
|
|
|
|
ipa_kdb_pwdpolicy.c \
|
|
|
|
ipa_kdb_mspac.c \
|
|
|
|
ipa_kdb_delegation.c \
|
|
|
|
ipa_kdb_audit_as.c \
|
|
|
|
$(KRB5_UTIL_SRCS) \
|
|
|
|
$(NULL)
|
2015-05-20 11:31:19 -05:00
|
|
|
ipa_kdb_tests_CFLAGS = $(CMOCKA_CFLAGS)
|
2013-02-19 05:16:37 -06:00
|
|
|
ipa_kdb_tests_LDADD = \
|
2015-05-20 11:31:19 -05:00
|
|
|
$(CMOCKA_LIBS) \
|
2013-02-19 05:16:37 -06:00
|
|
|
$(KRB5_LIBS) \
|
|
|
|
$(LDAP_LIBS) \
|
|
|
|
$(NDRPAC_LIBS) \
|
2014-07-22 10:17:45 -05:00
|
|
|
$(UNISTRING_LIBS) \
|
2014-01-28 09:35:34 -06:00
|
|
|
$(NSS_LIBS) \
|
2013-02-19 05:16:37 -06:00
|
|
|
-lkdb5 \
|
|
|
|
-lsss_idmap \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-07-05 21:39:23 -05:00
|
|
|
dist_noinst_DATA = ipa_kdb.exports
|
|
|
|
|
2011-05-19 15:24:57 -05:00
|
|
|
EXTRA_DIST = \
|
|
|
|
README \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
*~ \
|
|
|
|
Makefile.in
|