Makefile.am revision 4139a7a731f2831963a42b26aac111422be28792
2454dfa32c93c20a8522c6ed42fe057baaac9f9aStephan Boschextra_distcheck_flags =
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenif HAVE_DEVSHM
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen extra_distcheck_flags += --with-test-dir=/dev/shm
1f366614aaafcc9496ff85b25988f19c3254ab7cTimo SirainenDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \
1f366614aaafcc9496ff85b25988f19c3254ab7cTimo Sirainen --enable-all-experimental-features \
39ea5717264668e2c7f9f7986eb821d21785f47fTimo Sirainen $(extra_distcheck_flags)
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenif HAVE_MANPAGES
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen# Some old versions of automake don't define builddir
f739c92a9237db03327dc82e3792e39c160a1e4dTimo SirainenDOXYGEN = @DOXYGEN@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo SirainenDISTSETUPOPTS =
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenif HAVE_DEBIAN
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo SirainenDISTSETUPOPTS += --install-layout=deb
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainensssdlibexecdir = $(libexecdir)/sssd
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainensssdlibdir = $(libdir)/sssd
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenldblibdir = @ldblibdir@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenif BUILD_KRB5_LOCATOR_PLUGIN
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainenkrb5plugindir = @krb5pluginpath@
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainenif BUILD_PAC_RESPONDER
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainenkrb5authdata_plugindir = @krb5authdatapluginpath@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainensssdconfdir = $(sysconfdir)/sssd
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainensssddatadir = $(datadir)/sssd
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainensssdapiplugindir = $(sssddatadir)/sssd.api.d
2ac5f36aa7c2e7a07ba8815d43a6d7483f62e74cTimo Sirainendbusintrospectdir = $(datarootdir)/sssd/introspect
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainenlocaledir = @localedir@
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainennsslibdir = @nsslibdir@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenpamlibdir = @pammoddir@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenautofslibdir = @appmodpath@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainendbpath = @dbpath@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenpluginpath = @pluginpath@
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainenpidpath = @pidpath@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenpipepath = @pipepath@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenmcpath = @mcpath@
055389c58fa3915e12fb4e72ec86782ce77c5c72Timo Siraineninitdir = @initdir@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainensystemdunitdir = @systemdunitdir@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenlogpath = @logpath@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenpubconfpath = @pubconfpath@
f323e3f0de9841f399aba5919e3f25652a88fa65Timo Sirainenpkgconfigdir = $(libdir)/pkgconfig
f323e3f0de9841f399aba5919e3f25652a88fa65Timo Sirainenkrb5rcachedir = @krb5rcachedir@
f323e3f0de9841f399aba5919e3f25652a88fa65Timo Sirainensudolibdir = @sudolibpath@
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo SirainenUNICODE_LIBS=@UNICODE_LIBS@
a6a6ad107e509cf8952a28f740eb2023284497b9Timo Sirainenif WANT_AUX_INFO
39ea5717264668e2c7f9f7986eb821d21785f47fTimo Sirainen AM_CFLAGS += -aux-info $@.X
a6a6ad107e509cf8952a28f740eb2023284497b9Timo Sirainen AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen -Wcast-qual -Wcast-align -Wwrite-strings \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -Werror-implicit-function-declaration \
bdb0f594a5673a0c5a16b92dc49eb2a8a66bdaceTimo Sirainen -fno-strict-aliasing \
bdb0f594a5673a0c5a16b92dc49eb2a8a66bdaceTimo Sirainendist_pkgconfig_DATA =
f739c92a9237db03327dc82e3792e39c160a1e4dTimo SirainenACLOCAL_AMFLAGS = -I m4 -I .
bdb0f594a5673a0c5a16b92dc49eb2a8a66bdaceTimo Sirainenbin_PROGRAMS = \
bdb0f594a5673a0c5a16b92dc49eb2a8a66bdaceTimo Sirainen sss_ssh_authorizedkeys \
bdb0f594a5673a0c5a16b92dc49eb2a8a66bdaceTimo Sirainen sss_ssh_knownhostsproxy
8f2eb1ee9ec07661bd50275da99b5f351972a49aTimo Sirainensbin_PROGRAMS = \
8f2eb1ee9ec07661bd50275da99b5f351972a49aTimo Sirainen sss_useradd \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen sss_userdel \
a6a6ad107e509cf8952a28f740eb2023284497b9Timo Sirainen sss_groupadd \
a6a6ad107e509cf8952a28f740eb2023284497b9Timo Sirainen sss_groupdel \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen sss_usermod \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen sss_groupmod \
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen sss_groupshow \
10399559650f552a23949772be79eb6a80198c5aTimo Sirainen sss_debuglevel \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainensssdlibexec_PROGRAMS = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainensssdlibexec_PROGRAMS += sssd_sudo
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenif BUILD_AUTOFS
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainensssdlibexec_PROGRAMS += sssd_autofs
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainensssdlibexec_PROGRAMS += sssd_ssh
37fed1bc1545f7eb1755b61d6a5ac4d083a693b3Timo Sirainenif BUILD_PAC_RESPONDER
37fed1bc1545f7eb1755b61d6a5ac4d083a693b3Timo Sirainen sssdlibexec_PROGRAMS += sssd_pac
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen non_interactive_check_based_tests = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen sysdb-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen strtonum-tests \
62ff6002b1e37a42303c2c0107f324860232e204Timo Sirainen resolv-tests \
62ff6002b1e37a42303c2c0107f324860232e204Timo Sirainen krb5-utils-tests \
62ff6002b1e37a42303c2c0107f324860232e204Timo Sirainen check_and_open-tests \
62ff6002b1e37a42303c2c0107f324860232e204Timo Sirainen files-tests \
62ff6002b1e37a42303c2c0107f324860232e204Timo Sirainen refcount-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen fail_over-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen find_uid-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen ipa_ldap_opt-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen ad_ldap_opt-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen simple_access-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen crypto-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen debug-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen ipa_hbac-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen sss_idmap-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen responder_socket_access-tests
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenif BUILD_PAC_RESPONDER
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen non_interactive_check_based_tests += pac_responder-tests
b5052fbfdbc2678cc8f12899afe55c998f43b740Timo Sirainen non_interactive_check_based_tests += sysdb_ssh-tests
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenif HAVE_CMOCKA
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen non_interactive_cmocka_based_tests = \
a943ed0f901e312445fd393249b91932797bba79Josef 'Jeff' Sipek nss-srv-tests \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen test-find-uid \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainencheck_PROGRAMS = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen stress-tests \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen krb5-child-test \
3bc62efe513ebc7450cffe9a4e8f0b07424bf190Timo Sirainen $(non_interactive_cmocka_based_tests) \
b5052fbfdbc2678cc8f12899afe55c998f43b740Timo Sirainen $(non_interactive_check_based_tests)
b5052fbfdbc2678cc8f12899afe55c998f43b740Timo SirainenPYTHON_TESTS =
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenif BUILD_PYTHON_BINDINGS
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen $(PYTHON_TESTS) \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen $(non_interactive_cmocka_based_tests) \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen $(non_interactive_check_based_tests)
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainensssdlib_LTLIBRARIES = \
e93184a9055c2530366dfe617e07199603c399ddMartti Rannanjärvildblib_LTLIBRARIES = \
3350b29fce44f8bc8fa015dad57024a8de301d38Timo Sirainenif BUILD_KRB5_LOCATOR_PLUGIN
1f366614aaafcc9496ff85b25988f19c3254ab7cTimo Sirainenkrb5plugin_LTLIBRARIES = \
3350b29fce44f8bc8fa015dad57024a8de301d38Timo Sirainenif BUILD_PAC_RESPONDER
1f366614aaafcc9496ff85b25988f19c3254ab7cTimo Sirainenkrb5authdata_plugin_LTLIBRARIES = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainennoinst_LTLIBRARIES =
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenpkglib_LTLIBRARIES = \
b5052fbfdbc2678cc8f12899afe55c998f43b740Timo Sirainen SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_base64.c \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen SSS_CRYPT_LIBS = $(NSS_LIBS)
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_base64.c \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen src/util/crypto/libcrypto/crypto_hmac_sha1.c \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen src/util/crypto/libcrypto/crypto_sha512crypt.c \
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainen SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenlibsss_crypt_la_SOURCES = \
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainen $(SSS_CRYPT_SOURCES)
b5052fbfdbc2678cc8f12899afe55c998f43b740Timo Sirainenlibsss_crypt_la_CFLAGS = \
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainen $(SSS_CRYPT_CFLAGS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(DHASH_CFLAGS)
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainenlibsss_crypt_la_LIBADD = \
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainen $(SSS_CRYPT_LIBS)
8ad53e0bb29f61350f608fc519210f2442c20775Timo Sirainenlibsss_crypt_la_LDFLAGS = \
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainen -avoid-version
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainenif BUILD_PYTHON_BINDINGS
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainenpyexec_LTLIBRARIES = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainendist_noinst_SCRIPTS = \
055389c58fa3915e12fb4e72ec86782ce77c5c72Timo Sirainen $(EXTRA_SCRIPTS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen src/config/SSSDConfig/sssd_upgrade_config.py \
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainendist_noinst_DATA = \
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainen src/config/testconfigs/sssd-invalid-badbool.conf
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainen###############################
8d25b6ad05b99e75613cb045a121efd51e6afbb6Timo Sirainen# Global compilation settings #
8d25b6ad05b99e75613cb045a121efd51e6afbb6Timo Sirainen###############################
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo SirainenAM_CPPFLAGS = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -I$(srcdir)/include \
c73415e93ecf1c699ef054d2b179b10976fa23f3Timo Sirainen -I$(srcdir)/src \
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainen $(POPT_CFLAGS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(TALLOC_CFLAGS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(TDB_CFLAGS) \
76b4207273534f71365bc7f900c23a5160692802Timo Sirainen $(TEVENT_CFLAGS) \
76b4207273534f71365bc7f900c23a5160692802Timo Sirainen $(LDB_CFLAGS) \
76b4207273534f71365bc7f900c23a5160692802Timo Sirainen $(DBUS_CFLAGS) \
76b4207273534f71365bc7f900c23a5160692802Timo Sirainen $(PCRE_CFLAGS) \
76b4207273534f71365bc7f900c23a5160692802Timo Sirainen $(COLLECTION_CFLAGS) \
76b4207273534f71365bc7f900c23a5160692802Timo Sirainen $(INI_CONFIG_CFLAGS) \
76b4207273534f71365bc7f900c23a5160692802Timo Sirainen $(DHASH_CFLAGS) \
76b4207273534f71365bc7f900c23a5160692802Timo Sirainen $(LIBNL_CFLAGS) \
76b4207273534f71365bc7f900c23a5160692802Timo Sirainen $(OPENLDAP_CFLAGS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(GLIB2_CFLAGS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -DLIBDIR=\"$(libdir)\" \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -DVARDIR=\"$(localstatedir)\" \
8d25b6ad05b99e75613cb045a121efd51e6afbb6Timo Sirainen -DSHLIBEXT=\"$(SHLIBEXT)\" \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -DSSSD_LIBEXEC_PATH=\"$(sssdlibexecdir)\" \
8d25b6ad05b99e75613cb045a121efd51e6afbb6Timo Sirainen -DSSSD_INTROSPECT_PATH=\"$(dbusinstropectdir)\" \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -DSSSD_CONF_DIR=\"$(sssdconfdir)\" \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -DSSS_NSS_MCACHE_DIR=\"$(mcpath)\" \
055389c58fa3915e12fb4e72ec86782ce77c5c72Timo Sirainen -DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \
055389c58fa3915e12fb4e72ec86782ce77c5c72Timo Sirainen -DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -DSSS_PAC_SOCKET_NAME=\"$(pipepath)/pac\" \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -DSSS_SUDO_SOCKET_NAME=\"$(pipepath)/sudo\" \
055389c58fa3915e12fb4e72ec86782ce77c5c72Timo Sirainen -DSSS_AUTOFS_SOCKET_NAME=\"$(pipepath)/autofs\" \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -DSSS_SSH_SOCKET_NAME=\"$(pipepath)/ssh\" \
055389c58fa3915e12fb4e72ec86782ce77c5c72Timo Sirainen -DLOCALEDIR=\"$(localedir)\"
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo SirainenSSSD_RESPONDER_OBJ = \
dba8af1faaf9fd3957254bb6f2234b285f77096fTimo SirainenSSSD_TOOLS_OBJ = \
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo SirainenSSSD_LCL_TOOLS_OBJ = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(SSSD_TOOLS_OBJ)
678d0463849ba777106eb7875f27db07a5d8e3dfTimo SirainenSSSD_RESOLV_OBJ = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenif BUILD_ARES_DATA
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen SSSD_RESOLV_OBJ += \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo SirainenSSSD_FAILOVER_OBJ = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(SSSD_RESOLV_OBJ)
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(TALLOC_LIBS) \
7bd72e4deca3cbf757dd1ea298486d9f3bc24226Timo Sirainen $(TEVENT_LIBS) \
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen $(POPT_LIBS) \
3954326e793bdef1e94e0ad781ed6cc7e48beebbTimo Sirainen $(LDB_LIBS) \
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen $(DBUS_LIBS) \
3954326e793bdef1e94e0ad781ed6cc7e48beebbTimo Sirainen $(PCRE_LIBS) \
3954326e793bdef1e94e0ad781ed6cc7e48beebbTimo Sirainen $(INI_CONFIG_LIBS) \
e48f289d2e5b2546a2c5dcc90f7ab624cc58cca2Stephan Bosch $(COLLECTION_LIBS) \
e48f289d2e5b2546a2c5dcc90f7ab624cc58cca2Stephan Bosch $(DHASH_LIBS) \
e48f289d2e5b2546a2c5dcc90f7ab624cc58cca2Stephan Bosch $(SSS_CRYPT_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(OPENLDAP_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo SirainenPYTHON_BINDINGS_LIBS = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(TALLOC_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(TEVENT_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(POPT_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(LDB_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(DBUS_LIBS) \
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen $(PCRE_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(DHASH_LIBS) \
7bd72e4deca3cbf757dd1ea298486d9f3bc24226Timo Sirainen $(SSS_CRYPT_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(OPENLDAP_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo SirainenTOOLS_LIBS = \
3ccab0bac68040f179a7de45c516cec258e28fdbTimo Sirainen $(TALLOC_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(TEVENT_LIBS) \
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen $(POPT_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(LDB_LIBS) \
3ccab0bac68040f179a7de45c516cec258e28fdbTimo Sirainen $(DBUS_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(PCRE_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(INI_CONFIG_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(COLLECTION_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(DHASH_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(OPENLDAP_LIBS) \
e5ff2112aea089f3de2badf9b1635677791d1384Timo Sirainenif BUILD_SELINUX
b141c303bf09b6ae43e1eb4aac1e1a6b796b9d35Timo Sirainen PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
e5ff2112aea089f3de2badf9b1635677791d1384Timo Sirainen TOOLS_LIBS += $(SELINUX_LIBS)
b141c303bf09b6ae43e1eb4aac1e1a6b796b9d35Timo Sirainenif BUILD_SEMANAGE
b141c303bf09b6ae43e1eb4aac1e1a6b796b9d35Timo Sirainen PYTHON_BINDINGS_LIBS += $(SEMANAGE_LIBS)
b141c303bf09b6ae43e1eb4aac1e1a6b796b9d35Timo Sirainen TOOLS_LIBS += $(SEMANAGE_LIBS)
e5ff2112aea089f3de2badf9b1635677791d1384Timo Sirainendist_noinst_HEADERS = \
b5052fbfdbc2678cc8f12899afe55c998f43b740Timo Sirainen dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen SSSD_DOCS += libsss_sudo_doc
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainenif HAVE_PTHREAD
f739c92a9237db03327dc82e3792e39c160a1e4dTimo SirainenCLIENT_LIBS = -lpthread
b5052fbfdbc2678cc8f12899afe55c998f43b740Timo Sirainen#####################
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen# Utility libraries #
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen#####################
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainenpkglib_LTLIBRARIES += libsss_debug.la
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainenlibsss_debug_la_SOURCES = \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainenlibsss_debug_la_LDFLAGS = \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen -avoid-version
661998e2ccd772ad92a9d4a75cb712692a8c94b3Timo Sirainenpkglib_LTLIBRARIES += libsss_child.la
661998e2ccd772ad92a9d4a75cb712692a8c94b3Timo Sirainenlibsss_child_la_SOURCES = src/util/child_common.c
661998e2ccd772ad92a9d4a75cb712692a8c94b3Timo Sirainenlibsss_child_la_LDFLAGS = -avoid-version
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainenpkglib_LTLIBRARIES += libsss_util.la
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainenlibsss_util_la_SOURCES = \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainenlibsss_util_la_LIBADD = \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen $(SSSD_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(UNICODE_LIBS) \
b66d803de86bfb411165b3465b0d9ef64ecfe2a1Timo Sirainen libsss_util_la_SOURCES += src/db/sysdb_sudo.c
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainenlibsss_util_la_SOURCES += \
b141c303bf09b6ae43e1eb4aac1e1a6b796b9d35Timo Sirainenlibsss_util_la_LDFLAGS = -avoid-version
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainenlib_LTLIBRARIES = libipa_hbac.la libsss_idmap.la
e5ff2112aea089f3de2badf9b1635677791d1384Timo Sirainendist_pkgconfig_DATA += src/providers/ipa/ipa_hbac.pc
e5ff2112aea089f3de2badf9b1635677791d1384Timo Sirainenlibipa_hbac_la_SOURCES = \
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainenlibipa_hbac_la_LDFLAGS = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen -version-info 0:1:0 \
e93184a9055c2530366dfe617e07199603c399ddMartti Rannanjärvi $(UNICODE_LIBS)
3ccab0bac68040f179a7de45c516cec258e28fdbTimo Sirainendist_pkgconfig_DATA += src/lib/idmap/sss_idmap.pc
1f366614aaafcc9496ff85b25988f19c3254ab7cTimo Sirainenlibsss_idmap_la_SOURCES = \
1f366614aaafcc9496ff85b25988f19c3254ab7cTimo Sirainenlibsss_idmap_la_LDFLAGS = \
1f366614aaafcc9496ff85b25988f19c3254ab7cTimo Sirainen -version-info 0:1:0
1f366614aaafcc9496ff85b25988f19c3254ab7cTimo Siraineninclude_HEADERS = \
e2a88d59c0d47d63ce1ad5b1fd95e487124a3fd4Timo Sirainen####################
661998e2ccd772ad92a9d4a75cb712692a8c94b3Timo Sirainen# Program Binaries #
661998e2ccd772ad92a9d4a75cb712692a8c94b3Timo Sirainen####################
efd9d73a7fba2830431aa1186fd65372f6631399Timo Sirainensssd_SOURCES = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainensssd_LDADD = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(SSSD_LIBS) \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen $(LIBNL_LIBS) \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen $(KEYUTILS_LIBS) \
4307c886579381dbb1897ea1388ae6978c96f560Timo Sirainensssd_nss_SOURCES = \
661998e2ccd772ad92a9d4a75cb712692a8c94b3Timo Sirainen $(SSSD_RESPONDER_OBJ)
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainensssd_nss_LDADD = \
4307c886579381dbb1897ea1388ae6978c96f560Timo Sirainen $(TDB_LIBS) \
f739c92a9237db03327dc82e3792e39c160a1e4dTimo Sirainen $(SSSD_LIBS) \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainensssd_pam_SOURCES = \
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainen $(SSSD_RESPONDER_OBJ)
c2a66e7950cb4d3fc4d68e4480ea8f39bdd7c871Timo Sirainensssd_pam_LDADD = \
3954326e793bdef1e94e0ad781ed6cc7e48beebbTimo Sirainen $(TDB_LIBS) \
3954326e793bdef1e94e0ad781ed6cc7e48beebbTimo Sirainen $(SSSD_LIBS) \
3954326e793bdef1e94e0ad781ed6cc7e48beebbTimo Sirainen $(SELINUX_LIBS) \
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainensssd_sudo_SOURCES = \
9a382894724292e2af60ef94fc471d761f45e5d5Timo Sirainen $(SSSD_RESPONDER_OBJ)
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainensssd_sudo_LDADD = \
9a382894724292e2af60ef94fc471d761f45e5d5Timo Sirainen $(SSSD_LIBS) \
3954326e793bdef1e94e0ad781ed6cc7e48beebbTimo Sirainenif BUILD_AUTOFS
661998e2ccd772ad92a9d4a75cb712692a8c94b3Timo Sirainensssd_autofs_SOURCES = \
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen $(SSSD_RESPONDER_OBJ)
e3fabe8d0faa9aab7cae2d0eee9653f581a3061dTimo Sirainensssd_autofs_LDADD = \
ade5567577dadb0b275c840208d3ad21a9f00a36Timo Sirainen $(SSSD_LIBS) \
ade5567577dadb0b275c840208d3ad21a9f00a36Timo Sirainensssd_ssh_SOURCES = \
ade5567577dadb0b275c840208d3ad21a9f00a36Timo Sirainen $(SSSD_RESPONDER_OBJ)
ade5567577dadb0b275c840208d3ad21a9f00a36Timo Sirainensssd_ssh_LDADD = \
ade5567577dadb0b275c840208d3ad21a9f00a36Timo 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