Makefile.am revision fd8595874aa06c8057740001ec465ba76b4af142
c636315472e4f87313af7be30b7fbcad4b8ca8a4Stephen GallagherDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \
c636315472e4f87313af7be30b7fbcad4b8ca8a4Stephen Gallagher --enable-all-experimental-features
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherif HAVE_MANPAGES
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Some old versions of automake don't define builddir
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDOXYGEN = @DOXYGEN@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDISTSETUPOPTS =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDISTSETUPOPTS += --install-layout=deb
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibexecdir = $(libexecdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibdir = $(libdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldblibdir = @ldblibdir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5plugindir = @krb5pluginpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdconfdir = $(sysconfdir)/sssd
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallaghersssddatadir = $(datadir)/sssd
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallaghersssdapiplugindir = $(sssddatadir)/sssd.api.d
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdbusintrospectdir = $(datarootdir)/sssd/introspect
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlocaledir = @localedir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernsslibdir = @nsslibdir@
d921c1eba437662437847279f251a0a5d8f70127Maximpamlibdir = @pammoddir@
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekautofslibdir = @appmodpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdbpath = @dbpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpluginpath = @pluginpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpidpath = @pidpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpipepath = @pipepath@
eb2e21b764d03544d8161e9956d7f70b07b75f77Simo Sorcemcpath = @mcpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinitdir = @initdir@
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozeksystemdunitdir = @systemdunitdir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlogpath = @logpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpubconfpath = @pubconfpath@
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherpkgconfigdir = $(libdir)/pkgconfig
4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256Stephen Gallagherkrb5rcachedir = @krb5rcachedir@
e124844907ed6973915e4d56f5442ecd07535a12Jakub Hrozeksudolibdir = @sudolibpath@
b32159300fea63222d8dd9200ed634087704ea74Stephen GallagherUNICODE_LIBS=@UNICODE_LIBS@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif WANT_AUX_INFO
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher AM_CFLAGS += -aux-info $@.X
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wcast-qual -Wcast-align -Wwrite-strings \
be1ef1c62ad13612be5e1f879476c24452a5d6d0Stephen Gallagher -Werror-implicit-function-declaration \
be1ef1c62ad13612be5e1f879476c24452a5d6d0Stephen Gallagher -fno-strict-aliasing
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherdist_pkgconfig_DATA =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherACLOCAL_AMFLAGS = -I m4 -I .
558998ce664055a75595371118f818084d8f2b23Jan Cholastabin_PROGRAMS = \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta sss_ssh_authorizedkeys \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta sss_ssh_knownhostsproxy
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersbin_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupadd \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupdel \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupmod \
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny sss_groupshow \
f1828234a850dd28465425248a83a993f262918fPavel Březina sss_debuglevel
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibexec_PROGRAMS = \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinasssdlibexec_PROGRAMS += sssd_sudo
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozekif BUILD_AUTOFS
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozeksssdlibexec_PROGRAMS += sssd_autofs
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastasssdlibexec_PROGRAMS += sssd_ssh
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher non_interactive_check_based_tests = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher strtonum-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher resolv-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher krb5-utils-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher check_and_open-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher refcount-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher fail_over-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher find_uid-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ipa_ldap_opt-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher simple_access-tests \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek crypto-tests \
fe60346714a73ac3987f786731389320633dd245Pavel Březina debug-tests \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose ipa_hbac-tests \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose sss_idmap-tests
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher stress-tests \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek krb5-child-test \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(non_interactive_check_based_tests)
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub HrozekPYTHON_TESTS += $(srcdir)/src/config/SSSDConfigTest.py \
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher $(PYTHON_TESTS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(non_interactive_check_based_tests)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlib_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldblib_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5plugin_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_LTLIBRARIES = \
c7919a4fe41133cc466aa3d9431bfceee5784e7bJan Cholasta SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_base64.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_LIBS = $(NSS_LIBS)
c7919a4fe41133cc466aa3d9431bfceee5784e7bJan Cholasta SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_base64.c \
c7919a4fe41133cc466aa3d9431bfceee5784e7bJan Cholasta src/util/crypto/libcrypto/crypto_sha512crypt.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_crypt_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_SOURCES)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_crypt_la_CFLAGS = \
3b1df539835367cb81cd5ff0f9959947d5642e55Stephen Gallagher $(SSS_CRYPT_CFLAGS) \
3b1df539835367cb81cd5ff0f9959947d5642e55Stephen Gallagher $(DHASH_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_crypt_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpyexec_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_SCRIPTS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(EXTRA_SCRIPTS) \
1467daed400d6c186bd0c99c057c42e764309ff3Stephen Gallagher src/config/SSSDConfig/sssd_upgrade_config.py \
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagherdist_noinst_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-noversion.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-badversion.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-invalid.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-invalid-badbool.conf
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher###############################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Global compilation settings #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher###############################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherAM_CPPFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/include \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/src \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TDB_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LIBNL_CFLAGS) \
bfbf5cb0f00c60c0f000f56c282377b13b9a89abSumit Bose $(OPENLDAP_CFLAGS) \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher $(GLIB2_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DLIBDIR=\"$(libdir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DVARDIR=\"$(localstatedir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSHLIBEXT=\"$(SHLIBEXT)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSSD_LIBEXEC_PATH=\"$(sssdlibexecdir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSSD_INTROSPECT_PATH=\"$(dbusinstropectdir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSSD_CONF_DIR=\"$(sssdconfdir)\" \
eb2e21b764d03544d8161e9956d7f70b07b75f77Simo Sorce -DSSS_NSS_MCACHE_DIR=\"$(mcpath)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
0ef783e186ef1c9f60e61a4e8e54c44cb366fdfePavel Březina -DSSS_SUDO_SOCKET_NAME=\"$(pipepath)/sudo\" \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek -DSSS_AUTOFS_SOCKET_NAME=\"$(pipepath)/autofs\" \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta -DSSS_SSH_SOCKET_NAME=\"$(pipepath)/ssh\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DLOCALEDIR=\"$(localedir)\"
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESPONDER_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_TOOLS_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESOLV_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_ARES_DATA
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSSD_RESOLV_OBJ += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_FAILOVER_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(OPENLDAP_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherPYTHON_BINDINGS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(OPENLDAP_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
bfbf5cb0f00c60c0f000f56c282377b13b9a89abSumit Bose $(OPENLDAP_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SELINUX
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher TOOLS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SEMANAGE
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek PYTHON_BINDINGS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher TOOLS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_HEADERS = \
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
374bf54785365273b20690bd3792c25a44738041Pavel Březina SSSD_DOCS += libsss_sudo_doc
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher#####################
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher# Utility libraries #
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher#####################
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallaghernoinst_LTLIBRARIES += libsss_debug.la
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagherlibsss_debug_la_SOURCES = \
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallaghernoinst_LTLIBRARIES += libsss_child.la
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallagherlibsss_child_la_SOURCES = src/util/child_common.c
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallaghernoinst_LTLIBRARIES += libsss_util.la
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagherlibsss_util_la_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagherlibsss_util_la_LIBADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher $(UNICODE_LIBS) \
3f98cdc011bb4e8cd22c088f288b0bcdb6452492Jakub Hrozekif BUILD_SUDO
3f98cdc011bb4e8cd22c088f288b0bcdb6452492Jakub Hrozek libsss_util_la_SOURCES += src/db/sysdb_sudo.c
748ba184db97b7534254f97018fa04e8aa458faeJan Cholastalibsss_util_la_SOURCES += \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherdist_pkgconfig_DATA += src/providers/ipa/ipa_hbac.pc
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherlibipa_hbac_la_SOURCES = \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherlibipa_hbac_la_LDFLAGS = \
f39b4b2fd57c0ea4cf2f90b511f2cbce37723ef0Sumit Bose -version-info 0:1:0 \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher $(UNICODE_LIBS)
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bosedist_pkgconfig_DATA += src/lib/idmap/sss_idmap.pc
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Boselibsss_idmap_la_SOURCES = \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Boselibsss_idmap_la_LDFLAGS = \
c51a204a40b8f85f7f525edb3e24520916d8b9c7Sumit Bose -version-info 0:1:0
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherinclude_HEADERS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Program Binaries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(LIBNL_LIBS) \
e369fc08906383e6d5c39832f31bb6600a33f887Simo Sorce $(KEYUTILS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_nss_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESPONDER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_nss_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_pam_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESPONDER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_pam_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinasssd_sudo_SOURCES = \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina $(SSSD_RESPONDER_OBJ)
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinasssd_sudo_LDADD = \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina $(SSSD_LIBS) \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozekif BUILD_AUTOFS
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozeksssd_autofs_SOURCES = \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek $(SSSD_RESPONDER_OBJ)
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozeksssd_autofs_LDADD = \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek $(SSSD_LIBS) \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastasssd_ssh_SOURCES = \
bd03e67c9d2fc4ad0275e7a573385ee5b7b9307aJan Cholasta $(SSSD_RESPONDER_OBJ)
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastasssd_ssh_LDADD = \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_be_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_FAILOVER_OBJ)
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallaghersssd_be_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(CARES_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_be_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
4b0309363dbfb9a1409e082b3a84f17b53a751c1Stephen Gallagher -export-dynamic \
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozekif BUILD_PYTHON_BINDINGS
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozeksss_obfuscate_pythondir = $(sbindir)
52e0894fd65bff4715c88330eb62b28e1635228fStephen Gallagherdist_sss_obfuscate_python_SCRIPTS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Command-line Tools #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_useradd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_useradd_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_userdel_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_userdel_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupadd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupadd_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupdel_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupdel_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_usermod_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_usermod_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupmod_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupmod_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupshow_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupshow_LDADD = \
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zelenysss_cache_SOURCES = \
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny $(SSSD_TOOLS_OBJ)
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zelenysss_cache_LDADD = \
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny $(TOOLS_LIBS)
f1828234a850dd28465425248a83a993f262918fPavel Březinasss_debuglevel_SOURCES = \
f1828234a850dd28465425248a83a993f262918fPavel Březina $(SSSD_TOOLS_OBJ)
f1828234a850dd28465425248a83a993f262918fPavel Březinasss_debuglevel_LDADD = \
f1828234a850dd28465425248a83a993f262918fPavel Březina $(TOOLS_LIBS)
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinasss_sudo_cli_SOURCES = \
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinasss_sudo_cli_CFLAGS = $(AM_CFLAGS)
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozeksss_sudo_cli_LDADD = \
558998ce664055a75595371118f818084d8f2b23Jan Cholastasss_ssh_authorizedkeys_SOURCES = \
558998ce664055a75595371118f818084d8f2b23Jan Cholastasss_ssh_authorizedkeys_CFLAGS = $(AM_CFLAGS)
558998ce664055a75595371118f818084d8f2b23Jan Cholastasss_ssh_authorizedkeys_LDADD = \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholastasss_ssh_knownhostsproxy_SOURCES = \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholastasss_ssh_knownhostsproxy_CFLAGS = $(AM_CFLAGS)
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholastasss_ssh_knownhostsproxy_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Feature Tests #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#################
21f28bdbab10881b9fb0b890dfa15af429326606Sumit BoseTESTS_ENVIRONMENT = LDB_MODULES_PATH=$(abs_top_builddir)/ldb_mod_test_dir
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Boseldb_mod_test_dir: memberof.la
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Bose mkdir -p $(builddir)/ldb_mod_test_dir
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Bose cp $(builddir)/.libs/memberof.so $(builddir)/ldb_mod_test_dir
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_LTLIBRARIES += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_test_common_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_test_common_la_SOURCES += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_DEPENDENCIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(ldblib_LTLIBRARIES)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_utils_tests_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_FAILOVER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_utils_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_utils_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
c8b8901b05da9e31dba320f305ec20301e928cfbSumit Bose $(KRB5_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherFILES_TESTS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SELINUX
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher FILES_TESTS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SEMANAGE
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher FILES_TESTS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(FILES_TESTS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESOLV_TESTS_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_ARES_DATA
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSSD_RESOLV_TESTS_OBJ += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_TESTS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfail_over_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_FAILOVER_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfail_over_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfail_over_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfind_uid_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfind_uid_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfind_uid_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersimple_access_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersimple_access_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersimple_access_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
fe60346714a73ac3987f786731389320633dd245Pavel Březinadebug_tests_SOURCES = \
fe60346714a73ac3987f786731389320633dd245Pavel Březinadebug_tests_CFLAGS = \
fe60346714a73ac3987f786731389320633dd245Pavel Březina $(AM_CFLAGS) \
fe60346714a73ac3987f786731389320633dd245Pavel Březina $(CHECK_CFLAGS)
fe60346714a73ac3987f786731389320633dd245Pavel Březinadebug_tests_LDADD = \
fe60346714a73ac3987f786731389320633dd245Pavel Březina $(SSSD_LIBS) \
fe60346714a73ac3987f786731389320633dd245Pavel Březina $(CHECK_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_SOURCES = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_SOURCES) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_CFLAGS = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_CFLAGS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(AM_CFLAGS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(CHECK_CFLAGS)
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_LDADD = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSSD_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(CHECK_LIBS) \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagheripa_hbac_tests_SOURCES = \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagheripa_hbac_tests_CFLAGS = \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher $(AM_CFLAGS) \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher $(CHECK_CFLAGS)
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagheripa_hbac_tests_LDADD = \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher $(SSSD_LIBS) \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher $(CHECK_LIBS) \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bosesss_idmap_tests_SOURCES = \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bosesss_idmap_tests_CFLAGS = \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose $(AM_CFLAGS) \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose $(CHECK_CFLAGS)
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bosesss_idmap_tests_LDADD = \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose $(CHECK_LIBS) \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstress_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstress_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozekkrb5_child_test_SOURCES = \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek $(SSSD_FAILOVER_OBJ)
f232789430a080384188d5da89b19d874cf17513Jakub Hrozekkrb5_child_test_CFLAGS = \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek $(AM_CFLAGS) \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek -DKRB5_CHILD_DIR=\"$(builddir)\" \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek $(CHECK_CFLAGS)
f232789430a080384188d5da89b19d874cf17513Jakub Hrozekkrb5_child_test_LDADD = \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek $(SSSD_LIBS)\
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek $(CARES_LIBS) \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek $(KRB5_LIBS) \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_PROGRAMS = pam_test_client
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinanoinst_PROGRAMS += sss_sudo_cli
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekif BUILD_AUTOFS
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozeknoinst_PROGRAMS += autofs_test_client
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_test_client_SOURCES = src/sss_client/pam_test_client.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_test_client_LDFLAGS = -lpam -lpam_misc
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekif BUILD_AUTOFS
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekautofs_test_client_SOURCES = src/sss_client/autofs/autofs_test_client.c \
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekautofs_test_client_CFLAGS = $(AM_CFLAGS)
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekautofs_test_client_LDFLAGS = -lpopt
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Client Libraries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernsslib_LTLIBRARIES = libnss_sss.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibnss_sss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibnss_sss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 2:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpamlib_LTLIBRARIES = pam_sss.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_sss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_sss_la_LDFLAGS = \
8d821f0508f495deb376617c165cbcbf396a058aSimo Sorce $(SELINUX_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekif BUILD_SUDO
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozeklibsss_sudo_la_SOURCES = \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozeklibsss_sudo_la_LDFLAGS = \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek -Wl,--version-script,$(srcdir)/src/sss_client/sss_sudo.exports \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek -version 1:0:0
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozeksudolib_LTLIBRARIES = libsss_sudo.la
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekdist_pkgconfig_DATA += src/sss_client/sudo/libsss_sudo.pc
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekinclude_HEADERS += \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekif BUILD_AUTOFS
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekautofslib_LTLIBRARIES = libsss_autofs.la
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozeklibsss_autofs_la_SOURCES = \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozeklibsss_autofs_la_LDFLAGS = \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek -avoid-version \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek -Wl,--version-script,$(srcdir)/src/sss_client/autofs/sss_autofs.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekif BUILD_SUDO
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekdist_noinst_DATA += src/sss_client/sss_sudo.exports
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekif BUILD_AUTOFS
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekdist_noinst_DATA += src/sss_client/autofs/sss_autofs.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Plugin Libraries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallaghernoinst_LTLIBRARIES += libsss_ldap_common.la
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_common_la_SOURCES = \
97ae45d61d921f07e812620e0156aee02b7b83a7Stephen Gallagher src/providers/ldap/sdap_async_groups_ad.c \
d42d371c00c83ae44b9d1c3e88ecbe0e01b112e6Stephen Gallagher src/providers/ldap/sdap_async_initgroups_ad.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_connection.c \
796463906a54e259bd5b582ce84af4297a58eafcStephen Gallagher src/providers/ldap/sdap_async_services.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_common_la_SOURCES += \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherif BUILD_AUTOFS
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_common_la_SOURCES += \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallaghernoinst_LTLIBRARIES += libsss_krb5_common.la
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_krb5_common_la_SOURCES = \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_delayed_online_authentication.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDAP_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(OPENLDAP_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
88aeed9a31b734a92630d5e881c960c5f77ba0ceJakub Hrozek $(KRB5_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KEYUTILS_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(KRB5_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDAP_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(OPENLDAP_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KEYUTILS_LIBS) \
88aeed9a31b734a92630d5e881c960c5f77ba0ceJakub Hrozek $(KRB5_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekif BUILD_AUTOFS
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ipa_la_SOURCES += \
1a7d1977037864e52858058777af8ff8401547ddJan Cholastalibsss_ipa_la_SOURCES += src/providers/ipa/ipa_hostid.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(OPENLDAP_LIBS) \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_CFLAGS = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallaghermemberof_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_krb5_locator_plugin_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_krb5_locator_plugin_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_krb5_locator_plugin_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PYTHON_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PYTHON_BINDINGS_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(PYTHON_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozekpyhbac_la_SOURCES = \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozekpyhbac_la_CFLAGS = \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek $(AM_CFLAGS) \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek $(PYTHON_CFLAGS)
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozekpyhbac_la_LIBADD = \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek $(PYTHON_LIBS) \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozekpyhbac_la_LDFLAGS = \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek -avoid-version \
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek################
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek# TRANSLATIONS #
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek################
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherif HAVE_MANPAGES
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek $(MAKE) -C src/man update-po
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek $(MAKE) -C po update-po
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Installation Extras #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_init_SCRIPTS =
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekdist_systemdunit_DATA =
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekif HAVE_SYSTEMD_UNIT
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozek dist_systemdunit_DATA += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher dist_init_SCRIPTS += \
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maximif HAVE_GENTOO
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maxim dist_init_SCRIPTS += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher dist_init_SCRIPTS += \
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallagherdist_sssddata_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_sssdapiplugin_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-krb5.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-ldap.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-local.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-proxy.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-simple.conf
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstallsssddirs::
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(includedir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(libdir) \
558998ce664055a75595371118f818084d8f2b23Jan Cholasta $(DESTDIR)$(bindir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(sbindir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(mandir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(pluginpath) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(libdir)/ldb \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(dbusintrospectdir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(pipepath)/private \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(sssdlibdir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(sssdconfdir) \
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallagher $(DESTDIR)$(sssddatadir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(dbpath) \
eb2e21b764d03544d8161e9956d7f70b07b75f77Simo Sorce $(DESTDIR)$(mcpath) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(pidpath) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(logpath) \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek $(DESTDIR)$(pubconfpath) \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek $(DESTDIR)$(sudolibdir) \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek $(DESTDIR)$(autofslibdir)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_DOXYGEN
8782e92079a2842955e04392d20605453de6d567Stephen Gallagher $(DOXYGEN) src/providers/ipa/ipa_hbac.doxy
f660877b38e563c4aa0cb1431624069808873fecJakub Hrozekif BUILD_SUDO
f660877b38e563c4aa0cb1431624069808873fecJakub Hrozekendif BUILD_SUDO
f660877b38e563c4aa0cb1431624069808873fecJakub Hrozekelse !HAVE_DOXYGEN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher @echo "Doxygen not installed, cannot generate documentation"
f660877b38e563c4aa0cb1431624069808873fecJakub Hrozekendif !HAVE_DOXYGEN
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py:
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher -cp $(srcdir)/src/config/SSSDConfig/ipachangeconf.py $(builddir)/src/config/SSSDConfig/
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py:
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher -cp $(srcdir)/src/config/SSSDConfig/sssd_upgrade_config.py $(builddir)/src/config/SSSDConfig/
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen GallagherSSSDCONFIG_MODULES = \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher $(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher $(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen GallagherSSSSCONFIG_MODULES =
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagherall-local: ldb_mod_test_dir $(SSSDCONFIG_MODULES)
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagherif BUILD_PYTHON_BINDINGS
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstall-exec-hook: installsssddirs
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher if [ "$(DESTDIR)" = "" ]; then \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --record=$(abs_builddir)/src/config/.files; \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --root=$(DESTDIR) --record=$(abs_builddir)/src/config/.files; \
374bf54785365273b20690bd3792c25a44738041Pavel Březina for doc in $(SSSD_DOCS); do \
374bf54785365273b20690bd3792c25a44738041Pavel Březina mkdir -p $$doc $(DESTDIR)/$(docdir); \
374bf54785365273b20690bd3792c25a44738041Pavel Březina cp -a $$doc $(DESTDIR)/$(docdir)/; \
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekif HAVE_SYSTEMD_UNIT
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozek mkdir -p $(DESTDIR)$(systemdunitdir)
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozek mkdir -p $(DESTDIR)$(initdir)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstall-data-hook:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher rm $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)/$(nsslibdir)/libnss_sss.so
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mv $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2.0.0 $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2
4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256Stephen Gallagher if [ ! $(krb5rcachedir) = "__LIBKRB5_DEFAULTS__" ]; then \
4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256Stephen Gallagher mkdir -p $(DESTDIR)/$(krb5rcachedir) ; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheruninstall-hook:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher if [ -f $(abs_builddir)/src/config/.files ]; then \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher cat $(abs_builddir)/src/config/.files | xargs -iq rm -f $(DESTDIR)/q; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher rm $(abs_builddir)/src/config/.files ; \
374bf54785365273b20690bd3792c25a44738041Pavel Březina for doc in $(SSSD_DOCS); do \
374bf54785365273b20690bd3792c25a44738041Pavel Březina rm -Rf $(DESTDIR)/$(docdir)/$$doc; \
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher rm -f $(builddir)/src/config/SSSDConfig/ipachangeconf.py ; \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher rm -f $(builddir)/src/config/SSSDConfig/sssd_upgrade_config.py ; \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config clean --all
374bf54785365273b20690bd3792c25a44738041Pavel Březina for doc in $(SSSD_DOCS); do \
374bf54785365273b20690bd3792c25a44738041Pavel Březina rm -Rf $$doc; \
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Bose rm -Rf ldb_mod_test_dir
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherCLEANFILES = *.X */*.X */*/*.X
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghertests: all $(check_PROGRAMS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# RPM-related tasks
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherRPMBUILD ?= $(PWD)/rpmbuild
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/BUILD
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/RPMS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/SOURCES
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/SPECS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/SRPMS
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozekrpmbrprep: dist-gzip rpmroot
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozekrpms: rpmbrprep
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cd $(RPMBUILD); \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagherif GIT_CHECKOUT
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagherprerelease-rpms:
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagher sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher# make srpms will use the old digest algorithm to be compatible
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozeksrpm: rpmbrprep
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cd $(RPMBUILD); \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher rpmbuild --define "_topdir $(RPMBUILD)" \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher --define _source_filedigest_algorithm=1 \
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagherif GIT_CHECKOUT
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagherprerelease-srpm:
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagher cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagher sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagher mv $(srcdir)/version.m4.orig $(srcdir)/version.m4