Makefile.am revision 3f32406640d89face5e79244b4d8dab34adb6c7c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzextra_distcheck_flags =
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif HAVE_DEVSHM
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz extra_distcheck_flags += --with-test-dir=/dev/shm
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz --enable-all-experimental-features \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(extra_distcheck_flags)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzSUBDIRS = po
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif HAVE_MANPAGES
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzSUBDIRS += src/man
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz# Some old versions of automake don't define builddir
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzbuilddir ?= .
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzDOXYGEN = @DOXYGEN@
2d728410bcf9e6e53698bb035f516e18efd76d8bnd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzDISTSETUPOPTS =
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif HAVE_DEBIAN
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzDISTSETUPOPTS += --install-layout=deb
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssdlibexecdir = $(libexecdir)/sssd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssdlibdir = $(libdir)/sssd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzldblibdir = @ldblibdir@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_KRB5_LOCATOR_PLUGIN
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzkrb5plugindir = @krb5pluginpath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_PAC_RESPONDER
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzkrb5authdata_plugindir = @krb5authdatapluginpath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_CIFS_IDMAP_PLUGIN
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzcifsplugindir = @cifspluginpath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssdconfdir = $(sysconfdir)/sssd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssddatadir = $(datadir)/sssd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssdapiplugindir = $(sssddatadir)/sssd.api.d
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzdbusintrospectdir = $(datarootdir)/sssd/introspect
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlocaledir = @localedir@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantznsslibdir = @nsslibdir@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzpamlibdir = @pammoddir@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzautofslibdir = @appmodpath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzdbpath = @dbpath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzpluginpath = @pluginpath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzpidpath = @pidpath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzpipepath = @pipepath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzmcpath = @mcpath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzinitdir = @initdir@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsystemdunitdir = @systemdunitdir@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlogpath = @logpath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzpubconfpath = @pubconfpath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzpkgconfigdir = $(libdir)/pkgconfig
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzkrb5rcachedir = @krb5rcachedir@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsudolibdir = @sudolibpath@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzUNICODE_LIBS=@UNICODE_LIBS@
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzAM_CFLAGS =
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif WANT_AUX_INFO
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz AM_CFLAGS += -aux-info $@.X
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif HAVE_GCC
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -Wcast-qual -Wcast-align -Wwrite-strings \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -Werror-implicit-function-declaration \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -fno-strict-aliasing \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -std=gnu99
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzdist_pkgconfig_DATA =
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzACLOCAL_AMFLAGS = -I m4 -I .
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_SSH
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzbin_PROGRAMS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_ssh_authorizedkeys \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_ssh_knownhostsproxy
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsbin_PROGRAMS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sssd \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_useradd \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_userdel \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_groupadd \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_groupdel \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_usermod \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_groupmod \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_groupshow \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_cache \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_debuglevel \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sss_seed
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssdlibexec_PROGRAMS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sssd_nss \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sssd_pam \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sssd_be \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz krb5_child \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz ldap_child \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz proxy_child
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_SUDO
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssdlibexec_PROGRAMS += sssd_sudo
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_AUTOFS
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssdlibexec_PROGRAMS += sssd_autofs
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_SSH
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssdlibexec_PROGRAMS += sssd_ssh
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndif BUILD_PAC_RESPONDER
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sssdlibexec_PROGRAMS += sssd_pac
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndendif
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndif HAVE_CHECK
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd non_interactive_check_based_tests = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd dlopen-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd sysdb-tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz strtonum-tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz resolv-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd krb5-utils-tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz check_and_open-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd files-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd refcount-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd fail_over-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd find_uid-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd auth-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd ipa_ldap_opt-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd ad_ldap_opt-tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz simple_access-tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz crypto-tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz util-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd debug-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd ipa_hbac-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd sss_idmap-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd responder_socket_access-tests \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd safe-format-tests
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndif BUILD_SSH
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd non_interactive_check_based_tests += sysdb_ssh-tests
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndendif
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndendif
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndif HAVE_CMOCKA
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd non_interactive_cmocka_based_tests = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd nss-srv-tests \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd test-find-uid \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd test-io \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd test-authtok \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd sss_nss_idmap-tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz dyndns-tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz fqnames-tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz test_sss_idmap \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz test_utils \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz ad_access_filter_tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz ad_common_tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz test_search_bases
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzcheck_PROGRAMS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz stress-tests \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz krb5-child-test \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(non_interactive_cmocka_based_tests) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(non_interactive_check_based_tests)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzPYTHON_TESTS =
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_PYTHON_BINDINGS
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzPYTHON_TESTS += src/config/SSSDConfigTest.py \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/pyhbac-test.py \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/pysss_murmur-test.py
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzTESTS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(PYTHON_TESTS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(non_interactive_cmocka_based_tests) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(non_interactive_check_based_tests)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssdlib_LTLIBRARIES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_ldap.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_krb5.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_proxy.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_ipa.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_ad.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_simple.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzldblib_LTLIBRARIES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz memberof.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_KRB5_LOCATOR_PLUGIN
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzkrb5plugin_LTLIBRARIES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sssd_krb5_locator_plugin.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_PAC_RESPONDER
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzkrb5authdata_plugin_LTLIBRARIES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz sssd_pac_plugin.la
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndendif
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_CIFS_IDMAP_PLUGIN
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzcifsplugin_LTLIBRARIES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz cifs_idmap_sss.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantznoinst_LTLIBRARIES =
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzpkglib_LTLIBRARIES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_crypt.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif HAVE_NSS
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_base64.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/crypto/nss/nss_hmac_sha1.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/crypto/nss/nss_sha512crypt.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/crypto/nss/nss_obfuscate.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/crypto/nss/nss_util.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz SSS_CRYPT_LIBS = $(NSS_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzelse
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_base64.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/crypto/libcrypto/crypto_hmac_sha1.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/crypto/libcrypto/crypto_sha512crypt.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/crypto/libcrypto/crypto_obfuscate.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_crypt_la_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSS_CRYPT_SOURCES)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_crypt_la_CFLAGS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSS_CRYPT_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(DHASH_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_crypt_la_LIBADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSS_CRYPT_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_crypt_la_LDFLAGS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -avoid-version
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_PYTHON_BINDINGS
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzpyexec_LTLIBRARIES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz pysss.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz pyhbac.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz pysss_murmur.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz pysss_nss_idmap.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzdist_noinst_SCRIPTS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(EXTRA_SCRIPTS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/config/setup.py \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/config/SSSDConfig/ipachangeconf.py \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/config/SSSDConfig/__init__.py \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/config/SSSDConfigTest.py \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/config/SSSDConfig/sssd_upgrade_config.py \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd contrib/rhel/update_debug_levels.py \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz contrib/fedora/bashrc_sssd \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz contrib/fedora/make_srpm.sh \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/pyhbac-test.py \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/pysss_murmur-test.py
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzdist_noinst_DATA = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/config/testconfigs/sssd-valid.conf \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/config/testconfigs/noparse.api.conf \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/config/testconfigs/sssd-noversion.conf \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/config/testconfigs/sssd-badversion.conf \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/config/testconfigs/sssd-invalid.conf \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/config/testconfigs/sssd-invalid-badbool.conf
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz###############################
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd# Global compilation settings #
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd###############################
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndAM_CPPFLAGS = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -Wall \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -Iinclude \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -I.. \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -I$(srcdir)/include \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -I$(srcdir)/src/sss_client \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -I$(srcdir)/src \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -Iinclude \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -I. \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(POPT_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TALLOC_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TDB_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TEVENT_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(LDB_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(DBUS_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(PCRE_CFLAGS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(COLLECTION_CFLAGS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(INI_CONFIG_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(DHASH_CFLAGS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(LIBNL_CFLAGS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(OPENLDAP_CFLAGS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(GLIB2_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(JOURNALD_CFLAGS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -DLIBDIR=\"$(libdir)\" \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -DVARDIR=\"$(localstatedir)\" \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -DSHLIBEXT=\"$(SHLIBEXT)\" \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -DSSSD_LIBEXEC_PATH=\"$(sssdlibexecdir)\" \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -DSSSD_INTROSPECT_PATH=\"$(dbusinstropectdir)\" \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -DSSSD_CONF_DIR=\"$(sssdconfdir)\" \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -DSSS_NSS_MCACHE_DIR=\"$(mcpath)\" \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -DSSS_PAC_SOCKET_NAME=\"$(pipepath)/pac\" \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -DSSS_SUDO_SOCKET_NAME=\"$(pipepath)/sudo\" \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -DSSS_AUTOFS_SOCKET_NAME=\"$(pipepath)/autofs\" \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -DSSS_SSH_SOCKET_NAME=\"$(pipepath)/ssh\" \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -DLOCALEDIR=\"$(localedir)\"
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndEXTRA_DIST = build/config.rpath
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzSSSD_RESPONDER_OBJ = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/common/negcache.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/common/responder_cmd.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/common/responder_common.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/common/responder_dp.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/common/responder_packet.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/common/responder_get_domains.c
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndSSSD_TOOLS_OBJ = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/sss_sync_ops.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/tools_util.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/files.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/selinux.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/nscd.c
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndSSSD_LCL_TOOLS_OBJ = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/sss_client/common.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/tools_mc_util.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_TOOLS_OBJ)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndSSSD_RESOLV_OBJ = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/resolv/async_resolv.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/resolv/async_resolv_utils.c
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndif BUILD_ARES_DATA
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd SSSD_RESOLV_OBJ += \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/resolv/ares/ares_parse_srv_reply.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/resolv/ares/ares_data.c
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndendif
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzSSSD_FAILOVER_OBJ = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/fail_over.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/fail_over_srv.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_RESOLV_OBJ)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndSSSD_LIBS = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TALLOC_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TEVENT_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(POPT_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(LDB_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(DBUS_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(PCRE_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(INI_CONFIG_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(COLLECTION_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(DHASH_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSS_CRYPT_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(OPENLDAP_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TDB_LIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndPYTHON_BINDINGS_LIBS = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TALLOC_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TEVENT_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(POPT_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(LDB_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(DBUS_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(PCRE_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(DHASH_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSS_CRYPT_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(OPENLDAP_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TDB_LIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndTOOLS_LIBS = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(LTLIBINTL) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TALLOC_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TEVENT_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(POPT_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(LDB_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(DBUS_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(PCRE_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(INI_CONFIG_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(COLLECTION_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(DHASH_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(OPENLDAP_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TDB_LIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndif BUILD_SELINUX
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd TOOLS_LIBS += $(SELINUX_LIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndendif
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndif BUILD_SEMANAGE
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd PYTHON_BINDINGS_LIBS += $(SEMANAGE_LIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd TOOLS_LIBS += $(SEMANAGE_LIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndendif
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nddist_noinst_HEADERS = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/monitor/monitor.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/crypto/sss_crypto.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/dlinklist.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/util.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/io.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/util_errors.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/safe-format-string.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/strtonum.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/sss_endian.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/sss_nss.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/sss_ldap.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/sss_python.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/sss_krb5.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/sss_selinux.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/sss_utf8.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/sss_ssh.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/sss_ini.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/sss_format.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/refcount.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/find_uid.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/user_info_msg.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/murmurhash3.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/mmap_cache.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/atomic_io.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/auth_utils.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/authtok.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/util_safealign.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/util_sss_idmap.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/monitor/monitor.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/monitor/monitor_interfaces.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/common/responder.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/common/responder_packet.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/common/responder_sbus.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/pam/pamsrv.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/pam/pam_helpers.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/nss/nsssrv.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/nss/nsssrv_private.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/nss/nsssrv_netgroup.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/nss/nsssrv_services.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/nss/nsssrv_mmap_cache.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/pac/pacsrv.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/common/negcache.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/sudo/sudosrv_private.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/autofs/autofs_private.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/responder/ssh/sshsrv_private.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/sbus/sbus_client.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/sbus/sssd_dbus.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/sbus/sssd_dbus_private.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/db/sysdb.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/db/sysdb_sudo.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/db/sysdb_autofs.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/db/sysdb_selinux.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/db/sysdb_private.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/db/sysdb_services.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/db/sysdb_ssh.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/confdb/confdb.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/confdb/confdb_private.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/confdb/confdb_setup.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/data_provider.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/dp_backend.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/dp_dyndns.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/dp_ptask.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/dp_refresh.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/fail_over.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/fail_over_srv.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/child_common.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/simple/simple_access.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/krb5/krb5_auth.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/krb5/krb5_common.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/krb5/krb5_utils.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/krb5/krb5_init_shared.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/krb5/krb5_opts.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ldap/ldap_common.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ldap/sdap.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ldap/sdap_access.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ldap/sdap_async.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ldap/sdap_async_private.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ldap/sdap_sudo_cache.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ldap/sdap_sudo.h \
7585f3892ce3057554a5bef740302dd479b223b2nd src/providers/ldap/sdap_autofs.h \
7585f3892ce3057554a5bef740302dd479b223b2nd src/providers/ldap/sdap_id_op.h \
7585f3892ce3057554a5bef740302dd479b223b2nd src/providers/ldap/ldap_opts.h \
7585f3892ce3057554a5bef740302dd479b223b2nd src/providers/ldap/sdap_range.h \
7585f3892ce3057554a5bef740302dd479b223b2nd src/providers/ldap/sdap_users.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ldap/sdap_dyndns.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ldap/sdap_async_enum.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ipa/ipa_common.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/ipa/ipa_config.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/ipa/ipa_access.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/ipa/ipa_selinux.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ipa/ipa_hosts.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/ipa/ipa_selinux_maps.h \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/ipa/ipa_auth.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ipa/ipa_dyndns.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ipa/ipa_subdomains.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ipa/ipa_id.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ipa/ipa_hostid.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ipa/ipa_opts.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ipa/ipa_srv.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ad/ad_srv.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/proxy/proxy.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tools/tools_util.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tools/sss_sync_ops.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/resolv/async_resolv.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/resolv/ares/ares_parse_srv_reply.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/resolv/ares/ares_parse_txt_reply.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/resolv/ares/ares_data.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/common.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/common_check.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/cmocka/common_mock.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/cmocka/common_mock_resp.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/cmocka/common_mock_sdap.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/ssh/sss_ssh_client.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/sudo/sss_sudo.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/lib/idmap/sss_idmap_private.h
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif HAVE_NSS
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndSSSD_DOCS = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd doc \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz hbac_doc \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz idmap_doc \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz nss_idmap_doc
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_SUDO
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz SSSD_DOCS += libsss_sudo_doc
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzCLIENT_LIBS = $(LTLIBINTL)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif HAVE_PTHREAD
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzCLIENT_LIBS += -lpthread
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndif WITH_JOURNALD
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndSYSLOG_LIBS = $(JOURNALD_LIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndendif
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd#####################
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd# Utility libraries #
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz#####################
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzpkglib_LTLIBRARIES += libsss_debug.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_debug_la_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/debug.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/sss_log.c
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndlibsss_debug_la_LIBADD = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SYSLOG_LIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndlibsss_debug_la_LDFLAGS = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -avoid-version
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzpkglib_LTLIBRARIES += libsss_child.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_child_la_SOURCES = src/util/child_common.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_child_la_LDFLAGS = -avoid-version
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzpkglib_LTLIBRARIES += libsss_util.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_util_la_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/confdb/confdb.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/db/sysdb.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/db/sysdb_ops.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/db/sysdb_search.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/db/sysdb_selinux.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/db/sysdb_upgrade.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/db/sysdb_services.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/db/sysdb_autofs.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/db/sysdb_subdomains.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/db/sysdb_ranges.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/db/sysdb_idmap.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/monitor/monitor_sbus.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/dp_auth_util.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/dp_pam_data_util.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/dp_sbus.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/sbus/sbus_client.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sbus/sssd_dbus_common.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sbus/sssd_dbus_connection.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sbus/sssd_dbus_server.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/util.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/memory.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/safe-format-string.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/server.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/signal.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/usertools.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/backup_file.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/strtonum.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/check_and_open.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/refcount.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/sss_nss.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/sss_utf8.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/sss_tc_utf8.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/murmurhash3.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/atomic_io.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/authtok.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/sss_selinux.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/domain_info_utils.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/util_lock.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/util_errors.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/sss_ini.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/io.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/util_sss_idmap.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/well_known_sids.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_util_la_LIBADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(UNICODE_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_SUDO
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_util_la_SOURCES += src/db/sysdb_sudo.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_SSH
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_util_la_SOURCES += \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/db/sysdb_ssh.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/sss_ssh.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_util_la_LDFLAGS = -avoid-version
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzSSSD_INTERNAL_LTLIBS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_util.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_crypt.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_debug.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_child.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlib_LTLIBRARIES = libipa_hbac.la libsss_idmap.la libsss_nss_idmap.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzdist_pkgconfig_DATA += src/providers/ipa/ipa_hbac.pc
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibipa_hbac_la_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ipa/hbac_evaluator.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/sss_utf8.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibipa_hbac_la_LIBADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(UNICODE_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibipa_hbac_la_LDFLAGS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -version-info 0:1:0
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nddist_pkgconfig_DATA += src/lib/idmap/sss_idmap.pc
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_idmap_la_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/lib/idmap/sss_idmap.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/lib/idmap/sss_idmap_conv.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/murmurhash3.c
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndlibsss_idmap_la_LDFLAGS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -version-info 3:0:3
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzdist_pkgconfig_DATA += src/sss_client/idmap/sss_nss_idmap.pc
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_nss_idmap_la_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/idmap/sss_nss_idmap.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/common.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/strtonum.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_nss_idmap_la_LIBADD = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(CLIENT_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_nss_idmap_la_LDFLAGS = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd -version-info 0:1:0
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzinclude_HEADERS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/ipa/ipa_hbac.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/lib/idmap/sss_idmap.h \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/idmap/sss_nss_idmap.h
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz####################
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz# Program Binaries #
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz####################
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssd_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/monitor/monitor.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/monitor/monitor_netlink.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/confdb/confdb_setup.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/nscd.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssd_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(INOTIFY_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(LIBNL_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(KEYUTILS_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_INTERNAL_LTLIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssd_nss_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/nss/nsssrv.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/nss/nsssrv_cmd.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/nss/nsssrv_netgroup.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/nss/nsssrv_services.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/nss/nsssrv_mmap_cache.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_RESPONDER_OBJ)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssd_nss_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TDB_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_idmap.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssd_pam_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/pam/pam_LOCAL_domain.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/pam/pamsrv.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/pam/pamsrv_cmd.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/pam/pamsrv_dp.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/pam/pam_helpers.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_RESPONDER_OBJ)
2d728410bcf9e6e53698bb035f516e18efd76d8bndsssd_pam_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TDB_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_LIBS) \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd $(SELINUX_LIBS) \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd $(SSSD_INTERNAL_LTLIBS)
2d728410bcf9e6e53698bb035f516e18efd76d8bnd
2d728410bcf9e6e53698bb035f516e18efd76d8bndif BUILD_SUDO
2d728410bcf9e6e53698bb035f516e18efd76d8bndsssd_sudo_SOURCES = \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd src/responder/sudo/sudosrv.c \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd src/responder/sudo/sudosrv_cmd.c \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd src/responder/sudo/sudosrv_get_sudorules.c \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd src/responder/sudo/sudosrv_query.c \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd src/responder/sudo/sudosrv_dp.c \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd $(SSSD_RESPONDER_OBJ)
2d728410bcf9e6e53698bb035f516e18efd76d8bndsssd_sudo_LDADD = \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd $(SSSD_LIBS) \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd $(SSSD_INTERNAL_LTLIBS)
2d728410bcf9e6e53698bb035f516e18efd76d8bndendif
2d728410bcf9e6e53698bb035f516e18efd76d8bnd
2d728410bcf9e6e53698bb035f516e18efd76d8bndif BUILD_AUTOFS
2d728410bcf9e6e53698bb035f516e18efd76d8bndsssd_autofs_SOURCES = \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd src/responder/autofs/autofssrv.c \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd src/responder/autofs/autofssrv_cmd.c \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd src/responder/autofs/autofssrv_dp.c \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd $(SSSD_RESPONDER_OBJ)
2d728410bcf9e6e53698bb035f516e18efd76d8bndsssd_autofs_LDADD = \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd $(SSSD_LIBS) \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd $(SSSD_INTERNAL_LTLIBS)
2d728410bcf9e6e53698bb035f516e18efd76d8bndendif
2d728410bcf9e6e53698bb035f516e18efd76d8bnd
2d728410bcf9e6e53698bb035f516e18efd76d8bndif BUILD_SSH
2d728410bcf9e6e53698bb035f516e18efd76d8bndsssd_ssh_SOURCES = \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd src/responder/ssh/sshsrv.c \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd src/responder/ssh/sshsrv_dp.c \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd src/responder/ssh/sshsrv_cmd.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_RESPONDER_OBJ)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssd_ssh_LDADD = \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd $(SSSD_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssd_pac_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/pac/pacsrv.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/pac/pacsrv_cmd.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/responder/pac/pacsrv_utils.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_UTIL_OBJ) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_RESPONDER_OBJ)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsssd_pac_CFLAGS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(AM_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(NDR_KRB5PAC_CFLAGS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsssd_pac_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(NDR_KRB5PAC_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TDB_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_idmap.la \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssd_be_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/data_provider_be.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/data_provider_fo.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/data_provider_opts.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/data_provider_callbacks.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/dp_dyndns.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/dp_ptask.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/dp_refresh.c \
f81f966693feefb53f11dc3363b864779873a608nd $(SSSD_FAILOVER_OBJ)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssd_be_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(LIBADD_DL) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CARES_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(PAM_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsssd_be_LDFLAGS = \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
2d728410bcf9e6e53698bb035f516e18efd76d8bnd -export-dynamic
2d728410bcf9e6e53698bb035f516e18efd76d8bnd
2d728410bcf9e6e53698bb035f516e18efd76d8bndif BUILD_PYTHON_BINDINGS
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_obfuscate_pythondir = $(sbindir)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzdist_sss_obfuscate_python_SCRIPTS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tools/sss_obfuscate
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzdist_noinst_DATA += \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/examples/sssd-example.conf \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/examples/sssdproxytest \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/examples/sudo \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/examples/logrotate \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/sssd_be.exports \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/COPYING \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/sss_client/COPYING.LESSER \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/m4
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd######################
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd# Command-line Tools #
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd######################
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_useradd_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/sss_useradd.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_TOOLS_OBJ)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_useradd_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TOOLS_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_userdel_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/sss_userdel.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/find_uid.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_LCL_TOOLS_OBJ)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_userdel_LDADD = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TOOLS_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SYSTEMD_LOGIN_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(CLIENT_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_userdel_CFLAGS = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(AM_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SYSTEMD_LOGIN_CFLAGS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_groupadd_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/sss_groupadd.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_TOOLS_OBJ)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_groupadd_LDADD = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TOOLS_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_groupdel_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/sss_groupdel.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_LCL_TOOLS_OBJ)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_groupdel_LDADD = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TOOLS_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CLIENT_LIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_groupdel_CFLAGS = $(AM_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_usermod_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tools/sss_usermod.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_LCL_TOOLS_OBJ)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_usermod_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TOOLS_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CLIENT_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_usermod_CFLAGS = $(AM_CFLAGS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_groupmod_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/sss_groupmod.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_LCL_TOOLS_OBJ)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_groupmod_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TOOLS_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CLIENT_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_groupmod_CFLAGS = $(AM_CFLAGS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_groupshow_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/sss_groupshow.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_TOOLS_OBJ)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_groupshow_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TOOLS_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_cache_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tools/sss_cache.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_LCL_TOOLS_OBJ)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_cache_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TOOLS_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_INTERNAL_LTLIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(CLIENT_LIBS)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_cache_CFLAGS = $(AM_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_debuglevel_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tools/sss_debuglevel.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_TOOLS_OBJ)
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_debuglevel_LDADD = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(TOOLS_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_seed_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tools/sss_seed.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_TOOLS_OBJ)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_seed_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TOOLS_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_SUDO
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_sudo_cli_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/common.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/sudo/sss_sudo.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/sudo/sss_sudo_response.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/sudo_testcli/sudo_testcli.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_sudo_cli_CFLAGS = $(AM_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_sudo_cli_LDADD = $(CLIENT_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif BUILD_SSH
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_ssh_authorizedkeys_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/common.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/ssh/sss_ssh_client.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/ssh/sss_ssh_authorizedkeys.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_ssh_authorizedkeys_CFLAGS = $(AM_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_ssh_authorizedkeys_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CLIENT_LIBS) $(TALLOC_LIBS) $(POPT_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsss_ssh_knownhostsproxy_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/common.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/ssh/sss_ssh_client.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/sss_client/ssh/sss_ssh_knownhostsproxy.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_ssh_knownhostsproxy_CFLAGS = $(AM_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsss_ssh_knownhostsproxy_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CLIENT_LIBS) $(TALLOC_LIBS) $(POPT_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzendif
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz#################
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz# Feature Tests #
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz#################
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzTESTS_ENVIRONMENT = LDB_MODULES_PATH=$(abs_top_builddir)/ldb_mod_test_dir
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzldb_mod_test_dir: memberof.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz mkdir -p $(builddir)/ldb_mod_test_dir
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd cp $(builddir)/.libs/memberof.so $(builddir)/ldb_mod_test_dir
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndcheck_LTLIBRARIES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_test_common.la
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndlibsss_test_common_la_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/common_tev.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tests/common_dom.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/leak_check.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/common.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_test_common_la_LIBADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TALLOC_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(TEVENT_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzif HAVE_CHECK
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibsss_test_common_la_SOURCES += \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/common_check.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndcheck_LTLIBRARIES += \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd libdlopen_test_providers.la
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibdlopen_test_providers_la_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(sssd_be_SOURCES)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibdlopen_test_providers_la_CFLAGS = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(AM_CFLAGS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(CHECK_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -DUNIT_TESTING
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndlibdlopen_test_providers_la_LIBADD = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(PAM_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(SSSD_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(CARES_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzlibdlopen_test_providers_la_LDFLAGS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -module \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -avoid-version \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -rpath $(abs_top_builddir) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz -export-dynamic
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzdlopen_tests_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tests/dlopen-tests.c
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nddlopen_tests_CFLAGS = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(AM_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CHECK_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzdlopen_tests_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(LIBADD_DL) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(CHECK_LIBS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndEXTRA_sysdb_tests_DEPENDENCIES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(ldblib_LTLIBRARIES)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsysdb_tests_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tests/sysdb-tests.c
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndsysdb_tests_CFLAGS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(AM_CFLAGS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(CHECK_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsysdb_tests_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_LIBS) \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(CHECK_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_test_common.la
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzEXTRA_sysdb_ssh_tests_DEPENDENCIES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd $(ldblib_LTLIBRARIES)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsysdb_ssh_tests_SOURCES = \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/tests/sysdb_ssh-tests.c
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsysdb_ssh_tests_CFLAGS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(AM_CFLAGS)\
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CHECK_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzsysdb_ssh_tests_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CHECK_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_test_common.la
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndstrtonum_tests_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/strtonum-tests.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/strtonum.c
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9ndstrtonum_tests_CFLAGS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(AM_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CHECK_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzstrtonum_tests_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CHECK_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_debug.la \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd libsss_test_common.la
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzkrb5_utils_tests_SOURCES = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/tests/krb5_utils-tests.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/krb5/krb5_utils.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/krb5/krb5_become_user.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/krb5/krb5_common.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/util/sss_krb5.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/util/find_uid.c \
03bdb4fb430b0d4e502ddfc75f7e9dbd91db72e9nd src/providers/data_provider_fo.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/data_provider_opts.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz src/providers/data_provider_callbacks.c \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_FAILOVER_OBJ)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzkrb5_utils_tests_CFLAGS = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(AM_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CHECK_CFLAGS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SYSTEMD_LOGIN_CFLAGS)
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantzkrb5_utils_tests_LDADD = \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_LIBS)\
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CARES_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(KRB5_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(CHECK_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SYSTEMD_LOGIN_LIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz $(SSSD_INTERNAL_LTLIBS) \
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz libsss_test_common.la
check_and_open_tests_SOURCES = \
src/tests/check_and_open-tests.c \
src/util/check_and_open.c
check_and_open_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
check_and_open_tests_LDADD = \
libsss_debug.la \
$(CHECK_LIBS) \
libsss_test_common.la
FILES_TESTS_LIBS = \
$(CHECK_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la
if BUILD_SELINUX
FILES_TESTS_LIBS += $(SELINUX_LIBS)
endif
if BUILD_SEMANAGE
FILES_TESTS_LIBS += $(SEMANAGE_LIBS)
endif
files_tests_SOURCES = \
src/tests/files-tests.c \
src/util/check_and_open.c \
src/util/atomic_io.c \
src/tools/selinux.c \
src/tools/files.c
files_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
files_tests_LDADD = \
$(FILES_TESTS_LIBS) \
libsss_test_common.la \
$(SSSD_INTERNAL_LTLIBS)
SSSD_RESOLV_TESTS_OBJ = \
$(SSSD_RESOLV_OBJ)
if BUILD_ARES_DATA
SSSD_RESOLV_TESTS_OBJ += \
src/resolv/ares/ares_parse_txt_reply.c
endif
resolv_tests_SOURCES = \
src/tests/resolv-tests.c \
src/tests/common.c \
$(SSSD_RESOLV_TESTS_OBJ)
resolv_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS) \
-DBUILD_TXT
resolv_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(CARES_LIBS) \
libsss_debug.la \
libsss_test_common.la
refcount_tests_SOURCES = \
src/tests/refcount-tests.c \
$(CHECK_OBJ)
refcount_tests_CFLAGS = \
$(CHECK_CFLAGS)
refcount_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
fail_over_tests_SOURCES = \
src/tests/fail_over-tests.c \
$(SSSD_FAILOVER_OBJ) \
$(CHECK_OBJ)
fail_over_tests_CFLAGS = \
$(CHECK_CFLAGS)
fail_over_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(CARES_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
find_uid_tests_SOURCES = \
src/tests/find_uid-tests.c \
src/util/find_uid.c \
src/util/atomic_io.c \
src/util/strtonum.c
find_uid_tests_CFLAGS = \
$(AM_CFLAGS) \
$(TALLOC_CFLAGS) \
$(DHASH_CFLAGS) \
$(CHECK_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS)
find_uid_tests_LDADD = \
libsss_debug.la \
$(TALLOC_LIBS) \
$(DHASH_LIBS) \
$(CHECK_LIBS) \
$(SYSTEMD_LOGIN_LIBS) \
libsss_test_common.la
auth_tests_SOURCES = \
src/tests/auth-tests.c
auth_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
auth_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
ipa_ldap_opt_tests_SOURCES = \
src/providers/data_provider_opts.c \
src/tests/ipa_ldap_opt-tests.c
ipa_ldap_opt_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
ipa_ldap_opt_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
ad_ldap_opt_tests_SOURCES = \
src/tests/ad_ldap_opt-tests.c
ad_ldap_opt_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
ad_ldap_opt_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la
simple_access_tests_SOURCES = \
src/tests/simple_access-tests.c \
src/providers/simple/simple_access.c \
src/providers/simple/simple_access_check.c \
src/providers/data_provider_be.c \
src/providers/data_provider_fo.c \
src/providers/data_provider_opts.c \
src/providers/data_provider_callbacks.c \
src/providers/dp_ptask.c \
src/providers/dp_refresh.c \
$(SSSD_FAILOVER_OBJ)
simple_access_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS) \
-DUNIT_TESTING
simple_access_tests_LDADD = \
$(LIBADD_DL) \
$(SSSD_LIBS) \
$(CARES_LIBS) \
$(CHECK_LIBS) \
$(PAM_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
util_tests_SOURCES = \
src/tests/util-tests.c
util_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
util_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
safe_format_tests_SOURCES = \
src/tests/safe-format-tests.c
safe_format_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
safe_format_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
debug_tests_SOURCES = \
src/tests/debug-tests.c \
src/tests/common.c
debug_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
debug_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_debug.la
crypto_tests_SOURCES = \
$(SSS_CRYPT_SOURCES) \
src/tests/crypto-tests.c
crypto_tests_CFLAGS = \
$(SSS_CRYPT_CFLAGS) \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
crypto_tests_LDADD = \
libsss_debug.la \
$(SSS_CRYPT_LIBS) \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la
ipa_hbac_tests_SOURCES = \
src/tests/ipa_hbac-tests.c
ipa_hbac_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
ipa_hbac_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la \
libipa_hbac.la
sss_idmap_tests_SOURCES = \
src/tests/sss_idmap-tests.c
sss_idmap_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
sss_idmap_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la \
libsss_idmap.la
responder_socket_access_tests_SOURCES = \
src/tests/responder_socket_access-tests.c \
src/responder/common/responder_common.c \
src/responder/common/responder_packet.c \
src/responder/common/responder_cmd.c
responder_socket_access_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
responder_socket_access_tests_LDADD = \
$(CHECK_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
endif
stress_tests_SOURCES = \
src/tests/stress-tests.c
stress_tests_LDADD = \
$(SSSD_LIBS) \
libsss_test_common.la
krb5_child_test_SOURCES = \
src/tests/krb5_child-test.c \
src/providers/krb5/krb5_utils.c \
src/providers/krb5/krb5_child_handler.c \
src/providers/krb5/krb5_become_user.c \
src/providers/krb5/krb5_common.c \
src/util/sss_krb5.c \
src/util/find_uid.c \
src/providers/data_provider_fo.c \
src/providers/data_provider_opts.c \
src/providers/data_provider_callbacks.c \
$(SSSD_FAILOVER_OBJ)
krb5_child_test_CFLAGS = \
$(AM_CFLAGS) \
-DKRB5_CHILD_DIR=\"$(builddir)\" \
$(CHECK_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS)
krb5_child_test_LDADD = \
$(SSSD_LIBS) \
$(CARES_LIBS) \
$(KRB5_LIBS) \
$(CHECK_LIBS) \
$(SYSTEMD_LOGIN_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
if HAVE_CMOCKA
TEST_MOCK_RESP_OBJ = \
src/tests/cmocka/common_mock_resp.c \
src/responder/common/responder_packet.c \
src/responder/common/responder_cmd.c \
src/responder/common/negcache.c \
src/responder/common/responder_common.c
EXTRA_nss_srv_tests_DEPENDENCIES = \
$(ldblib_LTLIBRARIES)
nss_srv_tests_SOURCES = \
$(TEST_MOCK_RESP_OBJ) \
src/tests/cmocka/test_nss_srv.c \
src/responder/nss/nsssrv_cmd.c \
src/responder/nss/nsssrv_netgroup.c \
src/responder/nss/nsssrv_services.c \
src/responder/nss/nsssrv_mmap_cache.c
nss_srv_tests_CFLAGS = \
$(AM_CFLAGS)
nss_srv_tests_LDFLAGS = \
-Wl,-wrap,sss_ncache_check_user \
-Wl,-wrap,sss_packet_get_body \
-Wl,-wrap,sss_packet_get_cmd \
-Wl,-wrap,sss_cmd_send_empty \
-Wl,-wrap,sss_cmd_done
nss_srv_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
libsss_idmap.la
test_find_uid_SOURCES = \
src/tests/cmocka/test_find_uid.c \
src/util/find_uid.c \
src/util/atomic_io.c \
src/util/strtonum.c
test_find_uid_CFLAGS = \
$(AM_CFLAGS) \
$(TALLOC_CFLAGS) \
$(DHASH_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS)
test_find_uid_LDADD = \
$(TALLOC_LIBS) \
$(DHASH_LIBS) \
$(CMOCKA_LIBS) \
$(SYSTEMD_LOGIN_LIBS) \
libsss_debug.la
test_io_SOURCES = \
src/tests/cmocka/test_io.c \
src/util/io.c \
src/tests/common.c
test_io_CFLAGS = \
$(AM_CFLAGS)
test_io_LDADD = \
$(CMOCKA_LIBS)
test_authtok_SOURCES = \
src/tests/cmocka/test_authtok.c \
src/util/authtok.c \
src/util/util.c
test_authtok_CFLAGS = \
$(AM_CFLAGS) \
$(TALLOC_CFLAGS) \
$(DHASH_CFLAGS)
test_authtok_LDADD = \
$(TALLOC_LIBS) \
$(CMOCKA_LIBS) \
$(DHASH_LIBS) \
libsss_debug.la
sss_nss_idmap_tests_SOURCES = \
src/tests/cmocka/sss_nss_idmap-tests.c
sss_nss_idmap_tests_CFLAGS = \
$(AM_CFLAGS)
sss_nss_idmap_tests_LDADD = \
$(CMOCKA_LIBS) \
libsss_nss_idmap.la
EXTRA_dyndns_tests_DEPENDENCIES = \
$(ldblib_LTLIBRARIES)
dyndns_tests_SOURCES = \
$(SSSD_RESOLV_OBJ) \
src/tests/cmocka/test_dyndns.c \
src/providers/data_provider_opts.c
dyndns_tests_CFLAGS = \
$(AM_CFLAGS) \
-DDYNDNS_TIMEOUT=2
dyndns_tests_LDFLAGS = \
-Wl,-wrap,execv \
-Wl,-wrap,getifaddrs \
-Wl,-wrap,freeifaddrs
dyndns_tests_LDADD = \
$(CARES_LIBS) \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
fqnames_tests_SOURCES = \
src/tests/cmocka/test_fqnames.c
fqnames_tests_CFLAGS = \
$(AM_CFLAGS)
fqnames_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
test_sss_idmap_SOURCES = \
src/tests/cmocka/test_sss_idmap.c
test_sss_idmap_CFLAGS = \
$(AM_CFLAGS)
test_sss_idmap_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
libsss_idmap.la \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
test_utils_SOURCES = \
src/tests/cmocka/test_utils.c
test_utils_CFLAGS = \
$(AM_CFLAGS)
test_utils_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
test_search_bases_SOURCES = \
$(sssd_be_SOURCES) \
src/util/sss_ldap.c \
src/util/sss_krb5.c \
src/util/find_uid.c \
src/util/user_info_msg.c \
src/tests/cmocka/test_search_bases.c
test_search_bases_CFLAGS = \
$(AM_CFLAGS) \
-DUNIT_TESTING
test_search_bases_LDADD = \
$(PAM_LIBS) \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(SSSD_LIBS) \
$(CARES_LIBS) \
$(KRB5_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
$(SYSTEMD_LOGIN_LIBS) \
libsss_ldap_common.la \
libsss_idmap.la \
libsss_krb5_common.la \
libsss_test_common.la
ad_access_filter_tests_SOURCES = \
$(sssd_be_SOURCES) \
src/util/sss_ldap.c \
src/util/sss_krb5.c \
src/util/find_uid.c \
src/util/user_info_msg.c \
src/providers/ad/ad_common.c \
src/tests/cmocka/test_ad_access_filter.c
ad_access_filter_tests_CFLAGS = \
$(AM_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS) \
-DUNIT_TESTING
ad_access_filter_tests_LDADD = \
$(PAM_LIBS) \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(CARES_LIBS) \
$(KRB5_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
$(SYSTEMD_LOGIN_LIBS) \
libsss_ldap_common.la \
libsss_idmap.la \
libsss_krb5_common.la \
libsss_test_common.la
ad_common_tests_SOURCES = \
$(sssd_be_SOURCES) \
src/util/sss_ldap.c \
src/util/sss_krb5.c \
src/util/find_uid.c \
src/util/user_info_msg.c \
src/tests/cmocka/test_ad_common.c
ad_common_tests_CFLAGS = \
$(AM_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS) \
-DUNIT_TESTING
ad_common_tests_LDFLAGS = \
-Wl,-wrap,sdap_set_sasl_options
ad_common_tests_LDADD = \
$(PAM_LIBS) \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(CARES_LIBS) \
$(KRB5_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
$(SYSTEMD_LOGIN_LIBS) \
libsss_ldap_common.la \
libsss_idmap.la \
libsss_krb5_common.la \
libsss_test_common.la
endif
noinst_PROGRAMS = pam_test_client
if BUILD_SUDO
noinst_PROGRAMS += sss_sudo_cli
endif
if BUILD_AUTOFS
noinst_PROGRAMS += autofs_test_client
endif
pam_test_client_SOURCES = src/sss_client/pam_test_client.c
pam_test_client_LDADD = -lpam -lpam_misc
if BUILD_AUTOFS
autofs_test_client_SOURCES = \
src/sss_client/autofs/autofs_test_client.c \
src/sss_client/autofs/sss_autofs.c \
src/sss_client/common.c
autofs_test_client_CFLAGS = $(AM_CFLAGS)
autofs_test_client_LDADD = -lpopt $(CLIENT_LIBS)
endif
####################
# Client Libraries #
####################
nsslib_LTLIBRARIES = libnss_sss.la
libnss_sss_la_SOURCES = \
src/sss_client/common.c \
src/sss_client/nss_passwd.c \
src/sss_client/nss_group.c \
src/sss_client/nss_netgroup.c \
src/sss_client/nss_services.c \
src/sss_client/sss_cli.h \
src/sss_client/nss_compat.h \
src/sss_client/nss_mc_common.c \
src/util/io.c \
src/util/murmurhash3.c \
src/sss_client/nss_mc_passwd.c \
src/sss_client/nss_mc_group.c \
src/sss_client/nss_mc.h
libnss_sss_la_LIBADD = \
$(CLIENT_LIBS)
libnss_sss_la_LDFLAGS = \
-module \
-version-info 2:0:0 \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
pamlib_LTLIBRARIES = pam_sss.la
pam_sss_la_SOURCES = \
src/sss_client/pam_sss.c \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/util/atomic_io.c \
src/sss_client/sss_pam_macros.h
pam_sss_la_LIBADD = \
$(CLIENT_LIBS) \
-lpam
pam_sss_la_LDFLAGS = \
-module \
-avoid-version \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
if BUILD_SUDO
libsss_sudo_la_SOURCES = \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/sss_client/sudo/sss_sudo_response.c \
src/sss_client/sudo/sss_sudo.c \
src/sss_client/sudo/sss_sudo.h \
src/sss_client/sudo/sss_sudo_private.h
libsss_sudo_la_LIBADD = \
$(CLIENT_LIBS)
libsss_sudo_la_LDFLAGS = \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_sudo.exports \
-module \
-avoid-version
sudolib_LTLIBRARIES = libsss_sudo.la
endif
if BUILD_AUTOFS
autofslib_LTLIBRARIES = libsss_autofs.la
libsss_autofs_la_SOURCES = \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/sss_client/autofs/sss_autofs.c \
src/sss_client/autofs/sss_autofs_private.h
libsss_autofs_la_LIBADD = \
$(CLIENT_LIBS)
libsss_autofs_la_LDFLAGS = \
-module \
-avoid-version \
-Wl,--version-script,$(srcdir)/src/sss_client/autofs/sss_autofs.exports
endif
dist_noinst_DATA += \
src/sss_client/sss_nss.exports \
src/sss_client/sss_pam.exports
if BUILD_SUDO
dist_noinst_DATA += src/sss_client/sss_sudo.exports
endif
if BUILD_AUTOFS
dist_noinst_DATA += src/sss_client/autofs/sss_autofs.exports
endif
####################
# Plugin Libraries #
####################
pkglib_LTLIBRARIES += libsss_ldap_common.la
libsss_ldap_common_la_SOURCES = \
src/providers/ldap/ldap_id.c \
src/providers/ldap/ldap_id_enum.c \
src/providers/ldap/sdap_async_enum.c \
src/providers/ldap/ldap_id_cleanup.c \
src/providers/ldap/ldap_id_netgroup.c \
src/providers/ldap/ldap_id_services.c \
src/providers/ldap/ldap_auth.c \
src/providers/ldap/ldap_common.c \
src/providers/ldap/ldap_options.c \
src/providers/ldap/sdap_access.c \
src/providers/ldap/sdap_async.c \
src/providers/ldap/sdap_async_users.c \
src/providers/ldap/sdap_async_groups.c \
src/providers/ldap/sdap_async_nested_groups.c \
src/providers/ldap/sdap_async_groups_ad.c \
src/providers/ldap/sdap_async_initgroups.c \
src/providers/ldap/sdap_async_initgroups_ad.c \
src/providers/ldap/sdap_async_connection.c \
src/providers/ldap/sdap_async_netgroups.c \
src/providers/ldap/sdap_async_services.c \
src/providers/ldap/sdap_child_helpers.c \
src/providers/ldap/sdap_fd_events.c \
src/providers/ldap/sdap_id_op.c \
src/providers/ldap/sdap_idmap.c \
src/providers/ldap/sdap_idmap.h \
src/providers/ldap/sdap_range.c \
src/providers/ldap/sdap_reinit.c \
src/providers/ldap/sdap_dyndns.c \
src/providers/ldap/sdap_refresh.c \
src/providers/ldap/sdap_utils.c \
src/providers/ldap/sdap_domain.c \
src/providers/ldap/sdap.c
libsss_ldap_common_la_LDFLAGS = \
-avoid-version
if BUILD_SUDO
libsss_ldap_common_la_SOURCES += \
src/providers/ldap/sdap_sudo_cache.c \
src/providers/ldap/sdap_async_sudo.c \
src/providers/ldap/sdap_async_sudo_timer.c \
src/providers/ldap/sdap_async_sudo_hostinfo.c \
src/providers/ldap/sdap_sudo.c
endif
if BUILD_AUTOFS
libsss_ldap_common_la_SOURCES += \
src/providers/ldap/sdap_autofs.c \
src/providers/ldap/sdap_async_autofs.c
endif
pkglib_LTLIBRARIES += libsss_krb5_common.la
libsss_krb5_common_la_SOURCES = \
src/providers/krb5/krb5_utils.c \
src/providers/krb5/krb5_become_user.c \
src/providers/krb5/krb5_delayed_online_authentication.c \
src/providers/krb5/krb5_renew_tgt.c \
src/providers/krb5/krb5_wait_queue.c \
src/providers/krb5/krb5_common.c \
src/providers/krb5/krb5_auth.c \
src/providers/krb5/krb5_access.c \
src/providers/krb5/krb5_child_handler.c \
src/providers/krb5/krb5_init_shared.c
libsss_krb5_common_la_LDFLAGS = \
-avoid-version
libsss_ldap_la_SOURCES = \
src/util/find_uid.c \
src/providers/ldap/ldap_init.c \
src/providers/ldap/ldap_access.c \
src/providers/krb5/krb5_common.c \
src/providers/krb5/krb5_utils.c \
src/providers/krb5/krb5_become_user.c \
src/util/user_info_msg.c \
src/util/sss_ldap.c \
src/util/sss_krb5.c
libsss_ldap_la_CFLAGS = \
$(AM_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS) \
$(OPENLDAP_CFLAGS) \
$(KRB5_CFLAGS)
libsss_ldap_la_LIBADD = \
$(OPENLDAP_LIBS) \
$(DHASH_LIBS) \
$(KRB5_LIBS) \
$(SYSTEMD_LOGIN_LIBS) \
libsss_ldap_common.la \
libsss_idmap.la
libsss_ldap_la_LDFLAGS = \
-avoid-version \
-module
libsss_proxy_la_SOURCES = \
src/providers/proxy/proxy_init.c \
src/providers/proxy/proxy_id.c \
src/providers/proxy/proxy_netgroup.c \
src/providers/proxy/proxy_services.c \
src/providers/proxy/proxy_auth.c
libsss_proxy_la_CFLAGS = \
$(AM_CFLAGS)
libsss_proxy_la_LIBADD = \
$(PAM_LIBS)
libsss_proxy_la_LDFLAGS = \
-avoid-version \
-module
libsss_simple_la_SOURCES = \
src/providers/simple/simple_access_check.c \
src/providers/simple/simple_access.c
libsss_simple_la_CFLAGS = \
$(AM_CFLAGS)
libsss_simple_la_LIBADD = \
$(PAM_LIBS)
libsss_simple_la_LDFLAGS = \
-avoid-version \
-module
libsss_krb5_la_SOURCES = \
src/providers/krb5/krb5_init.c \
src/util/find_uid.c \
src/util/sss_krb5.c
libsss_krb5_la_CFLAGS = \
$(AM_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS) \
$(DHASH_CFLAGS)
libsss_krb5_la_LIBADD = \
$(SYSTEMD_LOGIN_LIBS) \
$(DHASH_LIBS) \
$(KEYUTILS_LIBS) \
$(KRB5_LIBS) \
libsss_krb5_common.la
libsss_krb5_la_LDFLAGS = \
-avoid-version \
-module
libsss_ipa_la_SOURCES = \
src/providers/ipa/ipa_init.c \
src/providers/ipa/ipa_common.c \
src/providers/ipa/ipa_config.c \
src/providers/ipa/ipa_id.c \
src/providers/ipa/ipa_netgroups.c \
src/providers/ipa/ipa_auth.c \
src/providers/ipa/ipa_access.c \
src/providers/ipa/ipa_dyndns.c \
src/providers/ipa/ipa_hosts.c \
src/providers/ipa/ipa_subdomains.c \
src/providers/ipa/ipa_subdomains_id.c \
src/providers/ipa/ipa_subdomains_ext_groups.c \
src/providers/ipa/ipa_s2n_exop.c \
src/providers/ipa/ipa_hbac_hosts.c \
src/providers/ipa/ipa_hbac_private.h \
src/providers/ipa/ipa_hbac_rules.c \
src/providers/ipa/ipa_hbac_rules.h \
src/providers/ipa/ipa_hbac_services.c \
src/providers/ipa/ipa_hbac_users.c \
src/providers/ipa/ipa_hbac_common.c \
src/providers/ipa/ipa_selinux.c \
src/providers/ipa/ipa_selinux_maps.c \
src/providers/ipa/ipa_srv.c \
src/providers/ipa/ipa_idmap.c \
src/providers/ad/ad_common.c \
src/providers/ad/ad_common.h \
src/providers/ad/ad_dyndns.c \
src/providers/ad/ad_id.c \
src/providers/ad/ad_srv.c \
src/providers/ad/ad_domain_info.c \
src/util/user_info_msg.c \
src/util/find_uid.c \
src/util/sss_ldap.c \
src/util/sss_krb5.c
libsss_ipa_la_CFLAGS = \
$(AM_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS) \
$(OPENLDAP_CFLAGS) \
$(DHASH_CFLAGS) \
$(NDR_NBT_CFLAGS) \
$(KRB5_CFLAGS)
libsss_ipa_la_LIBADD = \
$(SYSTEMD_LOGIN_LIBS) \
$(OPENLDAP_LIBS) \
$(DHASH_LIBS) \
$(NDR_NBT_LIBS) \
$(KEYUTILS_LIBS) \
$(KRB5_LIBS) \
$(SELINUX_LIBS) \
libsss_ldap_common.la \
libsss_krb5_common.la \
libipa_hbac.la \
libsss_idmap.la
libsss_ipa_la_LDFLAGS = \
-avoid-version \
-module
if BUILD_AUTOFS
libsss_ipa_la_SOURCES += \
src/providers/ipa/ipa_autofs.c
endif
if BUILD_SUDO
libsss_ipa_la_SOURCES += \
src/providers/ipa/ipa_sudo.c
endif
if BUILD_SSH
libsss_ipa_la_SOURCES += src/providers/ipa/ipa_hostid.c
endif
libsss_ad_la_SOURCES = \
src/providers/ad/ad_common.c \
src/providers/ad/ad_common.h \
src/providers/ad/ad_init.c \
src/providers/ad/ad_dyndns.c \
src/providers/ad/ad_id.c \
src/providers/ad/ad_id.h \
src/providers/ad/ad_access.c \
src/providers/ad/ad_access.h \
src/providers/ad/ad_opts.h \
src/providers/ad/ad_srv.c \
src/providers/ad/ad_subdomains.c \
src/providers/ad/ad_subdomains.h \
src/providers/ad/ad_domain_info.c \
src/providers/ad/ad_domain_info.h \
src/util/find_uid.c \
src/util/user_info_msg.c \
src/util/sss_krb5.c \
src/util/sss_ldap.c
libsss_ad_la_CFLAGS = \
$(AM_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS) \
$(OPENLDAP_CFLAGS) \
$(SASL_CFLAGS) \
$(DHASH_CFLAGS) \
$(KRB5_CFLAGS) \
$(NDR_NBT_CFLAGS)
libsss_ad_la_LIBADD = \
$(SYSTEMD_LOGIN_LIBS) \
$(OPENLDAP_LIBS) \
$(SASL_LIBS) \
$(DHASH_LIBS) \
$(KEYUTILS_LIBS) \
$(KRB5_LIBS) \
$(NDR_NBT_LIBS) \
libsss_ldap_common.la \
libsss_krb5_common.la \
libsss_idmap.la
libsss_ad_la_LDFLAGS = \
-avoid-version \
-module
krb5_child_SOURCES = \
src/providers/krb5/krb5_become_user.c \
src/providers/krb5/krb5_child.c \
src/providers/dp_pam_data_util.c \
src/util/user_info_msg.c \
src/util/sss_krb5.c \
src/util/atomic_io.c \
src/util/authtok.c \
src/util/util.c \
src/util/signal.c \
src/sss_client/common.c
krb5_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
$(KRB5_CFLAGS)
krb5_child_LDADD = \
libsss_debug.la \
$(TALLOC_LIBS) \
$(POPT_LIBS) \
$(DHASH_LIBS) \
$(KRB5_LIBS) \
$(CLIENT_LIBS)
ldap_child_SOURCES = \
src/providers/ldap/ldap_child.c \
src/util/sss_krb5.c \
src/util/atomic_io.c \
src/util/authtok.c \
src/util/util.c \
src/util/signal.c
ldap_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
$(KRB5_CFLAGS)
ldap_child_LDADD = \
libsss_debug.la \
$(TALLOC_LIBS) \
$(POPT_LIBS) \
$(DHASH_LIBS) \
$(KRB5_LIBS)
proxy_child_SOURCES = \
src/providers/proxy/proxy_child.c
proxy_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS)
proxy_child_LDADD = \
$(PAM_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS)
memberof_la_SOURCES = \
src/ldb_modules/memberof.c \
src/util/util.c
memberof_la_CFLAGS = \
$(AM_CFLAGS)
memberof_la_LIBADD = \
libsss_debug.la \
$(LDB_LIBS) \
$(DHASH_LIBS)
memberof_la_LDFLAGS = \
-avoid-version \
-module
if BUILD_KRB5_LOCATOR_PLUGIN
sssd_krb5_locator_plugin_la_SOURCES = \
src/krb5_plugin/sssd_krb5_locator_plugin.c \
src/util/atomic_io.c
sssd_krb5_locator_plugin_la_CFLAGS = \
$(AM_CFLAGS) \
$(KRB5_CFLAGS)
sssd_krb5_locator_plugin_la_LDFLAGS = \
-avoid-version \
-module
endif
sssd_pac_plugin_la_SOURCES = \
src/sss_client/sssd_pac.c \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/sss_client/krb5_authdata_int.h
sssd_pac_plugin_la_CFLAGS = \
$(AM_CFLAGS) \
$(KRB5_CFLAGS)
sssd_pac_plugin_la_LIBADD = \
$(CLIENT_LIBS) \
-lkrb5
sssd_pac_plugin_la_LDFLAGS = \
-avoid-version \
-module
if BUILD_PYTHON_BINDINGS
pysss_la_SOURCES = \
$(SSSD_TOOLS_OBJ) \
src/python/pysss.c
pysss_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON_CFLAGS)
pysss_la_LIBADD = \
$(SSSD_INTERNAL_LTLIBS) \
$(PYTHON_BINDINGS_LIBS) \
$(PYTHON_LIBS)
pysss_la_LDFLAGS = \
-avoid-version \
-module
pyhbac_la_SOURCES = \
src/python/pyhbac.c \
src/util/sss_python.c
pyhbac_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON_CFLAGS)
pyhbac_la_LIBADD = \
$(PYTHON_LIBS) \
libipa_hbac.la
pyhbac_la_LDFLAGS = \
-avoid-version \
-module
pysss_murmur_la_SOURCES = \
src/python/pysss_murmur.c \
src/util/murmurhash3.c
pysss_murmur_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON_CFLAGS)
pysss_murmur_la_LIBADD = \
$(PYTHON_LIBS)
pysss_murmur_la_LDFLAGS = \
-avoid-version \
-module
pysss_nss_idmap_la_SOURCES = \
src/python/pysss_nss_idmap.c
pysss_nss_idmap_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON_CFLAGS)
pysss_nss_idmap_la_LIBADD = \
$(PYTHON_LIBS) \
libsss_nss_idmap.la
pysss_nss_idmap_la_LDFLAGS = \
-avoid-version \
-module
endif
if BUILD_CIFS_IDMAP_PLUGIN
cifs_idmap_sss_la_SOURCES = \
src/lib/cifs_idmap_sss/cifs_idmap_sss.c
cifs_idmap_sss_la_LIBADD = \
libsss_idmap.la \
libsss_nss_idmap.la
cifs_idmap_sss_la_CFLAGS = \
$(AM_CFLAGS)
cifs_idmap_sss_la_LDFLAGS = \
-avoid-version \
-module
endif
################
# TRANSLATIONS #
################
update-po:
if HAVE_MANPAGES
$(MAKE) -C src/man update-po
endif
$(MAKE) -C po update-po
#######################
# Installation Extras #
#######################
dist_init_SCRIPTS =
dist_systemdunit_DATA =
if HAVE_SYSTEMD_UNIT
dist_systemdunit_DATA += \
src/sysv/systemd/sssd.service
else
if HAVE_SUSE
dist_init_SCRIPTS += \
src/sysv/SUSE/sssd
else
if HAVE_GENTOO
dist_init_SCRIPTS += \
src/sysv/gentoo/sssd
else
dist_init_SCRIPTS += \
src/sysv/sssd
endif
endif
endif
dist_sssddata_DATA = \
src/config/etc/sssd.api.conf
dist_sssdapiplugin_DATA = \
src/config/etc/sssd.api.d/sssd-ipa.conf \
src/config/etc/sssd.api.d/sssd-ad.conf \
src/config/etc/sssd.api.d/sssd-krb5.conf \
src/config/etc/sssd.api.d/sssd-ldap.conf \
src/config/etc/sssd.api.d/sssd-local.conf \
src/config/etc/sssd.api.d/sssd-proxy.conf \
src/config/etc/sssd.api.d/sssd-simple.conf
installsssddirs::
mkdir -p \
$(DESTDIR)$(includedir) \
$(DESTDIR)$(libdir) \
$(DESTDIR)$(bindir) \
$(DESTDIR)$(sbindir) \
$(DESTDIR)$(mandir) \
$(DESTDIR)$(pluginpath) \
$(DESTDIR)$(libdir)/ldb \
$(DESTDIR)$(dbusintrospectdir) \
$(DESTDIR)$(pipepath)/private \
$(DESTDIR)$(sssdlibdir) \
$(DESTDIR)$(pkglibdir) \
$(DESTDIR)$(sssdconfdir) \
$(DESTDIR)$(sssddatadir) \
$(DESTDIR)$(dbpath) \
$(DESTDIR)$(mcpath) \
$(DESTDIR)$(pidpath) \
$(DESTDIR)$(logpath) \
$(DESTDIR)$(pubconfpath) \
$(DESTDIR)$(pubconfpath)/krb5.include.d \
$(DESTDIR)$(sudolibdir) \
$(DESTDIR)$(autofslibdir)
if HAVE_DOXYGEN
docs:
$(DOXYGEN) src/doxy.config
$(DOXYGEN) src/providers/ipa/ipa_hbac.doxy
$(DOXYGEN) src/lib/idmap/sss_idmap.doxy
$(DOXYGEN) src/sss_client/idmap/sss_nss_idmap.doxy
else !HAVE_DOXYGEN
docs:
@echo "Doxygen not installed, cannot generate documentation"
@exit 1
endif !HAVE_DOXYGEN
if BUILD_PYTHON_BINDINGS
$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py:
-cp $(srcdir)/src/config/SSSDConfig/ipachangeconf.py $(builddir)/src/config/SSSDConfig/
$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py:
-cp $(srcdir)/src/config/SSSDConfig/sssd_upgrade_config.py $(builddir)/src/config/SSSDConfig/
SSSDCONFIG_MODULES = \
$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py \
$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py
else
SSSSCONFIG_MODULES =
endif
all-local: ldb_mod_test_dir $(SSSDCONFIG_MODULES)
if BUILD_PYTHON_BINDINGS
cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config
endif
install-exec-hook: installsssddirs
if BUILD_PYTHON_BINDINGS
if [ "$(DESTDIR)" = "" ]; then \
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; \
else \
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; \
fi
endif
for doc in $(SSSD_DOCS); do \
mkdir -p $$doc $(DESTDIR)/$(docdir); \
cp -a $$doc $(DESTDIR)/$(docdir)/; \
done;
if HAVE_SYSTEMD_UNIT
mkdir -p $(DESTDIR)$(systemdunitdir)
else
mkdir -p $(DESTDIR)$(initdir)
endif
install-data-hook:
rm $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 \
$(DESTDIR)/$(nsslibdir)/libnss_sss.so
mv $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2.0.0 $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2
if [ ! $(krb5rcachedir) = "__LIBKRB5_DEFAULTS__" ]; then \
mkdir -p $(DESTDIR)/$(krb5rcachedir) ; \
fi
uninstall-hook:
if [ -f $(abs_builddir)/src/config/.files ]; then \
cat $(abs_builddir)/src/config/.files | xargs -iq rm -f $(DESTDIR)/q; \
rm $(abs_builddir)/src/config/.files ; \
fi
for doc in $(SSSD_DOCS); do \
rm -Rf $(DESTDIR)/$(docdir)/$$doc; \
done;
clean-local:
if BUILD_PYTHON_BINDINGS
if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
rm -f $(builddir)/src/config/SSSDConfig/ipachangeconf.py ; \
fi
if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
rm -f $(builddir)/src/config/SSSDConfig/sssd_upgrade_config.py ; \
fi
cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config clean --all
endif
for doc in $(SSSD_DOCS); do \
rm -Rf $$doc; \
done;
rm -Rf ldb_mod_test_dir
CLEANFILES = *.X */*.X */*/*.X
tests: all $(check_PROGRAMS)
# RPM-related tasks
RPMBUILD ?= $(PWD)/rpmbuild
dist_noinst_DATA += \
m4 \
contrib/sssd.spec.in \
BUILD.txt \
COPYING
rpmroot:
mkdir -p $(RPMBUILD)/BUILD
mkdir -p $(RPMBUILD)/RPMS
mkdir -p $(RPMBUILD)/SOURCES
mkdir -p $(RPMBUILD)/SPECS
mkdir -p $(RPMBUILD)/SRPMS
rpmbrprep: dist-gzip rpmroot
if GIT_CHECKOUT
# When we're building RPMs from a git checkout,
# we don't want to be bothered with translation
# updates
git checkout $(srcdir)/po $(srcdir)/src/man/po
endif
cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
rpms: rpmbrprep
cd $(RPMBUILD); \
rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec
if GIT_CHECKOUT
prerelease-rpms:
cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
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
$(MAKE) rpms
mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
endif
# make srpms will use the old digest algorithm to be compatible
# with RHEL5
srpm: rpmbrprep
cd $(RPMBUILD); \
rpmbuild --define "_topdir $(RPMBUILD)" \
-bs SPECS/sssd.spec
if GIT_CHECKOUT
prerelease-srpm:
cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
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
$(MAKE) srpm
mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
endif