Makefile.am revision 88275cccddf39892e01682b39b02292eb74729bd
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3Timo Sirainenextra_distcheck_flags =
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenif HAVE_DEVSHM
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen extra_distcheck_flags += --with-test-dir=/dev/shm
1bdda5c0c30463160c47151537e6bb2c6c994841Timo SirainenDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen --enable-all-experimental-features \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(extra_distcheck_flags)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif HAVE_MANPAGES
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen# Some old versions of automake don't define builddir
043c8a96a035379bcba04f487d58457beefdfcaaTimo SirainenDOXYGEN = @DOXYGEN@
043c8a96a035379bcba04f487d58457beefdfcaaTimo SirainenDISTSETUPOPTS =
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainenif HAVE_DEBIAN
043c8a96a035379bcba04f487d58457beefdfcaaTimo SirainenDISTSETUPOPTS += --install-layout=deb
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainensssdlibexecdir = $(libexecdir)/sssd
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainensssdlibdir = $(libdir)/sssd
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenldblibdir = @ldblibdir@
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif BUILD_KRB5_LOCATOR_PLUGIN
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenkrb5plugindir = @krb5pluginpath@
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenif BUILD_PAC_RESPONDER
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenkrb5authdata_plugindir = @krb5authdatapluginpath@
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainensssdconfdir = $(sysconfdir)/sssd
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainensssddatadir = $(datadir)/sssd
c9dea5c23355dea35c6fa423de69f6507852efe4Timo Sirainensssdapiplugindir = $(sssddatadir)/sssd.api.d
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainendbusintrospectdir = $(datarootdir)/sssd/introspect
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenlocaledir = @localedir@
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainennsslibdir = @nsslibdir@
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainenpamlibdir = @pammoddir@
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainenautofslibdir = @appmodpath@
8fb1e3e2349c9940732b5bb77a2a4053b8f72a4fTimo Sirainendbpath = @dbpath@
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenpluginpath = @pluginpath@
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenpidpath = @pidpath@
c9dea5c23355dea35c6fa423de69f6507852efe4Timo Sirainenpipepath = @pipepath@
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenmcpath = @mcpath@
c9dea5c23355dea35c6fa423de69f6507852efe4Timo Siraineninitdir = @initdir@
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainensystemdunitdir = @systemdunitdir@
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenlogpath = @logpath@
4b058f90f9e8a2c6b2eed275de4eb8cc5195a71dTimo Sirainenpubconfpath = @pubconfpath@
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenpkgconfigdir = $(libdir)/pkgconfig
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenkrb5rcachedir = @krb5rcachedir@
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainensudolibdir = @sudolibpath@
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo SirainenUNICODE_LIBS=@UNICODE_LIBS@
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainenif WANT_AUX_INFO
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen AM_CFLAGS += -aux-info $@.X
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen -Wcast-qual -Wcast-align -Wwrite-strings \
5cda0bfea032000c4a51134c748d9efe6614870bTimo Sirainen -Werror-implicit-function-declaration \
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4Timo Sirainen -fno-strict-aliasing \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainendist_pkgconfig_DATA =
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo SirainenACLOCAL_AMFLAGS = -I m4 -I .
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenbin_PROGRAMS = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen sss_ssh_authorizedkeys \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen sss_ssh_knownhostsproxy
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainensbin_PROGRAMS = \
8b12e7b44abca3bd51a1c46e19ca504f3b55e723Timo Sirainen sss_useradd \
8b12e7b44abca3bd51a1c46e19ca504f3b55e723Timo Sirainen sss_userdel \
8b12e7b44abca3bd51a1c46e19ca504f3b55e723Timo Sirainen sss_groupadd \
8b12e7b44abca3bd51a1c46e19ca504f3b55e723Timo Sirainen sss_groupdel \
8b12e7b44abca3bd51a1c46e19ca504f3b55e723Timo Sirainen sss_usermod \
872b8fd8a8db97dc54067b7ab25bda96ec0aac0dTimo Sirainen sss_groupmod \
872b8fd8a8db97dc54067b7ab25bda96ec0aac0dTimo Sirainen sss_groupshow \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen sss_debuglevel \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainensssdlibexec_PROGRAMS = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainensssdlibexec_PROGRAMS += sssd_sudo
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif BUILD_AUTOFS
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainensssdlibexec_PROGRAMS += sssd_autofs
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainensssdlibexec_PROGRAMS += sssd_ssh
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif BUILD_PAC_RESPONDER
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen sssdlibexec_PROGRAMS += sssd_pac
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen non_interactive_check_based_tests = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen sysdb-tests \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen strtonum-tests \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen resolv-tests \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen krb5-utils-tests \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen check_and_open-tests \
5cda0bfea032000c4a51134c748d9efe6614870bTimo Sirainen files-tests \
5cda0bfea032000c4a51134c748d9efe6614870bTimo Sirainen refcount-tests \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen fail_over-tests \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen find_uid-tests \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen ipa_ldap_opt-tests \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen ad_ldap_opt-tests \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen simple_access-tests \
2aecf7be5834e7f6520f8deaad683a6fa1de4d61Timo Sirainen crypto-tests \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen debug-tests \
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4Timo Sirainen ipa_hbac-tests \
2aecf7be5834e7f6520f8deaad683a6fa1de4d61Timo Sirainen sss_idmap-tests \
2aecf7be5834e7f6520f8deaad683a6fa1de4d61Timo Sirainen responder_socket_access-tests
8ae72ad7d0c69e972cfa65d1e2ce4e3e9a8b765cTimo Sirainenif BUILD_PAC_RESPONDER
70612e07102b75a8511aa7f9de60771176b18de0Timo Sirainen non_interactive_check_based_tests += pac_responder-tests
ca98d6a1bbe73499da758a36bfab2963375c8d06Timo Sirainen non_interactive_check_based_tests += sysdb_ssh-tests
5df33e9ee65eec194105b338c55dedbf8422f695Timo Sirainenif HAVE_CMOCKA
5df33e9ee65eec194105b338c55dedbf8422f695Timo Sirainen non_interactive_cmocka_based_tests = \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen nss-srv-tests \
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen test-find-uid \
55773f17bccf6361d6599ffcbe072d7c9fe205bfTimo Sirainencheck_PROGRAMS = \
55773f17bccf6361d6599ffcbe072d7c9fe205bfTimo Sirainen stress-tests \
55773f17bccf6361d6599ffcbe072d7c9fe205bfTimo Sirainen krb5-child-test \
77af0bd168cf3e3ddc3ae68abc82bfad7e9b5ff4Timo Sirainen $(non_interactive_cmocka_based_tests) \
77af0bd168cf3e3ddc3ae68abc82bfad7e9b5ff4Timo Sirainen $(non_interactive_check_based_tests)
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo SirainenPYTHON_TESTS =
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo Sirainenif BUILD_PYTHON_BINDINGS
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen $(PYTHON_TESTS) \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen $(non_interactive_cmocka_based_tests) \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen $(non_interactive_check_based_tests)
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainensssdlib_LTLIBRARIES = \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainenldblib_LTLIBRARIES = \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainenif BUILD_KRB5_LOCATOR_PLUGIN
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainenkrb5plugin_LTLIBRARIES = \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainenif BUILD_PAC_RESPONDER
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenkrb5authdata_plugin_LTLIBRARIES = \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainennoinst_LTLIBRARIES =
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenpkglib_LTLIBRARIES = \
91dca97b367c54a139c268b56a0c67f564bd9197Timo Sirainen SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_base64.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen SSS_CRYPT_LIBS = $(NSS_LIBS)
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_base64.c \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen src/util/crypto/libcrypto/crypto_hmac_sha1.c \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen src/util/crypto/libcrypto/crypto_sha512crypt.c \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainenlibsss_crypt_la_SOURCES = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(SSS_CRYPT_SOURCES)
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenlibsss_crypt_la_CFLAGS = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(SSS_CRYPT_CFLAGS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(DHASH_CFLAGS)
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainenlibsss_crypt_la_LIBADD = \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen $(SSS_CRYPT_LIBS)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenlibsss_crypt_la_LDFLAGS = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen -avoid-version
ecd69c4e8371853667e01b0c16d436ef7f7393e2Timo Sirainenif BUILD_PYTHON_BINDINGS
ecd69c4e8371853667e01b0c16d436ef7f7393e2Timo Sirainenpyexec_LTLIBRARIES = \
55773f17bccf6361d6599ffcbe072d7c9fe205bfTimo Sirainendist_noinst_SCRIPTS = \
45b2a27617d8475f71fdfc870690e46cd63849f2Timo Sirainen $(EXTRA_SCRIPTS) \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen src/config/SSSDConfig/sssd_upgrade_config.py \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainendist_noinst_DATA = \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen src/config/testconfigs/sssd-invalid-badbool.conf
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen###############################
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen# Global compilation settings #
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen###############################
70612e07102b75a8511aa7f9de60771176b18de0Timo SirainenAM_CPPFLAGS = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen -I$(srcdir)/include \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen -I$(srcdir)/src \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(POPT_CFLAGS) \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(TALLOC_CFLAGS) \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen $(TDB_CFLAGS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(TEVENT_CFLAGS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(LDB_CFLAGS) \
644268f7848a7c4221146d0b11feb8ed5bbed233Timo Sirainen $(DBUS_CFLAGS) \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen $(PCRE_CFLAGS) \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen $(COLLECTION_CFLAGS) \
469a6cf705835ade57dcb59979b6e054207ae5d7Timo Sirainen $(INI_CONFIG_CFLAGS) \
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo Sirainen $(DHASH_CFLAGS) \
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo Sirainen $(LIBNL_CFLAGS) \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(OPENLDAP_CFLAGS) \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(GLIB2_CFLAGS) \
d2b94d25f842cd1b7acaf4dd7de858f7c6a821c9Timo Sirainen -DLIBDIR=\"$(libdir)\" \
d2b94d25f842cd1b7acaf4dd7de858f7c6a821c9Timo Sirainen -DVARDIR=\"$(localstatedir)\" \
d2b94d25f842cd1b7acaf4dd7de858f7c6a821c9Timo Sirainen -DSHLIBEXT=\"$(SHLIBEXT)\" \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen -DSSSD_LIBEXEC_PATH=\"$(sssdlibexecdir)\" \
d22301419109ed4a38351715e6760011421dadecTimo Sirainen -DSSSD_INTROSPECT_PATH=\"$(dbusinstropectdir)\" \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen -DSSSD_CONF_DIR=\"$(sssdconfdir)\" \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen -DSSS_NSS_MCACHE_DIR=\"$(mcpath)\" \
38d7db318188c4ac9cdc8c6cdb936b36a5258e19Timo Sirainen -DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen -DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \
70612e07102b75a8511aa7f9de60771176b18de0Timo Sirainen -DSSS_PAC_SOCKET_NAME=\"$(pipepath)/pac\" \
70612e07102b75a8511aa7f9de60771176b18de0Timo Sirainen -DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen -DSSS_SUDO_SOCKET_NAME=\"$(pipepath)/sudo\" \
645f258ea29afaf09b673fc65d1bd788dfec8db8Timo Sirainen -DSSS_AUTOFS_SOCKET_NAME=\"$(pipepath)/autofs\" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen -DSSS_SSH_SOCKET_NAME=\"$(pipepath)/ssh\" \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen -DLOCALEDIR=\"$(localedir)\"
1bdda5c0c30463160c47151537e6bb2c6c994841Timo SirainenSSSD_RESPONDER_OBJ = \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo SirainenSSSD_TOOLS_OBJ = \
eed20b28dd9039d21f5c2770beef2e8b19f7c2f9Timo SirainenSSSD_LCL_TOOLS_OBJ = \
eed20b28dd9039d21f5c2770beef2e8b19f7c2f9Timo Sirainen $(SSSD_TOOLS_OBJ)
d2b94d25f842cd1b7acaf4dd7de858f7c6a821c9Timo SirainenSSSD_RESOLV_OBJ = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif BUILD_ARES_DATA
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen SSSD_RESOLV_OBJ += \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo SirainenSSSD_FAILOVER_OBJ = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(SSSD_RESOLV_OBJ)
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen $(TALLOC_LIBS) \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen $(TEVENT_LIBS) \
d2b94d25f842cd1b7acaf4dd7de858f7c6a821c9Timo Sirainen $(POPT_LIBS) \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(LDB_LIBS) \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(DBUS_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(PCRE_LIBS) \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen $(INI_CONFIG_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(COLLECTION_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(DHASH_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(SSS_CRYPT_LIBS) \
60576cd64e6a537413cd90104f7e862f71d48c81Timo Sirainen $(OPENLDAP_LIBS) \
7fc0f80480063a9d4cb9e8c07b50db2a5627799eTimo SirainenPYTHON_BINDINGS_LIBS = \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen $(TALLOC_LIBS) \
203560029e3ad8687c2c759e6a81ecdb8b37ebe6Timo Sirainen $(TEVENT_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(POPT_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(LDB_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(DBUS_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(PCRE_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(DHASH_LIBS) \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen $(SSS_CRYPT_LIBS) \
644268f7848a7c4221146d0b11feb8ed5bbed233Timo Sirainen $(OPENLDAP_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenTOOLS_LIBS = \
d96f86fb881c5b106649e8994ead1052acf24030Timo Sirainen $(TALLOC_LIBS) \
2cfe9983ce7a6280636ee12beccc2e865111967bTimo Sirainen $(TEVENT_LIBS) \
2cfe9983ce7a6280636ee12beccc2e865111967bTimo Sirainen $(POPT_LIBS) \
80cdfe47daf6129410bafcecbe5c9faf09f2721bTimo Sirainen $(LDB_LIBS) \
d2b94d25f842cd1b7acaf4dd7de858f7c6a821c9Timo Sirainen $(DBUS_LIBS) \
80cdfe47daf6129410bafcecbe5c9faf09f2721bTimo Sirainen $(PCRE_LIBS) \
80cdfe47daf6129410bafcecbe5c9faf09f2721bTimo Sirainen $(INI_CONFIG_LIBS) \
d96f86fb881c5b106649e8994ead1052acf24030Timo Sirainen $(COLLECTION_LIBS) \
2cfe9983ce7a6280636ee12beccc2e865111967bTimo Sirainen $(DHASH_LIBS) \
2cfe9983ce7a6280636ee12beccc2e865111967bTimo Sirainen $(OPENLDAP_LIBS) \
d96f86fb881c5b106649e8994ead1052acf24030Timo Sirainenif BUILD_SELINUX
d96f86fb881c5b106649e8994ead1052acf24030Timo Sirainen PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
7a54d58280aad8a64f266c61273ea1e8dff511a3Timo Sirainen TOOLS_LIBS += $(SELINUX_LIBS)
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainenif BUILD_SEMANAGE
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen PYTHON_BINDINGS_LIBS += $(SEMANAGE_LIBS)
e54512a5189192fe72d1e2c53927c98c5ac920b4Timo Sirainen TOOLS_LIBS += $(SEMANAGE_LIBS)
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainendist_noinst_HEADERS = \
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainen dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
3889d05019a072a602f7a8c1eeb8a6f1c1362720Timo Sirainen SSSD_DOCS += libsss_sudo_doc
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainenif HAVE_PTHREAD
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenCLIENT_LIBS = -lpthread
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen#####################
00db1d630a723113609598e28acbae4d416e0cb4Timo Sirainen# Utility libraries #
f95b3d29bc56f139c18c880aa574a0ca72b0cffbTimo Sirainen#####################
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainenpkglib_LTLIBRARIES += libsss_debug.la
00db1d630a723113609598e28acbae4d416e0cb4Timo Sirainenlibsss_debug_la_SOURCES = \
9db263f2b9ab771fbf9a2bff44a245c45eaef218Timo Sirainenlibsss_debug_la_LDFLAGS = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen -avoid-version
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainenpkglib_LTLIBRARIES += libsss_child.la
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenlibsss_child_la_SOURCES = src/util/child_common.c
045e41df5a72f7726aca03f6687cd79e7281fb4bTimo Sirainenlibsss_child_la_LDFLAGS = -avoid-version
50de46721446795c42943c572625f2f1a9abfe01Timo Sirainenpkglib_LTLIBRARIES += libsss_util.la
045e41df5a72f7726aca03f6687cd79e7281fb4bTimo Sirainenlibsss_util_la_SOURCES = \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenlibsss_util_la_LIBADD = \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen $(SSSD_LIBS) \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen $(UNICODE_LIBS) \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen libsss_util_la_SOURCES += src/db/sysdb_sudo.c
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenlibsss_util_la_SOURCES += \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenlibsss_util_la_LDFLAGS = -avoid-version
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenlib_LTLIBRARIES = libipa_hbac.la libsss_idmap.la
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainendist_pkgconfig_DATA += src/providers/ipa/ipa_hbac.pc
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenlibipa_hbac_la_SOURCES = \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainenlibipa_hbac_la_LDFLAGS = \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen -version-info 0:1:0 \
4ee00532a265bdfb38539d811fcd12d51210ac35Timo Sirainen $(UNICODE_LIBS)
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainendist_pkgconfig_DATA += src/lib/idmap/sss_idmap.pc
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenlibsss_idmap_la_SOURCES = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenlibsss_idmap_la_LDFLAGS = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen -version-info 0:1:0
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Siraineninclude_HEADERS = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen####################
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen# Program Binaries #
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen####################
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainensssd_SOURCES = \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainensssd_LDADD = \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen $(SSSD_LIBS) \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen $(LIBNL_LIBS) \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen $(KEYUTILS_LIBS) \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainensssd_nss_SOURCES = \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen $(SSSD_RESPONDER_OBJ)
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainensssd_nss_LDADD = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(TDB_LIBS) \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(SSSD_LIBS) \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainensssd_pam_SOURCES = \
d8a7046624a082938501e8268ed0cdcba4826e96Timo Sirainen $(SSSD_RESPONDER_OBJ)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainensssd_pam_LDADD = \
4ee00532a265bdfb38539d811fcd12d51210ac35Timo Sirainen $(TDB_LIBS) \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(SSSD_LIBS) \
042e2b8447b34051f0380baafcf0073704430239Timo Sirainen $(SELINUX_LIBS) \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainensssd_sudo_SOURCES = \
5dabb8e733a8af2337eb543f782eb6c43ea462dcTimo Sirainen $(SSSD_RESPONDER_OBJ)
5dabb8e733a8af2337eb543f782eb6c43ea462dcTimo Sirainensssd_sudo_LDADD = \
5dabb8e733a8af2337eb543f782eb6c43ea462dcTimo Sirainen $(SSSD_LIBS) \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainenif BUILD_AUTOFS
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensssd_autofs_SOURCES = \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen $(SSSD_RESPONDER_OBJ)
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainensssd_autofs_LDADD = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(SSSD_LIBS) \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensssd_ssh_SOURCES = \
2d01cc1880cf2afd4fb1c8ad7fa6ce78e562e71eTimo Sirainen $(SSSD_RESPONDER_OBJ)
8d80659e504ffb34bb0c6a633184fece35751b18Timo Sirainensssd_ssh_LDADD = \
8f61542ca70f3f0dda15630447a00877b132efa8Timo Sirainen $(SSSD_LIBS) \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensssd_pac_SOURCES = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen $(SSSD_UTIL_OBJ) \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen $(SSSD_RESPONDER_OBJ)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainensssd_pac_CFLAGS = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(AM_CFLAGS) \
e3411c496000d3e2797b43a33584dfba954e815eTimo Sirainen $(NDR_KRB5PAC_CFLAGS)
e3411c496000d3e2797b43a33584dfba954e815eTimo Sirainensssd_pac_LDADD = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen $(NDR_KRB5PAC_LIBS) \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen $(TDB_LIBS) \
d8a7046624a082938501e8268ed0cdcba4826e96Timo Sirainen $(SSSD_LIBS) \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainensssd_be_SOURCES = \
31a574fda352ef4f71dbff9c30e15e4744e132c0Timo Sirainen $(SSSD_FAILOVER_OBJ)
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensssd_be_LDADD = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen $(SSSD_LIBS) \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen $(CARES_LIBS) \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensssd_be_LDFLAGS = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen -export-dynamic \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainenif BUILD_PYTHON_BINDINGS
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_obfuscate_pythondir = $(sbindir)
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainendist_sss_obfuscate_python_SCRIPTS = \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainendist_noinst_DATA += \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen######################
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen# Command-line Tools #
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen######################
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_useradd_SOURCES = \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen $(SSSD_TOOLS_OBJ)
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_useradd_LDADD = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(TOOLS_LIBS)
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_userdel_SOURCES = \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen $(SSSD_LCL_TOOLS_OBJ)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_userdel_LDADD = \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen $(TOOLS_LIBS)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_userdel_CFLAGS = $(AM_CFLAGS)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_userdel_LDFLAGS = \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen $(CLIENT_LIBS)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_groupadd_SOURCES = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(SSSD_TOOLS_OBJ)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_groupadd_LDADD = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen $(TOOLS_LIBS)
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_groupdel_SOURCES = \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen $(SSSD_LCL_TOOLS_OBJ)
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainensss_groupdel_LDADD = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(TOOLS_LIBS)
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainensss_groupdel_CFLAGS = $(AM_CFLAGS)
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainensss_groupdel_LDFLAGS = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(CLIENT_LIBS)
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainensss_usermod_SOURCES = \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen $(SSSD_LCL_TOOLS_OBJ)
b9a664472557182cff0825a2285b8fca39f72947Timo Sirainensss_usermod_LDADD = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(TOOLS_LIBS)
b9a664472557182cff0825a2285b8fca39f72947Timo Sirainensss_usermod_CFLAGS = $(AM_CFLAGS)
b9a664472557182cff0825a2285b8fca39f72947Timo Sirainensss_usermod_LDFLAGS = \
82d3a1d1594ed93d04d7bf999027b3e5104de6e4Timo Sirainen $(CLIENT_LIBS)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_groupmod_SOURCES = \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen $(SSSD_LCL_TOOLS_OBJ)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_groupmod_LDADD = \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen $(TOOLS_LIBS)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_groupmod_CFLAGS = $(AM_CFLAGS)
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_groupmod_LDFLAGS = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(CLIENT_LIBS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_groupshow_SOURCES = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(SSSD_TOOLS_OBJ)
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensss_groupshow_LDADD = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(TOOLS_LIBS)
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_cache_SOURCES = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(SSSD_LCL_TOOLS_OBJ)
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_cache_LDADD = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(TOOLS_LIBS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_cache_CFLAGS = $(AM_CFLAGS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_cache_LDFLAGS = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(CLIENT_LIBS)
8ae72ad7d0c69e972cfa65d1e2ce4e3e9a8b765cTimo Sirainensss_debuglevel_SOURCES = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(SSSD_TOOLS_OBJ)
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_debuglevel_LDADD = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(TOOLS_LIBS)
d48ab236010e588c7b52e54db47fe9842a2e27e8Timo Sirainensss_seed_SOURCES = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(SSSD_TOOLS_OBJ)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_seed_LDADD = \
073f965351846b8c97347b882c441dc336965e26Timo Sirainen $(TOOLS_LIBS)
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_sudo_cli_SOURCES = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensss_sudo_cli_CFLAGS = $(AM_CFLAGS)
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainensss_sudo_cli_LDFLAGS = $(CLIENT_LIBS)
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_ssh_authorizedkeys_SOURCES = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_ssh_authorizedkeys_CFLAGS = $(AM_CFLAGS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_ssh_authorizedkeys_LDADD = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_ssh_authorizedkeys_LDFLAGS = $(CLIENT_LIBS)
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainensss_ssh_knownhostsproxy_SOURCES = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_ssh_knownhostsproxy_CFLAGS = $(AM_CFLAGS)
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_ssh_knownhostsproxy_LDADD = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_ssh_knownhostsproxy_LDFLAGS = $(CLIENT_LIBS)
d48ab236010e588c7b52e54db47fe9842a2e27e8Timo Sirainen#################
d48ab236010e588c7b52e54db47fe9842a2e27e8Timo Sirainen# Feature Tests #
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen#################
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo SirainenTESTS_ENVIRONMENT = LDB_MODULES_PATH=$(abs_top_builddir)/ldb_mod_test_dir
073f965351846b8c97347b882c441dc336965e26Timo Sirainenldb_mod_test_dir: memberof.la
073f965351846b8c97347b882c441dc336965e26Timo Sirainen mkdir -p $(builddir)/ldb_mod_test_dir
073f965351846b8c97347b882c441dc336965e26Timo Sirainen cp $(builddir)/.libs/memberof.so $(builddir)/ldb_mod_test_dir
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainennoinst_LTLIBRARIES += \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenlibsss_test_common_la_SOURCES = \
6202c9d2492d33ff28ba61a5c57c6768df9577d0Timo Sirainenlibsss_test_common_la_SOURCES += \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainensysdb_tests_DEPENDENCIES = \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(ldblib_LTLIBRARIES)
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensysdb_tests_SOURCES = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensysdb_tests_CFLAGS = \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(AM_CFLAGS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(CHECK_CFLAGS)
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensysdb_tests_LDADD = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(SSSD_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(CHECK_LIBS) \
a24b0595f0f7d3925d4c9ac26fa503ff87c43e43Timo Sirainensysdb_ssh_tests_DEPENDENCIES = \
a4f09749814b93e8ad3ec8a0dc18885b874d6f8cTimo Sirainen $(ldblib_LTLIBRARIES)
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensysdb_ssh_tests_SOURCES = \
a24b0595f0f7d3925d4c9ac26fa503ff87c43e43Timo Sirainensysdb_ssh_tests_CFLAGS = \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen $(AM_CFLAGS)\
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen $(CHECK_CFLAGS)
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainensysdb_ssh_tests_LDADD = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(SSSD_LIBS) \
6202c9d2492d33ff28ba61a5c57c6768df9577d0Timo Sirainen $(CHECK_LIBS) \
19a1cfc537d979c532fac71264dba0b9dabc65d9Timo Sirainenstrtonum_tests_SOURCES = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainenstrtonum_tests_CFLAGS = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(AM_CFLAGS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(CHECK_CFLAGS)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenstrtonum_tests_LDADD = \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen $(SSSD_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(CHECK_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenkrb5_utils_tests_SOURCES = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(SSSD_FAILOVER_OBJ)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenkrb5_utils_tests_CFLAGS = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(AM_CFLAGS) \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(CHECK_CFLAGS)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenkrb5_utils_tests_LDADD = \
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