Makefile.am revision fd8595874aa06c8057740001ec465ba76b4af142
c636315472e4f87313af7be30b7fbcad4b8ca8a4Stephen GallagherDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \
c636315472e4f87313af7be30b7fbcad4b8ca8a4Stephen Gallagher --enable-all-experimental-features
fd5a4eacd56700ffb08a73121aeacdc806cb0132Sumit Bose
8b1f525acd20f36c836e827de3c251088961c5d9Stephen GallagherSUBDIRS = po
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagher
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherif HAVE_MANPAGES
8b1f525acd20f36c836e827de3c251088961c5d9Stephen GallagherSUBDIRS += src/man
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherendif
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Some old versions of automake don't define builddir
df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9Stephen Gallagherbuilddir ?= .
df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDOXYGEN = @DOXYGEN@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDISTSETUPOPTS =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_DEBIAN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDISTSETUPOPTS += --install-layout=deb
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibexecdir = $(libexecdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibdir = $(libdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldblibdir = @ldblibdir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5plugindir = @krb5pluginpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
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 Gallagher
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@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
b32159300fea63222d8dd9200ed634087704ea74Stephen GallagherUNICODE_LIBS=@UNICODE_LIBS@
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherAM_CFLAGS =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif WANT_AUX_INFO
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher AM_CFLAGS += -aux-info $@.X
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_GCC
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
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherdist_pkgconfig_DATA =
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherACLOCAL_AMFLAGS = -I m4 -I .
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
558998ce664055a75595371118f818084d8f2b23Jan Cholastaif BUILD_SSH
558998ce664055a75595371118f818084d8f2b23Jan Cholastabin_PROGRAMS = \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta sss_ssh_authorizedkeys \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta sss_ssh_knownhostsproxy
558998ce664055a75595371118f818084d8f2b23Jan Cholastaendif
558998ce664055a75595371118f818084d8f2b23Jan Cholasta
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersbin_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_useradd \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_userdel \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupadd \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupdel \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_usermod \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupmod \
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny sss_groupshow \
f1828234a850dd28465425248a83a993f262918fPavel Březina sss_cache \
f1828234a850dd28465425248a83a993f262918fPavel Březina sss_debuglevel
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibexec_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_nss \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_pam \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_be \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher krb5_child \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ldap_child \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher proxy_child
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinaif BUILD_SUDO
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinasssdlibexec_PROGRAMS += sssd_sudo
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinaendif
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozekif BUILD_AUTOFS
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozeksssdlibexec_PROGRAMS += sssd_autofs
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozekendif
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastaif BUILD_SSH
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastasssdlibexec_PROGRAMS += sssd_ssh
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastaendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_CHECK
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher non_interactive_check_based_tests = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sysdb-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher strtonum-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher resolv-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher krb5-utils-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher check_and_open-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher files-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher refcount-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher fail_over-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher find_uid-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ipa_ldap_opt-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher simple_access-tests \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek crypto-tests \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher util-tests \
fe60346714a73ac3987f786731389320633dd245Pavel Březina debug-tests \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose ipa_hbac-tests \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose sss_idmap-tests
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher stress-tests \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek krb5-child-test \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(non_interactive_check_based_tests)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
bf5a808fa92007c325c3996e79694badfab201d4Stephen GallagherPYTHON_TESTS =
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub HrozekPYTHON_TESTS += $(srcdir)/src/config/SSSDConfigTest.py \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek $(srcdir)/src/tests/pyhbac-test.py
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherTESTS = \
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher $(PYTHON_TESTS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(non_interactive_check_based_tests)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlib_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_ldap.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_krb5.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_proxy.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_ipa.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_simple.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldblib_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher memberof.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5plugin_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_krb5_locator_plugin.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_crypt.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_NSS
c7919a4fe41133cc466aa3d9431bfceee5784e7bJan Cholasta SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_base64.c \
b35f20cd8ecdc8308a3201e55752fb0443ec6ae4Jan Cholasta src/util/crypto/nss/nss_hmac_sha1.c \
c7919a4fe41133cc466aa3d9431bfceee5784e7bJan Cholasta src/util/crypto/nss/nss_sha512crypt.c \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek src/util/crypto/nss/nss_obfuscate.c \
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek src/util/crypto/nss/nss_util.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_LIBS = $(NSS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherelse
c7919a4fe41133cc466aa3d9431bfceee5784e7bJan Cholasta SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_base64.c \
b35f20cd8ecdc8308a3201e55752fb0443ec6ae4Jan Cholasta src/util/crypto/libcrypto/crypto_hmac_sha1.c \
c7919a4fe41133cc466aa3d9431bfceee5784e7bJan Cholasta src/util/crypto/libcrypto/crypto_sha512crypt.c \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek src/util/crypto/libcrypto/crypto_obfuscate.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
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 Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpyexec_LTLIBRARIES = \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek pysss.la \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek pyhbac.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_SCRIPTS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(EXTRA_SCRIPTS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/setup.py \
1467daed400d6c186bd0c99c057c42e764309ff3Stephen Gallagher src/config/SSSDConfig/ipachangeconf.py \
1467daed400d6c186bd0c99c057c42e764309ff3Stephen Gallagher src/config/SSSDConfig/__init__.py \
15b266d9f14dad26da8678a79019749d0f69532eStephen Gallagher src/config/SSSDConfigTest.py \
1467daed400d6c186bd0c99c057c42e764309ff3Stephen Gallagher src/config/SSSDConfig/sssd_upgrade_config.py \
b97595ae059c69b1960a6e7e56d74660388a683bJan Zeleny contrib/rhel/update_debug_levels.py \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek src/tests/pyhbac-test.py
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagherdist_noinst_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-valid.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/noparse.api.conf \
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###############################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Global compilation settings #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher###############################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherAM_CPPFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wall \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Iinclude \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I.. \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/include \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/src/sss_client \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/src \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Iinclude \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I. \
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 Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherEXTRA_DIST = build/config.rpath
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESPONDER_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/negcache.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_cmd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_dp.c \
c0f9698cd951b7223f251ff2511c4b22a6e4ba60Jan Zeleny src/responder/common/responder_packet.c \
c0f9698cd951b7223f251ff2511c4b22a6e4ba60Jan Zeleny src/responder/common/responder_get_domains.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_TOOLS_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_sync_ops.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/tools_util.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/files.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/selinux.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/nscd.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESOLV_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/async_resolv.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_ARES_DATA
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSSD_RESOLV_OBJ += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_parse_srv_reply.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_data.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_FAILOVER_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/fail_over.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_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) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(TDB_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherPYTHON_BINDINGS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(OPENLDAP_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(TDB_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherTOOLS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_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) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(TDB_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SELINUX
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher TOOLS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SEMANAGE
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek PYTHON_BINDINGS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher TOOLS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_HEADERS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor.h \
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek src/util/crypto/sss_crypto.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/dlinklist.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/util.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/strtonum.h \
29be7d76c949b82350c7603cfd362a1fcb47eb1bJan Zeleny src/util/sss_nss.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_ldap.h \
72e60fd4eabcfbcdbfe01e8c38b94052bc6c2067Jakub Hrozek src/util/sss_python.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_krb5.h \
823a5b3f4375f12b6edae4dd5169ee01771baebeJan Zeleny src/util/sss_selinux.h \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher src/util/sss_utf8.h \
748ba184db97b7534254f97018fa04e8aa458faeJan Cholasta src/util/sss_ssh.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/refcount.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/user_info_msg.h \
5a70b84cb66fb8c7a3fce0e3f2e4b61e0b2ea9d4Simo Sorce src/util/murmurhash3.h \
5f90993426fa2bdc3b3d994c9e85e0805bb92bbcSimo Sorce src/util/mmap_cache.h \
9959c512ac3ba36f7a0db7614f0357ce0bae748fJakub Hrozek src/util/atomic_io.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor_interfaces.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_packet.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv.h \
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher src/responder/pam/pam_helpers.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/nss/nsssrv.h \
ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15Stephen Gallagher src/responder/nss/nsssrv_private.h \
ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15Stephen Gallagher src/responder/nss/nsssrv_netgroup.h \
8c3a4809b3420657289b42f028a1c9019b112991Stephen Gallagher src/responder/nss/nsssrv_services.h \
eb2e21b764d03544d8161e9956d7f70b07b75f77Simo Sorce src/responder/nss/nsssrv_mmap_cache.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/negcache.h \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv_private.h \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek src/responder/autofs/autofs_private.h \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta src/responder/ssh/sshsrv_private.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sbus_client.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sssd_dbus.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sssd_dbus_private.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/db/sysdb.h \
3f98cdc011bb4e8cd22c088f288b0bcdb6452492Jakub Hrozek src/db/sysdb_sudo.h \
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek src/db/sysdb_autofs.h \
4c11f752e1f10cf5740d53a3206bb795e9e34fe8Jan Zeleny src/db/sysdb_selinux.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/db/sysdb_private.h \
4c1bf6607060cea867fccf667063c028dfd51e96Stephen Gallagher src/db/sysdb_services.h \
1a7d1977037864e52858058777af8ff8401547ddJan Cholasta src/db/sysdb_ssh.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/confdb/confdb.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/confdb/confdb_private.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/confdb/confdb_setup.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/dp_backend.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/fail_over.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/providers.h \
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallagher src/util/child_common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/simple/simple_access.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_auth.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_utils.h \
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher src/providers/krb5/krb5_opts.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_access.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_private.h \
4af1d1869d659fec84c518c26844132fa1df8f64Jakub Hrozek src/providers/ldap/sdap_sudo_cache.h \
eb54e05c9658a7274e3238813c54dd0c6577d3ecPavel Březina src/providers/ldap/sdap_sudo_timer.h \
e9eeb4302e0e426c6cc1a4e65b95a6f7066e80b9Pavel Březina src/providers/ldap/sdap_sudo.h \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek src/providers/ldap/sdap_autofs.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_id_op.h \
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher src/providers/ldap/ldap_opts.h \
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher src/providers/ldap/sdap_range.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_common.h \
213ce2a78b1abe3921d8dc13c949a28130d00aecJan Zeleny src/providers/ipa/ipa_config.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_access.h \
1a853121ca2ba8ede6df429ee76942131ffb0f65Jan Zeleny src/providers/ipa/ipa_session.h \
ad07ed37b6b51ef134d4524edaf2259e19ac984fJan Zeleny src/providers/ipa/ipa_hosts.h \
1a853121ca2ba8ede6df429ee76942131ffb0f65Jan Zeleny src/providers/ipa/ipa_selinux_common.h \
1a853121ca2ba8ede6df429ee76942131ffb0f65Jan Zeleny src/providers/ipa/ipa_selinux_maps.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_auth.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_dyndns.h \
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose src/providers/ipa/ipa_subdomains.h \
3a62a99faf8e12965100d0b26fc9e07752bd3e2dStephen Gallagher src/providers/ipa/ipa_id.h \
1a7d1977037864e52858058777af8ff8401547ddJan Cholasta src/providers/ipa/ipa_hostid.h \
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher src/providers/ipa/ipa_opts.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/tools_util.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_sync_ops.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/async_resolv.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_parse_srv_reply.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_parse_txt_reply.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_data.h \
347f7c4d1e8e83fc7ffcaf9524a67e8b3ad5d7c5Jan Cholasta src/tests/common.h \
b6dfbf81c61d4431aaa81687ec53e892f8b71edbSumit Bose src/sss_client/ssh/sss_ssh_client.h \
b6dfbf81c61d4431aaa81687ec53e892f8b71edbSumit Bose src/lib/idmap/sss_idmap_private.h
347f7c4d1e8e83fc7ffcaf9524a67e8b3ad5d7c5Jan Cholasta
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozekif HAVE_NSS
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozekendif
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek
374bf54785365273b20690bd3792c25a44738041Pavel BřezinaSSSD_DOCS = \
374bf54785365273b20690bd3792c25a44738041Pavel Březina doc \
374bf54785365273b20690bd3792c25a44738041Pavel Březina hbac_doc \
374bf54785365273b20690bd3792c25a44738041Pavel Březina idmap_doc
374bf54785365273b20690bd3792c25a44738041Pavel Březinaif BUILD_SUDO
374bf54785365273b20690bd3792c25a44738041Pavel Březina SSSD_DOCS += libsss_sudo_doc
374bf54785365273b20690bd3792c25a44738041Pavel Březinaendif
374bf54785365273b20690bd3792c25a44738041Pavel Březina
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher#####################
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher# Utility libraries #
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher#####################
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallaghernoinst_LTLIBRARIES += libsss_debug.la
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagherlibsss_debug_la_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/debug.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/sss_log.c
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallaghernoinst_LTLIBRARIES += libsss_child.la
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallagherlibsss_child_la_SOURCES = src/util/child_common.c
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallagher
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallaghernoinst_LTLIBRARIES += libsss_util.la
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagherlibsss_util_la_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/confdb/confdb.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/db/sysdb.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/db/sysdb_ops.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/db/sysdb_search.c \
4c11f752e1f10cf5740d53a3206bb795e9e34fe8Jan Zeleny src/db/sysdb_selinux.c \
c2352a73f52f600d95966ebe0b0819649ba923faStephen Gallagher src/db/sysdb_upgrade.c \
4c1bf6607060cea867fccf667063c028dfd51e96Stephen Gallagher src/db/sysdb_services.c \
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek src/db/sysdb_autofs.c \
e76d78338026fa47dca32eaf7f5c15eabb1b951aJan Zeleny src/db/sysdb_subdomains.c \
817b1bcafff27cc67630dd0cbd36df708c05fcccStephen Gallagher src/db/sysdb_idmap.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/monitor/monitor_sbus.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/providers/dp_auth_util.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/providers/dp_pam_data_util.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/providers/dp_sbus.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/sbus/sbus_client.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/sbus/sssd_dbus_common.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/sbus/sssd_dbus_connection.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/sbus/sssd_dbus_server.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/util.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/memory.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/server.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/signal.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/usertools.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/backup_file.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/strtonum.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/check_and_open.c \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher src/util/refcount.c \
29be7d76c949b82350c7603cfd362a1fcb47eb1bJan Zeleny src/util/sss_nss.c \
dbea04f585a30d001b574317c068cd03a4fa332bJakub Hrozek src/util/sss_utf8.c \
5a70b84cb66fb8c7a3fce0e3f2e4b61e0b2ea9d4Simo Sorce src/util/sss_tc_utf8.c \
823a5b3f4375f12b6edae4dd5169ee01771baebeJan Zeleny src/util/murmurhash3.c \
9959c512ac3ba36f7a0db7614f0357ce0bae748fJakub Hrozek src/util/atomic_io.c \
20d0bc6d587f346238062df4da5edfde815e59b1Jan Zeleny src/util/sss_selinux.c \
20d0bc6d587f346238062df4da5edfde815e59b1Jan Zeleny src/util/domain_info_utils.c
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagherlibsss_util_la_LIBADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher $(UNICODE_LIBS) \
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallagher libsss_child.la \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_crypt.la \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la
3f98cdc011bb4e8cd22c088f288b0bcdb6452492Jakub Hrozekif BUILD_SUDO
3f98cdc011bb4e8cd22c088f288b0bcdb6452492Jakub Hrozek libsss_util_la_SOURCES += src/db/sysdb_sudo.c
3f98cdc011bb4e8cd22c088f288b0bcdb6452492Jakub Hrozekendif
1a7d1977037864e52858058777af8ff8401547ddJan Cholastaif BUILD_SSH
748ba184db97b7534254f97018fa04e8aa458faeJan Cholastalibsss_util_la_SOURCES += \
748ba184db97b7534254f97018fa04e8aa458faeJan Cholasta src/db/sysdb_ssh.c \
748ba184db97b7534254f97018fa04e8aa458faeJan Cholasta src/util/sss_ssh.c
1a7d1977037864e52858058777af8ff8401547ddJan Cholastaendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Boselib_LTLIBRARIES = libipa_hbac.la libsss_idmap.la
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherdist_pkgconfig_DATA += src/providers/ipa/ipa_hbac.pc
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherlibipa_hbac_la_SOURCES = \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher src/providers/ipa/hbac_evaluator.c \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher src/util/sss_utf8.c
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherlibipa_hbac_la_LDFLAGS = \
f39b4b2fd57c0ea4cf2f90b511f2cbce37723ef0Sumit Bose -version-info 0:1:0 \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher $(UNICODE_LIBS)
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bosedist_pkgconfig_DATA += src/lib/idmap/sss_idmap.pc
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Boselibsss_idmap_la_SOURCES = \
b6dfbf81c61d4431aaa81687ec53e892f8b71edbSumit Bose src/lib/idmap/sss_idmap.c \
b6dfbf81c61d4431aaa81687ec53e892f8b71edbSumit Bose src/lib/idmap/sss_idmap_conv.c
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Boselibsss_idmap_la_LDFLAGS = \
c51a204a40b8f85f7f525edb3e24520916d8b9c7Sumit Bose -version-info 0:1:0
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherinclude_HEADERS = \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose src/providers/ipa/ipa_hbac.h \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose src/lib/idmap/sss_idmap.h
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Program Binaries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor_netlink.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/confdb/confdb_setup.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(LIBNL_LIBS) \
e369fc08906383e6d5c39832f31bb6600a33f887Simo Sorce $(KEYUTILS_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_nss_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/nss/nsssrv.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/nss/nsssrv_cmd.c \
ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15Stephen Gallagher src/responder/nss/nsssrv_netgroup.c \
8c3a4809b3420657289b42f028a1c9019b112991Stephen Gallagher src/responder/nss/nsssrv_services.c \
eb2e21b764d03544d8161e9956d7f70b07b75f77Simo Sorce src/responder/nss/nsssrv_mmap_cache.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESPONDER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_nss_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TDB_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher libsss_util.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_pam_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pam_LOCAL_domain.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv_cmd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv_dp.c \
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher src/responder/pam/pam_helpers.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESPONDER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_pam_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TDB_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher libsss_util.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinaif BUILD_SUDO
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinasssd_sudo_SOURCES = \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv_cmd.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv_get_sudorules.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv_query.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv_dp.c \
41ef946f3f74a46b9e26118116e4811e259b30efPavel Březina src/responder/sudo/sudosrv_cache.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina $(SSSD_RESPONDER_OBJ)
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinasssd_sudo_LDADD = \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina $(SSSD_LIBS) \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina libsss_util.la
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinaendif
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozekif BUILD_AUTOFS
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozeksssd_autofs_SOURCES = \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek src/responder/autofs/autofssrv.c \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek src/responder/autofs/autofssrv_cmd.c \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek src/responder/autofs/autofssrv_dp.c \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek $(SSSD_RESPONDER_OBJ)
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozeksssd_autofs_LDADD = \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek $(SSSD_LIBS) \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek libsss_util.la
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozekendif
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastaif BUILD_SSH
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastasssd_ssh_SOURCES = \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta src/responder/ssh/sshsrv.c \
b42b5d5aaf4da165582e73ad985fdff6e34e61e4Jakub Hrozek src/responder/ssh/sshsrv_dp.c \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta src/responder/ssh/sshsrv_cmd.c \
bd03e67c9d2fc4ad0275e7a573385ee5b7b9307aJan Cholasta $(SSSD_RESPONDER_OBJ)
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastasssd_ssh_LDADD = \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta $(SSSD_LIBS) \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta libsss_util.la
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastaendif
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_be_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_be.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_fo.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_opts.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_callbacks.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_FAILOVER_OBJ)
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallaghersssd_be_LDADD = \
d248b68f90e60a1dd1cca1f694cc51bc3007c8b1Jan Engelhardt -ldl \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(CARES_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_be_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
4b0309363dbfb9a1409e082b3a84f17b53a751c1Stephen Gallagher -export-dynamic \
4b0309363dbfb9a1409e082b3a84f17b53a751c1Stephen Gallagher $(PAM_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozekif BUILD_PYTHON_BINDINGS
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozeksss_obfuscate_pythondir = $(sbindir)
52e0894fd65bff4715c88330eb62b28e1635228fStephen Gallagherdist_sss_obfuscate_python_SCRIPTS = \
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek src/tools/sss_obfuscate
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozekendif
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
8a07521b413a3b5879f824e1872c5770c92ee5c0Stephen Gallagher src/examples/sssd-example.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/examples/sssdproxytest \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/examples/sudo \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/examples/logrotate \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/sssd_be.exports \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/COPYING \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/COPYING.LESSER \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/m4
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Command-line Tools #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_useradd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_useradd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_useradd_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_userdel_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_userdel.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_userdel_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupadd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupadd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupadd_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupdel_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupdel.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupdel_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_usermod_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_usermod.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_usermod_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupmod_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupmod.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupmod_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupshow_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupshow.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupshow_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zelenysss_cache_SOURCES = \
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny src/tools/sss_cache.c \
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny $(SSSD_TOOLS_OBJ)
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zelenysss_cache_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny $(TOOLS_LIBS)
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny
f1828234a850dd28465425248a83a993f262918fPavel Březinasss_debuglevel_SOURCES = \
f1828234a850dd28465425248a83a993f262918fPavel Březina src/tools/sss_debuglevel.c \
f1828234a850dd28465425248a83a993f262918fPavel Březina $(SSSD_TOOLS_OBJ)
f1828234a850dd28465425248a83a993f262918fPavel Březinasss_debuglevel_LDADD = \
f1828234a850dd28465425248a83a993f262918fPavel Březina libsss_util.la \
f1828234a850dd28465425248a83a993f262918fPavel Březina $(TOOLS_LIBS)
f1828234a850dd28465425248a83a993f262918fPavel Březina
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinaif BUILD_SUDO
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinasss_sudo_cli_SOURCES = \
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina src/sss_client/common.c \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sudo_testcli/sudo_testcli.c
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinasss_sudo_cli_CFLAGS = $(AM_CFLAGS)
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozeksss_sudo_cli_LDADD = \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek libsss_sudo.la
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinaendif
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina
558998ce664055a75595371118f818084d8f2b23Jan Cholastaif BUILD_SSH
558998ce664055a75595371118f818084d8f2b23Jan Cholastasss_ssh_authorizedkeys_SOURCES = \
558998ce664055a75595371118f818084d8f2b23Jan Cholasta src/sss_client/common.c \
748ba184db97b7534254f97018fa04e8aa458faeJan Cholasta src/sss_client/ssh/sss_ssh_client.c \
558998ce664055a75595371118f818084d8f2b23Jan Cholasta src/sss_client/ssh/sss_ssh_authorizedkeys.c
558998ce664055a75595371118f818084d8f2b23Jan Cholastasss_ssh_authorizedkeys_CFLAGS = $(AM_CFLAGS)
558998ce664055a75595371118f818084d8f2b23Jan Cholastasss_ssh_authorizedkeys_LDADD = \
558998ce664055a75595371118f818084d8f2b23Jan Cholasta libsss_util.la
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholastasss_ssh_knownhostsproxy_SOURCES = \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta src/sss_client/common.c \
748ba184db97b7534254f97018fa04e8aa458faeJan Cholasta src/sss_client/ssh/sss_ssh_client.c \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta src/sss_client/ssh/sss_ssh_knownhostsproxy.c
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholastasss_ssh_knownhostsproxy_CFLAGS = $(AM_CFLAGS)
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholastasss_ssh_knownhostsproxy_LDADD = \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta libsss_util.la
558998ce664055a75595371118f818084d8f2b23Jan Cholastaendif
558998ce664055a75595371118f818084d8f2b23Jan Cholasta
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Feature Tests #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#################
21f28bdbab10881b9fb0b890dfa15af429326606Sumit BoseTESTS_ENVIRONMENT = LDB_MODULES_PATH=$(abs_top_builddir)/ldb_mod_test_dir
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Bose
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
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Bose
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_LTLIBRARIES += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_test_common_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/common.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_CHECK
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_test_common_la_SOURCES += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/common_check.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_DEPENDENCIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(ldblib_LTLIBRARIES)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/tests/sysdb-tests.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/strtonum-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/strtonum.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_utils_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/krb5_utils-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_utils.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_common.c \
5843ad321944a028f6dee7e1fd4f9381c4953d07Sumit Bose src/util/sss_krb5.c \
fd8595874aa06c8057740001ec465ba76b4af142Jakub Hrozek src/util/find_uid.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_fo.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_opts.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_callbacks.c \
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 $(SSSD_LIBS)\
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
c8b8901b05da9e31dba320f305ec20301e928cfbSumit Bose $(KRB5_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/check_and_open-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/check_and_open.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherFILES_TESTS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SELINUX
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher FILES_TESTS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SEMANAGE
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher FILES_TESTS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/files-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/check_and_open.c \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/util/atomic_io.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/selinux.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/files.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(FILES_TESTS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESOLV_TESTS_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_ARES_DATA
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSSD_RESOLV_TESTS_OBJ += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_parse_txt_reply.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/resolv-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_TESTS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DBUILD_TXT
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/refcount-tests.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(CHECK_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfail_over_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/fail_over-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_FAILOVER_OBJ) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(CHECK_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) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfind_uid_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/find_uid-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.c \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/util/atomic_io.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/strtonum.c
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 = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/tests/auth-tests.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_utils.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/ipa_ldap_opt-tests.c
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 Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersimple_access_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/simple_access-tests.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/providers/simple/simple_access.c
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) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/tests/util-tests.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
fe60346714a73ac3987f786731389320633dd245Pavel Březinadebug_tests_SOURCES = \
fe60346714a73ac3987f786731389320633dd245Pavel Březina src/tests/debug-tests.c
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) \
fe60346714a73ac3987f786731389320633dd245Pavel Březina libsss_util.la
fe60346714a73ac3987f786731389320633dd245Pavel Březina
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_SOURCES = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_SOURCES) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek src/tests/crypto-tests.c
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_CFLAGS = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_CFLAGS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(AM_CFLAGS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(CHECK_CFLAGS)
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSSD_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(CHECK_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek libsss_test_common.la
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagheripa_hbac_tests_SOURCES = \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher src/tests/ipa_hbac-tests.c
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) \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher libsss_util.la \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher libsss_test_common.la \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher libipa_hbac.la
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bosesss_idmap_tests_SOURCES = \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose src/tests/sss_idmap-tests.c
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) \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose libsss_test_common.la \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose libsss_idmap.la
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstress_tests_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/tests/stress-tests.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstress_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
f232789430a080384188d5da89b19d874cf17513Jakub Hrozekkrb5_child_test_SOURCES = \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/tests/krb5_child-test.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/krb5/krb5_utils.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/krb5/krb5_child_handler.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/krb5/krb5_become_user.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/krb5/krb5_common.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/util/sss_krb5.c \
fd8595874aa06c8057740001ec465ba76b4af142Jakub Hrozek src/util/find_uid.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/data_provider_fo.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/data_provider_opts.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/data_provider_callbacks.c \
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) \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek libsss_util.la \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek libsss_test_common.la
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_PROGRAMS = pam_test_client
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinaif BUILD_SUDO
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinanoinst_PROGRAMS += sss_sudo_cli
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinaendif
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekif BUILD_AUTOFS
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozeknoinst_PROGRAMS += autofs_test_client
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekendif
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_test_client_SOURCES = src/sss_client/pam_test_client.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_test_client_LDFLAGS = -lpam -lpam_misc
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekif BUILD_AUTOFS
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekautofs_test_client_SOURCES = src/sss_client/autofs/autofs_test_client.c \
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozek src/sss_client/autofs/sss_autofs.c \
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozek src/sss_client/common.c
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekautofs_test_client_CFLAGS = $(AM_CFLAGS)
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekautofs_test_client_LDFLAGS = -lpopt
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekendif
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Client Libraries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernsslib_LTLIBRARIES = libnss_sss.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibnss_sss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/common.c \
f1ac7d7859b26f0f36f5e8ffacda609f8ece80e5Stephen Gallagher src/sss_client/nss_passwd.c \
f1ac7d7859b26f0f36f5e8ffacda609f8ece80e5Stephen Gallagher src/sss_client/nss_group.c \
f128b7b865062da662127712935dcc58bd022384Stephen Gallagher src/sss_client/nss_netgroup.c \
cc7ee57f3adada83ac657e69636ca995d5b6948eStephen Gallagher src/sss_client/nss_services.c \
f128b7b865062da662127712935dcc58bd022384Stephen Gallagher src/sss_client/sss_cli.h \
5f216c753dbd2f2b25a011c5f705ee4f8ad924e6Simo Sorce src/sss_client/nss_compat.h \
5f216c753dbd2f2b25a011c5f705ee4f8ad924e6Simo Sorce src/sss_client/nss_mc_common.c \
5f216c753dbd2f2b25a011c5f705ee4f8ad924e6Simo Sorce src/util/murmurhash3.c \
1171986bdc3011555c5b62a9d9ee9f7481f48cdcSimo Sorce src/sss_client/nss_mc_passwd.c \
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce src/sss_client/nss_mc_group.c \
5f216c753dbd2f2b25a011c5f705ee4f8ad924e6Simo Sorce src/sss_client/nss_mc.h
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibnss_sss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 2:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpamlib_LTLIBRARIES = pam_sss.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_sss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/pam_sss.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/sss_cli.h \
2b7349575770521243a34611e97d73790946a961Stephen Gallagher src/util/atomic_io.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/sss_pam_macros.h
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_sss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -lpam \
8d821f0508f495deb376617c165cbcbf396a058aSimo Sorce $(SELINUX_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekif BUILD_SUDO
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozeklibsss_sudo_la_SOURCES = \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/common.c \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sss_cli.h \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sudo/sss_sudo_response.c \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sudo/sss_sudo.c \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sudo/sss_sudo.h \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sudo/sss_sudo_private.h
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozeklibsss_sudo_la_LDFLAGS = \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek -Wl,--version-script,$(srcdir)/src/sss_client/sss_sudo.exports \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek -version 1:0:0
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozeksudolib_LTLIBRARIES = libsss_sudo.la
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekdist_pkgconfig_DATA += src/sss_client/sudo/libsss_sudo.pc
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekinclude_HEADERS += \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sudo/sss_sudo.h
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekendif
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekif BUILD_AUTOFS
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekautofslib_LTLIBRARIES = libsss_autofs.la
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozeklibsss_autofs_la_SOURCES = \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek src/sss_client/common.c \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek src/sss_client/sss_cli.h \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek src/sss_client/autofs/sss_autofs.c \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek src/sss_client/autofs/sss_autofs_private.h
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozeklibsss_autofs_la_LDFLAGS = \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek -module \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek -avoid-version \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek -Wl,--version-script,$(srcdir)/src/sss_client/autofs/sss_autofs.exports
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekendif
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/sss_nss.exports \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/sss_pam.exports
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekif BUILD_SUDO
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekdist_noinst_DATA += src/sss_client/sss_sudo.exports
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekif BUILD_AUTOFS
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekdist_noinst_DATA += src/sss_client/autofs/sss_autofs.exports
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekendif
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Plugin Libraries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallaghernoinst_LTLIBRARIES += libsss_ldap_common.la
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_common_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id_enum.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id_cleanup.c \
619bd403265ce0880989ba6f8324b010949851bcSumit Bose src/providers/ldap/ldap_id_netgroup.c \
796463906a54e259bd5b582ce84af4297a58eafcStephen Gallagher src/providers/ldap/ldap_id_services.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_auth.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_common.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap_access.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async.c \
f26c954658dfd7461f290f0b5d924951a6db219aJan Zeleny src/providers/ldap/sdap_async_users.c \
f26c954658dfd7461f290f0b5d924951a6db219aJan Zeleny src/providers/ldap/sdap_async_groups.c \
97ae45d61d921f07e812620e0156aee02b7b83a7Stephen Gallagher src/providers/ldap/sdap_async_groups_ad.c \
f26c954658dfd7461f290f0b5d924951a6db219aJan Zeleny src/providers/ldap/sdap_async_initgroups.c \
d42d371c00c83ae44b9d1c3e88ecbe0e01b112e6Stephen Gallagher src/providers/ldap/sdap_async_initgroups_ad.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_connection.c \
619bd403265ce0880989ba6f8324b010949851bcSumit Bose src/providers/ldap/sdap_async_netgroups.c \
796463906a54e259bd5b582ce84af4297a58eafcStephen Gallagher src/providers/ldap/sdap_async_services.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_child_helpers.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_fd_events.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_id_op.c \
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher src/providers/ldap/sdap_idmap.c \
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher src/providers/ldap/sdap_idmap.h \
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher src/providers/ldap/sdap_range.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap.c
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherif BUILD_SUDO
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_common_la_SOURCES += \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap_sudo_cache.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap_sudo_timer.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap_sudo.c
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherendif
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherif BUILD_AUTOFS
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_common_la_SOURCES += \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap_autofs.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap_async_autofs.c
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherendif
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallaghernoinst_LTLIBRARIES += libsss_krb5_common.la
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_krb5_common_la_SOURCES = \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_utils.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_become_user.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_delayed_online_authentication.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_renew_tgt.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_wait_queue.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_common.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_auth.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_access.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_child_handler.c
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_la_SOURCES = \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/util/find_uid.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/ldap_init.c \
93109c5f1d85c028ce5cf6e31e2249ca90a7f746Jakub Hrozek src/providers/krb5/krb5_common.c \
fd8595874aa06c8057740001ec465ba76b4af142Jakub Hrozek src/providers/krb5/krb5_utils.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/user_info_msg.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_ldap.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_krb5.c
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) \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher libsss_util.la \
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher libsss_ldap_common.la \
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher libsss_idmap.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_init.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_id.c \
04feeade1f6259368a6b23c6b3ecbad261161659Sumit Bose src/providers/proxy/proxy_netgroup.c \
aec5785126354bd8b192f63fe04ea08dae9c0705Stephen Gallagher src/providers/proxy/proxy_services.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_auth.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_LIBADD = \
c355f8df3eabf3c59af3a506fbffb8b0e4ff9fb7Sumit Bose libsss_util.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PAM_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/simple/simple_access.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_LIBADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(PAM_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_init.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/util/find_uid.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_krb5.c
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) \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher libsss_util.la \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher libsss_krb5_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_init.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_common.c \
213ce2a78b1abe3921d8dc13c949a28130d00aecJan Zeleny src/providers/ipa/ipa_config.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_utils.c \
8b1f2574ce7a964965a18ab047ab09c4694380c4Jan Zeleny src/providers/ipa/ipa_id.c \
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny src/providers/ipa/ipa_netgroups.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_auth.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_access.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_dyndns.c \
ad07ed37b6b51ef134d4524edaf2259e19ac984fJan Zeleny src/providers/ipa/ipa_hosts.c \
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose src/providers/ipa/ipa_subdomains.c \
881c4ba834b23ae651ac01db667801f314eb0a5dJan Zeleny src/providers/ipa/ipa_subdomains_id.c \
36a12aea020a935ffa40505fa02860c3d921ad0cSumit Bose src/providers/ipa/ipa_s2n_exop.c \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_hosts.c \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_private.h \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_rules.c \
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny src/providers/ipa/ipa_hbac_rules.h \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_services.c \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_users.c \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_common.c \
1a853121ca2ba8ede6df429ee76942131ffb0f65Jan Zeleny src/providers/ipa/ipa_session.c \
1a853121ca2ba8ede6df429ee76942131ffb0f65Jan Zeleny src/providers/ipa/ipa_selinux_maps.c \
1a853121ca2ba8ede6df429ee76942131ffb0f65Jan Zeleny src/providers/ipa/ipa_selinux_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/user_info_msg.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/util/sss_ldap.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/util/sss_krb5.c
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) \
32a5516cc2822cf6ad9950278e3c9701a9389bb4Stephen Gallagher libsss_util.la \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher libsss_ldap_common.la \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher libsss_krb5_common.la \
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher libipa_hbac.la \
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher libsss_idmap.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekif BUILD_AUTOFS
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ipa_la_SOURCES += \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ipa/ipa_autofs.c
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekendif
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
1a7d1977037864e52858058777af8ff8401547ddJan Cholastaif BUILD_SSH
1a7d1977037864e52858058777af8ff8401547ddJan Cholastalibsss_ipa_la_SOURCES += src/providers/ipa/ipa_hostid.c
1a7d1977037864e52858058777af8ff8401547ddJan Cholastaendif
dfea410202f366924f32662a91331660f1c143bbJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_become_user.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_child.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/dp_pam_data_util.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/user_info_msg.c \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna src/util/sss_krb5.c \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/util/atomic_io.c \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna src/util/util.c \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna src/util/signal.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallagher libsss_child.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_child.c \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna src/util/sss_krb5.c \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/util/atomic_io.c \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna src/util/util.c \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna src/util/signal.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallagher libsss_child.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(OPENLDAP_LIBS) \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_child.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PAM_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_SOURCES = \
adc4351a04cef89ced2dbb240180e5d00fd8dd3cStephen Gallagher src/ldb_modules/memberof.c \
adc4351a04cef89ced2dbb240180e5d00fd8dd3cStephen Gallagher src/util/util.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS)
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallaghermemberof_la_LIBADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(LDB_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(DHASH_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_krb5_locator_plugin_la_SOURCES = \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/krb5_plugin/sssd_krb5_locator_plugin.c \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/util/atomic_io.c
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 Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/python/pysss.c
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) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_util.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozekpyhbac_la_SOURCES = \
72e60fd4eabcfbcdbfe01e8c38b94052bc6c2067Jakub Hrozek src/python/pyhbac.c \
72e60fd4eabcfbcdbfe01e8c38b94052bc6c2067Jakub Hrozek src/util/sss_python.c
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozekpyhbac_la_CFLAGS = \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek $(AM_CFLAGS) \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek $(PYTHON_CFLAGS)
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozekpyhbac_la_LIBADD = \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek $(PYTHON_LIBS) \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek libipa_hbac.la
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozekpyhbac_la_LDFLAGS = \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek -avoid-version \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek################
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek# TRANSLATIONS #
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek################
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozekupdate-po:
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherif HAVE_MANPAGES
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek $(MAKE) -C src/man update-po
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherendif
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek $(MAKE) -C po update-po
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Installation Extras #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_init_SCRIPTS =
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekdist_systemdunit_DATA =
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekif HAVE_SYSTEMD_UNIT
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozek dist_systemdunit_DATA += \
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozek src/sysv/systemd/sssd.service
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekelse
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_SUSE
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher dist_init_SCRIPTS += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sysv/SUSE/sssd
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maximelse
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maximif HAVE_GENTOO
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maxim dist_init_SCRIPTS += \
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maxim src/sysv/gentoo/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherelse
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher dist_init_SCRIPTS += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sysv/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maximendif
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallagherdist_sssddata_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.conf
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_sssdapiplugin_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-ipa.conf \
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 Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstallsssddirs::
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mkdir -p \
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 Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_DOXYGEN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdocs:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DOXYGEN) src/doxy.config
8782e92079a2842955e04392d20605453de6d567Stephen Gallagher $(DOXYGEN) src/providers/ipa/ipa_hbac.doxy
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose $(DOXYGEN) src/lib/idmap/sss_idmap.doxy
f660877b38e563c4aa0cb1431624069808873fecJakub Hrozekif BUILD_SUDO
f660877b38e563c4aa0cb1431624069808873fecJakub Hrozek $(DOXYGEN) src/sss_client/sudo/sss_sudo.doxy
f660877b38e563c4aa0cb1431624069808873fecJakub Hrozekendif BUILD_SUDO
f660877b38e563c4aa0cb1431624069808873fecJakub Hrozekelse !HAVE_DOXYGEN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdocs:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher @echo "Doxygen not installed, cannot generate documentation"
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher @exit 1
f660877b38e563c4aa0cb1431624069808873fecJakub Hrozekendif !HAVE_DOXYGEN
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher
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
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 Gallagher
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen GallagherSSSDCONFIG_MODULES = \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher $(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher $(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagherelse
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen GallagherSSSSCONFIG_MODULES =
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagherendif
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher
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
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
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; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher else \
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; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher fi
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
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)/; \
374bf54785365273b20690bd3792c25a44738041Pavel Březina done;
374bf54785365273b20690bd3792c25a44738041Pavel Březina
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekif HAVE_SYSTEMD_UNIT
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozek mkdir -p $(DESTDIR)$(systemdunitdir)
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekelse
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozek mkdir -p $(DESTDIR)$(initdir)
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
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) ; \
4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256Stephen Gallagher fi
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
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 ; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher fi
374bf54785365273b20690bd3792c25a44738041Pavel Březina for doc in $(SSSD_DOCS); do \
374bf54785365273b20690bd3792c25a44738041Pavel Březina rm -Rf $(DESTDIR)/$(docdir)/$$doc; \
374bf54785365273b20690bd3792c25a44738041Pavel Březina done;
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherclean-local:
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 fi
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher
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 fi
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config clean --all
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
374bf54785365273b20690bd3792c25a44738041Pavel Březina for doc in $(SSSD_DOCS); do \
374bf54785365273b20690bd3792c25a44738041Pavel Březina rm -Rf $$doc; \
374bf54785365273b20690bd3792c25a44738041Pavel Březina done;
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Bose rm -Rf ldb_mod_test_dir
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherCLEANFILES = *.X */*.X */*/*.X
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghertests: all $(check_PROGRAMS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# RPM-related tasks
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherRPMBUILD ?= $(PWD)/rpmbuild
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
f1fab7b8210af4ae94453265b607e2dab06789caStephen Gallagher m4 \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher contrib/sssd.spec.in \
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher BUILD.txt \
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher COPYING
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagherrpmroot:
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
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozekrpmbrprep: dist-gzip rpmroot
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozek
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozekrpms: rpmbrprep
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cd $(RPMBUILD); \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec
263e4574dacb4b7d2a18d5d42122bf3dce4c45b0Stephen Gallagher
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 $(MAKE) rpms
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
cc751fbea9f05c7ce151f4c82afb6585d4b846bbStephen Gallagherendif
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozek
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher# make srpms will use the old digest algorithm to be compatible
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher# with RHEL5
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozeksrpm: rpmbrprep
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cd $(RPMBUILD); \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher rpmbuild --define "_topdir $(RPMBUILD)" \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher --define _source_filedigest_algorithm=1 \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher -bs SPECS/sssd.spec
1df8e4158e752f1f010394d09e8a5e4f8201fd7eStephen Gallagher
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
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagher $(MAKE) srpm
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagher mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagherendif
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagher