Makefile.am revision f9961e5f82e0ef474d6492371bfdf9e74e208a99
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294Timo Sirainenextra_distcheck_flags =
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif HAVE_DEVSHM
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch extra_distcheck_flags += --with-test-dir=/dev/shm
7384b4e78eaab44693c985192276e31322155e32Stephan BoschDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch --enable-all-experimental-features \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(extra_distcheck_flags)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainenif HAVE_MANPAGES
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# Some old versions of automake don't define builddir
7384b4e78eaab44693c985192276e31322155e32Stephan BoschDOXYGEN = @DOXYGEN@
7384b4e78eaab44693c985192276e31322155e32Stephan BoschDISTSETUPOPTS =
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif HAVE_DEBIAN
7384b4e78eaab44693c985192276e31322155e32Stephan BoschDISTSETUPOPTS += --install-layout=deb
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdlibexecdir = $(libexecdir)/sssd
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdlibdir = $(libdir)/sssd
7384b4e78eaab44693c985192276e31322155e32Stephan Boschldblibdir = @ldblibdir@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_KRB5_LOCATOR_PLUGIN
7384b4e78eaab44693c985192276e31322155e32Stephan Boschkrb5plugindir = @krb5pluginpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_PAC_RESPONDER
7384b4e78eaab44693c985192276e31322155e32Stephan Boschkrb5authdata_plugindir = @krb5authdatapluginpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdconfdir = $(sysconfdir)/sssd
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssddatadir = $(datadir)/sssd
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdapiplugindir = $(sssddatadir)/sssd.api.d
7384b4e78eaab44693c985192276e31322155e32Stephan Boschdbusintrospectdir = $(datarootdir)/sssd/introspect
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlocaledir = @localedir@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschnsslibdir = @nsslibdir@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschpamlibdir = @pammoddir@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschautofslibdir = @appmodpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschdbpath = @dbpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschpluginpath = @pluginpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschpidpath = @pidpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschpipepath = @pipepath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschmcpath = @mcpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschinitdir = @initdir@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsystemdunitdir = @systemdunitdir@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlogpath = @logpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschpubconfpath = @pubconfpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschpkgconfigdir = $(libdir)/pkgconfig
7384b4e78eaab44693c985192276e31322155e32Stephan Boschkrb5rcachedir = @krb5rcachedir@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsudolibdir = @sudolibpath@
7384b4e78eaab44693c985192276e31322155e32Stephan BoschUNICODE_LIBS=@UNICODE_LIBS@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif WANT_AUX_INFO
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch AM_CFLAGS += -aux-info $@.X
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -Wcast-qual -Wcast-align -Wwrite-strings \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -Werror-implicit-function-declaration \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -fno-strict-aliasing \
7384b4e78eaab44693c985192276e31322155e32Stephan Boschdist_pkgconfig_DATA =
7384b4e78eaab44693c985192276e31322155e32Stephan BoschACLOCAL_AMFLAGS = -I m4 -I .
7384b4e78eaab44693c985192276e31322155e32Stephan Boschbin_PROGRAMS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sss_ssh_authorizedkeys \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sss_ssh_knownhostsproxy
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsbin_PROGRAMS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sss_useradd \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sss_userdel \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sss_groupadd \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sss_groupdel \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sss_usermod \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sss_groupmod \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sss_groupshow \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen sss_debuglevel \
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdlibexec_PROGRAMS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdlibexec_PROGRAMS += sssd_sudo
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_AUTOFS
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdlibexec_PROGRAMS += sssd_autofs
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdlibexec_PROGRAMS += sssd_ssh
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_PAC_RESPONDER
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sssdlibexec_PROGRAMS += sssd_pac
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch non_interactive_check_based_tests = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sysdb-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch strtonum-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch resolv-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch krb5-utils-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch check_and_open-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch files-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch refcount-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch fail_over-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch find_uid-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch ipa_ldap_opt-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch ad_ldap_opt-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch simple_access-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch crypto-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch debug-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch ipa_hbac-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sss_idmap-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch responder_socket_access-tests
4521d35c263add6af3f1ae55b3760291767ce50cTimo Sirainenif BUILD_PAC_RESPONDER
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch non_interactive_check_based_tests += pac_responder-tests
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen non_interactive_check_based_tests += sysdb_ssh-tests
4521d35c263add6af3f1ae55b3760291767ce50cTimo Sirainenif HAVE_CMOCKA
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen non_interactive_cmocka_based_tests = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen nss-srv-tests \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen test-find-uid \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainencheck_PROGRAMS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch stress-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch krb5-child-test \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(non_interactive_cmocka_based_tests) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(non_interactive_check_based_tests)
7384b4e78eaab44693c985192276e31322155e32Stephan BoschPYTHON_TESTS =
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_PYTHON_BINDINGS
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(PYTHON_TESTS) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(non_interactive_cmocka_based_tests) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(non_interactive_check_based_tests)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschsssdlib_LTLIBRARIES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschldblib_LTLIBRARIES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschif BUILD_KRB5_LOCATOR_PLUGIN
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschkrb5plugin_LTLIBRARIES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschif BUILD_PAC_RESPONDER
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainenkrb5authdata_plugin_LTLIBRARIES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschnoinst_LTLIBRARIES =
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschpkglib_LTLIBRARIES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_base64.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CRYPT_LIBS = $(NSS_LIBS)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_base64.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/crypto/libcrypto/crypto_hmac_sha1.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/crypto/libcrypto/crypto_sha512crypt.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_crypt_la_SOURCES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(SSS_CRYPT_SOURCES)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_crypt_la_CFLAGS = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(SSS_CRYPT_CFLAGS) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(DHASH_CFLAGS)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_crypt_la_LIBADD = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(SSS_CRYPT_LIBS)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_crypt_la_LDFLAGS = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch -avoid-version
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschif BUILD_PYTHON_BINDINGS
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschpyexec_LTLIBRARIES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschdist_noinst_SCRIPTS = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(EXTRA_SCRIPTS) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/config/SSSDConfig/sssd_upgrade_config.py \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschdist_noinst_DATA = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/config/testconfigs/sssd-invalid-badbool.conf
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch###############################
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch# Global compilation settings #
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch###############################
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan BoschAM_CPPFLAGS = \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen -I$(srcdir)/include \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen -I$(srcdir)/src \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen $(POPT_CFLAGS) \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen $(TALLOC_CFLAGS) \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen $(TDB_CFLAGS) \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen $(TEVENT_CFLAGS) \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen $(LDB_CFLAGS) \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen $(DBUS_CFLAGS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(PCRE_CFLAGS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(COLLECTION_CFLAGS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(INI_CONFIG_CFLAGS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(DHASH_CFLAGS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(LIBNL_CFLAGS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(OPENLDAP_CFLAGS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(GLIB2_CFLAGS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -DLIBDIR=\"$(libdir)\" \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -DVARDIR=\"$(localstatedir)\" \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen -DSHLIBEXT=\"$(SHLIBEXT)\" \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -DSSSD_LIBEXEC_PATH=\"$(sssdlibexecdir)\" \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -DSSSD_INTROSPECT_PATH=\"$(dbusinstropectdir)\" \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -DSSSD_CONF_DIR=\"$(sssdconfdir)\" \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen -DSSS_NSS_MCACHE_DIR=\"$(mcpath)\" \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen -DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen -DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -DSSS_PAC_SOCKET_NAME=\"$(pipepath)/pac\" \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -DSSS_SUDO_SOCKET_NAME=\"$(pipepath)/sudo\" \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch -DSSS_AUTOFS_SOCKET_NAME=\"$(pipepath)/autofs\" \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch -DSSS_SSH_SOCKET_NAME=\"$(pipepath)/ssh\" \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch -DLOCALEDIR=\"$(localedir)\"
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan BoschSSSD_RESPONDER_OBJ = \
7384b4e78eaab44693c985192276e31322155e32Stephan BoschSSSD_TOOLS_OBJ = \
7384b4e78eaab44693c985192276e31322155e32Stephan BoschSSSD_LCL_TOOLS_OBJ = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_TOOLS_OBJ)
7384b4e78eaab44693c985192276e31322155e32Stephan BoschSSSD_RESOLV_OBJ = \
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_ARES_DATA
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch SSSD_RESOLV_OBJ += \
7384b4e78eaab44693c985192276e31322155e32Stephan BoschSSSD_FAILOVER_OBJ = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_RESOLV_OBJ)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(TALLOC_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(TEVENT_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(POPT_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(LDB_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(DBUS_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(PCRE_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(INI_CONFIG_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(COLLECTION_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(DHASH_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSS_CRYPT_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(OPENLDAP_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan BoschPYTHON_BINDINGS_LIBS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(TALLOC_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(TEVENT_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(POPT_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(LDB_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(DBUS_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(PCRE_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(DHASH_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSS_CRYPT_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(OPENLDAP_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo SirainenTOOLS_LIBS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(TALLOC_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(TEVENT_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(POPT_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(LDB_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(DBUS_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(PCRE_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(INI_CONFIG_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(COLLECTION_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(DHASH_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(OPENLDAP_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_SELINUX
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch TOOLS_LIBS += $(SELINUX_LIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_SEMANAGE
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch PYTHON_BINDINGS_LIBS += $(SEMANAGE_LIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch TOOLS_LIBS += $(SEMANAGE_LIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschdist_noinst_HEADERS = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen SSSD_DOCS += libsss_sudo_doc
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainenif HAVE_PTHREAD
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan BoschCLIENT_LIBS = -lpthread
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch#####################
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# Utility libraries #
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch#####################
7384b4e78eaab44693c985192276e31322155e32Stephan Boschpkglib_LTLIBRARIES += libsss_debug.la
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlibsss_debug_la_SOURCES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlibsss_debug_la_LDFLAGS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -avoid-version
7384b4e78eaab44693c985192276e31322155e32Stephan Boschpkglib_LTLIBRARIES += libsss_child.la
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlibsss_child_la_SOURCES = src/util/child_common.c
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlibsss_child_la_LDFLAGS = -avoid-version
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Boschpkglib_LTLIBRARIES += libsss_util.la
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Boschlibsss_util_la_SOURCES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_util_la_LIBADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(UNICODE_LIBS) \
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Bosch libsss_util_la_SOURCES += src/db/sysdb_sudo.c
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainenlibsss_util_la_SOURCES += \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainenlibsss_util_la_LDFLAGS = -avoid-version
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainenlib_LTLIBRARIES = libipa_hbac.la libsss_idmap.la
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainendist_pkgconfig_DATA += src/providers/ipa/ipa_hbac.pc
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainenlibipa_hbac_la_SOURCES = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainenlibipa_hbac_la_LDFLAGS = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen -version-info 0:1:0 \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(UNICODE_LIBS)
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Boschdist_pkgconfig_DATA += src/lib/idmap/sss_idmap.pc
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Boschlibsss_idmap_la_SOURCES = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainenlibsss_idmap_la_LDFLAGS = \
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Bosch -version-info 0:1:0
7384b4e78eaab44693c985192276e31322155e32Stephan Boschinclude_HEADERS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch####################
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# Program Binaries #
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch####################
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssd_SOURCES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssd_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(LIBNL_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(KEYUTILS_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssd_nss_SOURCES = \
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainen $(SSSD_RESPONDER_OBJ)
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainensssd_nss_LDADD = \
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainen $(TDB_LIBS) \
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainen $(SSSD_LIBS) \
-Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
ldb_mod_test_dir: memberof.la
cp $(builddir)/.libs/memberof.so $(builddir)/ldb_mod_test_dir
pam_test_client_SOURCES = src/sss_client/pam_test_client.c
nsslib_LTLIBRARIES = libnss_sss.la
-Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
pamlib_LTLIBRARIES = pam_sss.la
-Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
-Wl,--version-script,$(srcdir)/src/sss_client/sss_sudo.exports \
sudolib_LTLIBRARIES = libsss_sudo.la
autofslib_LTLIBRARIES = libsss_autofs.la
-Wl,--version-script,$(srcdir)/src/sss_client/autofs/sss_autofs.exports
dist_noinst_DATA += src/sss_client/sss_sudo.exports
dist_noinst_DATA += src/sss_client/autofs/sss_autofs.exports
pkglib_LTLIBRARIES += libsss_ldap_common.la
pkglib_LTLIBRARIES += libsss_krb5_common.la
libsss_ipa_la_SOURCES += src/providers/ipa/ipa_hostid.c
$(MAKE) -C src/man update-po
$(DESTDIR)$(pubconfpath)/krb5.include.d \
$(DOXYGEN) src/doxy.config
$(DOXYGEN) src/providers/ipa/ipa_hbac.doxy
$(DOXYGEN) src/lib/idmap/sss_idmap.doxy
$(DOXYGEN) src/sss_client/sudo/sss_sudo.doxy
$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py:
$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py:
$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py \
$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py
cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --record=$(abs_builddir)/src/config/.files; \
cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --root=$(DESTDIR) --record=$(abs_builddir)/src/config/.files; \
rm $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 \
$(DESTDIR)/$(nsslibdir)/libnss_sss.so
if [ -f $(abs_builddir)/src/config/.files ]; then \
cat $(abs_builddir)/src/config/.files | xargs -iq rm -f $(DESTDIR)/q; \
rm $(abs_builddir)/src/config/.files ; \
if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
rm -f $(builddir)/src/config/SSSDConfig/ipachangeconf.py ; \
if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
rm -f $(builddir)/src/config/SSSDConfig/sssd_upgrade_config.py ; \
cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config clean --all
cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec
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
-bs SPECS/sssd.spec
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