Makefile.am revision 4b0309363dbfb9a1409e082b3a84f17b53a751c1
fd5a4eacd56700ffb08a73121aeacdc806cb0132Sumit BoseDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb
fd5a4eacd56700ffb08a73121aeacdc806cb0132Sumit Bose
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSUBDIRS = po
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Some old versions of automake don't define builddir
df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9Stephen Gallagherbuilddir ?= .
df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDOXYGEN = @DOXYGEN@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDISTSETUPOPTS =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_DEBIAN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDISTSETUPOPTS += --install-layout=deb
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibexecdir = $(libexecdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibdir = $(libdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldblibdir = @ldblibdir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5plugindir = @krb5pluginpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdconfdir = $(sysconfdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdapiplugindir = $(sssdconfdir)/sssd.api.d
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdbusintrospectdir = $(datarootdir)/sssd/introspect
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlocaledir = @localedir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernsslibdir = @nsslibdir@
d921c1eba437662437847279f251a0a5d8f70127Maximpamlibdir = @pammoddir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdbpath = @dbpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpluginpath = @pluginpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpidpath = @pidpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpipepath = @pipepath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinitdir = @initdir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlogpath = @logpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpubconfpath = @pubconfpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherAM_CFLAGS =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif WANT_AUX_INFO
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher AM_CFLAGS += -aux-info $@.X
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_GCC
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wcast-qual -Wcast-align -Wwrite-strings \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Werror-implicit-function-declaration
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherACLOCAL_AMFLAGS = -I m4 -I .
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersbin_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_useradd \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_userdel \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupadd \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupdel \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_usermod \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupmod \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupshow
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibexec_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_nss \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_pam \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_be \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher krb5_child \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ldap_child \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher proxy_child
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_CHECK
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher non_interactive_check_based_tests = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sysdb-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher strtonum-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher resolv-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher krb5-utils-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher check_and_open-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ipa_timerules-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher files-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher refcount-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher fail_over-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher find_uid-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ipa_ldap_opt-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher simple_access-tests \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek crypto-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher util-tests
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher stress-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(non_interactive_check_based_tests)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
bf5a808fa92007c325c3996e79694badfab201d4Stephen GallagherPYTHON_TESTS =
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
bf5a808fa92007c325c3996e79694badfab201d4Stephen GallagherPYTHON_TESTS += $(srcdir)/src/config/SSSDConfigTest.py
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherTESTS = \
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher $(PYTHON_TESTS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(non_interactive_check_based_tests)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlib_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_ldap.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_krb5.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_proxy.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_ipa.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_simple.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldblib_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher memberof.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5plugin_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_krb5_locator_plugin.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_crypt.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_NSS
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_sha512crypt.c \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek src/util/crypto/nss/nss_obfuscate.c \
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek src/util/crypto/nss/nss_util.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_LIBS = $(NSS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherelse
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_sha512crypt.c \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek src/util/crypto/libcrypto/crypto_obfuscate.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_crypt_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_SOURCES)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_crypt_la_CFLAGS = \
3b1df539835367cb81cd5ff0f9959947d5642e55Stephen Gallagher $(SSS_CRYPT_CFLAGS) \
3b1df539835367cb81cd5ff0f9959947d5642e55Stephen Gallagher $(DHASH_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_crypt_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpyexec_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher pysss.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_SCRIPTS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(EXTRA_SCRIPTS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/setup.py \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/ipachangeconf.py \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/SSSDConfig.py \
15b266d9f14dad26da8678a79019749d0f69532eStephen Gallagher src/config/SSSDConfigTest.py \
15b266d9f14dad26da8678a79019749d0f69532eStephen Gallagher src/config/sssd_upgrade_config.py
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagherdist_noinst_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-valid.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/noparse.api.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-noversion.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-badversion.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-invalid.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-invalid-badbool.conf
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher###############################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Global compilation settings #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher###############################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherAM_CPPFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wall \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Iinclude \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I.. \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/include \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/src/sss_client \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/src \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Iinclude \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I. \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TDB_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LIBNL_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DLIBDIR=\"$(libdir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DVARDIR=\"$(localstatedir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSHLIBEXT=\"$(SHLIBEXT)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSSD_LIBEXEC_PATH=\"$(sssdlibexecdir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSSD_INTROSPECT_PATH=\"$(dbusinstropectdir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSSD_CONF_DIR=\"$(sssdconfdir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DLOCALEDIR=\"$(localedir)\"
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherEXTRA_DIST = build/config.rpath
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_DEBUG_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/debug.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_log.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_UTIL_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/confdb/confdb.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/db/sysdb.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/db/sysdb_ops.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/db/sysdb_search.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor_sbus.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/dp_auth_util.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/dp_pam_data_util.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/dp_sbus.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sbus_client.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sssd_dbus_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sssd_dbus_connection.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sssd_dbus_server.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/util.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/memory.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/server.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/signal.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/usertools.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/backup_file.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/strtonum.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/check_and_open.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/refcount.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESPONDER_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/negcache.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_cmd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_dp.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_packet.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_TOOLS_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_sync_ops.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/tools_util.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/files.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/selinux.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/nscd.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESOLV_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/async_resolv.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_ARES_DATA
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSSD_RESOLV_OBJ += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_parse_srv_reply.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_data.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_FAILOVER_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/fail_over.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(OPENLDAP_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(TDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_crypt.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherPYTHON_BINDINGS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(OPENLDAP_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(TDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_crypt.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherTOOLS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(OPENLDAP_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(TDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_crypt.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SELINUX
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher TOOLS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SEMANAGE
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek PYTHON_BINDINGS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher TOOLS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_HEADERS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor.h \
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek src/util/crypto/sss_crypto.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/dlinklist.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/util.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/strtonum.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_ldap.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_krb5.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/refcount.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/user_info_msg.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor_interfaces.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_packet.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/nss/nsssrv.h \
ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15Stephen Gallagher src/responder/nss/nsssrv_private.h \
ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15Stephen Gallagher src/responder/nss/nsssrv_netgroup.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/negcache.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sbus_client.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sssd_dbus.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sssd_dbus_private.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/db/sysdb.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/db/sysdb_private.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/confdb/confdb.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/confdb/confdb_private.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/confdb/confdb_setup.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/dp_backend.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/fail_over.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/providers.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/child_common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/simple/simple_access.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_auth.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_utils.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_access.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_private.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_id_op.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_access.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_timerules.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_auth.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_dyndns.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/tools_util.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_sync_ops.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/async_resolv.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_parse_srv_reply.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_parse_txt_reply.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_data.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/common.h
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozekif HAVE_NSS
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozekendif
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Program Binaries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor_netlink.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/confdb/confdb_setup.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LIBNL_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_nss_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/nss/nsssrv.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/nss/nsssrv_cmd.c \
ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15Stephen Gallagher src/responder/nss/nsssrv_netgroup.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESPONDER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_nss_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_pam_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pam_LOCAL_domain.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv_cmd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv_dp.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESPONDER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_pam_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_be_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_be.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_fo.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_opts.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_callbacks.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_FAILOVER_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_be_LDADD = $(SSSD_LIBS) $(CARES_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_be_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
4b0309363dbfb9a1409e082b3a84f17b53a751c1Stephen Gallagher -export-dynamic \
4b0309363dbfb9a1409e082b3a84f17b53a751c1Stephen Gallagher $(PAM_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozekif BUILD_PYTHON_BINDINGS
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozeksss_obfuscate_pythondir = $(sbindir)
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozeksss_obfuscate_python_PYTHON = \
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek src/tools/sss_obfuscate
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozekendif
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/examples/sssd.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/examples/sssdproxytest \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/examples/sudo \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/examples/logrotate \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/sssd_be.exports \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/COPYING \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/COPYING.LESSER \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/m4
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Command-line Tools #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_useradd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_useradd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_useradd_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_userdel_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_userdel.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_userdel_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupadd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupadd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupadd_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupdel_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupdel.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupdel_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_usermod_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_usermod.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_usermod_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupmod_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupmod.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupmod_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupshow_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupshow.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupshow_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TOOLS_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Feature Tests #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_LTLIBRARIES += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_test_common_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/common.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_CHECK
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_test_common_la_SOURCES += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/common_check.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_DEPENDENCIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(ldblib_LTLIBRARIES)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/sysdb-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSYSDB_TEST \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_SOURCES = \
8715fcb39bd8086cb59d978e9a6ae18aaae1f864Stephen Gallagher $(SSSD_DEBUG_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/strtonum-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/strtonum.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_utils_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/krb5_utils-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_utils.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_fo.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_opts.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_callbacks.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_FAILOVER_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_utils_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_utils_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS)\
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/check_and_open-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/check_and_open.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherFILES_TESTS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SELINUX
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher FILES_TESTS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SEMANAGE
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher FILES_TESTS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/files-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/check_and_open.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/selinux.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/files.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(FILES_TESTS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESOLV_TESTS_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_ARES_DATA
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSSD_RESOLV_TESTS_OBJ += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/ares/ares_parse_txt_reply.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/resolv-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_TESTS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DBUILD_TXT
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/refcount-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfail_over_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/fail_over-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_FAILOVER_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfail_over_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfail_over_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_timerules_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_timerules.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/ipa_timerules-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_timerules_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_timerules_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfind_uid_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/find_uid-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.c \
580374daba2ab2c6075a7d0de9512abff133e2e9Jakub Hrozek src/util/strtonum.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfind_uid_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfind_uid_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/auth-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_utils.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/ipa_ldap_opt-tests.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersimple_access_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/simple_access-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/simple/simple_access.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersimple_access_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersimple_access_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/util-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_SOURCES = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSSD_DEBUG_OBJ) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_SOURCES) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek src/tests/crypto-tests.c
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_CFLAGS = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_CFLAGS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(AM_CFLAGS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(CHECK_CFLAGS)
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_LDADD = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSSD_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(CHECK_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek libsss_test_common.la
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstress_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/stress-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstress_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_PROGRAMS = pam_test_client
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_test_client_SOURCES = src/sss_client/pam_test_client.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_test_client_LDFLAGS = -lpam -lpam_misc
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Client Libraries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernsslib_LTLIBRARIES = libnss_sss.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibnss_sss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/common.c \
f1ac7d7859b26f0f36f5e8ffacda609f8ece80e5Stephen Gallagher src/sss_client/nss_passwd.c \
f1ac7d7859b26f0f36f5e8ffacda609f8ece80e5Stephen Gallagher src/sss_client/nss_group.c \
f128b7b865062da662127712935dcc58bd022384Stephen Gallagher src/sss_client/nss_netgroup.c \
f128b7b865062da662127712935dcc58bd022384Stephen Gallagher src/sss_client/sss_cli.h \
f128b7b865062da662127712935dcc58bd022384Stephen Gallagher src/sss_client/nss_compat.h
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibnss_sss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 2:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpamlib_LTLIBRARIES = pam_sss.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_sss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/pam_sss.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/sss_cli.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/sss_pam_macros.h
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_sss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -lpam \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/sss_nss.exports \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/sss_pam.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Plugin Libraries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/child_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id_enum.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id_cleanup.c \
619bd403265ce0880989ba6f8324b010949851bcSumit Bose src/providers/ldap/ldap_id_netgroup.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_access.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_auth.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_init.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_accounts.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_connection.c \
619bd403265ce0880989ba6f8324b010949851bcSumit Bose src/providers/ldap/sdap_async_netgroups.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_child_helpers.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_fd_events.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_id_op.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap.c \
93109c5f1d85c028ce5cf6e31e2249ca90a7f746Jakub Hrozek src/providers/krb5/krb5_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/user_info_msg.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_ldap.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_krb5.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDAP_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(OPENLDAP_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
88aeed9a31b734a92630d5e881c960c5f77ba0ceJakub Hrozek $(KRB5_LIBS) \
88aeed9a31b734a92630d5e881c960c5f77ba0ceJakub Hrozek libsss_crypt.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 1:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_init.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_id.c \
04feeade1f6259368a6b23c6b3ecbad261161659Sumit Bose src/providers/proxy/proxy_netgroup.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_auth.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PAM_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 1:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/simple/simple_access.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PAM_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 1:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/child_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_utils.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_become_user.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_delayed_online_authentication.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_auth.c \
1e29e68388c2e9c5da9cb0afe997bc1b4e6933beSumit Bose src/providers/krb5/krb5_access.c \
b87233035e26cee919dcf46adaec29ba7fdaa51eSumit Bose src/providers/krb5/krb5_child_handler.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_init.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_krb5.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KEYUTILS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 1:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/child_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_init.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_utils.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_auth.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_access.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_timerules.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_dyndns.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id_enum.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id_cleanup.c \
619bd403265ce0880989ba6f8324b010949851bcSumit Bose src/providers/ldap/ldap_id_netgroup.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_auth.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_accounts.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_connection.c \
619bd403265ce0880989ba6f8324b010949851bcSumit Bose src/providers/ldap/sdap_async_netgroups.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_child_helpers.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_fd_events.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_id_op.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/user_info_msg.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_ldap.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_krb5.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_utils.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_become_user.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_delayed_online_authentication.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_common.c \
1e29e68388c2e9c5da9cb0afe997bc1b4e6933beSumit Bose src/providers/krb5/krb5_auth.c \
b87233035e26cee919dcf46adaec29ba7fdaa51eSumit Bose src/providers/krb5/krb5_access.c \
b87233035e26cee919dcf46adaec29ba7fdaa51eSumit Bose src/providers/krb5/krb5_child_handler.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDAP_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(OPENLDAP_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KEYUTILS_LIBS) \
88aeed9a31b734a92630d5e881c960c5f77ba0ceJakub Hrozek $(KRB5_LIBS) \
88aeed9a31b734a92630d5e881c960c5f77ba0ceJakub Hrozek libsss_crypt.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 1:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_become_user.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_child.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/child_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/dp_pam_data_util.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/user_info_msg.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_krb5.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_child.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/child_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_krb5.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(OPENLDAP_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_child.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PAM_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_SOURCES = \
adc4351a04cef89ced2dbb240180e5d00fd8dd3cStephen Gallagher $(SSSD_DEBUG_OBJ) \
adc4351a04cef89ced2dbb240180e5d00fd8dd3cStephen Gallagher src/ldb_modules/memberof.c \
adc4351a04cef89ced2dbb240180e5d00fd8dd3cStephen Gallagher src/util/util.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_LIBADD = $(LDB_LIBS) $(DHASH_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_krb5_locator_plugin_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/krb5_plugin/sssd_krb5_locator_plugin.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_krb5_locator_plugin_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_krb5_locator_plugin_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/python/pysss.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PYTHON_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PYTHON_BINDINGS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PYTHON_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher############
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# MANPAGES #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher############
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#Special Rules:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherexport SGML_CATALOG_FILES
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDOCBOOK_XSLT = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherXMLLINT_FLAGS = --catalogs --postvalid --nonet --xinclude --noout
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherXSLTPROC_FLAGS = --catalogs --xinclude --nonet
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
f0e068c0cee13eea020ab34304b7995849603ddaSumit Boseman_MANS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/man/sss_useradd.8 src/man/sss_userdel.8 src/man/sss_usermod.8 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/man/sss_groupadd.8 src/man/sss_groupdel.8 src/man/sss_groupmod.8 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/man/sssd.8 src/man/sssd.conf.5 src/man/sssd-ldap.5 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/man/sssd-krb5.5 src/man/sssd-ipa.5 src/man/sssd-simple.5 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/man/sssd_krb5_locator_plugin.8 src/man/sss_groupshow.8 \
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek src/man/pam_sss.8 src/man/sss_obfuscate.8
1b02da77970e5a2a50081ceae048ff09e067c470Stephen GallagherEXTRA_DIST += $(man_MANS:%=%.xml) $(wildcard $(srcdir)/src/man/include/*.xml)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSUFFIXES = .1.xml .1 .3.xml .3 .5.xml .5 .8.xml .8
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher.1.xml.1:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XMLLINT) $(XMLLINT_FLAGS) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher.3.xml.3:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XMLLINT) $(XMLLINT_FLAGS) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher.5.xml.5:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XMLLINT) $(XMLLINT_FLAGS) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher.8.xml.8:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XMLLINT) $(XMLLINT_FLAGS) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Installation Extras #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_init_SCRIPTS =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_SUSE
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher dist_init_SCRIPTS += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sysv/SUSE/sssd
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maximelse
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maximif HAVE_GENTOO
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maxim dist_init_SCRIPTS += \
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maxim src/sysv/gentoo/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherelse
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher dist_init_SCRIPTS += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sysv/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maximendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_sssdconf_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.conf
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_sssdapiplugin_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-ipa.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-krb5.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-ldap.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-local.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-proxy.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-simple.conf
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstallsssddirs::
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mkdir -p \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(includedir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(libdir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(sbindir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(initdir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(mandir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(pluginpath) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(libdir)/ldb \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(infpintrospectdir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(dbusintrospectdir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(pipepath)/private \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(sssdlibdir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(sssdconfdir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(dbpath) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(pidpath) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(initdir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(logpath) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(pubconfpath)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_DOXYGEN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdocs:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DOXYGEN) src/doxy.config
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherelse
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdocs:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher @echo "Doxygen not installed, cannot generate documentation"
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher @exit 1
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherall-local:
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstall-exec-hook: installsssddirs
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher if [ "$(DESTDIR)" = "" ]; then \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --record=$(abs_builddir)/src/config/.files; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher else \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --root=$(DESTDIR) --record=$(abs_builddir)/src/config/.files; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher fi
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mkdir -p doc $(DESTDIR)/$(docdir); cp -a doc $(DESTDIR)/$(docdir)/
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstall-data-hook:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher rm $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)/$(nsslibdir)/libnss_sss.so
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mv $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2.0.0 $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheruninstall-hook:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher if [ -f $(abs_builddir)/src/config/.files ]; then \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher cat $(abs_builddir)/src/config/.files | xargs -iq rm -f $(DESTDIR)/q; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher rm $(abs_builddir)/src/config/.files ; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher fi
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher rm -Rf $(DESTDIR)/$(docdir)/doc
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherclean-local:
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config clean --all
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher rm -Rf doc
f0e068c0cee13eea020ab34304b7995849603ddaSumit Bose rm -f $(man_MANS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherCLEANFILES = *.X */*.X */*/*.X
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghertests: all $(check_PROGRAMS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# RPM-related tasks
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherRPMBUILD ?= $(PWD)/rpmbuild
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
f1fab7b8210af4ae94453265b607e2dab06789caStephen Gallagher m4 \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher contrib/sssd.spec.in \
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher BUILD.txt \
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher COPYING
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagherrpmroot:
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/BUILD
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/RPMS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/SOURCES
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/SPECS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/SRPMS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher
897060147ddea72ecc1e86c6b7b915ff1d462f71Stephen Gallagherrpms: dist-gzip rpmroot
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cd $(RPMBUILD); \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec
263e4574dacb4b7d2a18d5d42122bf3dce4c45b0Stephen Gallagher
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagherif GIT_CHECKOUT
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagherprerelease-rpms:
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagher sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher $(MAKE) rpms
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagherendif
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher# make srpms will use the old digest algorithm to be compatible
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher# with RHEL5
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallaghersrpm: dist-gzip rpmroot
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
263e4574dacb4b7d2a18d5d42122bf3dce4c45b0Stephen Gallagher cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cd $(RPMBUILD); \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher rpmbuild --define "_topdir $(RPMBUILD)" \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher --define _source_filedigest_algorithm=1 \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher -bs SPECS/sssd.spec
1df8e4158e752f1f010394d09e8a5e4f8201fd7eStephen Gallagher
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagherif GIT_CHECKOUT
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagherprerelease-srpm:
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagher cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagher sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagher $(MAKE) srpm
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagher mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagherendif
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagher