Makefile.am revision 88275cccddf39892e01682b39b02292eb74729bd
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3Timo Sirainenextra_distcheck_flags =
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenif HAVE_DEVSHM
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen extra_distcheck_flags += --with-test-dir=/dev/shm
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenendif
16f816d3f3c32ae3351834253f52ddd0212bcbf3Timo Sirainen
1bdda5c0c30463160c47151537e6bb2c6c994841Timo SirainenDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen --enable-all-experimental-features \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(extra_distcheck_flags)
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo SirainenSUBDIRS = po
e54512a5189192fe72d1e2c53927c98c5ac920b4Timo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif HAVE_MANPAGES
1bdda5c0c30463160c47151537e6bb2c6c994841Timo SirainenSUBDIRS += src/man
645f258ea29afaf09b673fc65d1bd788dfec8db8Timo Sirainenendif
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen# Some old versions of automake don't define builddir
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenbuilddir ?= .
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen
043c8a96a035379bcba04f487d58457beefdfcaaTimo SirainenDOXYGEN = @DOXYGEN@
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen
043c8a96a035379bcba04f487d58457beefdfcaaTimo SirainenDISTSETUPOPTS =
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainenif HAVE_DEBIAN
043c8a96a035379bcba04f487d58457beefdfcaaTimo SirainenDISTSETUPOPTS += --install-layout=deb
c9dea5c23355dea35c6fa423de69f6507852efe4Timo Sirainenendif
c9dea5c23355dea35c6fa423de69f6507852efe4Timo Sirainen
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainensssdlibexecdir = $(libexecdir)/sssd
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainensssdlibdir = $(libdir)/sssd
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenldblibdir = @ldblibdir@
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif BUILD_KRB5_LOCATOR_PLUGIN
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenkrb5plugindir = @krb5pluginpath@
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenendif
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenif BUILD_PAC_RESPONDER
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenkrb5authdata_plugindir = @krb5authdatapluginpath@
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenendif
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@
6ef7e31619edfaa17ed044b45861d106a86191efTimo Sirainen
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 Sirainen
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo SirainenUNICODE_LIBS=@UNICODE_LIBS@
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo SirainenAM_CFLAGS =
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainenif WANT_AUX_INFO
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen AM_CFLAGS += -aux-info $@.X
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainenendif
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif HAVE_GCC
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 \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen -std=gnu99
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenendif
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainendist_pkgconfig_DATA =
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo SirainenACLOCAL_AMFLAGS = -I m4 -I .
8b12e7b44abca3bd51a1c46e19ca504f3b55e723Timo Sirainen
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenif BUILD_SSH
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenbin_PROGRAMS = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen sss_ssh_authorizedkeys \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen sss_ssh_knownhostsproxy
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenendif
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainensbin_PROGRAMS = \
8b12e7b44abca3bd51a1c46e19ca504f3b55e723Timo Sirainen sssd \
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 \
872b8fd8a8db97dc54067b7ab25bda96ec0aac0dTimo Sirainen sss_cache \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen sss_debuglevel \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen sss_seed
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainensssdlibexec_PROGRAMS = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen sssd_nss \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen sssd_pam \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen sssd_be \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen krb5_child \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen ldap_child \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen proxy_child
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenif BUILD_SUDO
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainensssdlibexec_PROGRAMS += sssd_sudo
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenendif
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif BUILD_AUTOFS
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainensssdlibexec_PROGRAMS += sssd_autofs
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenendif
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenif BUILD_SSH
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainensssdlibexec_PROGRAMS += sssd_ssh
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenendif
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif BUILD_PAC_RESPONDER
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen sssdlibexec_PROGRAMS += sssd_pac
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenendif
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen
4bbee99b3aef449a9a2a11a5b5cf1ca486915c49Timo Sirainenif HAVE_CHECK
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 \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen auth-tests \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen ipa_ldap_opt-tests \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen ad_ldap_opt-tests \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen simple_access-tests \
2aecf7be5834e7f6520f8deaad683a6fa1de4d61Timo Sirainen crypto-tests \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen util-tests \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen debug-tests \
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4Timo Sirainen ipa_hbac-tests \
2aecf7be5834e7f6520f8deaad683a6fa1de4d61Timo Sirainen sss_idmap-tests \
2aecf7be5834e7f6520f8deaad683a6fa1de4d61Timo Sirainen responder_socket_access-tests
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen
8ae72ad7d0c69e972cfa65d1e2ce4e3e9a8b765cTimo Sirainenif BUILD_PAC_RESPONDER
70612e07102b75a8511aa7f9de60771176b18de0Timo Sirainen non_interactive_check_based_tests += pac_responder-tests
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenendif
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen
55773f17bccf6361d6599ffcbe072d7c9fe205bfTimo Sirainenif BUILD_SSH
ca98d6a1bbe73499da758a36bfab2963375c8d06Timo Sirainen non_interactive_check_based_tests += sysdb_ssh-tests
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainenendif
55773f17bccf6361d6599ffcbe072d7c9fe205bfTimo Sirainen
5df33e9ee65eec194105b338c55dedbf8422f695Timo Sirainenendif
55773f17bccf6361d6599ffcbe072d7c9fe205bfTimo Sirainen
5df33e9ee65eec194105b338c55dedbf8422f695Timo Sirainenif HAVE_CMOCKA
5df33e9ee65eec194105b338c55dedbf8422f695Timo Sirainen non_interactive_cmocka_based_tests = \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen nss-srv-tests \
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen test-find-uid \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen test-io
ca98d6a1bbe73499da758a36bfab2963375c8d06Timo Sirainenendif
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen
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)
ecd69c4e8371853667e01b0c16d436ef7f7393e2Timo Sirainen
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo SirainenPYTHON_TESTS =
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo Sirainen
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo Sirainenif BUILD_PYTHON_BINDINGS
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo SirainenPYTHON_TESTS += src/config/SSSDConfigTest.py \
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo Sirainen src/tests/pyhbac-test.py \
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo Sirainen src/tests/pysss_murmur-test.py
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo Sirainenendif
77af0bd168cf3e3ddc3ae68abc82bfad7e9b5ff4Timo Sirainen
77af0bd168cf3e3ddc3ae68abc82bfad7e9b5ff4Timo SirainenTESTS = \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen $(PYTHON_TESTS) \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen $(non_interactive_cmocka_based_tests) \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen $(non_interactive_check_based_tests)
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainensssdlib_LTLIBRARIES = \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen libsss_ldap.la \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen libsss_krb5.la \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen libsss_proxy.la \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen libsss_ipa.la \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen libsss_ad.la \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen libsss_simple.la
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainenldblib_LTLIBRARIES = \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen memberof.la
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainenif BUILD_KRB5_LOCATOR_PLUGIN
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainenkrb5plugin_LTLIBRARIES = \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen sssd_krb5_locator_plugin.la
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainenendif
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainenif BUILD_PAC_RESPONDER
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenkrb5authdata_plugin_LTLIBRARIES = \
a4f09749814b93e8ad3ec8a0dc18885b874d6f8cTimo Sirainen sssd_pac_plugin.la
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenendif
ecd69c4e8371853667e01b0c16d436ef7f7393e2Timo Sirainen
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainennoinst_LTLIBRARIES =
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenpkglib_LTLIBRARIES = \
ecd69c4e8371853667e01b0c16d436ef7f7393e2Timo Sirainen libsss_crypt.la
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen
4b058f90f9e8a2c6b2eed275de4eb8cc5195a71dTimo Sirainenif HAVE_NSS
91dca97b367c54a139c268b56a0c67f564bd9197Timo Sirainen SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_base64.c \
91dca97b367c54a139c268b56a0c67f564bd9197Timo Sirainen src/util/crypto/nss/nss_hmac_sha1.c \
91dca97b367c54a139c268b56a0c67f564bd9197Timo Sirainen src/util/crypto/nss/nss_sha512crypt.c \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen src/util/crypto/nss/nss_obfuscate.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/util/crypto/nss/nss_util.c
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen SSS_CRYPT_LIBS = $(NSS_LIBS)
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenelse
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 src/util/crypto/libcrypto/crypto_obfuscate.c
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
1952eb389b8aba39195380970f905dcebea38dfcTimo Sirainenendif
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen
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
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen
ecd69c4e8371853667e01b0c16d436ef7f7393e2Timo Sirainenif BUILD_PYTHON_BINDINGS
ecd69c4e8371853667e01b0c16d436ef7f7393e2Timo Sirainenpyexec_LTLIBRARIES = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen pysss.la \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen pyhbac.la \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen pysss_murmur.la
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenendif
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen
55773f17bccf6361d6599ffcbe072d7c9fe205bfTimo Sirainendist_noinst_SCRIPTS = \
45b2a27617d8475f71fdfc870690e46cd63849f2Timo Sirainen $(EXTRA_SCRIPTS) \
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen src/config/setup.py \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen src/config/SSSDConfig/ipachangeconf.py \
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen src/config/SSSDConfig/__init__.py \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen src/config/SSSDConfigTest.py \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen src/config/SSSDConfig/sssd_upgrade_config.py \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen contrib/rhel/update_debug_levels.py \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen contrib/fedora/bashrc_sssd \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen src/tests/pyhbac-test.py \
d22301419109ed4a38351715e6760011421dadecTimo Sirainen src/tests/pysss_murmur-test.py
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainendist_noinst_DATA = \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen src/config/testconfigs/sssd-valid.conf \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen src/config/testconfigs/noparse.api.conf \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen src/config/testconfigs/sssd-noversion.conf \
ecd69c4e8371853667e01b0c16d436ef7f7393e2Timo Sirainen src/config/testconfigs/sssd-badversion.conf \
ecd69c4e8371853667e01b0c16d436ef7f7393e2Timo Sirainen src/config/testconfigs/sssd-invalid.conf \
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen src/config/testconfigs/sssd-invalid-badbool.conf
ecd69c4e8371853667e01b0c16d436ef7f7393e2Timo Sirainen
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen###############################
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen# Global compilation settings #
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainen###############################
70612e07102b75a8511aa7f9de60771176b18de0Timo Sirainen
70612e07102b75a8511aa7f9de60771176b18de0Timo SirainenAM_CPPFLAGS = \
70612e07102b75a8511aa7f9de60771176b18de0Timo Sirainen -Wall \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen -Iinclude \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen -I.. \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen -I$(srcdir)/include \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen -I$(srcdir)/src/sss_client \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen -I$(srcdir)/src \
469a6cf705835ade57dcb59979b6e054207ae5d7Timo Sirainen -Iinclude \
469a6cf705835ade57dcb59979b6e054207ae5d7Timo Sirainen -I. \
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)\"
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenEXTRA_DIST = build/config.rpath
645f258ea29afaf09b673fc65d1bd788dfec8db8Timo Sirainen
1bdda5c0c30463160c47151537e6bb2c6c994841Timo SirainenSSSD_RESPONDER_OBJ = \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen src/responder/common/negcache.c \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/responder/common/responder_cmd.c \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/responder/common/responder_common.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/responder/common/responder_dp.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/responder/common/responder_packet.c \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/responder/common/responder_get_domains.c
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen
1bdda5c0c30463160c47151537e6bb2c6c994841Timo SirainenSSSD_TOOLS_OBJ = \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/tools/sss_sync_ops.c \
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo Sirainen src/tools/tools_util.c \
ae1b268ffff743ad9927c304a1344c5cbd7f909dTimo Sirainen src/tools/files.c \
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen src/tools/selinux.c \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen src/tools/nscd.c
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen
eed20b28dd9039d21f5c2770beef2e8b19f7c2f9Timo SirainenSSSD_LCL_TOOLS_OBJ = \
eed20b28dd9039d21f5c2770beef2e8b19f7c2f9Timo Sirainen src/sss_client/common.c \
eed20b28dd9039d21f5c2770beef2e8b19f7c2f9Timo Sirainen src/tools/tools_mc_util.c \
eed20b28dd9039d21f5c2770beef2e8b19f7c2f9Timo Sirainen $(SSSD_TOOLS_OBJ)
eed20b28dd9039d21f5c2770beef2e8b19f7c2f9Timo Sirainen
d2b94d25f842cd1b7acaf4dd7de858f7c6a821c9Timo SirainenSSSD_RESOLV_OBJ = \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/resolv/async_resolv.c \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/resolv/async_resolv_utils.c
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif BUILD_ARES_DATA
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen SSSD_RESOLV_OBJ += \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen src/resolv/ares/ares_parse_srv_reply.c \
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen src/resolv/ares/ares_data.c
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainenendif
d22301419109ed4a38351715e6760011421dadecTimo Sirainen
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo SirainenSSSD_FAILOVER_OBJ = \
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen src/providers/fail_over.c \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/providers/fail_over_srv.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(SSSD_RESOLV_OBJ)
8d80659e504ffb34bb0c6a633184fece35751b18Timo Sirainen
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo SirainenSSSD_LIBS = \
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) \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen $(TDB_LIBS)
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen
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) \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(TDB_LIBS)
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen
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 Sirainen $(TDB_LIBS)
d96f86fb881c5b106649e8994ead1052acf24030Timo Sirainen
d96f86fb881c5b106649e8994ead1052acf24030Timo Sirainenif BUILD_SELINUX
d96f86fb881c5b106649e8994ead1052acf24030Timo Sirainen PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
7a54d58280aad8a64f266c61273ea1e8dff511a3Timo Sirainen TOOLS_LIBS += $(SELINUX_LIBS)
7a54d58280aad8a64f266c61273ea1e8dff511a3Timo Sirainenendif
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainenif BUILD_SEMANAGE
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen PYTHON_BINDINGS_LIBS += $(SEMANAGE_LIBS)
e54512a5189192fe72d1e2c53927c98c5ac920b4Timo Sirainen TOOLS_LIBS += $(SEMANAGE_LIBS)
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainenendif
6f6f3dc5b33b09097192124bce17b7017d6bbfcfTimo Sirainen
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainendist_noinst_HEADERS = \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/monitor/monitor.h \
4d0d535efdfc4aad3bd48b74adfafecf58094e0aTimo Sirainen src/util/crypto/sss_crypto.h \
4d0d535efdfc4aad3bd48b74adfafecf58094e0aTimo Sirainen src/util/dlinklist.h \
4d0d535efdfc4aad3bd48b74adfafecf58094e0aTimo Sirainen src/util/util.h \
4d0d535efdfc4aad3bd48b74adfafecf58094e0aTimo Sirainen src/util/io.h \
4d0d535efdfc4aad3bd48b74adfafecf58094e0aTimo Sirainen src/util/util_errors.h \
4d0d535efdfc4aad3bd48b74adfafecf58094e0aTimo Sirainen src/util/strtonum.h \
6f6f3dc5b33b09097192124bce17b7017d6bbfcfTimo Sirainen src/util/sss_nss.h \
6f6f3dc5b33b09097192124bce17b7017d6bbfcfTimo Sirainen src/util/sss_ldap.h \
6f6f3dc5b33b09097192124bce17b7017d6bbfcfTimo Sirainen src/util/sss_python.h \
e54512a5189192fe72d1e2c53927c98c5ac920b4Timo Sirainen src/util/sss_krb5.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/util/sss_selinux.h \
49be238e250e99af8c69321264a461d8f6ceef62Timo Sirainen src/util/sss_utf8.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/util/sss_ssh.h \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen src/util/refcount.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/util/find_uid.h \
e54512a5189192fe72d1e2c53927c98c5ac920b4Timo Sirainen src/util/user_info_msg.h \
e54512a5189192fe72d1e2c53927c98c5ac920b4Timo Sirainen src/util/murmurhash3.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/util/mmap_cache.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/util/atomic_io.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/util/auth_utils.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/util/authtok.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/monitor/monitor.h \
992118a50af940482b6cf884a89be56d7015580aTimo Sirainen src/monitor/monitor_interfaces.h \
8b5b1f6cb19253dfd7821fcef8e9b7e95e6caf3aTimo Sirainen src/responder/common/responder.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/responder/common/responder_packet.h \
49be238e250e99af8c69321264a461d8f6ceef62Timo Sirainen src/responder/common/responder_sbus.h \
49be238e250e99af8c69321264a461d8f6ceef62Timo Sirainen src/responder/pam/pamsrv.h \
8b5b1f6cb19253dfd7821fcef8e9b7e95e6caf3aTimo Sirainen src/responder/pam/pam_helpers.h \
489301ee88b2174e3171875e979e667de2c4a174Timo Sirainen src/responder/nss/nsssrv.h \
8b5b1f6cb19253dfd7821fcef8e9b7e95e6caf3aTimo Sirainen src/responder/nss/nsssrv_private.h \
8b5b1f6cb19253dfd7821fcef8e9b7e95e6caf3aTimo Sirainen src/responder/nss/nsssrv_netgroup.h \
49be238e250e99af8c69321264a461d8f6ceef62Timo Sirainen src/responder/nss/nsssrv_services.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/responder/nss/nsssrv_mmap_cache.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/responder/pac/pacsrv.h \
49be238e250e99af8c69321264a461d8f6ceef62Timo Sirainen src/responder/common/negcache.h \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen src/responder/sudo/sudosrv_private.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/responder/autofs/autofs_private.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/responder/ssh/sshsrv_private.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/sbus/sbus_client.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/sbus/sssd_dbus.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/sbus/sssd_dbus_private.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/db/sysdb.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/db/sysdb_sudo.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/db/sysdb_autofs.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/db/sysdb_selinux.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/db/sysdb_private.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/db/sysdb_services.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/db/sysdb_ssh.h \
2aecf7be5834e7f6520f8deaad683a6fa1de4d61Timo Sirainen src/confdb/confdb.h \
2aecf7be5834e7f6520f8deaad683a6fa1de4d61Timo Sirainen src/confdb/confdb_private.h \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/confdb/confdb_setup.h \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/providers/data_provider.h \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen src/providers/dp_backend.h \
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainen src/providers/fail_over.h \
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainen src/providers/fail_over_srv.h \
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainen src/util/child_common.h \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/providers/simple/simple_access.h \
6df0ab0c1ab91f06b6418cb30eff44405a1b8f02Timo Sirainen src/providers/krb5/krb5_auth.h \
a24b0595f0f7d3925d4c9ac26fa503ff87c43e43Timo Sirainen src/providers/krb5/krb5_common.h \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/providers/krb5/krb5_utils.h \
2aecf7be5834e7f6520f8deaad683a6fa1de4d61Timo Sirainen src/providers/krb5/krb5_init_shared.h \
645f258ea29afaf09b673fc65d1bd788dfec8db8Timo Sirainen src/providers/krb5/krb5_opts.h \
1045a1d4c191a14867cde0d5cea9e4ac5e36f85fTimo Sirainen src/providers/ldap/ldap_common.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/providers/ldap/sdap.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/providers/ldap/sdap_access.h \
dd0dea1fdd913a04bae16e82dd66d67571a5f6c2Timo Sirainen src/providers/ldap/sdap_async.h \
96541d31299bb40b5a6efdbf9b4cb3d4f4b4a069Timo Sirainen src/providers/ldap/sdap_async_private.h \
d96f86fb881c5b106649e8994ead1052acf24030Timo Sirainen src/providers/ldap/sdap_sudo_cache.h \
d96f86fb881c5b106649e8994ead1052acf24030Timo Sirainen src/providers/ldap/sdap_sudo.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/providers/ldap/sdap_autofs.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/providers/ldap/sdap_id_op.h \
eed20b28dd9039d21f5c2770beef2e8b19f7c2f9Timo Sirainen src/providers/ldap/ldap_opts.h \
eed20b28dd9039d21f5c2770beef2e8b19f7c2f9Timo Sirainen src/providers/ldap/sdap_range.h \
d96f86fb881c5b106649e8994ead1052acf24030Timo Sirainen src/providers/ldap/sdap_users.h \
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainen src/providers/ipa/ipa_common.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/providers/ipa/ipa_config.h \
645f258ea29afaf09b673fc65d1bd788dfec8db8Timo Sirainen src/providers/ipa/ipa_access.h \
50de46721446795c42943c572625f2f1a9abfe01Timo Sirainen src/providers/ipa/ipa_selinux.h \
50de46721446795c42943c572625f2f1a9abfe01Timo Sirainen src/providers/ipa/ipa_hosts.h \
96541d31299bb40b5a6efdbf9b4cb3d4f4b4a069Timo Sirainen src/providers/ipa/ipa_selinux_common.h \
55773f17bccf6361d6599ffcbe072d7c9fe205bfTimo Sirainen src/providers/ipa/ipa_selinux_maps.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/providers/ipa/ipa_auth.h \
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainen src/providers/ipa/ipa_dyndns.h \
a24b0595f0f7d3925d4c9ac26fa503ff87c43e43Timo Sirainen src/providers/ipa/ipa_subdomains.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/providers/ipa/ipa_id.h \
645f258ea29afaf09b673fc65d1bd788dfec8db8Timo Sirainen src/providers/ipa/ipa_hostid.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/providers/ipa/ipa_opts.h \
2cfe9983ce7a6280636ee12beccc2e865111967bTimo Sirainen src/providers/ipa/ipa_srv.h \
2cfe9983ce7a6280636ee12beccc2e865111967bTimo Sirainen src/providers/proxy/proxy.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/tools/tools_util.h \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen src/tools/sss_sync_ops.h \
fdc557286bc9f92c5f3bb49096ff6e2bcec0ea79Timo Sirainen src/resolv/async_resolv.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/resolv/ares/ares_parse_srv_reply.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/resolv/ares/ares_parse_txt_reply.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/resolv/ares/ares_data.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/tests/common.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/tests/cmocka/common_mock.h \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen src/tests/cmocka/common_mock_resp.h \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/sss_client/ssh/sss_ssh_client.h \
3889d05019a072a602f7a8c1eeb8a6f1c1362720Timo Sirainen src/lib/idmap/sss_idmap_private.h
3889d05019a072a602f7a8c1eeb8a6f1c1362720Timo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenif HAVE_NSS
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainen dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
3889d05019a072a602f7a8c1eeb8a6f1c1362720Timo Sirainenendif
3889d05019a072a602f7a8c1eeb8a6f1c1362720Timo Sirainen
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo SirainenSSSD_DOCS = \
b0a901f1dbe9e05ac1c92a0974af6bce0274f31aTimo Sirainen doc \
b0a901f1dbe9e05ac1c92a0974af6bce0274f31aTimo Sirainen hbac_doc \
3889d05019a072a602f7a8c1eeb8a6f1c1362720Timo Sirainen idmap_doc
3889d05019a072a602f7a8c1eeb8a6f1c1362720Timo Sirainen
3889d05019a072a602f7a8c1eeb8a6f1c1362720Timo Sirainenif BUILD_SUDO
3889d05019a072a602f7a8c1eeb8a6f1c1362720Timo Sirainen SSSD_DOCS += libsss_sudo_doc
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainenendif
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainen
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainenif HAVE_PTHREAD
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo SirainenCLIENT_LIBS = -lpthread
36977c4a74e164f7d81eb4785f0a5d3ff436fd19Timo Sirainenendif
d22301419109ed4a38351715e6760011421dadecTimo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen#####################
00db1d630a723113609598e28acbae4d416e0cb4Timo Sirainen# Utility libraries #
f95b3d29bc56f139c18c880aa574a0ca72b0cffbTimo Sirainen#####################
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainenpkglib_LTLIBRARIES += libsss_debug.la
00db1d630a723113609598e28acbae4d416e0cb4Timo Sirainenlibsss_debug_la_SOURCES = \
50de46721446795c42943c572625f2f1a9abfe01Timo Sirainen src/util/debug.c \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen src/util/sss_log.c
9db263f2b9ab771fbf9a2bff44a245c45eaef218Timo Sirainenlibsss_debug_la_LDFLAGS = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen -avoid-version
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen
043c8a96a035379bcba04f487d58457beefdfcaaTimo Sirainenpkglib_LTLIBRARIES += libsss_child.la
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenlibsss_child_la_SOURCES = src/util/child_common.c
045e41df5a72f7726aca03f6687cd79e7281fb4bTimo Sirainenlibsss_child_la_LDFLAGS = -avoid-version
d052dcfff0c96a0af17a3158e51f709edf4b93a1Timo Sirainen
50de46721446795c42943c572625f2f1a9abfe01Timo Sirainenpkglib_LTLIBRARIES += libsss_util.la
045e41df5a72f7726aca03f6687cd79e7281fb4bTimo Sirainenlibsss_util_la_SOURCES = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/confdb/confdb.c \
645f258ea29afaf09b673fc65d1bd788dfec8db8Timo Sirainen src/db/sysdb.c \
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainen src/db/sysdb_ops.c \
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainen src/db/sysdb_search.c \
20195ef995a4eb63a282283db63f1dc0605323e0Timo Sirainen src/db/sysdb_selinux.c \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen src/db/sysdb_upgrade.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/db/sysdb_services.c \
645f258ea29afaf09b673fc65d1bd788dfec8db8Timo Sirainen src/db/sysdb_autofs.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/db/sysdb_subdomains.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/db/sysdb_ranges.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/db/sysdb_idmap.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/monitor/monitor_sbus.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/providers/dp_auth_util.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/providers/dp_pam_data_util.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/providers/dp_sbus.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/sbus/sbus_client.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/sbus/sssd_dbus_common.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/sbus/sssd_dbus_connection.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/sbus/sssd_dbus_server.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/util.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/memory.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/server.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/signal.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/usertools.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/backup_file.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/strtonum.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/check_and_open.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/refcount.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/sss_nss.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/sss_utf8.c \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen src/util/sss_tc_utf8.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/murmurhash3.c \
cf52b37d807553e91a2d6fb7cb2c8b4c34589e1dTimo Sirainen src/util/atomic_io.c \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen src/util/authtok.c \
86ad841251a38aa9ffcf4db4ee2c9fd449121bcbTimo Sirainen src/util/sss_selinux.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/domain_info_utils.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/util_lock.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/util/util_errors.c \
6ef7e31619edfaa17ed044b45861d106a86191efTimo Sirainen src/util/io.c
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenlibsss_util_la_LIBADD = \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen $(SSSD_LIBS) \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen $(UNICODE_LIBS) \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen libsss_child.la \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen libsss_crypt.la \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen libsss_debug.la
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenif BUILD_SUDO
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen libsss_util_la_SOURCES += src/db/sysdb_sudo.c
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenendif
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenif BUILD_SSH
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenlibsss_util_la_SOURCES += \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen src/db/sysdb_ssh.c \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen src/util/sss_ssh.c
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenendif
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenlibsss_util_la_LDFLAGS = -avoid-version
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenlib_LTLIBRARIES = libipa_hbac.la libsss_idmap.la
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainendist_pkgconfig_DATA += src/providers/ipa/ipa_hbac.pc
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainenlibipa_hbac_la_SOURCES = \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen src/providers/ipa/hbac_evaluator.c \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen src/util/sss_utf8.c
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainenlibipa_hbac_la_LDFLAGS = \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen -version-info 0:1:0 \
4ee00532a265bdfb38539d811fcd12d51210ac35Timo Sirainen $(UNICODE_LIBS)
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainendist_pkgconfig_DATA += src/lib/idmap/sss_idmap.pc
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenlibsss_idmap_la_SOURCES = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen src/lib/idmap/sss_idmap.c \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen src/lib/idmap/sss_idmap_conv.c
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainenlibsss_idmap_la_LDFLAGS = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen -version-info 0:1:0
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Siraineninclude_HEADERS = \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen src/providers/ipa/ipa_hbac.h \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen src/lib/idmap/sss_idmap.h
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen####################
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen# Program Binaries #
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen####################
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainensssd_SOURCES = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen src/monitor/monitor.c \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen src/monitor/monitor_netlink.c \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen src/confdb/confdb_setup.c
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainensssd_LDADD = \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen $(SSSD_LIBS) \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen $(LIBNL_LIBS) \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen $(KEYUTILS_LIBS) \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen libsss_util.la
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainensssd_nss_SOURCES = \
1e242794e7a4f653f18fbb8edfe9ccec489a3a08Timo Sirainen src/responder/nss/nsssrv.c \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen src/responder/nss/nsssrv_cmd.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/responder/nss/nsssrv_netgroup.c \
31a574fda352ef4f71dbff9c30e15e4744e132c0Timo Sirainen src/responder/nss/nsssrv_services.c \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen src/responder/nss/nsssrv_mmap_cache.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen $(SSSD_RESPONDER_OBJ)
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainensssd_nss_LDADD = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(TDB_LIBS) \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(SSSD_LIBS) \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen libsss_util.la
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainensssd_pam_SOURCES = \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen src/responder/pam/pam_LOCAL_domain.c \
2aecf7be5834e7f6520f8deaad683a6fa1de4d61Timo Sirainen src/responder/pam/pamsrv.c \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen src/responder/pam/pamsrv_cmd.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/responder/pam/pamsrv_dp.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/responder/pam/pam_helpers.c \
d8a7046624a082938501e8268ed0cdcba4826e96Timo Sirainen $(SSSD_RESPONDER_OBJ)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainensssd_pam_LDADD = \
4ee00532a265bdfb38539d811fcd12d51210ac35Timo Sirainen $(TDB_LIBS) \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(SSSD_LIBS) \
042e2b8447b34051f0380baafcf0073704430239Timo Sirainen $(SELINUX_LIBS) \
042e2b8447b34051f0380baafcf0073704430239Timo Sirainen libsss_util.la
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen
e217d6fce33746e198ecc21bff0bc658664c9ef4Timo Sirainenif BUILD_SUDO
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainensssd_sudo_SOURCES = \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen src/responder/sudo/sudosrv.c \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen src/responder/sudo/sudosrv_cmd.c \
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen src/responder/sudo/sudosrv_get_sudorules.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen src/responder/sudo/sudosrv_query.c \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen src/responder/sudo/sudosrv_dp.c \
5dabb8e733a8af2337eb543f782eb6c43ea462dcTimo Sirainen $(SSSD_RESPONDER_OBJ)
5dabb8e733a8af2337eb543f782eb6c43ea462dcTimo Sirainensssd_sudo_LDADD = \
5dabb8e733a8af2337eb543f782eb6c43ea462dcTimo Sirainen $(SSSD_LIBS) \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen libsss_util.la
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainenendif
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainen
c04f9a724a7b3cc649485a61b0a540868d25d71bTimo Sirainenif BUILD_AUTOFS
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensssd_autofs_SOURCES = \
f95b3d29bc56f139c18c880aa574a0ca72b0cffbTimo Sirainen src/responder/autofs/autofssrv.c \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen src/responder/autofs/autofssrv_cmd.c \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen src/responder/autofs/autofssrv_dp.c \
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainen $(SSSD_RESPONDER_OBJ)
98dd8e6e81f11f1e6040ca72f4916242d246c863Timo Sirainensssd_autofs_LDADD = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(SSSD_LIBS) \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen libsss_util.la
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainenendif
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainenif BUILD_SSH
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensssd_ssh_SOURCES = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen src/responder/ssh/sshsrv.c \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen src/responder/ssh/sshsrv_dp.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/responder/ssh/sshsrv_cmd.c \
2d01cc1880cf2afd4fb1c8ad7fa6ce78e562e71eTimo Sirainen $(SSSD_RESPONDER_OBJ)
8d80659e504ffb34bb0c6a633184fece35751b18Timo Sirainensssd_ssh_LDADD = \
8f61542ca70f3f0dda15630447a00877b132efa8Timo Sirainen $(SSSD_LIBS) \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen libsss_util.la
7fc0f80480063a9d4cb9e8c07b50db2a5627799eTimo Sirainenendif
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensssd_pac_SOURCES = \
38d7db318188c4ac9cdc8c6cdb936b36a5258e19Timo Sirainen src/responder/pac/pacsrv.c \
38d7db318188c4ac9cdc8c6cdb936b36a5258e19Timo Sirainen src/responder/pac/pacsrv_cmd.c \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen src/responder/pac/pacsrv_utils.c \
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) \
d8a7046624a082938501e8268ed0cdcba4826e96Timo Sirainen libsss_idmap.la \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen libsss_util.la
d8a7046624a082938501e8268ed0cdcba4826e96Timo Sirainen
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainensssd_be_SOURCES = \
48ac48572e6a196ac6c415180f0c8dcfad35d788Timo Sirainen src/providers/data_provider_be.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/providers/data_provider_fo.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/providers/data_provider_opts.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/providers/data_provider_callbacks.c \
31a574fda352ef4f71dbff9c30e15e4744e132c0Timo Sirainen $(SSSD_FAILOVER_OBJ)
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensssd_be_LDADD = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen -ldl \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen $(SSSD_LIBS) \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen $(CARES_LIBS) \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen libsss_util.la
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensssd_be_LDFLAGS = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen -export-dynamic \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen $(PAM_LIBS)
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainenif BUILD_PYTHON_BINDINGS
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_obfuscate_pythondir = $(sbindir)
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainendist_sss_obfuscate_python_SCRIPTS = \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen src/tools/sss_obfuscate
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainenendif
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainendist_noinst_DATA += \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen src/examples/sssd-example.conf \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen src/examples/sssdproxytest \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen src/examples/sudo \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen src/examples/logrotate \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen src/providers/sssd_be.exports \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen src/sss_client/COPYING \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen src/sss_client/COPYING.LESSER \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen src/m4
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen######################
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen# Command-line Tools #
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen######################
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_useradd_SOURCES = \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen src/tools/sss_useradd.c \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen $(SSSD_TOOLS_OBJ)
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_useradd_LDADD = \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen libsss_util.la \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(TOOLS_LIBS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_userdel_SOURCES = \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen src/tools/sss_userdel.c \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen src/util/find_uid.c \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen $(SSSD_LCL_TOOLS_OBJ)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_userdel_LDADD = \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen libsss_util.la \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen $(TOOLS_LIBS)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_userdel_CFLAGS = $(AM_CFLAGS)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_userdel_LDFLAGS = \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen $(CLIENT_LIBS)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_groupadd_SOURCES = \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen src/tools/sss_groupadd.c \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(SSSD_TOOLS_OBJ)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_groupadd_LDADD = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen libsss_util.la \
87460b08cb97b31cde640d4975a6aa2c1d0e7226Timo Sirainen $(TOOLS_LIBS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_groupdel_SOURCES = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen src/tools/sss_groupdel.c \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen $(SSSD_LCL_TOOLS_OBJ)
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainensss_groupdel_LDADD = \
d3837c0362588792db3e3148d217f31ff3172922Timo Sirainen libsss_util.la \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(TOOLS_LIBS)
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainensss_groupdel_CFLAGS = $(AM_CFLAGS)
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainensss_groupdel_LDFLAGS = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(CLIENT_LIBS)
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainensss_usermod_SOURCES = \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen src/tools/sss_usermod.c \
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainen $(SSSD_LCL_TOOLS_OBJ)
b9a664472557182cff0825a2285b8fca39f72947Timo Sirainensss_usermod_LDADD = \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen libsss_util.la \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(TOOLS_LIBS)
b9a664472557182cff0825a2285b8fca39f72947Timo Sirainensss_usermod_CFLAGS = $(AM_CFLAGS)
b9a664472557182cff0825a2285b8fca39f72947Timo Sirainensss_usermod_LDFLAGS = \
82d3a1d1594ed93d04d7bf999027b3e5104de6e4Timo Sirainen $(CLIENT_LIBS)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_groupmod_SOURCES = \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen src/tools/sss_groupmod.c \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen $(SSSD_LCL_TOOLS_OBJ)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_groupmod_LDADD = \
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainen libsss_util.la \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen $(TOOLS_LIBS)
66f9709e0c7604e2282b930b6a48fe9f0dd20ab8Timo Sirainensss_groupmod_CFLAGS = $(AM_CFLAGS)
f38854c96aef76e0c859df4e8f7303325b7ae8a1Timo Sirainensss_groupmod_LDFLAGS = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(CLIENT_LIBS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_groupshow_SOURCES = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen src/tools/sss_groupshow.c \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(SSSD_TOOLS_OBJ)
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensss_groupshow_LDADD = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen libsss_util.la \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(TOOLS_LIBS)
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_cache_SOURCES = \
073f965351846b8c97347b882c441dc336965e26Timo Sirainen src/tools/sss_cache.c \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(SSSD_LCL_TOOLS_OBJ)
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_cache_LDADD = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen libsss_util.la \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(TOOLS_LIBS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_cache_CFLAGS = $(AM_CFLAGS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_cache_LDFLAGS = \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen $(CLIENT_LIBS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen
8ae72ad7d0c69e972cfa65d1e2ce4e3e9a8b765cTimo Sirainensss_debuglevel_SOURCES = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen src/tools/sss_debuglevel.c \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(SSSD_TOOLS_OBJ)
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_debuglevel_LDADD = \
ca98d6a1bbe73499da758a36bfab2963375c8d06Timo Sirainen libsss_util.la \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(TOOLS_LIBS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen
d48ab236010e588c7b52e54db47fe9842a2e27e8Timo Sirainensss_seed_SOURCES = \
d48ab236010e588c7b52e54db47fe9842a2e27e8Timo Sirainen src/tools/sss_seed.c \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen $(SSSD_TOOLS_OBJ)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_seed_LDADD = \
073f965351846b8c97347b882c441dc336965e26Timo Sirainen libsss_util.la \
073f965351846b8c97347b882c441dc336965e26Timo Sirainen $(TOOLS_LIBS)
073f965351846b8c97347b882c441dc336965e26Timo Sirainen
073f965351846b8c97347b882c441dc336965e26Timo Sirainenif BUILD_SUDO
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_sudo_cli_SOURCES = \
073f965351846b8c97347b882c441dc336965e26Timo Sirainen src/sss_client/common.c \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen src/sss_client/sudo/sss_sudo.c \
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen src/sss_client/sudo/sss_sudo_response.c \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen src/sss_client/sudo_testcli/sudo_testcli.c
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensss_sudo_cli_CFLAGS = $(AM_CFLAGS)
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainensss_sudo_cli_LDFLAGS = $(CLIENT_LIBS)
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainenendif
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainen
073f965351846b8c97347b882c441dc336965e26Timo Sirainenif BUILD_SSH
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_ssh_authorizedkeys_SOURCES = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen src/sss_client/common.c \
073f965351846b8c97347b882c441dc336965e26Timo Sirainen src/sss_client/ssh/sss_ssh_client.c \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen src/sss_client/ssh/sss_ssh_authorizedkeys.c
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_ssh_authorizedkeys_CFLAGS = $(AM_CFLAGS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_ssh_authorizedkeys_LDADD = \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen libsss_util.la
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_ssh_authorizedkeys_LDFLAGS = $(CLIENT_LIBS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen
dce5a2719df4fc64a8762d2aa94ba98dcf9cd6feTimo Sirainensss_ssh_knownhostsproxy_SOURCES = \
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen src/sss_client/common.c \
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen src/sss_client/ssh/sss_ssh_client.c \
19e8adccba16ff419f5675b1575358c2956dce83Timo Sirainen src/sss_client/ssh/sss_ssh_knownhostsproxy.c
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_ssh_knownhostsproxy_CFLAGS = $(AM_CFLAGS)
073f965351846b8c97347b882c441dc336965e26Timo Sirainensss_ssh_knownhostsproxy_LDADD = \
ca98d6a1bbe73499da758a36bfab2963375c8d06Timo Sirainen libsss_util.la
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainensss_ssh_knownhostsproxy_LDFLAGS = $(CLIENT_LIBS)
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainenendif
d48ab236010e588c7b52e54db47fe9842a2e27e8Timo Sirainen
d48ab236010e588c7b52e54db47fe9842a2e27e8Timo Sirainen#################
d48ab236010e588c7b52e54db47fe9842a2e27e8Timo Sirainen# Feature Tests #
96a464e3e417557153272c964fc8a0e9bb6d6b86Timo Sirainen#################
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo SirainenTESTS_ENVIRONMENT = LDB_MODULES_PATH=$(abs_top_builddir)/ldb_mod_test_dir
073f965351846b8c97347b882c441dc336965e26Timo Sirainen
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
073f965351846b8c97347b882c441dc336965e26Timo Sirainen
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainennoinst_LTLIBRARIES += \
073f965351846b8c97347b882c441dc336965e26Timo Sirainen libsss_test_common.la
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainenlibsss_test_common_la_SOURCES = \
f7ec15aefabeb0a17d1f262bc5e9a15e43dfc5adTimo Sirainen src/tests/common.c
f7ec15aefabeb0a17d1f262bc5e9a15e43dfc5adTimo Sirainen
f7ec15aefabeb0a17d1f262bc5e9a15e43dfc5adTimo Sirainenif HAVE_CHECK
6202c9d2492d33ff28ba61a5c57c6768df9577d0Timo Sirainenlibsss_test_common_la_SOURCES += \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/tests/common_check.c
d2b94d25f842cd1b7acaf4dd7de858f7c6a821c9Timo Sirainen
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainensysdb_tests_DEPENDENCIES = \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(ldblib_LTLIBRARIES)
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensysdb_tests_SOURCES = \
a4f09749814b93e8ad3ec8a0dc18885b874d6f8cTimo Sirainen src/tests/sysdb-tests.c
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensysdb_tests_CFLAGS = \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen $(AM_CFLAGS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(CHECK_CFLAGS)
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensysdb_tests_LDADD = \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(SSSD_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(CHECK_LIBS) \
a4f09749814b93e8ad3ec8a0dc18885b874d6f8cTimo Sirainen libsss_util.la \
c8d1ccf9dec39e9e145d55b472eee43d95764189Timo Sirainen libsss_test_common.la
a24b0595f0f7d3925d4c9ac26fa503ff87c43e43Timo Sirainen
a24b0595f0f7d3925d4c9ac26fa503ff87c43e43Timo Sirainensysdb_ssh_tests_DEPENDENCIES = \
a4f09749814b93e8ad3ec8a0dc18885b874d6f8cTimo Sirainen $(ldblib_LTLIBRARIES)
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainensysdb_ssh_tests_SOURCES = \
a24b0595f0f7d3925d4c9ac26fa503ff87c43e43Timo Sirainen src/tests/sysdb_ssh-tests.c
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) \
2d01cc1880cf2afd4fb1c8ad7fa6ce78e562e71eTimo Sirainen libsss_util.la \
19a1cfc537d979c532fac71264dba0b9dabc65d9Timo Sirainen libsss_test_common.la
cd56a23e21f1df3f79648cf07e2f4385e2fadebbTimo Sirainen
19a1cfc537d979c532fac71264dba0b9dabc65d9Timo Sirainenstrtonum_tests_SOURCES = \
fe363b433b8038a69b55169da9dca27892ad7d18Timo Sirainen src/tests/strtonum-tests.c \
19a1cfc537d979c532fac71264dba0b9dabc65d9Timo Sirainen src/util/strtonum.c
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainenstrtonum_tests_CFLAGS = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(AM_CFLAGS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(CHECK_CFLAGS)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenstrtonum_tests_LDADD = \
5f44975ec6c5755dd74bcd4c47a123a7242ecab3Timo Sirainen $(SSSD_LIBS) \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(CHECK_LIBS) \
6df0ab0c1ab91f06b6418cb30eff44405a1b8f02Timo Sirainen libsss_debug.la \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen libsss_test_common.la
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenkrb5_utils_tests_SOURCES = \
cd56a23e21f1df3f79648cf07e2f4385e2fadebbTimo Sirainen src/tests/krb5_utils-tests.c \
1bdda5c0c30463160c47151537e6bb2c6c994841Timo Sirainen src/providers/krb5/krb5_utils.c \
a4f09749814b93e8ad3ec8a0dc18885b874d6f8cTimo Sirainen src/providers/krb5/krb5_common.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen src/util/sss_krb5.c \
185ed0142fbbfb86e7a98519e7c6f11ec00723cdTimo Sirainen src/util/find_uid.c \
185ed0142fbbfb86e7a98519e7c6f11ec00723cdTimo Sirainen src/providers/data_provider_fo.c \
6202c9d2492d33ff28ba61a5c57c6768df9577d0Timo Sirainen src/providers/data_provider_opts.c \
185ed0142fbbfb86e7a98519e7c6f11ec00723cdTimo Sirainen src/providers/data_provider_callbacks.c \
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen $(SSSD_FAILOVER_OBJ)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenkrb5_utils_tests_CFLAGS = \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(AM_CFLAGS) \
83bb013a99f0936995f9c7a1077822662d8fefdbTimo Sirainen $(CHECK_CFLAGS)
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainenkrb5_utils_tests_LDADD = \
$(SSSD_LIBS)\
$(CARES_LIBS) \
$(KRB5_LIBS) \
$(CHECK_LIBS) \
libsss_util.la \
libsss_test_common.la
check_and_open_tests_SOURCES = \
src/tests/check_and_open-tests.c \
src/util/check_and_open.c
check_and_open_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
check_and_open_tests_LDADD = \
libsss_debug.la \
$(CHECK_LIBS) \
libsss_test_common.la
FILES_TESTS_LIBS = \
$(CHECK_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la
if BUILD_SELINUX
FILES_TESTS_LIBS += $(SELINUX_LIBS)
endif
if BUILD_SEMANAGE
FILES_TESTS_LIBS += $(SEMANAGE_LIBS)
endif
files_tests_SOURCES = \
src/tests/files-tests.c \
src/util/check_and_open.c \
src/util/atomic_io.c \
src/tools/selinux.c \
src/tools/files.c
files_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
files_tests_LDADD = \
libsss_debug.la \
$(FILES_TESTS_LIBS) \
libsss_test_common.la \
libsss_util.la
SSSD_RESOLV_TESTS_OBJ = \
$(SSSD_RESOLV_OBJ)
if BUILD_ARES_DATA
SSSD_RESOLV_TESTS_OBJ += \
src/resolv/ares/ares_parse_txt_reply.c
endif
resolv_tests_SOURCES = \
src/tests/resolv-tests.c \
src/tests/common.c \
$(SSSD_RESOLV_TESTS_OBJ)
resolv_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS) \
-DBUILD_TXT
resolv_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(CARES_LIBS) \
libsss_util.la \
libsss_test_common.la
refcount_tests_SOURCES = \
src/tests/refcount-tests.c \
$(CHECK_OBJ)
refcount_tests_CFLAGS = \
$(CHECK_CFLAGS)
refcount_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_util.la \
libsss_test_common.la
fail_over_tests_SOURCES = \
src/tests/fail_over-tests.c \
$(SSSD_FAILOVER_OBJ) \
$(CHECK_OBJ)
fail_over_tests_CFLAGS = \
$(CHECK_CFLAGS)
fail_over_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(CARES_LIBS) \
libsss_util.la \
libsss_test_common.la
find_uid_tests_SOURCES = \
src/tests/find_uid-tests.c \
src/util/find_uid.c \
src/util/atomic_io.c \
src/util/strtonum.c
find_uid_tests_CFLAGS = \
$(AM_CFLAGS) \
$(TALLOC_CFLAGS) \
$(DHASH_CFLAGS) \
$(CHECK_CFLAGS)
find_uid_tests_LDADD = \
libsss_debug.la \
$(TALLOC_LIBS) \
$(DHASH_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la
auth_tests_SOURCES = \
src/tests/auth-tests.c
auth_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
auth_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_util.la \
libsss_test_common.la
ipa_ldap_opt_tests_SOURCES = \
src/providers/ipa/ipa_utils.c \
src/tests/ipa_ldap_opt-tests.c
ipa_ldap_opt_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
ipa_ldap_opt_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la
ad_ldap_opt_tests_SOURCES = \
src/tests/ad_ldap_opt-tests.c
ad_ldap_opt_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
ad_ldap_opt_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la
simple_access_tests_SOURCES = \
src/tests/simple_access-tests.c \
src/providers/simple/simple_access_check.c \
src/providers/data_provider_be.c \
src/providers/data_provider_fo.c \
src/providers/data_provider_opts.c \
src/providers/data_provider_callbacks.c \
$(SSSD_FAILOVER_OBJ)
simple_access_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS) \
-DUNIT_TESTING
simple_access_tests_LDADD = \
$(SSSD_LIBS) \
$(CARES_LIBS) \
$(CHECK_LIBS) \
$(PAM_LIBS) \
libsss_util.la \
libsss_test_common.la
util_tests_SOURCES = \
src/tests/util-tests.c
util_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
util_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_util.la \
libsss_test_common.la
debug_tests_SOURCES = \
src/tests/debug-tests.c \
src/tests/common.c
debug_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
debug_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_util.la
crypto_tests_SOURCES = \
$(SSS_CRYPT_SOURCES) \
src/tests/crypto-tests.c
crypto_tests_CFLAGS = \
$(SSS_CRYPT_CFLAGS) \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
crypto_tests_LDADD = \
libsss_debug.la \
$(SSS_CRYPT_LIBS) \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la
ipa_hbac_tests_SOURCES = \
src/tests/ipa_hbac-tests.c
ipa_hbac_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
ipa_hbac_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_util.la \
libsss_test_common.la \
libipa_hbac.la
sss_idmap_tests_SOURCES = \
src/tests/sss_idmap-tests.c
sss_idmap_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
sss_idmap_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la \
libsss_idmap.la
pac_responder_tests_SOURCES = \
src/tests/pac_responder-tests.c \
src/responder/pac/pacsrv_utils.c
pac_responder_tests_CFLAGS = \
$(AM_CFLAGS) \
$(NDR_KRB5PAC_CFLAGS) \
$(CHECK_CFLAGS)
pac_responder_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
$(NDR_KRB5PAC_LIBS) \
$(SSSD_LIBS) \
-lm \
libsss_idmap.la \
libsss_debug.la \
libsss_util.la \
libsss_test_common.la
responder_socket_access_tests_SOURCES = \
src/tests/responder_socket_access-tests.c \
src/responder/common/responder_common.c \
src/responder/common/responder_packet.c \
src/responder/common/responder_cmd.c
responder_socket_access_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
responder_socket_access_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la \
libsss_util.la
endif
stress_tests_SOURCES = \
src/tests/stress-tests.c
stress_tests_LDADD = \
$(SSSD_LIBS) \
libsss_util.la \
libsss_test_common.la
krb5_child_test_SOURCES = \
src/tests/krb5_child-test.c \
src/providers/krb5/krb5_utils.c \
src/providers/krb5/krb5_child_handler.c \
src/providers/krb5/krb5_become_user.c \
src/providers/krb5/krb5_common.c \
src/util/sss_krb5.c \
src/util/find_uid.c \
src/providers/data_provider_fo.c \
src/providers/data_provider_opts.c \
src/providers/data_provider_callbacks.c \
$(SSSD_FAILOVER_OBJ)
krb5_child_test_CFLAGS = \
$(AM_CFLAGS) \
-DKRB5_CHILD_DIR=\"$(builddir)\" \
$(CHECK_CFLAGS)
krb5_child_test_LDADD = \
$(SSSD_LIBS)\
$(CARES_LIBS) \
$(KRB5_LIBS) \
$(CHECK_LIBS) \
libsss_util.la \
libsss_test_common.la
if HAVE_CMOCKA
TEST_MOCK_OBJ = \
src/tests/common.c
TEST_MOCK_RESP_OBJ = \
$(TEST_MOCK_OBJ) \
src/tests/common_tev.c \
src/tests/common_dom.c \
src/tests/cmocka/common_mock_resp.c \
src/responder/common/responder_packet.c \
src/responder/common/responder_cmd.c \
src/responder/common/negcache.c \
src/responder/common/responder_common.c
nss_srv_tests_DEPENDENCIES = \
$(ldblib_LTLIBRARIES)
nss_srv_tests_SOURCES = \
$(TEST_MOCK_RESP_OBJ) \
src/tests/cmocka/test_nss_srv.c \
src/responder/nss/nsssrv_cmd.c \
src/responder/nss/nsssrv_netgroup.c \
src/responder/nss/nsssrv_services.c \
src/responder/nss/nsssrv_mmap_cache.c
nss_srv_tests_CFLAGS = \
$(AM_CFLAGS)
nss_srv_tests_LDFLAGS = \
-Wl,-wrap,sss_ncache_check_user \
-Wl,-wrap,sss_packet_get_body \
-Wl,-wrap,sss_packet_get_cmd \
-Wl,-wrap,sss_cmd_send_empty \
-Wl,-wrap,sss_cmd_done
nss_srv_tests_LDADD = \
$(CMOCKA_LIBS) \
libsss_util.la
test_find_uid_DEPENDENCIES = \
$(ldblib_LTLIBRARIES)
test_find_uid_SOURCES = \
src/tests/cmocka/test_find_uid.c \
src/util/find_uid.c \
src/util/atomic_io.c \
src/util/strtonum.c
test_find_uid_CFLAGS = \
$(AM_CFLAGS) \
$(TALLOC_CFLAGS) \
$(DHASH_CFLAGS)
test_find_uid_LDADD = \
libsss_debug.la \
$(TALLOC_LIBS) \
$(DHASH_LIBS) \
$(CMOCKA_LIBS) \
libsss_util.la
test_io_SOURCES = \
src/tests/cmocka/test_io.c \
src/util/io.c
test_io_CFLAGS = \
$(AM_CFLAGS)
test_io_LDADD = \
$(CMOCKA_LIBS)
endif
noinst_PROGRAMS = pam_test_client
if BUILD_SUDO
noinst_PROGRAMS += sss_sudo_cli
endif
if BUILD_AUTOFS
noinst_PROGRAMS += autofs_test_client
endif
pam_test_client_SOURCES = src/sss_client/pam_test_client.c
pam_test_client_LDFLAGS = -lpam -lpam_misc
if BUILD_AUTOFS
autofs_test_client_SOURCES = \
src/sss_client/autofs/autofs_test_client.c \
src/sss_client/autofs/sss_autofs.c \
src/sss_client/common.c
autofs_test_client_CFLAGS = $(AM_CFLAGS)
autofs_test_client_LDFLAGS = -lpopt $(CLIENT_LIBS)
endif
####################
# Client Libraries #
####################
nsslib_LTLIBRARIES = libnss_sss.la
libnss_sss_la_SOURCES = \
src/sss_client/common.c \
src/sss_client/nss_passwd.c \
src/sss_client/nss_group.c \
src/sss_client/nss_netgroup.c \
src/sss_client/nss_services.c \
src/sss_client/sss_cli.h \
src/sss_client/nss_compat.h \
src/sss_client/nss_mc_common.c \
src/util/io.c \
src/util/murmurhash3.c \
src/sss_client/nss_mc_passwd.c \
src/sss_client/nss_mc_group.c \
src/sss_client/nss_mc.h
libnss_sss_la_LDFLAGS = \
$(CLIENT_LIBS) \
-module \
-version-info 2:0:0 \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
pamlib_LTLIBRARIES = pam_sss.la
pam_sss_la_SOURCES = \
src/sss_client/pam_sss.c \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/util/atomic_io.c \
src/sss_client/sss_pam_macros.h
pam_sss_la_LDFLAGS = \
$(CLIENT_LIBS) \
-lpam \
-module \
-avoid-version \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
if BUILD_SUDO
libsss_sudo_la_SOURCES = \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/sss_client/sudo/sss_sudo_response.c \
src/sss_client/sudo/sss_sudo.c \
src/sss_client/sudo/sss_sudo.h \
src/sss_client/sudo/sss_sudo_private.h
libsss_sudo_la_LDFLAGS = \
$(CLIENT_LIBS) \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_sudo.exports \
-module \
-avoid-version
sudolib_LTLIBRARIES = libsss_sudo.la
include_HEADERS += \
src/sss_client/sudo/sss_sudo.h
endif
if BUILD_AUTOFS
autofslib_LTLIBRARIES = libsss_autofs.la
libsss_autofs_la_SOURCES = \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/sss_client/autofs/sss_autofs.c \
src/sss_client/autofs/sss_autofs_private.h
libsss_autofs_la_LDFLAGS = \
$(CLIENT_LIBS) \
-module \
-avoid-version \
-Wl,--version-script,$(srcdir)/src/sss_client/autofs/sss_autofs.exports
endif
dist_noinst_DATA += \
src/sss_client/sss_nss.exports \
src/sss_client/sss_pam.exports
if BUILD_SUDO
dist_noinst_DATA += src/sss_client/sss_sudo.exports
endif
if BUILD_AUTOFS
dist_noinst_DATA += src/sss_client/autofs/sss_autofs.exports
endif
####################
# Plugin Libraries #
####################
pkglib_LTLIBRARIES += libsss_ldap_common.la
libsss_ldap_common_la_SOURCES = \
src/providers/ldap/ldap_id.c \
src/providers/ldap/ldap_id_enum.c \
src/providers/ldap/ldap_id_cleanup.c \
src/providers/ldap/ldap_id_netgroup.c \
src/providers/ldap/ldap_id_services.c \
src/providers/ldap/ldap_auth.c \
src/providers/ldap/ldap_common.c \
src/providers/ldap/sdap_access.c \
src/providers/ldap/sdap_async.c \
src/providers/ldap/sdap_async_users.c \
src/providers/ldap/sdap_async_groups.c \
src/providers/ldap/sdap_async_nested_groups.c \
src/providers/ldap/sdap_async_groups_ad.c \
src/providers/ldap/sdap_async_initgroups.c \
src/providers/ldap/sdap_async_initgroups_ad.c \
src/providers/ldap/sdap_async_connection.c \
src/providers/ldap/sdap_async_netgroups.c \
src/providers/ldap/sdap_async_services.c \
src/providers/ldap/sdap_child_helpers.c \
src/providers/ldap/sdap_fd_events.c \
src/providers/ldap/sdap_id_op.c \
src/providers/ldap/sdap_idmap.c \
src/providers/ldap/sdap_idmap.h \
src/providers/ldap/sdap_range.c \
src/providers/ldap/sdap_reinit.c \
src/providers/ldap/sdap.c
libsss_ldap_common_la_LDFLAGS = \
-avoid-version
if BUILD_SUDO
libsss_ldap_common_la_SOURCES += \
src/providers/ldap/sdap_sudo_cache.c \
src/providers/ldap/sdap_async_sudo.c \
src/providers/ldap/sdap_async_sudo_timer.c \
src/providers/ldap/sdap_async_sudo_hostinfo.c \
src/providers/ldap/sdap_sudo.c
endif
if BUILD_AUTOFS
libsss_ldap_common_la_SOURCES += \
src/providers/ldap/sdap_autofs.c \
src/providers/ldap/sdap_async_autofs.c
endif
pkglib_LTLIBRARIES += libsss_krb5_common.la
libsss_krb5_common_la_SOURCES = \
src/providers/krb5/krb5_utils.c \
src/providers/krb5/krb5_become_user.c \
src/providers/krb5/krb5_delayed_online_authentication.c \
src/providers/krb5/krb5_renew_tgt.c \
src/providers/krb5/krb5_wait_queue.c \
src/providers/krb5/krb5_common.c \
src/providers/krb5/krb5_auth.c \
src/providers/krb5/krb5_access.c \
src/providers/krb5/krb5_child_handler.c \
src/providers/krb5/krb5_init_shared.c
libsss_krb5_common_la_LDFLAGS = \
-avoid-version
libsss_ldap_la_SOURCES = \
src/util/find_uid.c \
src/providers/ldap/ldap_init.c \
src/providers/ldap/ldap_access.c \
src/providers/krb5/krb5_common.c \
src/providers/krb5/krb5_utils.c \
src/util/user_info_msg.c \
src/util/sss_ldap.c \
src/util/sss_krb5.c
libsss_ldap_la_CFLAGS = \
$(AM_CFLAGS) \
$(LDAP_CFLAGS) \
$(KRB5_CFLAGS)
libsss_ldap_la_LIBADD = \
$(OPENLDAP_LIBS) \
$(DHASH_LIBS) \
$(KRB5_LIBS) \
libsss_util.la \
libsss_ldap_common.la \
libsss_idmap.la
libsss_ldap_la_LDFLAGS = \
-avoid-version \
-module
libsss_proxy_la_SOURCES = \
src/providers/proxy/proxy_init.c \
src/providers/proxy/proxy_id.c \
src/providers/proxy/proxy_netgroup.c \
src/providers/proxy/proxy_services.c \
src/providers/proxy/proxy_auth.c
libsss_proxy_la_CFLAGS = \
$(AM_CFLAGS)
libsss_proxy_la_LIBADD = \
libsss_util.la \
$(PAM_LIBS)
libsss_proxy_la_LDFLAGS = \
-avoid-version \
-module
libsss_simple_la_SOURCES = \
src/providers/simple/simple_access_check.c \
src/providers/simple/simple_access.c
libsss_simple_la_CFLAGS = \
$(AM_CFLAGS)
libsss_simple_la_LIBADD = \
$(PAM_LIBS) \
libsss_util.la
libsss_simple_la_LDFLAGS = \
-avoid-version \
-module
libsss_krb5_la_SOURCES = \
src/providers/krb5/krb5_init.c \
src/util/find_uid.c \
src/util/sss_krb5.c
libsss_krb5_la_CFLAGS = \
$(AM_CFLAGS) \
$(DHASH_CFLAGS)
libsss_krb5_la_LIBADD = \
$(DHASH_LIBS) \
$(KEYUTILS_LIBS) \
$(KRB5_LIBS) \
libsss_util.la \
libsss_krb5_common.la
libsss_krb5_la_LDFLAGS = \
-avoid-version \
-module
libsss_ipa_la_SOURCES = \
src/providers/ipa/ipa_init.c \
src/providers/ipa/ipa_common.c \
src/providers/ipa/ipa_config.c \
src/providers/ipa/ipa_utils.c \
src/providers/ipa/ipa_id.c \
src/providers/ipa/ipa_netgroups.c \
src/providers/ipa/ipa_auth.c \
src/providers/ipa/ipa_access.c \
src/providers/ipa/ipa_dyndns.c \
src/providers/ipa/ipa_hosts.c \
src/providers/ipa/ipa_subdomains.c \
src/providers/ipa/ipa_subdomains_id.c \
src/providers/ipa/ipa_s2n_exop.c \
src/providers/ipa/ipa_hbac_hosts.c \
src/providers/ipa/ipa_hbac_private.h \
src/providers/ipa/ipa_hbac_rules.c \
src/providers/ipa/ipa_hbac_rules.h \
src/providers/ipa/ipa_hbac_services.c \
src/providers/ipa/ipa_hbac_users.c \
src/providers/ipa/ipa_hbac_common.c \
src/providers/ipa/ipa_selinux.c \
src/providers/ipa/ipa_selinux_maps.c \
src/providers/ipa/ipa_selinux_common.c \
src/providers/ipa/ipa_srv.c \
src/util/user_info_msg.c \
src/util/find_uid.c \
src/util/sss_ldap.c \
src/util/sss_krb5.c
libsss_ipa_la_CFLAGS = \
$(AM_CFLAGS) \
$(LDAP_CFLAGS) \
$(DHASH_CFLAGS) \
$(KRB5_CFLAGS)
libsss_ipa_la_LIBADD = \
$(OPENLDAP_LIBS) \
$(DHASH_LIBS) \
$(KEYUTILS_LIBS) \
$(KRB5_LIBS) \
libsss_util.la \
libsss_ldap_common.la \
libsss_krb5_common.la \
libipa_hbac.la \
libsss_idmap.la
libsss_ipa_la_LDFLAGS = \
-avoid-version \
-module
if BUILD_AUTOFS
libsss_ipa_la_SOURCES += \
src/providers/ipa/ipa_autofs.c
endif
if BUILD_SSH
libsss_ipa_la_SOURCES += src/providers/ipa/ipa_hostid.c
endif
libsss_ad_la_SOURCES = \
src/providers/ad/ad_common.c \
src/providers/ad/ad_common.h \
src/providers/ad/ad_init.c \
src/providers/ad/ad_id.c \
src/providers/ad/ad_id.h \
src/providers/ad/ad_access.c \
src/providers/ad/ad_access.h \
src/providers/ad/ad_opts.h \
src/util/find_uid.c \
src/util/user_info_msg.c \
src/util/sss_krb5.c \
src/util/sss_ldap.c
libsss_ad_la_CFLAGS = \
$(AM_CFLAGS) \
$(LDAP_CFLAGS) \
$(DHASH_CFLAGS) \
$(KRB5_CFLAGS)
libsss_ad_la_LIBADD = \
$(OPENLDAP_LIBS) \
$(DHASH_LIBS) \
$(KEYUTILS_LIBS) \
$(KRB5_LIBS) \
libsss_util.la \
libsss_ldap_common.la \
libsss_krb5_common.la \
libsss_idmap.la
libsss_ad_la_LDFLAGS = \
-avoid-version \
-module
krb5_child_SOURCES = \
src/providers/krb5/krb5_become_user.c \
src/providers/krb5/krb5_child.c \
src/providers/dp_pam_data_util.c \
src/util/user_info_msg.c \
src/util/sss_krb5.c \
src/util/atomic_io.c \
src/util/authtok.c \
src/util/util.c \
src/util/signal.c \
src/sss_client/common.c
krb5_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
$(KRB5_CFLAGS)
krb5_child_LDADD = \
libsss_debug.la \
libsss_child.la \
$(TALLOC_LIBS) \
$(TEVENT_LIBS) \
$(POPT_LIBS) \
$(DHASH_LIBS) \
$(KRB5_LIBS) \
$(CLIENT_LIBS)
ldap_child_SOURCES = \
src/providers/ldap/ldap_child.c \
src/util/sss_krb5.c \
src/util/atomic_io.c \
src/util/authtok.c \
src/util/util.c \
src/util/signal.c
ldap_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
$(KRB5_CFLAGS)
ldap_child_LDADD = \
libsss_debug.la \
libsss_child.la \
$(TALLOC_LIBS) \
$(TEVENT_LIBS) \
$(POPT_LIBS) \
$(OPENLDAP_LIBS) \
$(DHASH_LIBS) \
$(KRB5_LIBS)
proxy_child_SOURCES = \
src/providers/proxy/proxy_child.c
proxy_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS)
proxy_child_LDADD = \
$(PAM_LIBS) \
$(SSSD_LIBS) \
libsss_util.la
memberof_la_SOURCES = \
src/ldb_modules/memberof.c \
src/util/util.c
memberof_la_CFLAGS = \
$(AM_CFLAGS)
memberof_la_LIBADD = \
libsss_debug.la \
$(LDB_LIBS) \
$(DHASH_LIBS)
memberof_la_LDFLAGS = \
-avoid-version \
-module
if BUILD_KRB5_LOCATOR_PLUGIN
sssd_krb5_locator_plugin_la_SOURCES = \
src/krb5_plugin/sssd_krb5_locator_plugin.c \
src/util/atomic_io.c
sssd_krb5_locator_plugin_la_CFLAGS = \
$(AM_CFLAGS) \
$(KRB5_CFLAGS)
sssd_krb5_locator_plugin_la_LDFLAGS = \
-avoid-version \
-module
endif
sssd_pac_plugin_la_SOURCES = \
src/sss_client/sssd_pac.c \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/sss_client/krb5_authdata_int.h
sssd_pac_plugin_la_CFLAGS = \
$(AM_CFLAGS) \
$(KRB5_CFLAGS)
sssd_pac_plugin_la_LDFLAGS = \
$(CLIENT_LIBS) \
-lkrb5 \
-avoid-version \
-module
if BUILD_PYTHON_BINDINGS
pysss_la_SOURCES = \
$(SSSD_TOOLS_OBJ) \
src/python/pysss.c
pysss_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON_CFLAGS)
pysss_la_LIBADD = \
$(PYTHON_BINDINGS_LIBS) \
$(PYTHON_LIBS) \
libsss_util.la
pysss_la_LDFLAGS = \
-avoid-version \
-module
pyhbac_la_SOURCES = \
src/python/pyhbac.c \
src/util/sss_python.c
pyhbac_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON_CFLAGS)
pyhbac_la_LIBADD = \
$(PYTHON_LIBS) \
libipa_hbac.la
pyhbac_la_LDFLAGS = \
-avoid-version \
-module
pysss_murmur_la_SOURCES = \
src/python/pysss_murmur.c \
src/util/murmurhash3.c
pysss_murmur_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON_CFLAGS)
pysss_murmur_la_LIBADD = \
$(PYTHON_LIBS)
pysss_murmur_la_LDFLAGS = \
-avoid-version \
-module
endif
################
# TRANSLATIONS #
################
update-po:
if HAVE_MANPAGES
$(MAKE) -C src/man update-po
endif
$(MAKE) -C po update-po
#######################
# Installation Extras #
#######################
dist_init_SCRIPTS =
dist_systemdunit_DATA =
if HAVE_SYSTEMD_UNIT
dist_systemdunit_DATA += \
src/sysv/systemd/sssd.service
else
if HAVE_SUSE
dist_init_SCRIPTS += \
src/sysv/SUSE/sssd
else
if HAVE_GENTOO
dist_init_SCRIPTS += \
src/sysv/gentoo/sssd
else
dist_init_SCRIPTS += \
src/sysv/sssd
endif
endif
endif
dist_sssddata_DATA = \
src/config/etc/sssd.api.conf
dist_sssdapiplugin_DATA = \
src/config/etc/sssd.api.d/sssd-ipa.conf \
src/config/etc/sssd.api.d/sssd-ad.conf \
src/config/etc/sssd.api.d/sssd-krb5.conf \
src/config/etc/sssd.api.d/sssd-ldap.conf \
src/config/etc/sssd.api.d/sssd-local.conf \
src/config/etc/sssd.api.d/sssd-proxy.conf \
src/config/etc/sssd.api.d/sssd-simple.conf
installsssddirs::
mkdir -p \
$(DESTDIR)$(includedir) \
$(DESTDIR)$(libdir) \
$(DESTDIR)$(bindir) \
$(DESTDIR)$(sbindir) \
$(DESTDIR)$(mandir) \
$(DESTDIR)$(pluginpath) \
$(DESTDIR)$(libdir)/ldb \
$(DESTDIR)$(dbusintrospectdir) \
$(DESTDIR)$(pipepath)/private \
$(DESTDIR)$(sssdlibdir) \
$(DESTDIR)$(pkglibdir) \
$(DESTDIR)$(sssdconfdir) \
$(DESTDIR)$(sssddatadir) \
$(DESTDIR)$(dbpath) \
$(DESTDIR)$(mcpath) \
$(DESTDIR)$(pidpath) \
$(DESTDIR)$(logpath) \
$(DESTDIR)$(pubconfpath) \
$(DESTDIR)$(pubconfpath)/krb5.include.d \
$(DESTDIR)$(sudolibdir) \
$(DESTDIR)$(autofslibdir)
if HAVE_DOXYGEN
docs:
$(DOXYGEN) src/doxy.config
$(DOXYGEN) src/providers/ipa/ipa_hbac.doxy
$(DOXYGEN) src/lib/idmap/sss_idmap.doxy
if BUILD_SUDO
$(DOXYGEN) src/sss_client/sudo/sss_sudo.doxy
endif BUILD_SUDO
else !HAVE_DOXYGEN
docs:
@echo "Doxygen not installed, cannot generate documentation"
@exit 1
endif !HAVE_DOXYGEN
if BUILD_PYTHON_BINDINGS
$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py:
-cp $(srcdir)/src/config/SSSDConfig/ipachangeconf.py $(builddir)/src/config/SSSDConfig/
$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py:
-cp $(srcdir)/src/config/SSSDConfig/sssd_upgrade_config.py $(builddir)/src/config/SSSDConfig/
SSSDCONFIG_MODULES = \
$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py \
$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py
else
SSSSCONFIG_MODULES =
endif
all-local: ldb_mod_test_dir $(SSSDCONFIG_MODULES)
if BUILD_PYTHON_BINDINGS
cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config
endif
install-exec-hook: installsssddirs
if BUILD_PYTHON_BINDINGS
if [ "$(DESTDIR)" = "" ]; then \
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; \
else \
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; \
fi
endif
for doc in $(SSSD_DOCS); do \
mkdir -p $$doc $(DESTDIR)/$(docdir); \
cp -a $$doc $(DESTDIR)/$(docdir)/; \
done;
if HAVE_SYSTEMD_UNIT
mkdir -p $(DESTDIR)$(systemdunitdir)
else
mkdir -p $(DESTDIR)$(initdir)
endif
install-data-hook:
rm $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 \
$(DESTDIR)/$(nsslibdir)/libnss_sss.so
mv $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2.0.0 $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2
if [ ! $(krb5rcachedir) = "__LIBKRB5_DEFAULTS__" ]; then \
mkdir -p $(DESTDIR)/$(krb5rcachedir) ; \
fi
uninstall-hook:
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 ; \
fi
for doc in $(SSSD_DOCS); do \
rm -Rf $(DESTDIR)/$(docdir)/$$doc; \
done;
clean-local:
if BUILD_PYTHON_BINDINGS
if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
rm -f $(builddir)/src/config/SSSDConfig/ipachangeconf.py ; \
fi
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 ; \
fi
cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config clean --all
endif
for doc in $(SSSD_DOCS); do \
rm -Rf $$doc; \
done;
rm -Rf ldb_mod_test_dir
CLEANFILES = *.X */*.X */*/*.X
tests: all $(check_PROGRAMS)
# RPM-related tasks
RPMBUILD ?= $(PWD)/rpmbuild
dist_noinst_DATA += \
m4 \
contrib/sssd.spec.in \
contrib/sssd-1.9-man-change-default-ccache.patch \
BUILD.txt \
COPYING
rpmroot:
mkdir -p $(RPMBUILD)/BUILD
mkdir -p $(RPMBUILD)/RPMS
mkdir -p $(RPMBUILD)/SOURCES
mkdir -p $(RPMBUILD)/SPECS
mkdir -p $(RPMBUILD)/SRPMS
rpmbrprep: dist-gzip rpmroot
cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
cp $(srcdir)/contrib/*.patch $(RPMBUILD)/SOURCES
rpms: rpmbrprep
cd $(RPMBUILD); \
rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec
if GIT_CHECKOUT
prerelease-rpms:
cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
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
$(MAKE) rpms
mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
endif
# make srpms will use the old digest algorithm to be compatible
# with RHEL5
srpm: rpmbrprep
cd $(RPMBUILD); \
rpmbuild --define "_topdir $(RPMBUILD)" \
--define _source_filedigest_algorithm=1 \
-bs SPECS/sssd.spec
if GIT_CHECKOUT
prerelease-srpm:
cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
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
$(MAKE) srpm
mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
endif