Makefile.am revision 4b0309363dbfb9a1409e082b3a84f17b53a751c1
fd5a4eacd56700ffb08a73121aeacdc806cb0132Sumit BoseDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Some old versions of automake don't define builddir
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDOXYGEN = @DOXYGEN@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDISTSETUPOPTS =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDISTSETUPOPTS += --install-layout=deb
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibexecdir = $(libexecdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibdir = $(libdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldblibdir = @ldblibdir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5plugindir = @krb5pluginpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdconfdir = $(sysconfdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdapiplugindir = $(sssdconfdir)/sssd.api.d
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdbusintrospectdir = $(datarootdir)/sssd/introspect
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlocaledir = @localedir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernsslibdir = @nsslibdir@
d921c1eba437662437847279f251a0a5d8f70127Maximpamlibdir = @pammoddir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdbpath = @dbpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpluginpath = @pluginpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpidpath = @pidpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpipepath = @pipepath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinitdir = @initdir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlogpath = @logpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpubconfpath = @pubconfpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif WANT_AUX_INFO
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher AM_CFLAGS += -aux-info $@.X
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wcast-qual -Wcast-align -Wwrite-strings \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Werror-implicit-function-declaration
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherACLOCAL_AMFLAGS = -I m4 -I .
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersbin_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupadd \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupdel \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupmod \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibexec_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher non_interactive_check_based_tests = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher strtonum-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher resolv-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher krb5-utils-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher check_and_open-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ipa_timerules-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher refcount-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher fail_over-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher find_uid-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ipa_ldap_opt-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher simple_access-tests \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek crypto-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher stress-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(non_interactive_check_based_tests)
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
bf5a808fa92007c325c3996e79694badfab201d4Stephen GallagherPYTHON_TESTS += $(srcdir)/src/config/SSSDConfigTest.py
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher $(PYTHON_TESTS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(non_interactive_check_based_tests)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlib_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldblib_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5plugin_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_LTLIBRARIES = \
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_sha512crypt.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_LIBS = $(NSS_LIBS)
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_sha512crypt.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_crypt_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_SOURCES)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_crypt_la_CFLAGS = \
3b1df539835367cb81cd5ff0f9959947d5642e55Stephen Gallagher $(SSS_CRYPT_CFLAGS) \
3b1df539835367cb81cd5ff0f9959947d5642e55Stephen Gallagher $(DHASH_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_crypt_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpyexec_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_SCRIPTS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(EXTRA_SCRIPTS) \
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagherdist_noinst_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-noversion.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-badversion.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-invalid.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-invalid-badbool.conf
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher###############################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Global compilation settings #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher###############################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherAM_CPPFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/include \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/src \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TDB_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LIBNL_CFLAGS) \
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 GallagherSSSD_DEBUG_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_UTIL_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESPONDER_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_TOOLS_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESOLV_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_ARES_DATA
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSSD_RESOLV_OBJ += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_FAILOVER_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(OPENLDAP_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(TDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherPYTHON_BINDINGS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(OPENLDAP_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(TDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(OPENLDAP_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(TDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SELINUX
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher TOOLS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SEMANAGE
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek PYTHON_BINDINGS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher TOOLS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_HEADERS = \
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Program Binaries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_nss_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESPONDER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_nss_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_pam_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESPONDER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_pam_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_be_SOURCES = \
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 \
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozekif BUILD_PYTHON_BINDINGS
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozeksss_obfuscate_pythondir = $(sbindir)
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozeksss_obfuscate_python_PYTHON = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Command-line Tools #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_useradd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_useradd_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_userdel_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_userdel_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupadd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupadd_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupdel_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupdel_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_usermod_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_usermod_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupmod_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupmod_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupshow_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupshow_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Feature Tests #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_LTLIBRARIES += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_test_common_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_test_common_la_SOURCES += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_DEPENDENCIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(ldblib_LTLIBRARIES)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen 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 Gallagherstrtonum_tests_SOURCES = \
8715fcb39bd8086cb59d978e9a6ae18aaae1f864Stephen Gallagher $(SSSD_DEBUG_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_utils_tests_SOURCES = \
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 $(CARES_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherFILES_TESTS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SELINUX
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher FILES_TESTS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SEMANAGE
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher FILES_TESTS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(FILES_TESTS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESOLV_TESTS_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_ARES_DATA
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher SSSD_RESOLV_TESTS_OBJ += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_TESTS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen 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 Gallagherfail_over_tests_SOURCES = \
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 Gallagheripa_timerules_tests_SOURCES = \
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 Gallagherfind_uid_tests_SOURCES = \
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 Gallagherauth_tests_SOURCES = \
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 Gallagheripa_ldap_opt_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersimple_access_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen 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 Gallagherutil_tests_SOURCES = \
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) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_SOURCES = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSSD_DEBUG_OBJ) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_SOURCES) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_CFLAGS = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_CFLAGS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(AM_CFLAGS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(CHECK_CFLAGS)
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_LDADD = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSSD_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstress_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstress_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
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# Client Libraries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernsslib_LTLIBRARIES = libnss_sss.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibnss_sss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibnss_sss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 2:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpamlib_LTLIBRARIES = pam_sss.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_sss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_sss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Plugin Libraries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_accounts.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_connection.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) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 1:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 1:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 1:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_delayed_online_authentication.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 Gallagherlibsss_krb5_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 1:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_accounts.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_connection.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_delayed_online_authentication.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) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 1:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ) \
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 Gallagherldap_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_DEBUG_OBJ) \
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 Gallagherproxy_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_SOURCES = \
adc4351a04cef89ced2dbb240180e5d00fd8dd3cStephen Gallagher $(SSSD_DEBUG_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_LIBADD = $(LDB_LIBS) $(DHASH_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
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 Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_UTIL_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PYTHON_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PYTHON_BINDINGS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PYTHON_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
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 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 \
1b02da77970e5a2a50081ceae048ff09e067c470Stephen GallagherEXTRA_DIST += $(man_MANS:%=%.xml) $(wildcard $(srcdir)/src/man/include/*.xml)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSUFFIXES = .1.xml .1 .3.xml .3 .5.xml .5 .8.xml .8
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XMLLINT) $(XMLLINT_FLAGS) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XMLLINT) $(XMLLINT_FLAGS) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XMLLINT) $(XMLLINT_FLAGS) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XMLLINT) $(XMLLINT_FLAGS) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Installation Extras #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_init_SCRIPTS =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher dist_init_SCRIPTS += \
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maximif HAVE_GENTOO
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maxim dist_init_SCRIPTS += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher dist_init_SCRIPTS += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_sssdconf_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_sssdapiplugin_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-krb5.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-ldap.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-local.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-proxy.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-simple.conf
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstallsssddirs::
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(includedir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(libdir) \
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 Gallagherif HAVE_DOXYGEN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher @echo "Doxygen not installed, cannot generate documentation"
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstall-exec-hook: installsssddirs
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher if [ "$(DESTDIR)" = "" ]; then \
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 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 mkdir -p doc $(DESTDIR)/$(docdir); cp -a doc $(DESTDIR)/$(docdir)/
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 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 rm -Rf $(DESTDIR)/$(docdir)/doc
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config clean --all
f0e068c0cee13eea020ab34304b7995849603ddaSumit Bose rm -f $(man_MANS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherCLEANFILES = *.X */*.X */*/*.X
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghertests: all $(check_PROGRAMS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# RPM-related tasks
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherRPMBUILD ?= $(PWD)/rpmbuild
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/BUILD
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/RPMS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/SOURCES
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/SPECS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher mkdir -p $(RPMBUILD)/SRPMS
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
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagherif GIT_CHECKOUT
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagherprerelease-rpms:
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagher sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher# make srpms will use the old digest algorithm to be compatible
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 \
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagherif GIT_CHECKOUT
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagherprerelease-srpm:
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagher cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagher sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagher mv $(srcdir)/version.m4.orig $(srcdir)/version.m4