Makefile.am revision 50b8a36b0932a510e825ed1ad8103f81ead2b7d8
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagherextra_distcheck_flags =
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagherif HAVE_DEVSHM
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagher extra_distcheck_flags += --with-test-dir=/dev/shm
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagherendif
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagher
c252d148fa8ab50aaaa8bbae7beb4d208025171dNikolai Kondrashovif WITH_JOURNALD
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagher extra_distcheck_flags += --with-syslog=journald
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagherendif
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagher
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai KondrashovDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov --disable-dbus-tests \
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov --enable-all-experimental-features \
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov $(extra_distcheck_flags) \
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov $(AUX_DISTCHECK_CONFIGURE_FLAGS)
fd5a4eacd56700ffb08a73121aeacdc806cb0132Sumit Bose
8b1f525acd20f36c836e827de3c251088961c5d9Stephen GallagherSUBDIRS = po
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagher
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherif HAVE_MANPAGES
8b1f525acd20f36c836e827de3c251088961c5d9Stephen GallagherSUBDIRS += src/man
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherendif
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher
428db8a58c0c149d5efccc6d788f70916c1d34d7Jakub HrozekSUBDIRS += . src/tests/cwrap
428db8a58c0c149d5efccc6d788f70916c1d34d7Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Some old versions of automake don't define builddir
df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9Stephen Gallagherbuilddir ?= .
df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDOXYGEN = @DOXYGEN@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDISTSETUPOPTS =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_DEBIAN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherDISTSETUPOPTS += --install-layout=deb
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibexecdir = $(libexecdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibdir = $(libdir)/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldblibdir = @ldblibdir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5plugindir = @krb5pluginpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Boseif BUILD_KRB5_LOCALAUTH_PLUGIN
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bosekrb5localauth_plugindir = @appmodpath@
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Boseendif
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Boseif BUILD_PAC_RESPONDER
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bosekrb5authdata_plugindir = @krb5authdatapluginpath@
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Boseendif
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkeif BUILD_CIFS_IDMAP_PLUGIN
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkecifsplugindir = @cifspluginpath@
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkeendif
f3c85d900c4663854cc7bbae7d9f77867ed1f69bSumit Boseif BUILD_LIBWBCLIENT
f3c85d900c4663854cc7bbae7d9f77867ed1f69bSumit Boselibwbclientdir = @appmodpath@
f3c85d900c4663854cc7bbae7d9f77867ed1f69bSumit Boseendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdconfdir = $(sysconfdir)/sssd
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallaghersssddatadir = $(datadir)/sssd
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallaghersssdapiplugindir = $(sssddatadir)/sssd.api.d
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozekdbuspolicydir = $(sysconfdir)/dbus-1/system.d
1a59af8245f183f22d87d067a90197d8e2ea958dJakub Hrozekdbusservicedir = $(datadir)/dbus-1/system-services
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlocaledir = @localedir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernsslibdir = @nsslibdir@
d921c1eba437662437847279f251a0a5d8f70127Maximpamlibdir = @pammoddir@
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekautofslibdir = @appmodpath@
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzernfslibdir = @nfsidmaplibdir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdbpath = @dbpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpluginpath = @pluginpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpidpath = @pidpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpipepath = @pipepath@
eb2e21b764d03544d8161e9956d7f70b07b75f77Simo Sorcemcpath = @mcpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinitdir = @initdir@
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozeksystemdunitdir = @systemdunitdir@
5377441d7a846461c2d9a7a870cea711360a529aNikolai Kondrashovsystemdconfdir = @systemdconfdir@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlogpath = @logpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpubconfpath = @pubconfpath@
32381402a4a9afc003782c9e2301fc59c9bda2a9Yassir Elleygpocachepath = @gpocachepath@
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherpkgconfigdir = $(libdir)/pkgconfig
4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256Stephen Gallagherkrb5rcachedir = @krb5rcachedir@
e124844907ed6973915e4d56f5442ecd07535a12Jakub Hrozeksudolibdir = @sudolibpath@
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
b32159300fea63222d8dd9200ed634087704ea74Stephen GallagherUNICODE_LIBS=@UNICODE_LIBS@
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub HrozekMKDIR_P = @MKDIR_P@
bc13c352ba9c2877f1e9bc62e55ad60fc000a55dJakub HrozekINSTALL = @INSTALL@
bc13c352ba9c2877f1e9bc62e55ad60fc000a55dJakub Hrozek
bc13c352ba9c2877f1e9bc62e55ad60fc000a55dJakub HrozekSSSD_USER = @SSSD_USER@
bc13c352ba9c2877f1e9bc62e55ad60fc000a55dJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherAM_CFLAGS =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif WANT_AUX_INFO
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher AM_CFLAGS += -aux-info $@.X
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_GCC
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
054b5d4bb98973698f74d66b14ccd14394b53f10Lukas Slebodnik -Wcast-qual -Wcast-align -Wwrite-strings -Wundef \
054b5d4bb98973698f74d66b14ccd14394b53f10Lukas Slebodnik -Werror-implicit-function-declaration -Winit-self \
a3d176d116ceccd6a7547c128fab5df5cdd2c2b6Michal Zidek -fno-strict-aliasing \
a3d176d116ceccd6a7547c128fab5df5cdd2c2b6Michal Zidek -std=gnu99
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodnikpkgconfig_DATA =
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherACLOCAL_AMFLAGS = -I m4 -I .
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
558998ce664055a75595371118f818084d8f2b23Jan Cholastaif BUILD_SSH
558998ce664055a75595371118f818084d8f2b23Jan Cholastabin_PROGRAMS = \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta sss_ssh_authorizedkeys \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta sss_ssh_knownhostsproxy
558998ce664055a75595371118f818084d8f2b23Jan Cholastaendif
558998ce664055a75595371118f818084d8f2b23Jan Cholasta
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersbin_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_useradd \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_userdel \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupadd \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupdel \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_usermod \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sss_groupmod \
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny sss_groupshow \
f1828234a850dd28465425248a83a993f262918fPavel Březina sss_cache \
6ea6ec5cb7d9985e2730fb9d4657624d10aed4d8Nick Guay sss_debuglevel \
6ea6ec5cb7d9985e2730fb9d4657624d10aed4d8Nick Guay sss_seed
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlibexec_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_nss \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_pam \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_be \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher krb5_child \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ldap_child \
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozek proxy_child \
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozek sss_signal \
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozek $(NULL)
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinaif BUILD_SUDO
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinasssdlibexec_PROGRAMS += sssd_sudo
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinaendif
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozekif BUILD_AUTOFS
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozeksssdlibexec_PROGRAMS += sssd_autofs
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozekendif
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastaif BUILD_SSH
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastasssdlibexec_PROGRAMS += sssd_ssh
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastaendif
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozekif BUILD_IFP
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozeksssdlibexec_PROGRAMS += sssd_ifp
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozekendif
19d3aba12c70528708be9440aca66038a291f29eYassir Elleyif BUILD_SAMBA
19d3aba12c70528708be9440aca66038a291f29eYassir Elleysssdlibexec_PROGRAMS += gpo_child
19d3aba12c70528708be9440aca66038a291f29eYassir Elleyendif
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozekif BUILD_SEMANAGE
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozeksssdlibexec_PROGRAMS += selinux_child
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozekendif
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Boseif BUILD_PAC_RESPONDER
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose sssdlibexec_PROGRAMS += sssd_pac
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Boseendif
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_CHECK
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher non_interactive_check_based_tests = \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce dlopen-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sysdb-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher strtonum-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher resolv-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher krb5-utils-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher check_and_open-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher files-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher refcount-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher fail_over-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher find_uid-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ipa_ldap_opt-tests \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher ad_ldap_opt-tests \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher simple_access-tests \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek crypto-tests \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher util-tests \
fe60346714a73ac3987f786731389320633dd245Pavel Březina debug-tests \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose ipa_hbac-tests \
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Bose sss_idmap-tests \
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter responder_socket_access-tests \
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozek safe-format-tests
e5e8252ec48bfdd4e7529debc705c8e090264b9aSumit Bose
71e7918be3ca5d38794a16a17f6b4f19a24d51fcPavel Březinaif BUILD_SSH
8359bf07a2e6c0181251ce8d5d9160dc57546c55Stephen Gallagher non_interactive_check_based_tests += sysdb_ssh-tests
71e7918be3ca5d38794a16a17f6b4f19a24d51fcPavel Březinaendif
71e7918be3ca5d38794a16a17f6b4f19a24d51fcPavel Březina
bbaba8b3ef9bc101863b8687f234f4ee956caacdPavel Březinaif BUILD_IFP
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březinaif BUILD_CONFIG_LIB
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina non_interactive_check_based_tests += sss_config-tests
bbaba8b3ef9bc101863b8687f234f4ee956caacdPavel Březinaendif # BUILD_CONFIG_LIB
bbaba8b3ef9bc101863b8687f234f4ee956caacdPavel Březinaendif # BUILD_IFP
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozekif BUILD_DBUS_TESTS
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozek non_interactive_check_based_tests += \
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozek sbus_tests \
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozek sbus_codegen_tests
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozekendif # BUILD_DBUS_TESTS
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozek
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozekendif # HAVE_CHECK
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozekif HAVE_CMOCKA
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek non_interactive_cmocka_based_tests = \
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh nss-srv-tests \
ae6c1596225c65bec2a2dabff9eee4e3e0691181Abhishek Singh test-find-uid \
2a9af1f71887f02935e2fb6ad5023afba5b6d43eSumit Bose test-io \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha test-negcache \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha test-authtok \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek sss_nss_idmap-tests \
777374243e15c53e7b0a7345e190c1018920be18Jakub Hrozek dyndns-tests \
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bose fqnames-tests \
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březina nestedgroups-tests \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose test_sss_idmap \
f69f3581658351003a6d9245045e41d0efb85022Sumit Bose test_ipa_idmap \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek test_utils \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek ad_common_tests \
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozek dp_opt_tests \
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek responder-get-domains-tests \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek sbus-internal-tests \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina sss_sifp-tests \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek test_search_bases \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl test_ldap_auth \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl test_sdap_access \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek sdap-tests \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose test_sysdb_views \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose test_sysdb_utils \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina test_be_ptask \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose test_copy_ccache \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose test_copy_keytab \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek test_child_common \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina responder_cache_req-tests \
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březina test_sbus_opath \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek test_fo_srv \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(NULL)
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozekif HAVE_LIBRESOLV
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozeknon_interactive_cmocka_based_tests += test_resolv_fake
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozekendif # HAVE_LIBRESOLV
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozekif BUILD_IFP
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozeknon_interactive_cmocka_based_tests += ifp_tests
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozekendif # BUILD_IFP
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek
a2e417f38c57ed87c956ddcecf4dafca93842b65Lukas Slebodnikif BUILD_SAMBA
99f8be128274eba264ea1434a7eb2800bced5902Lukas Slebodniknon_interactive_cmocka_based_tests += \
99f8be128274eba264ea1434a7eb2800bced5902Lukas Slebodnik ad_access_filter_tests \
99f8be128274eba264ea1434a7eb2800bced5902Lukas Slebodnik ad_gpo_tests
a2e417f38c57ed87c956ddcecf4dafca93842b65Lukas Slebodnikendif
a2e417f38c57ed87c956ddcecf4dafca93842b65Lukas Slebodnik
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozekendif # HAVE_CMOCKA
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_PROGRAMS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher stress-tests \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek krb5-child-test \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek $(non_interactive_cmocka_based_tests) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(non_interactive_check_based_tests)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
9f521c61c17cecd9625ebc1b33c666fa3488622cJakub Hrozekif HAVE_CMOCKA
fb3c5cdfcda069a5fbeb7b9d200c0881911364b8Jakub Hrozekcheck_PROGRAMS += dummy-child
9f521c61c17cecd9625ebc1b33c666fa3488622cJakub Hrozekendif # HAVE_CMOCKA
9f521c61c17cecd9625ebc1b33c666fa3488622cJakub Hrozek
bf5a808fa92007c325c3996e79694badfab201d4Stephen GallagherPYTHON_TESTS =
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnikif BUILD_PYTHON2_BINDINGS
18372712592b30638772afb5b7e15bfca92c2058Lukas SlebodnikPYTHON_TESTS += src/config/SSSDConfigTest.py2.sh \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik src/tests/pyhbac-test.py2.sh \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik src/tests/pysss_murmur-test.py2.sh \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik $(NULL)
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnikendif
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnikif BUILD_PYTHON3_BINDINGS
18372712592b30638772afb5b7e15bfca92c2058Lukas SlebodnikPYTHON_TESTS += src/config/SSSDConfigTest.py3.sh \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik src/tests/pyhbac-test.py3.sh \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik src/tests/pysss_murmur-test.py3.sh \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik $(NULL)
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher
18372712592b30638772afb5b7e15bfca92c2058Lukas SlebodnikTEST_EXTENSIONS = .sh
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherTESTS = \
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher $(PYTHON_TESTS) \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek $(non_interactive_cmocka_based_tests) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(non_interactive_check_based_tests)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssdlib_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_ldap.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_krb5.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_proxy.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_simple.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
a2e417f38c57ed87c956ddcecf4dafca93842b65Lukas Slebodnikif BUILD_SAMBA
a2e417f38c57ed87c956ddcecf4dafca93842b65Lukas Slebodniksssdlib_LTLIBRARIES += \
a2e417f38c57ed87c956ddcecf4dafca93842b65Lukas Slebodnik libsss_ipa.la \
a2e417f38c57ed87c956ddcecf4dafca93842b65Lukas Slebodnik libsss_ad.la
a2e417f38c57ed87c956ddcecf4dafca93842b65Lukas Slebodnikendif
a2e417f38c57ed87c956ddcecf4dafca93842b65Lukas Slebodnik
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldblib_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher memberof.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5plugin_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher sssd_krb5_locator_plugin.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Boseif BUILD_KRB5_LOCALAUTH_PLUGIN
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bosekrb5localauth_plugin_LTLIBRARIES = \
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bose sssd_krb5_localauth_plugin.la
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Boseendif
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bose
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Boseif BUILD_PAC_RESPONDER
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bosekrb5authdata_plugin_LTLIBRARIES = \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose sssd_pac_plugin.la
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Boseendif
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkeif BUILD_CIFS_IDMAP_PLUGIN
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkecifsplugin_LTLIBRARIES = \
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke cifs_idmap_sss.la
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkeendif
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallaghernoinst_LTLIBRARIES =
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagher
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnikpkglib_LTLIBRARIES =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikif BUILD_PYTHON2_BINDINGS
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikpy2exec_LTLIBRARIES = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik _py2sss.la \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik _py2hbac.la \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik _py2sss_murmur.la \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik _py2sss_nss_idmap.la \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(NULL)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikendif
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikif BUILD_PYTHON3_BINDINGS
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikpy3exec_LTLIBRARIES = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik _py3sss.la \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik _py3hbac.la \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik _py3sss_murmur.la \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik _py3sss_nss_idmap.la \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_SCRIPTS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(EXTRA_SCRIPTS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/setup.py \
1467daed400d6c186bd0c99c057c42e764309ff3Stephen Gallagher src/config/SSSDConfig/ipachangeconf.py \
1467daed400d6c186bd0c99c057c42e764309ff3Stephen Gallagher src/config/SSSDConfig/__init__.py \
15b266d9f14dad26da8678a79019749d0f69532eStephen Gallagher src/config/SSSDConfigTest.py \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik src/config/SSSDConfigTest.py2.sh \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik src/config/SSSDConfigTest.py3.sh \
1467daed400d6c186bd0c99c057c42e764309ff3Stephen Gallagher src/config/SSSDConfig/sssd_upgrade_config.py \
b97595ae059c69b1960a6e7e56d74660388a683bJan Zeleny contrib/rhel/update_debug_levels.py \
6a6a821866091e0f722808566c25b951aa346d7cStephen Gallagher contrib/fedora/bashrc_sssd \
48d7840cae22c5ff4d786149b0d8ecee7efb8306Lukas Slebodnik contrib/fedora/make_srpm.sh \
3ce85a5f5264e7118beb6524e120fd8b53a13da4Nikolai Kondrashov contrib/ci/clean \
3ce85a5f5264e7118beb6524e120fd8b53a13da4Nikolai Kondrashov contrib/ci/make-check-wrap \
3ce85a5f5264e7118beb6524e120fd8b53a13da4Nikolai Kondrashov contrib/ci/rpm-spec-builddeps \
3ce85a5f5264e7118beb6524e120fd8b53a13da4Nikolai Kondrashov contrib/ci/run \
3ce85a5f5264e7118beb6524e120fd8b53a13da4Nikolai Kondrashov contrib/ci/valgrind-condense \
60e51fd2764291df2332f36ff478777627d92b57Sumit Bose src/tests/pyhbac-test.py \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik src/tests/pyhbac-test.py2.sh \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik src/tests/pyhbac-test.py3.sh \
51d65c4ad15c2cc23f38fa09dd6efeb15e4f3e86Jakub Hrozek src/tests/pysss_murmur-test.py \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik src/tests/pysss_murmur-test.py2.sh \
18372712592b30638772afb5b7e15bfca92c2058Lukas Slebodnik src/tests/pysss_murmur-test.py3.sh \
51d65c4ad15c2cc23f38fa09dd6efeb15e4f3e86Jakub Hrozek src/tests/python-test.py \
51d65c4ad15c2cc23f38fa09dd6efeb15e4f3e86Jakub Hrozek $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagherdist_noinst_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-valid.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/noparse.api.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-noversion.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-badversion.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/testconfigs/sssd-invalid.conf \
17f08cbd0f909181536b93d6c12c7cd69995f09eSumit Bose src/config/testconfigs/sssd-invalid-badbool.conf \
3ce85a5f5264e7118beb6524e120fd8b53a13da4Nikolai Kondrashov src/config/etc/sssd.api.d/crash_test_dummy \
3ce85a5f5264e7118beb6524e120fd8b53a13da4Nikolai Kondrashov contrib/ci/README.md \
3ce85a5f5264e7118beb6524e120fd8b53a13da4Nikolai Kondrashov contrib/ci/configure.sh \
3ce85a5f5264e7118beb6524e120fd8b53a13da4Nikolai Kondrashov contrib/ci/deps.sh \
3ce85a5f5264e7118beb6524e120fd8b53a13da4Nikolai Kondrashov contrib/ci/distro.sh \
6398f22526303343193a18e514602f1af6fb29cbNikolai Kondrashov contrib/ci/misc.sh \
6398f22526303343193a18e514602f1af6fb29cbNikolai Kondrashov contrib/ci/sssd.supp \
6398f22526303343193a18e514602f1af6fb29cbNikolai Kondrashov $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher###############################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Global compilation settings #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher###############################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherAM_CPPFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wall \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Iinclude \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I.. \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/include \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/src/sss_client \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(srcdir)/src \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Iinclude \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I. \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TDB_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LIBNL_CFLAGS) \
bfbf5cb0f00c60c0f000f56c282377b13b9a89abSumit Bose $(OPENLDAP_CFLAGS) \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher $(GLIB2_CFLAGS) \
77c0d1f6074059dafd2293f9c42ea0f9d60f8aadJakub Hrozek $(JOURNALD_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DLIBDIR=\"$(libdir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DVARDIR=\"$(localstatedir)\" \
eaaeaa7e00c3d4bfa792cc4d3c6770dc1e28ef0cSumit Bose -DSYSCONFDIR=\"$(sysconfdir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSHLIBEXT=\"$(SHLIBEXT)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSSD_LIBEXEC_PATH=\"$(sssdlibexecdir)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSSD_CONF_DIR=\"$(sssdconfdir)\" \
eb2e21b764d03544d8161e9956d7f70b07b75f77Simo Sorce -DSSS_NSS_MCACHE_DIR=\"$(mcpath)\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose -DSSS_PAC_SOCKET_NAME=\"$(pipepath)/pac\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
0ef783e186ef1c9f60e61a4e8e54c44cb366fdfePavel Březina -DSSS_SUDO_SOCKET_NAME=\"$(pipepath)/sudo\" \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek -DSSS_AUTOFS_SOCKET_NAME=\"$(pipepath)/autofs\" \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta -DSSS_SSH_SOCKET_NAME=\"$(pipepath)/ssh\" \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DLOCALEDIR=\"$(localedir)\"
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
b3b6189850d50c656d62efbd498789124c033b00Lukas SlebodnikEXTRA_DIST =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESPONDER_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/negcache.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_cmd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_dp.c \
c0f9698cd951b7223f251ff2511c4b22a6e4ba60Jan Zeleny src/responder/common/responder_packet.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/responder/common/responder_get_domains.c \
115de6d50f0d0bdd5745a5d8eb0d067be9128528Sumit Bose src/responder/common/responder_utils.c \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina src/responder/common/responder_cache_req.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/monitor/monitor_iface_generated.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/monitor/monitor_iface_generated.h \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/data_provider_iface_generated.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/data_provider_iface_generated.h
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_TOOLS_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_sync_ops.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/tools_util.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/files.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/selinux.c \
db78f4c750943fcd4b60bca5f3fdfd6cc5d3d4f8Ondrej Kos src/util/nscd.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
543676afec3c08fdc0a5a794976adc8dfdca974bJakub HrozekSSSD_LCL_TOOLS_OBJ = \
543676afec3c08fdc0a5a794976adc8dfdca974bJakub Hrozek src/sss_client/common.c \
543676afec3c08fdc0a5a794976adc8dfdca974bJakub Hrozek src/tools/tools_mc_util.c \
543676afec3c08fdc0a5a794976adc8dfdca974bJakub Hrozek $(SSSD_TOOLS_OBJ)
543676afec3c08fdc0a5a794976adc8dfdca974bJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESOLV_OBJ = \
ca261795ce61c41d7e62217ccb2ee913923040ffPavel Březina src/resolv/async_resolv.c \
ca261795ce61c41d7e62217ccb2ee913923040ffPavel Březina src/resolv/async_resolv_utils.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_FAILOVER_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/fail_over.c \
77d165f0629966db65753a3aee84a8b4971673afPavel Březina src/providers/fail_over_srv.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSS_CRYPT_LIBS) \
126c9338cf12a3e4404c36bbe4ec14b18f23537cMaxim $(OPENLDAP_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(TDB_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherPYTHON_BINDINGS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_LIBS) \
4e0404ca1b19830dc0f729e59efd5bbd0a9d6103Lukas Slebodnik $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherTOOLS_LIBS = \
eaa723b4d06b4c1e588df67bef44a84bbfaebf1aLukas Slebodnik $(LTLIBINTL) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TEVENT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(LDB_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DBUS_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PCRE_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(INI_CONFIG_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(COLLECTION_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
bfbf5cb0f00c60c0f000f56c282377b13b9a89abSumit Bose $(OPENLDAP_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(TDB_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SELINUX
2e6087c6cc903d5164b9a1d5e3d791fd046001d9Jakub Hrozek PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher TOOLS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_HEADERS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor.h \
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek src/util/crypto/sss_crypto.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/dlinklist.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/util.h \
3a4186ae40d0c3b7be46a4c973166f6048fcfe38Lukas Slebodnik src/util/io.h \
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce src/util/util_errors.h \
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter src/util/safe-format-string.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/strtonum.h \
1658c567191c35beaddffafdb079abe33248037bLukas Slebodnik src/util/sss_endian.h \
29be7d76c949b82350c7603cfd362a1fcb47eb1bJan Zeleny src/util/sss_nss.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_ldap.h \
72e60fd4eabcfbcdbfe01e8c38b94052bc6c2067Jakub Hrozek src/util/sss_python.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/sss_krb5.h \
823a5b3f4375f12b6edae4dd5169ee01771baebeJan Zeleny src/util/sss_selinux.h \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher src/util/sss_utf8.h \
748ba184db97b7534254f97018fa04e8aa458faeJan Cholasta src/util/sss_ssh.h \
7de6e3534fd61c7619ed34a6b1afe7230b5e6504Ondrej Kos src/util/sss_ini.h \
701f13b5c8e27bcbfc79e77ce7c76d9f768a448cLukas Slebodnik src/util/sss_format.h \
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březina src/util/sss_config.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/refcount.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/user_info_msg.h \
5a70b84cb66fb8c7a3fce0e3f2e4b61e0b2ea9d4Simo Sorce src/util/murmurhash3.h \
5f90993426fa2bdc3b3d994c9e85e0805bb92bbcSimo Sorce src/util/mmap_cache.h \
9959c512ac3ba36f7a0db7614f0357ce0bae748fJakub Hrozek src/util/atomic_io.h \
7452f1b637276ce582b120f8f5482ae7f3b6bd47Jakub Hrozek src/util/auth_utils.h \
918b2a5a91f1c551d48f4bffed2a28c36fdb4be1Simo Sorce src/util/authtok.h \
2fa8d6655ac37f9bdeb34420000052d921f4a543Michal Zidek src/util/util_safealign.h \
a473fb88e6015cf0ccbd2e9005c7e6acca18f452Pavel Březina src/util/util_sss_idmap.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor_interfaces.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/responder_packet.h \
e850be1ff2e13bba9812c94c3d102c0a0b570820Jakub Hrozek src/responder/common/responder_sbus.h \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina src/responder/common/responder_cache_req.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv.h \
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher src/responder/pam/pam_helpers.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/nss/nsssrv.h \
ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15Stephen Gallagher src/responder/nss/nsssrv_private.h \
ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15Stephen Gallagher src/responder/nss/nsssrv_netgroup.h \
8c3a4809b3420657289b42f028a1c9019b112991Stephen Gallagher src/responder/nss/nsssrv_services.h \
eb2e21b764d03544d8161e9956d7f70b07b75f77Simo Sorce src/responder/nss/nsssrv_mmap_cache.h \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose src/responder/pac/pacsrv.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/common/negcache.h \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv_private.h \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek src/responder/autofs/autofs_private.h \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta src/responder/ssh/sshsrv_private.h \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek src/responder/ifp/ifp_private.h \
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek src/responder/ifp/ifp_domains.h \
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina src/responder/ifp/ifp_components.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sbus_client.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sssd_dbus.h \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter src/sbus/sssd_dbus_meta.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sbus/sssd_dbus_private.h \
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina src/sbus/sssd_dbus_invokers.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/db/sysdb.h \
3f98cdc011bb4e8cd22c088f288b0bcdb6452492Jakub Hrozek src/db/sysdb_sudo.h \
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek src/db/sysdb_autofs.h \
4c11f752e1f10cf5740d53a3206bb795e9e34fe8Jan Zeleny src/db/sysdb_selinux.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/db/sysdb_private.h \
4c1bf6607060cea867fccf667063c028dfd51e96Stephen Gallagher src/db/sysdb_services.h \
1a7d1977037864e52858058777af8ff8401547ddJan Cholasta src/db/sysdb_ssh.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/confdb/confdb.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/confdb/confdb_private.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/confdb/confdb_setup.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/dp_backend.h \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek src/providers/dp_dyndns.h \
fa70db6004a099afb7cb55031cd7bacb9e78202ePavel Březina src/providers/dp_ptask_private.h \
ac47e8854f3bc404f2a35c6682faf621673d6b32Pavel Březina src/providers/dp_ptask.h \
b79e0e50a935d108173ca3062f2afe16103fcb1dPavel Březina src/providers/dp_refresh.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/fail_over.h \
f9961e5f82e0ef474d6492371bfdf9e74e208a99Pavel Březina src/providers/fail_over_srv.h \
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallagher src/util/child_common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/simple/simple_access.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_auth.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_utils.h \
3441d0c2d11aea0c39b009751a1898333c009674Stephen Gallagher src/providers/krb5/krb5_init_shared.h \
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher src/providers/krb5/krb5_opts.h \
45aeb924ec3ac448bb8d174a5cc061ed98b147c7Jakub Hrozek src/providers/krb5/krb5_ccache.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_access.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_private.h \
4af1d1869d659fec84c518c26844132fa1df8f64Jakub Hrozek src/providers/ldap/sdap_sudo_cache.h \
e9eeb4302e0e426c6cc1a4e65b95a6f7066e80b9Pavel Březina src/providers/ldap/sdap_sudo.h \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek src/providers/ldap/sdap_autofs.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_id_op.h \
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher src/providers/ldap/ldap_opts.h \
cdaa29d2c5724a4c72bfa0f42284ccfac3d5a464Pavel Reichl src/providers/ldap/ldap_auth.h \
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher src/providers/ldap/sdap_range.h \
fae99bfe4bfc8b4a12e9c2a0ad01b3684c22f934Simo Sorce src/providers/ldap/sdap_users.h \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek src/providers/ldap/sdap_dyndns.h \
8ca73915a3bf60331468fed6b3b38652c979f95dJakub Hrozek src/providers/ldap/sdap_async_enum.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_common.h \
213ce2a78b1abe3921d8dc13c949a28130d00aecJan Zeleny src/providers/ipa/ipa_config.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_access.h \
38e2ec1c757955ab557fd95807afa58042d09482Jan Zeleny src/providers/ipa/ipa_selinux.h \
ad07ed37b6b51ef134d4524edaf2259e19ac984fJan Zeleny src/providers/ipa/ipa_hosts.h \
1a853121ca2ba8ede6df429ee76942131ffb0f65Jan Zeleny src/providers/ipa/ipa_selinux_maps.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_auth.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_dyndns.h \
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose src/providers/ipa/ipa_subdomains.h \
3a62a99faf8e12965100d0b26fc9e07752bd3e2dStephen Gallagher src/providers/ipa/ipa_id.h \
1a7d1977037864e52858058777af8ff8401547ddJan Cholasta src/providers/ipa/ipa_hostid.h \
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher src/providers/ipa/ipa_opts.h \
88275cccddf39892e01682b39b02292eb74729bdPavel Březina src/providers/ipa/ipa_srv.h \
a679f0167b646cffdae86546ed77e105576991b0Pavel Březina src/providers/ad/ad_srv.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/tools_util.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_sync_ops.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/resolv/async_resolv.h \
347f7c4d1e8e83fc7ffcaf9524a67e8b3ad5d7c5Jan Cholasta src/tests/common.h \
4139a7a731f2831963a42b26aac111422be28792Jakub Hrozek src/tests/common_check.h \
50fe3d79ab12b795a687b676761bef265701626aStephen Gallagher src/tests/cmocka/common_mock.h \
50fe3d79ab12b795a687b676761bef265701626aStephen Gallagher src/tests/cmocka/common_mock_resp.h \
3f32406640d89face5e79244b4d8dab34adb6c7cPavel Březina src/tests/cmocka/common_mock_sdap.h \
17d37aecdf397fcb7a1d0c75adebdb25d7be112ePavel Březina src/tests/cmocka/common_mock_sysdb_objects.h \
b6dfbf81c61d4431aaa81687ec53e892f8b71edbSumit Bose src/sss_client/ssh/sss_ssh_client.h \
e293fba4f5459f3c2dad254dcc966407d8fc3312Jakub Hrozek src/sss_client/sudo/sss_sudo.h \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/libwbclient.h \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_err_internal.h \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbclient_internal.h \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_sssd_internal.h \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer src/sss_client/nfs/nfsidmap_internal.h \
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina src/lib/idmap/sss_idmap_private.h \
462db32918a05097652f8232cd6c8d78a826e63cLukas Slebodnik src/lib/sifp/sss_sifp_private.h \
462db32918a05097652f8232cd6c8d78a826e63cLukas Slebodnik src/tests/cmocka/test_utils.h \
462db32918a05097652f8232cd6c8d78a826e63cLukas Slebodnik $(NULL)
347f7c4d1e8e83fc7ffcaf9524a67e8b3ad5d7c5Jan Cholasta
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozekif HAVE_NSS
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozekendif
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek
374bf54785365273b20690bd3792c25a44738041Pavel BřezinaSSSD_DOCS = \
8359bf07a2e6c0181251ce8d5d9160dc57546c55Stephen Gallagher doc \
8359bf07a2e6c0181251ce8d5d9160dc57546c55Stephen Gallagher hbac_doc \
2a9af1f71887f02935e2fb6ad5023afba5b6d43eSumit Bose idmap_doc \
2a9af1f71887f02935e2fb6ad5023afba5b6d43eSumit Bose nss_idmap_doc
8359bf07a2e6c0181251ce8d5d9160dc57546c55Stephen Gallagher
374bf54785365273b20690bd3792c25a44738041Pavel Březinaif BUILD_SUDO
8359bf07a2e6c0181251ce8d5d9160dc57546c55Stephen Gallagher SSSD_DOCS += libsss_sudo_doc
374bf54785365273b20690bd3792c25a44738041Pavel Březinaendif
374bf54785365273b20690bd3792c25a44738041Pavel Březina
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinaif BUILD_IFP
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina SSSD_DOCS += libsss_simpleifp_doc
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinaendif
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina
eaa723b4d06b4c1e588df67bef44a84bbfaebf1aLukas SlebodnikCLIENT_LIBS = $(LTLIBINTL)
eaa723b4d06b4c1e588df67bef44a84bbfaebf1aLukas Slebodnik
86b61156743b7ebdc049450a6f88452890fd9a61Jakub Hrozekif HAVE_PTHREAD
eaa723b4d06b4c1e588df67bef44a84bbfaebf1aLukas SlebodnikCLIENT_LIBS += -lpthread
86b61156743b7ebdc049450a6f88452890fd9a61Jakub Hrozekendif
86b61156743b7ebdc049450a6f88452890fd9a61Jakub Hrozek
77c0d1f6074059dafd2293f9c42ea0f9d60f8aadJakub Hrozekif WITH_JOURNALD
77c0d1f6074059dafd2293f9c42ea0f9d60f8aadJakub HrozekSYSLOG_LIBS = $(JOURNALD_LIBS)
77c0d1f6074059dafd2293f9c42ea0f9d60f8aadJakub Hrozekendif
77c0d1f6074059dafd2293f9c42ea0f9d60f8aadJakub Hrozek
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher#####################
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher# Utility libraries #
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher#####################
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagherpkglib_LTLIBRARIES += libsss_debug.la
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagherlibsss_debug_la_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/debug.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/sss_log.c
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtlibsss_debug_la_LIBADD = \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(SYSLOG_LIBS)
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagherlibsss_debug_la_LDFLAGS = \
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagher -avoid-version
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagherpkglib_LTLIBRARIES += libsss_child.la
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallagherlibsss_child_la_SOURCES = src/util/child_common.c
5a05b6127064c74349f1edae32e5e13032c386feLukas Slebodniklibsss_child_la_LIBADD = \
5a05b6127064c74349f1edae32e5e13032c386feLukas Slebodnik $(TALLOC_LIBS) \
5a05b6127064c74349f1edae32e5e13032c386feLukas Slebodnik $(TEVENT_LIBS) \
5a05b6127064c74349f1edae32e5e13032c386feLukas Slebodnik $(DHASH_LIBS) \
5a05b6127064c74349f1edae32e5e13032c386feLukas Slebodnik libsss_debug.la \
5a05b6127064c74349f1edae32e5e13032c386feLukas Slebodnik $(NULL)
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagherlibsss_child_la_LDFLAGS = -avoid-version
87c07559af5cfcd2752295ef7c425bd3205f426fStephen Gallagher
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnikpkglib_LTLIBRARIES += libsss_crypt.la
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnikif HAVE_NSS
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_base64.c \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik src/util/crypto/nss/nss_hmac_sha1.c \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik src/util/crypto/nss/nss_sha512crypt.c \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik src/util/crypto/nss/nss_obfuscate.c \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik src/util/crypto/nss/nss_util.c
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik SSS_CRYPT_LIBS = $(NSS_LIBS)
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnikelse
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_base64.c \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik src/util/crypto/libcrypto/crypto_hmac_sha1.c \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik src/util/crypto/libcrypto/crypto_sha512crypt.c \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik src/util/crypto/libcrypto/crypto_obfuscate.c
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnikendif
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodniklibsss_crypt_la_SOURCES = \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik $(SSS_CRYPT_SOURCES)
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodniklibsss_crypt_la_CFLAGS = \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik $(SSS_CRYPT_CFLAGS) \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik $(DHASH_CFLAGS)
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodniklibsss_crypt_la_LIBADD = \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik $(SSS_CRYPT_LIBS) \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik $(DHASH_LIBS) \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik $(TALLOC_LIBS) \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik libsss_debug.la \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik $(NULL)
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodniklibsss_crypt_la_LDFLAGS = \
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik -avoid-version
25d4435998d0446f7699e7ab0874c7a6f610ab58Lukas Slebodnik
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagherpkglib_LTLIBRARIES += libsss_util.la
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagherlibsss_util_la_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/confdb/confdb.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/db/sysdb.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/db/sysdb_ops.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/db/sysdb_search.c \
4c11f752e1f10cf5740d53a3206bb795e9e34fe8Jan Zeleny src/db/sysdb_selinux.c \
c2352a73f52f600d95966ebe0b0819649ba923faStephen Gallagher src/db/sysdb_upgrade.c \
4c1bf6607060cea867fccf667063c028dfd51e96Stephen Gallagher src/db/sysdb_services.c \
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8Jakub Hrozek src/db/sysdb_autofs.c \
e76d78338026fa47dca32eaf7f5c15eabb1b951aJan Zeleny src/db/sysdb_subdomains.c \
2ef62c64e7f07c8aced3f72850008ecb72860162Sumit Bose src/db/sysdb_views.c \
386a66b1aa18a176e6a06fa126556c9590c373b6Sumit Bose src/db/sysdb_ranges.c \
817b1bcafff27cc67630dd0cbd36df708c05fcccStephen Gallagher src/db/sysdb_idmap.c \
64074e584a56611d7563667e0fcdadd215b0c922Yassir Elley src/db/sysdb_gpo.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/monitor/monitor_sbus.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/providers/dp_auth_util.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/providers/dp_pam_data_util.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/providers/dp_sbus.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/sbus/sbus_client.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/sbus/sssd_dbus_common.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/sbus/sssd_dbus_connection.c \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter src/sbus/sssd_dbus_meta.c \
d87e960c17d7598781cf032d06ba03a3ecadbfa2Pavel Březina src/sbus/sssd_dbus_interface.c \
42c28b9424b6ef8a0021b124773e171dd5defaddJakub Hrozek src/sbus/sssd_dbus_introspect.c \
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina src/sbus/sssd_dbus_invokers.c \
1319e71fd1680ca4864afe0b1aca2b8c8e4a1ee4Stef Walter src/sbus/sssd_dbus_properties.c \
d9577dbd92555b0755881e37724019ef9c578404Stef Walter src/sbus/sssd_dbus_request.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/sbus/sssd_dbus_server.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/util.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/memory.c \
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter src/util/safe-format-string.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/server.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/signal.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/usertools.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/backup_file.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/strtonum.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/check_and_open.c \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher src/util/refcount.c \
29be7d76c949b82350c7603cfd362a1fcb47eb1bJan Zeleny src/util/sss_nss.c \
dbea04f585a30d001b574317c068cd03a4fa332bJakub Hrozek src/util/sss_utf8.c \
5a70b84cb66fb8c7a3fce0e3f2e4b61e0b2ea9d4Simo Sorce src/util/sss_tc_utf8.c \
823a5b3f4375f12b6edae4dd5169ee01771baebeJan Zeleny src/util/murmurhash3.c \
9959c512ac3ba36f7a0db7614f0357ce0bae748fJakub Hrozek src/util/atomic_io.c \
918b2a5a91f1c551d48f4bffed2a28c36fdb4be1Simo Sorce src/util/authtok.c \
20d0bc6d587f346238062df4da5edfde815e59b1Jan Zeleny src/util/sss_selinux.c \
0a55f903a1da319338fdcf147efa01ed22f9710dMichal Zidek src/util/domain_info_utils.c \
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce src/util/util_lock.c \
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik src/util/util_errors.c \
12805da52a93c268290cec7b8fbbdbd4ea8abc3eLukas Slebodnik src/util/find_uid.c \
7de6e3534fd61c7619ed34a6b1afe7230b5e6504Ondrej Kos src/util/sss_ini.c \
a473fb88e6015cf0ccbd2e9005c7e6acca18f452Pavel Březina src/util/io.c \
de38d860e39585486e3ccbb42555196e319c7efdSumit Bose src/util/util_sss_idmap.c \
022c6b90bb37851c0e8704c0e5388ebc113c6470Lukas Slebodnik src/util/well_known_sids.c \
022c6b90bb37851c0e8704c0e5388ebc113c6470Lukas Slebodnik src/util/string_utils.c \
ac40d2f2b2b2fc35c95389f5e28febd580bd2b7aJakub Hrozek src/util/become_user.c \
022c6b90bb37851c0e8704c0e5388ebc113c6470Lukas Slebodnik $(NULL)
12805da52a93c268290cec7b8fbbdbd4ea8abc3eLukas Slebodniklibsss_util_la_CFLAGS = \
12805da52a93c268290cec7b8fbbdbd4ea8abc3eLukas Slebodnik $(AM_CFLAGS) \
ac40d2f2b2b2fc35c95389f5e28febd580bd2b7aJakub Hrozek $(SYSTEMD_LOGIN_CFLAGS) \
ac40d2f2b2b2fc35c95389f5e28febd580bd2b7aJakub Hrozek $(NULL)
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagherlibsss_util_la_LIBADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
12805da52a93c268290cec7b8fbbdbd4ea8abc3eLukas Slebodnik $(SYSTEMD_LOGIN_LIBS) \
ac40d2f2b2b2fc35c95389f5e28febd580bd2b7aJakub Hrozek $(UNICODE_LIBS) \
5a05b6127064c74349f1edae32e5e13032c386feLukas Slebodnik libsss_debug.la \
5a05b6127064c74349f1edae32e5e13032c386feLukas Slebodnik libsss_child.la \
5a05b6127064c74349f1edae32e5e13032c386feLukas Slebodnik libsss_crypt.la \
ac40d2f2b2b2fc35c95389f5e28febd580bd2b7aJakub Hrozek $(NULL)
3f98cdc011bb4e8cd22c088f288b0bcdb6452492Jakub Hrozekif BUILD_SUDO
3f98cdc011bb4e8cd22c088f288b0bcdb6452492Jakub Hrozek libsss_util_la_SOURCES += src/db/sysdb_sudo.c
3f98cdc011bb4e8cd22c088f288b0bcdb6452492Jakub Hrozekendif
1a7d1977037864e52858058777af8ff8401547ddJan Cholastaif BUILD_SSH
748ba184db97b7534254f97018fa04e8aa458faeJan Cholastalibsss_util_la_SOURCES += \
748ba184db97b7534254f97018fa04e8aa458faeJan Cholasta src/db/sysdb_ssh.c \
748ba184db97b7534254f97018fa04e8aa458faeJan Cholasta src/util/sss_ssh.c
1a7d1977037864e52858058777af8ff8401547ddJan Cholastaendif
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagherlibsss_util_la_LDFLAGS = -avoid-version
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidekpkglib_LTLIBRARIES += libsss_semanage.la
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zideklibsss_semanage_la_SOURCES = \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek src/util/sss_semanage.c \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek $(NULL)
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zideklibsss_semanage_la_LIBADD = \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek libsss_debug.la \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek $(NULL)
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidekif BUILD_SEMANAGE
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zideklibsss_semanage_la_LIBADD += $(SEMANAGE_LIBS)
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidekendif
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zideklibsss_semanage_la_LDFLAGS = \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek -avoid-version
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek
577ba99b3150404533bd3d859522a2c994b17e76Lukas SlebodnikSSSD_INTERNAL_LTLIBS = \
fd98a28d6e94080e52bbedc789b06606a6019b10Lukas Slebodnik libsss_util.la \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik libsss_crypt.la \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik libsss_debug.la \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek libsss_child.la \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek $(NULL)
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik
bbaba8b3ef9bc101863b8687f234f4ee956caacdPavel Březinaif BUILD_IFP
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březinaif BUILD_CONFIG_LIB
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březinapkglib_LTLIBRARIES += libsss_config.la
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březinalibsss_config_la_SOURCES = \
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březina src/util/sss_config.c
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březinalibsss_config_la_CFLAGS = \
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březina $(AM_CFLAGS) \
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březina $(AUGEAS_CFLAGS) \
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březina $(TALLOC_CFLAGS)
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březinalibsss_config_la_LIBADD = \
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březina $(AUGEAS_LIBS) \
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březina $(TALLOC_LIBS) \
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březina $(SSSD_INTERNAL_LTLIBS)
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březinalibsss_config_la_LDFLAGS = \
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březina -avoid-version
bbaba8b3ef9bc101863b8687f234f4ee956caacdPavel Březinaendif # BUILD_CONFIG_LIB
bbaba8b3ef9bc101863b8687f234f4ee956caacdPavel Březinaendif # BUILD_IFP
3fc158e59eebbc2f538fe0076a03928d0d4eab9fPavel Březina
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Boselib_LTLIBRARIES = libipa_hbac.la \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose libsss_idmap.la \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose libsss_nss_idmap.la \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose $(NULL)
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodnikpkgconfig_DATA += src/providers/ipa/ipa_hbac.pc
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodniklibipa_hbac_la_DEPENDENCIES = src/providers/ipa/ipa_hbac.exports
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagherlibipa_hbac_la_SOURCES = \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher src/providers/ipa/hbac_evaluator.c \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher src/util/sss_utf8.c
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtlibipa_hbac_la_LIBADD = \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher $(UNICODE_LIBS)
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtlibipa_hbac_la_LDFLAGS = \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik -Wl,--version-script,$(srcdir)/src/providers/ipa/ipa_hbac.exports \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt -version-info 0:1:0
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnikdist_noinst_DATA += src/providers/ipa/ipa_hbac.exports
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodnikpkgconfig_DATA += src/lib/idmap/sss_idmap.pc
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodniklibsss_idmap_la_DEPENDENCIES = src/lib/idmap/sss_idmap.exports
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Boselibsss_idmap_la_SOURCES = \
b6dfbf81c61d4431aaa81687ec53e892f8b71edbSumit Bose src/lib/idmap/sss_idmap.c \
46222e5191473f9a46aec581273eb2eef22e23beMichal Zidek src/lib/idmap/sss_idmap_conv.c \
46222e5191473f9a46aec581273eb2eef22e23beMichal Zidek src/util/murmurhash3.c
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Boselibsss_idmap_la_LDFLAGS = \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik -Wl,--version-script,$(srcdir)/src/lib/idmap/sss_idmap.exports \
034ffb3c69cd04f03b36b89766c47a7c9bd9b831Sumit Bose -version-info 4:0:4
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnikdist_noinst_DATA += src/lib/idmap/sss_idmap.exports
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodnikpkgconfig_DATA += src/sss_client/idmap/sss_nss_idmap.pc
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodniklibsss_nss_idmap_la_DEPENDENCIES = src/sss_client/idmap/sss_nss_idmap.exports
2a9af1f71887f02935e2fb6ad5023afba5b6d43eSumit Boselibsss_nss_idmap_la_SOURCES = \
2a9af1f71887f02935e2fb6ad5023afba5b6d43eSumit Bose src/sss_client/idmap/sss_nss_idmap.c \
2a9af1f71887f02935e2fb6ad5023afba5b6d43eSumit Bose src/sss_client/common.c \
2a9af1f71887f02935e2fb6ad5023afba5b6d43eSumit Bose src/util/strtonum.c
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtlibsss_nss_idmap_la_LIBADD = \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(CLIENT_LIBS)
2a9af1f71887f02935e2fb6ad5023afba5b6d43eSumit Boselibsss_nss_idmap_la_LDFLAGS = \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik -Wl,--version-script,$(srcdir)/src/sss_client/idmap/sss_nss_idmap.exports \
0d01e4f6cc21d8ca0e4fafe59c7cbfa1459fa47eSumit Bose -version-info 1:0:1
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnikdist_noinst_DATA += src/sss_client/idmap/sss_nss_idmap.exports
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
a9c287bda3fc2a1e12cef2135ade96945f11ad01Sumit Boseinclude_HEADERS = \
a9c287bda3fc2a1e12cef2135ade96945f11ad01Sumit Bose src/providers/ipa/ipa_hbac.h \
a9c287bda3fc2a1e12cef2135ade96945f11ad01Sumit Bose src/lib/idmap/sss_idmap.h \
a9c287bda3fc2a1e12cef2135ade96945f11ad01Sumit Bose src/sss_client/idmap/sss_nss_idmap.h \
a9c287bda3fc2a1e12cef2135ade96945f11ad01Sumit Bose $(NULL)
a9c287bda3fc2a1e12cef2135ade96945f11ad01Sumit Bose
a9c287bda3fc2a1e12cef2135ade96945f11ad01Sumit Boseif BUILD_LIBWBCLIENT
f3c85d900c4663854cc7bbae7d9f77867ed1f69bSumit Boselibwbclient_LTLIBRARIES = libwbclient.la
f3c85d900c4663854cc7bbae7d9f77867ed1f69bSumit Bosepkgconfig_DATA += src/sss_client/libwbclient/wbclient_sssd.pc
a9c287bda3fc2a1e12cef2135ade96945f11ad01Sumit Bose
f3c85d900c4663854cc7bbae7d9f77867ed1f69bSumit BoseEXTRA_libwbclient_la_DEPENDENCIES = \
f3c85d900c4663854cc7bbae7d9f77867ed1f69bSumit Bose src/sss_client/libwbclient/wbclient.exports
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Boselibwbclient_la_SOURCES = \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_guid.c \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_idmap_common.c \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_idmap_sssd.c \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbclient_common.c \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbclient_sssd.c \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_pam_sssd.c \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_pwd_sssd.c \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_sid_common.c \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_sid_sssd.c \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_sssd_internal.h \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_util_common.c \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose src/sss_client/libwbclient/wbc_util_sssd.c
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Boselibwbclient_la_LIBADD = \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose libsss_nss_idmap.la \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose $(CLIENT_LIBS)
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Boselibwbclient_la_LDFLAGS = \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose -Wl,--version-script,$(srcdir)/src/sss_client/libwbclient/wbclient.exports \
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose -version-info 11:0:11
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bosedist_noinst_DATA += src/sss_client/libwbclient/wbclient.exports
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose
f3c85d900c4663854cc7bbae7d9f77867ed1f69bSumit Boseinclude_HEADERS += src/sss_client/libwbclient/wbclient_sssd.h
a9c287bda3fc2a1e12cef2135ade96945f11ad01Sumit Boseendif #BUILD_LIBWBCLIENT
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinaif BUILD_IFP
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinalib_LTLIBRARIES += libsss_simpleifp.la
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinapkgconfig_DATA += src/lib/sifp/sss_simpleifp.pc
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinalibsss_simpleifp_la_SOURCES = \
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina src/lib/sifp/sss_sifp.c \
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina src/lib/sifp/sss_sifp_dbus.c \
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina src/lib/sifp/sss_sifp_attrs.c \
0bb98b7700b1b61f5b0a20b93279d5c2c391007fPavel Březina src/lib/sifp/sss_sifp_common.c \
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina src/lib/sifp/sss_sifp_parser.c \
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina src/lib/sifp/sss_sifp_utils.c
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinalibsss_simpleifp_la_CFLAGS = \
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina $(AM_CFLAGS) \
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina -I$(top_srcdir)/src/lib/sifp
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinalibsss_simpleifp_la_LIBADD = \
efa6c1f75c4c18bcc148d6e7efd429c2d56499adPavel Březina $(DBUS_LIBS) \
efa6c1f75c4c18bcc148d6e7efd429c2d56499adPavel Březina $(DHASH_LIBS)
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinalibsss_simpleifp_la_LDFLAGS = \
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina -Wl,--version-script,$(srcdir)/src/lib/sifp/sss_simpleifp.exports \
706d211b5d6e32d11a1c6ffc8065ca8be4d4d8c5Pavel Březina -version-info 0:1:0
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinadist_noinst_DATA += src/lib/sifp/sss_simpleifp.exports
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinainclude_HEADERS += \
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina src/lib/sifp/sss_sifp.h \
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina src/lib/sifp/sss_sifp_dbus.h
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinaendif
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter####################
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Sbus Codegen #
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter####################
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Yes, the goal here is that the generated files end up in $(srcdir)
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# not $(builddir). Always use $(srcdir) here.
b699c4d7f85a5404be1d1ee9450331aea869b886Stef WalterCODEGEN_XML = \
769347ad4d35d43488eb98f980143495b0db415dStef Walter $(srcdir)/src/tests/sbus_codegen_tests.xml \
769347ad4d35d43488eb98f980143495b0db415dStef Walter $(srcdir)/src/monitor/monitor_iface.xml \
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek $(srcdir)/src/providers/data_provider_iface.xml \
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek $(srcdir)/src/responder/ifp/ifp_iface.xml
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter
b699c4d7f85a5404be1d1ee9450331aea869b886Stef WalterSBUS_CODEGEN = src/sbus/sbus_codegen
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter
b699c4d7f85a5404be1d1ee9450331aea869b886Stef WalterEXTRA_DIST += \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter $(SBUS_CODEGEN) \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter $(CODEGEN_XML)
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter
b699c4d7f85a5404be1d1ee9450331aea869b886Stef WalterSUFFIXES = .xml _generated.h _generated.c
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter.xml_generated.h:
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter $(srcdir)/$(SBUS_CODEGEN) --mode=header --output=$@ $<
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter.xml_generated.c:
fcd8093c58638dc7c4f9cddfc97f273b94ce2eadStef Walter $(srcdir)/$(SBUS_CODEGEN) --mode=source --include=$(@:.c=.h) --output=$@ $<
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Regenerate when codegen changes
b699c4d7f85a5404be1d1ee9450331aea869b886Stef WalterCODEGEN_CODE = \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter $(CODEGEN_XML:.xml=_generated.c) \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter $(CODEGEN_XML:.xml=_generated.h)
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter$(CODEGEN_CODE): $(SBUS_CODEGEN)
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter
b699c4d7f85a5404be1d1ee9450331aea869b886Stef WalterBUILT_SOURCES = $(CODEGEN_CODE)
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Program Binaries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/monitor/monitor_netlink.c \
574a1c20f114851071ae74112b34488c3d1aeeb3Ondrej Kos src/confdb/confdb_setup.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/util/nscd.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/monitor/monitor_iface_generated.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/monitor/monitor_iface_generated.h
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik $(INOTIFY_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(LIBNL_LIBS) \
e369fc08906383e6d5c39832f31bb6600a33f887Simo Sorce $(KEYUTILS_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_nss_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/nss/nsssrv.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/nss/nsssrv_cmd.c \
ef39c0adcb61b16f9edc7beb4cdc8f3b0d5a8f15Stephen Gallagher src/responder/nss/nsssrv_netgroup.c \
8c3a4809b3420657289b42f028a1c9019b112991Stephen Gallagher src/responder/nss/nsssrv_services.c \
eb2e21b764d03544d8161e9956d7f70b07b75f77Simo Sorce src/responder/nss/nsssrv_mmap_cache.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESPONDER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_nss_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TDB_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
f427b36b0cecc426856ab3f77a9c684ac355659dSumit Bose libsss_idmap.la \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_pam_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pam_LOCAL_domain.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv_cmd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/responder/pam/pamsrv_dp.c \
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher src/responder/pam/pam_helpers.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESPONDER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_pam_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TDB_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
300c772767c1b12077cac1d148ac89738b058f97Jan Zeleny $(SELINUX_LIBS) \
bdc2aced1185c4ee36921fa01b8dc01789a63900Jakub Hrozek $(PAM_LIBS) \
bdc2aced1185c4ee36921fa01b8dc01789a63900Jakub Hrozek $(SSSD_INTERNAL_LTLIBS) \
bdc2aced1185c4ee36921fa01b8dc01789a63900Jakub Hrozek $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinaif BUILD_SUDO
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinasssd_sudo_SOURCES = \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv_cmd.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv_get_sudorules.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv_query.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina src/responder/sudo/sudosrv_dp.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina $(SSSD_RESPONDER_OBJ)
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinasssd_sudo_LDADD = \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina $(SSSD_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březinaendif
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozekif BUILD_AUTOFS
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozeksssd_autofs_SOURCES = \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek src/responder/autofs/autofssrv.c \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek src/responder/autofs/autofssrv_cmd.c \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek src/responder/autofs/autofssrv_dp.c \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek $(SSSD_RESPONDER_OBJ)
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozeksssd_autofs_LDADD = \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek $(SSSD_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozekendif
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastaif BUILD_SSH
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastasssd_ssh_SOURCES = \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta src/responder/ssh/sshsrv.c \
b42b5d5aaf4da165582e73ad985fdff6e34e61e4Jakub Hrozek src/responder/ssh/sshsrv_dp.c \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta src/responder/ssh/sshsrv_cmd.c \
bd03e67c9d2fc4ad0275e7a573385ee5b7b9307aJan Cholasta $(SSSD_RESPONDER_OBJ)
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastasssd_ssh_LDADD = \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta $(SSSD_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholastaendif
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bosesssd_pac_SOURCES = \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose src/responder/pac/pacsrv.c \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose src/responder/pac/pacsrv_cmd.c \
e3f0014bb64b7e93979948936cf93cf869d3dc44Jan Zeleny src/responder/pac/pacsrv_utils.c \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose $(SSSD_UTIL_OBJ) \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose $(SSSD_RESPONDER_OBJ)
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bosesssd_pac_CFLAGS = \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose $(AM_CFLAGS) \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose $(NDR_KRB5PAC_CFLAGS)
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bosesssd_pac_LDADD = \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose $(NDR_KRB5PAC_LIBS) \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose $(TDB_LIBS) \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose $(SSSD_LIBS) \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose libsss_idmap.la \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozekif BUILD_IFP
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozeksssd_ifp_SOURCES = \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek src/responder/ifp/ifpsrv.c \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek src/responder/ifp/ifpsrv_cmd.c \
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek src/responder/ifp/ifp_iface_generated.c \
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek src/responder/ifp/ifp_iface_generated.h \
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina src/responder/ifp/ifp_iface.c \
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek src/responder/ifp/ifpsrv_util.c \
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek src/responder/ifp/ifp_domains.c \
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina src/responder/ifp/ifp_components.c \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek $(SSSD_UTIL_OBJ) \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek $(SSSD_RESPONDER_OBJ)
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozeksssd_ifp_CFLAGS = \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek $(AM_CFLAGS)
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozeksssd_ifp_LDADD = \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek $(SSSD_LIBS) \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek $(SSSD_INTERNAL_LTLIBS)
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozekdist_dbuspolicy_DATA = \
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek src/responder/ifp/org.freedesktop.sssd.infopipe.conf
1a59af8245f183f22d87d067a90197d8e2ea958dJakub Hrozekdist_dbusservice_DATA = \
1a59af8245f183f22d87d067a90197d8e2ea958dJakub Hrozek src/responder/ifp/org.freedesktop.sssd.infopipe.service
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinaif BUILD_CONFIG_LIB
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinasssd_ifp_LDADD += libsss_config.la
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinaendif
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozekendif
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_be_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_be.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_fo.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_opts.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_callbacks.c \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek src/providers/dp_dyndns.c \
ac47e8854f3bc404f2a35c6682faf621673d6b32Pavel Březina src/providers/dp_ptask.c \
b79e0e50a935d108173ca3062f2afe16103fcb1dPavel Březina src/providers/dp_refresh.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/monitor/monitor_iface_generated.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/monitor/monitor_iface_generated.h \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/data_provider_iface_generated.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/data_provider_iface_generated.h \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_FAILOVER_OBJ)
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallaghersssd_be_LDADD = \
ccf340e56364851f2e5b75e52d3d63701b662954Lukas Slebodnik $(LIBADD_DL) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(CARES_LIBS) \
2db6afe70eee2bbc22aa657a6b6609a9f3eb5d4cSimo Sorce $(PAM_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_be_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
2db6afe70eee2bbc22aa657a6b6609a9f3eb5d4cSimo Sorce -export-dynamic
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozekif BUILD_PYTHON_BINDINGS
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozeksss_obfuscate_pythondir = $(sbindir)
52e0894fd65bff4715c88330eb62b28e1635228fStephen Gallagherdist_sss_obfuscate_python_SCRIPTS = \
8359bf07a2e6c0181251ce8d5d9160dc57546c55Stephen Gallagher src/tools/sss_obfuscate
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozekendif
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek
530ba03ecabb472f17d5d1ab546aec9390492de1Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
8a07521b413a3b5879f824e1872c5770c92ee5c0Stephen Gallagher src/examples/sssd-example.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/examples/sssdproxytest \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/examples/sudo \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/examples/logrotate \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/sssd_be.exports \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/COPYING \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/COPYING.LESSER \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/m4
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Command-line Tools #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_useradd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_useradd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_useradd_LDADD = \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(TOOLS_LIBS) \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek $(SSSD_INTERNAL_LTLIBS) \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek libsss_semanage.la \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_userdel_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_userdel.c \
543676afec3c08fdc0a5a794976adc8dfdca974bJakub Hrozek $(SSSD_LCL_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_userdel_LDADD = \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(TOOLS_LIBS) \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(SSSD_INTERNAL_LTLIBS) \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek $(CLIENT_LIBS) \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek libsss_semanage.la \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek $(NULL)
b49a7d90708e816120ff88ce5a88fa62b35ff795Simo Sorcesss_userdel_CFLAGS = \
12805da52a93c268290cec7b8fbbdbd4ea8abc3eLukas Slebodnik $(AM_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupadd_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupadd.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupadd_LDADD = \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(TOOLS_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupdel_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupdel.c \
543676afec3c08fdc0a5a794976adc8dfdca974bJakub Hrozek $(SSSD_LCL_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupdel_LDADD = \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(TOOLS_LIBS) \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(SSSD_INTERNAL_LTLIBS) \
a9eff330a7fbd231e8cc28a6828a1e5014ddb0d2Michal Zidek $(CLIENT_LIBS)
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtsss_groupdel_CFLAGS = $(AM_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_usermod_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_usermod.c \
2c0a971010596c122d7a0c0d76c8eb85f16f6d06Jakub Hrozek $(SSSD_LCL_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_usermod_LDADD = \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(TOOLS_LIBS) \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(SSSD_INTERNAL_LTLIBS) \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek $(CLIENT_LIBS) \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek libsss_semanage.la \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek $(NULL)
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtsss_usermod_CFLAGS = $(AM_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupmod_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupmod.c \
2c0a971010596c122d7a0c0d76c8eb85f16f6d06Jakub Hrozek $(SSSD_LCL_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupmod_LDADD = \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(TOOLS_LIBS) \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(SSSD_INTERNAL_LTLIBS) \
2c0a971010596c122d7a0c0d76c8eb85f16f6d06Jakub Hrozek $(CLIENT_LIBS)
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtsss_groupmod_CFLAGS = $(AM_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupshow_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/sss_groupshow.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersss_groupshow_LDADD = \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(TOOLS_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zelenysss_cache_SOURCES = \
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny src/tools/sss_cache.c \
543676afec3c08fdc0a5a794976adc8dfdca974bJakub Hrozek $(SSSD_LCL_TOOLS_OBJ)
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zelenysss_cache_LDADD = \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(TOOLS_LIBS) \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(SSSD_INTERNAL_LTLIBS) \
543676afec3c08fdc0a5a794976adc8dfdca974bJakub Hrozek $(CLIENT_LIBS)
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtsss_cache_CFLAGS = $(AM_CFLAGS)
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny
f1828234a850dd28465425248a83a993f262918fPavel Březinasss_debuglevel_SOURCES = \
f1828234a850dd28465425248a83a993f262918fPavel Březina src/tools/sss_debuglevel.c \
f1828234a850dd28465425248a83a993f262918fPavel Březina $(SSSD_TOOLS_OBJ)
f1828234a850dd28465425248a83a993f262918fPavel Březinasss_debuglevel_LDADD = \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(TOOLS_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
f1828234a850dd28465425248a83a993f262918fPavel Březina
6ea6ec5cb7d9985e2730fb9d4657624d10aed4d8Nick Guaysss_seed_SOURCES = \
6ea6ec5cb7d9985e2730fb9d4657624d10aed4d8Nick Guay src/tools/sss_seed.c \
6ea6ec5cb7d9985e2730fb9d4657624d10aed4d8Nick Guay $(SSSD_TOOLS_OBJ)
6ea6ec5cb7d9985e2730fb9d4657624d10aed4d8Nick Guaysss_seed_LDADD = \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(TOOLS_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
6ea6ec5cb7d9985e2730fb9d4657624d10aed4d8Nick Guay
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozeksss_signal_SOURCES = \
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozek src/tools/sss_signal.c \
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozek $(SSSD_TOOLS_OBJ) \
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozek $(NULL)
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozeksss_signal_LDADD = \
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozek $(TOOLS_LIBS) \
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozek $(SSSD_INTERNAL_LTLIBS) \
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozek $(NULL)
1746e8b8399da2a7a8da4aace186f66055ccfec1Jakub Hrozek
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinaif BUILD_SUDO
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinasss_sudo_cli_SOURCES = \
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina src/sss_client/common.c \
42870c7ac3608ffc58f2c9524ad3dfc1401bc1aaPavel Březina src/sss_client/sudo/sss_sudo.c \
42870c7ac3608ffc58f2c9524ad3dfc1401bc1aaPavel Březina src/sss_client/sudo/sss_sudo_response.c \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sudo_testcli/sudo_testcli.c
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinasss_sudo_cli_CFLAGS = $(AM_CFLAGS)
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtsss_sudo_cli_LDADD = $(CLIENT_LIBS)
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinaendif
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březina
558998ce664055a75595371118f818084d8f2b23Jan Cholastaif BUILD_SSH
558998ce664055a75595371118f818084d8f2b23Jan Cholastasss_ssh_authorizedkeys_SOURCES = \
558998ce664055a75595371118f818084d8f2b23Jan Cholasta src/sss_client/common.c \
748ba184db97b7534254f97018fa04e8aa458faeJan Cholasta src/sss_client/ssh/sss_ssh_client.c \
558998ce664055a75595371118f818084d8f2b23Jan Cholasta src/sss_client/ssh/sss_ssh_authorizedkeys.c
558998ce664055a75595371118f818084d8f2b23Jan Cholastasss_ssh_authorizedkeys_CFLAGS = $(AM_CFLAGS)
558998ce664055a75595371118f818084d8f2b23Jan Cholastasss_ssh_authorizedkeys_LDADD = \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(SSSD_INTERNAL_LTLIBS) \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(CLIENT_LIBS) $(TALLOC_LIBS) $(POPT_LIBS)
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholastasss_ssh_knownhostsproxy_SOURCES = \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta src/sss_client/common.c \
748ba184db97b7534254f97018fa04e8aa458faeJan Cholasta src/sss_client/ssh/sss_ssh_client.c \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta src/sss_client/ssh/sss_ssh_knownhostsproxy.c
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholastasss_ssh_knownhostsproxy_CFLAGS = $(AM_CFLAGS)
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholastasss_ssh_knownhostsproxy_LDADD = \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(SSSD_INTERNAL_LTLIBS) \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(CLIENT_LIBS) $(TALLOC_LIBS) $(POPT_LIBS)
558998ce664055a75595371118f818084d8f2b23Jan Cholastaendif
558998ce664055a75595371118f818084d8f2b23Jan Cholasta
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Feature Tests #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#################
6e973aa578a692b2e7597811dfdfdb1a442c85f8Nikolai KondrashovTESTS_ENVIRONMENT = LDB_MODULES_PATH=$(abs_top_builddir)/ldb_mod_test_dir \
6e973aa578a692b2e7597811dfdfdb1a442c85f8Nikolai Kondrashov $(AUX_TESTS_ENVIRONMENT)
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Bose
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Boseldb_mod_test_dir: memberof.la
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) $(builddir)/ldb_mod_test_dir
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Bose cp $(builddir)/.libs/memberof.so $(builddir)/ldb_mod_test_dir
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Bose
f74d7744f1b12fe0492eadfc8cf30afcb4092e40Lukas Slebodnikcheck_LTLIBRARIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_test_common_la_SOURCES = \
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodnik src/tests/common_tev.c \
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodnik src/tests/common_dom.c \
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodnik src/tests/leak_check.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/common.c
221619d8e8d7cf269c55482e5f466f6511ed35adLukas Slebodniklibsss_test_common_la_LIBADD = \
25c394fc9d09aa7f58700e67b942aba86505934aLukas Slebodnik $(TALLOC_LIBS) \
25c394fc9d09aa7f58700e67b942aba86505934aLukas Slebodnik $(TEVENT_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_CHECK
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_test_common_la_SOURCES += \
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodnik src/tests/common_check.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
f74d7744f1b12fe0492eadfc8cf30afcb4092e40Lukas Slebodnikcheck_LTLIBRARIES += \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik libdlopen_test_providers.la \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik libsss_nss_idmap_tests.la \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik $(NULL)
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorcelibdlopen_test_providers_la_SOURCES = \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce $(sssd_be_SOURCES)
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorcelibdlopen_test_providers_la_CFLAGS = \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce $(AM_CFLAGS) \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce $(CHECK_CFLAGS) \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce -DUNIT_TESTING
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorcelibdlopen_test_providers_la_LIBADD = \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce $(PAM_LIBS) \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce $(SSSD_LIBS) \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce $(CARES_LIBS) \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce $(SSSD_INTERNAL_LTLIBS)
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorcelibdlopen_test_providers_la_LDFLAGS = \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce -module \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce -avoid-version \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce -rpath $(abs_top_builddir) \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce -export-dynamic
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodniklibsss_nss_idmap_tests_la_SOURCES = $(libsss_nss_idmap_la_SOURCES)
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodniklibsss_nss_idmap_tests_la_LIBADD = $(libsss_nss_idmap_la_LIBADD)
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodniklibsss_nss_idmap_tests_la_LDFLAGS = \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik $(libsss_nss_idmap_la_LDFLAGS) \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik -shared \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik -rpath $(libdir) \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik -Wl,--version-script,$(srcdir)/src/sss_client/idmap/sss_nss_idmap.unit_tests
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnikdist_noinst_DATA += src/sss_client/idmap/sss_nss_idmap.unit_tests
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorcedlopen_tests_SOURCES = \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce src/tests/dlopen-tests.c
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorcedlopen_tests_CFLAGS = \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce $(AM_CFLAGS) \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce $(CHECK_CFLAGS)
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorcedlopen_tests_LDADD = \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce $(LIBADD_DL) \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce $(CHECK_LIBS)
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce
16c351625346b3193e1762027e5215ab76042127Sumit BoseEXTRA_sysdb_tests_DEPENDENCIES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(ldblib_LTLIBRARIES)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/tests/sysdb-tests.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersysdb_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
16c351625346b3193e1762027e5215ab76042127Sumit BoseEXTRA_sysdb_ssh_tests_DEPENDENCIES = \
25f8fac2489fd209d603acb2b494f7c72968e9bbMichal Zidek $(ldblib_LTLIBRARIES)
25f8fac2489fd209d603acb2b494f7c72968e9bbMichal Zideksysdb_ssh_tests_SOURCES = \
25f8fac2489fd209d603acb2b494f7c72968e9bbMichal Zidek src/tests/sysdb_ssh-tests.c
25f8fac2489fd209d603acb2b494f7c72968e9bbMichal Zideksysdb_ssh_tests_CFLAGS = \
25f8fac2489fd209d603acb2b494f7c72968e9bbMichal Zidek $(AM_CFLAGS)\
25f8fac2489fd209d603acb2b494f7c72968e9bbMichal Zidek $(CHECK_CFLAGS)
25f8fac2489fd209d603acb2b494f7c72968e9bbMichal Zideksysdb_ssh_tests_LDADD = \
25f8fac2489fd209d603acb2b494f7c72968e9bbMichal Zidek $(SSSD_LIBS) \
25f8fac2489fd209d603acb2b494f7c72968e9bbMichal Zidek $(CHECK_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
25f8fac2489fd209d603acb2b494f7c72968e9bbMichal Zidek libsss_test_common.la
25f8fac2489fd209d603acb2b494f7c72968e9bbMichal Zidek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/strtonum-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/strtonum.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstrtonum_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_utils_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/krb5_utils-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_utils.c \
45aeb924ec3ac448bb8d174a5cc061ed98b147c7Jakub Hrozek src/providers/krb5/krb5_ccache.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_common.c \
5843ad321944a028f6dee7e1fd4f9381c4953d07Sumit Bose src/util/sss_krb5.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_fo.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_opts.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/data_provider_callbacks.c \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek src/util/become_user.c \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek $(SSSD_FAILOVER_OBJ) \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_utils_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
22091abbe7b4a5667f62603dfd875e9ec6adf789Alexey Shabalin $(KRB5_CFLAGS) \
12805da52a93c268290cec7b8fbbdbd4ea8abc3eLukas Slebodnik $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_utils_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS)\
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
c8b8901b05da9e31dba320f305ec20301e928cfbSumit Bose $(KRB5_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/check_and_open-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/check_and_open.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheck_and_open_tests_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherFILES_TESTS_LIBS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SELINUX
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher FILES_TESTS_LIBS += $(SELINUX_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_SEMANAGE
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher FILES_TESTS_LIBS += $(SEMANAGE_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/files-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/check_and_open.c \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/util/atomic_io.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/selinux.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tools/files.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfiles_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(FILES_TESTS_LIBS) \
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik libsss_test_common.la \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherSSSD_RESOLV_TESTS_OBJ = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/resolv-tests.c \
2de495aed26bf75a750a76ca73b9f85d341fe1c5Pavel Březina src/tests/common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_RESOLV_TESTS_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -DBUILD_TXT
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresolv_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik libsss_debug.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/refcount-tests.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(CHECK_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherrefcount_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfail_over_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/fail_over-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_FAILOVER_OBJ) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(CHECK_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfail_over_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfail_over_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CARES_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfind_uid_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/find_uid-tests.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/find_uid.c \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/util/atomic_io.c \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/util/strtonum.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfind_uid_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS) \
b49a7d90708e816120ff88ce5a88fa62b35ff795Simo Sorce $(CHECK_CFLAGS) \
b49a7d90708e816120ff88ce5a88fa62b35ff795Simo Sorce $(SYSTEMD_LOGIN_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherfind_uid_tests_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
b49a7d90708e816120ff88ce5a88fa62b35ff795Simo Sorce $(SYSTEMD_LOGIN_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/tests/auth-tests.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_SOURCES = \
35872dc24058c5e8028cb4082fd405a27835dcd1Jakub Hrozek src/providers/data_provider_opts.c \
fcb8e3f1f49bb34c409d8dbd75889eb72be05517Jakub Hrozek src/providers/ldap/sdap.c \
fcb8e3f1f49bb34c409d8dbd75889eb72be05517Jakub Hrozek src/providers/ldap/sdap_range.c \
fcb8e3f1f49bb34c409d8dbd75889eb72be05517Jakub Hrozek src/util/sss_ldap.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/ipa_ldap_opt-tests.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheripa_ldap_opt_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
c51f7a064b0d7ef86110bdeb6dc09fa6c08be7d3Jakub Hrozek $(SSSD_INTERNAL_LTLIBS) \
d12c95d840ed5de7f34e21002943c48e711a33f4Lukas Slebodnik $(OPENLDAP_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagherad_ldap_opt_tests_SOURCES = \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher src/tests/ad_ldap_opt-tests.c
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagherad_ldap_opt_tests_CFLAGS = \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher $(AM_CFLAGS) \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher $(CHECK_CFLAGS)
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagherad_ldap_opt_tests_LDADD = \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher $(CHECK_LIBS) \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher $(TALLOC_LIBS) \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher libsss_test_common.la
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersimple_access_tests_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/tests/simple_access-tests.c \
d35ff4d0db1cd87c94091a85846b46e4732b1eeePavel Březina src/providers/simple/simple_access.c \
c0bca1722d6f9dfb654ad78397be70f79ff39af1Jakub Hrozek src/providers/simple/simple_access_check.c \
c0bca1722d6f9dfb654ad78397be70f79ff39af1Jakub Hrozek src/providers/data_provider_be.c \
c0bca1722d6f9dfb654ad78397be70f79ff39af1Jakub Hrozek src/providers/data_provider_fo.c \
584eda085e83a428f2c39dadf0d7adeaff5c87f4Jakub Hrozek src/providers/data_provider_opts.c \
c0bca1722d6f9dfb654ad78397be70f79ff39af1Jakub Hrozek src/providers/data_provider_callbacks.c \
0cf0e2d758d09e9b314ba72ce6638df10b258462Pavel Březina src/providers/dp_ptask.c \
0cf0e2d758d09e9b314ba72ce6638df10b258462Pavel Březina src/providers/dp_refresh.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/monitor/monitor_iface_generated.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/monitor/monitor_iface_generated.h \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/data_provider_iface_generated.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/data_provider_iface_generated.h \
c0bca1722d6f9dfb654ad78397be70f79ff39af1Jakub Hrozek $(SSSD_FAILOVER_OBJ)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersimple_access_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
c0bca1722d6f9dfb654ad78397be70f79ff39af1Jakub Hrozek $(CHECK_CFLAGS) \
c0bca1722d6f9dfb654ad78397be70f79ff39af1Jakub Hrozek -DUNIT_TESTING
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersimple_access_tests_LDADD = \
ccf340e56364851f2e5b75e52d3d63701b662954Lukas Slebodnik $(LIBADD_DL) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
c0bca1722d6f9dfb654ad78397be70f79ff39af1Jakub Hrozek $(CARES_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(CHECK_LIBS) \
c0bca1722d6f9dfb654ad78397be70f79ff39af1Jakub Hrozek $(PAM_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
c0bca1722d6f9dfb654ad78397be70f79ff39af1Jakub Hrozek libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_SOURCES = \
5a5c5cdeb92f4012fc75fd717bfea06598f68f12Pavel Reichl src/tests/util-tests.c \
5a5c5cdeb92f4012fc75fd717bfea06598f68f12Pavel Reichl $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
5a5c5cdeb92f4012fc75fd717bfea06598f68f12Pavel Reichl $(CHECK_CFLAGS) \
5a5c5cdeb92f4012fc75fd717bfea06598f68f12Pavel Reichl $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherutil_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(CHECK_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
5a5c5cdeb92f4012fc75fd717bfea06598f68f12Pavel Reichl libsss_test_common.la \
5a5c5cdeb92f4012fc75fd717bfea06598f68f12Pavel Reichl $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Waltersafe_format_tests_SOURCES = \
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter src/tests/safe-format-tests.c
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Waltersafe_format_tests_CFLAGS = \
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter $(AM_CFLAGS) \
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter $(CHECK_CFLAGS)
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Waltersafe_format_tests_LDADD = \
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter $(SSSD_LIBS) \
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter $(CHECK_LIBS) \
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter $(SSSD_INTERNAL_LTLIBS) \
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter libsss_test_common.la
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter
fe60346714a73ac3987f786731389320633dd245Pavel Březinadebug_tests_SOURCES = \
2de495aed26bf75a750a76ca73b9f85d341fe1c5Pavel Březina src/tests/debug-tests.c \
2de495aed26bf75a750a76ca73b9f85d341fe1c5Pavel Březina src/tests/common.c
fe60346714a73ac3987f786731389320633dd245Pavel Březinadebug_tests_CFLAGS = \
fe60346714a73ac3987f786731389320633dd245Pavel Březina $(AM_CFLAGS) \
fe60346714a73ac3987f786731389320633dd245Pavel Březina $(CHECK_CFLAGS)
fe60346714a73ac3987f786731389320633dd245Pavel Březinadebug_tests_LDADD = \
fe60346714a73ac3987f786731389320633dd245Pavel Březina $(SSSD_LIBS) \
fe60346714a73ac3987f786731389320633dd245Pavel Březina $(CHECK_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik libsss_debug.la
fe60346714a73ac3987f786731389320633dd245Pavel Březina
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_SOURCES = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_SOURCES) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek src/tests/crypto-tests.c
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_CFLAGS = \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_CFLAGS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(AM_CFLAGS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(CHECK_CFLAGS)
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcrypto_tests_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSS_CRYPT_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(SSSD_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek $(CHECK_LIBS) \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek libsss_test_common.la
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagheripa_hbac_tests_SOURCES = \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher src/tests/ipa_hbac-tests.c
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagheripa_hbac_tests_CFLAGS = \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher $(AM_CFLAGS) \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher $(CHECK_CFLAGS)
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagheripa_hbac_tests_LDADD = \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher $(SSSD_LIBS) \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher $(CHECK_LIBS) \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher libsss_test_common.la \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher libipa_hbac.la
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bosesss_idmap_tests_SOURCES = \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose src/tests/sss_idmap-tests.c
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bosesss_idmap_tests_CFLAGS = \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose $(AM_CFLAGS) \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose $(CHECK_CFLAGS)
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bosesss_idmap_tests_LDADD = \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose $(CHECK_LIBS) \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose $(TALLOC_LIBS) \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose libsss_test_common.la \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose libsss_idmap.la
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Boseresponder_socket_access_tests_SOURCES = \
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Bose src/tests/responder_socket_access-tests.c \
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Bose src/responder/common/responder_common.c \
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Bose src/responder/common/responder_packet.c \
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Bose src/responder/common/responder_cmd.c
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Boseresponder_socket_access_tests_CFLAGS = \
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Bose $(AM_CFLAGS) \
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Bose $(CHECK_CFLAGS)
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Boseresponder_socket_access_tests_LDADD = \
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Bose $(CHECK_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstress_tests_SOURCES = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher src/tests/stress-tests.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstress_tests_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libsss_test_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
f232789430a080384188d5da89b19d874cf17513Jakub Hrozekkrb5_child_test_SOURCES = \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/tests/krb5_child-test.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/krb5/krb5_utils.c \
45aeb924ec3ac448bb8d174a5cc061ed98b147c7Jakub Hrozek src/providers/krb5/krb5_ccache.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/krb5/krb5_child_handler.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/krb5/krb5_common.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/util/sss_krb5.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/data_provider_fo.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/data_provider_opts.c \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek src/providers/data_provider_callbacks.c \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek src/util/become_user.c \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek $(SSSD_FAILOVER_OBJ) \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek $(NULL)
f232789430a080384188d5da89b19d874cf17513Jakub Hrozekkrb5_child_test_CFLAGS = \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek $(AM_CFLAGS) \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek -DKRB5_CHILD_DIR=\"$(builddir)\" \
22091abbe7b4a5667f62603dfd875e9ec6adf789Alexey Shabalin $(KRB5_CFLAGS) \
12805da52a93c268290cec7b8fbbdbd4ea8abc3eLukas Slebodnik $(CHECK_CFLAGS)
f232789430a080384188d5da89b19d874cf17513Jakub Hrozekkrb5_child_test_LDADD = \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_LIBS) \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek $(CARES_LIBS) \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek $(KRB5_LIBS) \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek $(CHECK_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek libsss_test_common.la
f232789430a080384188d5da89b19d874cf17513Jakub Hrozek
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozekif BUILD_DBUS_TESTS
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozek
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Waltersbus_tests_SOURCES = \
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter src/tests/common_dbus.c \
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter src/tests/sbus_tests.c
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Waltersbus_tests_CFLAGS = \
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter $(CHECK_CFLAGS)
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Waltersbus_tests_LDADD = \
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter $(SSSD_INTERNAL_LTLIBS) \
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter $(SSSD_LIBS) \
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter $(CHECK_LIBS)
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Waltersbus_codegen_tests_SOURCES = \
1203e462650f035b0df2304075d60b9a99e36715Stef Walter src/tests/common_dbus.c \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter src/tests/sbus_codegen_tests.c \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter src/tests/sbus_codegen_tests_generated.c \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter src/tests/sbus_codegen_tests_generated.h
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Waltersbus_codegen_tests_CFLAGS = \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter $(CHECK_CFLAGS)
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Waltersbus_codegen_tests_LDADD = \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter $(SSSD_INTERNAL_LTLIBS) \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter $(SSSD_LIBS) \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter $(CHECK_LIBS)
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozekendif # BUILD_DBUS_TESTS
4bd20c075f0f187db0181dc53d00ab6cd47fdb4dJakub Hrozek
bbaba8b3ef9bc101863b8687f234f4ee956caacdPavel Březinaif BUILD_IFP
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březinaif BUILD_CONFIG_LIB
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březinasss_config_tests_SOURCES = \
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina src/tests/sss_config-tests.c \
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina src/tests/common.c
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březinasss_config_tests_CFLAGS = \
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina $(AM_CFLAGS) \
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina $(CHECK_CFLAGS)
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březinasss_config_tests_LDADD = \
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina $(SSSD_LIBS) \
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina $(CHECK_LIBS) \
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina $(SSSD_INTERNAL_LTLIBS) \
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina libsss_config.la \
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina libsss_test_common.la
bbaba8b3ef9bc101863b8687f234f4ee956caacdPavel Březinaendif # BUILD_CONFIG_LIB
bbaba8b3ef9bc101863b8687f234f4ee956caacdPavel Březinaendif # BUILD_IFP
80314a6f3ea8d81abe73d501d5b953a256cb2167Pavel Březina
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozekif HAVE_CMOCKA
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub HrozekTEST_MOCK_RESP_OBJ = \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek src/tests/cmocka/common_mock_resp.c \
c440c424443517b12afa8d56f989d92ca6ba56a3Jakub Hrozek src/tests/cmocka/common_mock_resp_dp.c \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek src/responder/common/responder_packet.c \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek src/responder/common/responder_cmd.c \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek src/responder/common/negcache.c \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina src/responder/common/responder_common.c \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina src/responder/common/responder_cache_req.c
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek
dc70b11ddc2dfc6ed99cd895f020cd3429278968Pavel BřezinaTEST_MOCK_PROVIDER_OBJ = \
dc70b11ddc2dfc6ed99cd895f020cd3429278968Pavel Březina src/util/sss_ldap.c \
dc70b11ddc2dfc6ed99cd895f020cd3429278968Pavel Březina src/providers/data_provider_opts.c \
dc70b11ddc2dfc6ed99cd895f020cd3429278968Pavel Březina src/providers/ldap/ldap_options.c \
dc70b11ddc2dfc6ed99cd895f020cd3429278968Pavel Březina src/providers/ldap/sdap_domain.c \
dc70b11ddc2dfc6ed99cd895f020cd3429278968Pavel Březina src/providers/ldap/sdap.c \
dc70b11ddc2dfc6ed99cd895f020cd3429278968Pavel Březina src/providers/ldap/sdap_utils.c \
dc70b11ddc2dfc6ed99cd895f020cd3429278968Pavel Březina src/providers/ldap/sdap_range.c \
dc70b11ddc2dfc6ed99cd895f020cd3429278968Pavel Březina src/tests/cmocka/common_mock_sdap.c \
dc70b11ddc2dfc6ed99cd895f020cd3429278968Pavel Březina src/tests/cmocka/common_mock_sysdb_objects.c
dc70b11ddc2dfc6ed99cd895f020cd3429278968Pavel Březina
16c351625346b3193e1762027e5215ab76042127Sumit BoseEXTRA_nss_srv_tests_DEPENDENCIES = \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek $(ldblib_LTLIBRARIES)
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozeknss_srv_tests_SOURCES = \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek $(TEST_MOCK_RESP_OBJ) \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek src/tests/cmocka/test_nss_srv.c \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek src/responder/nss/nsssrv_cmd.c \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek src/responder/nss/nsssrv_netgroup.c \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek src/responder/nss/nsssrv_services.c \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek src/responder/nss/nsssrv_mmap_cache.c
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozeknss_srv_tests_CFLAGS = \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek $(AM_CFLAGS)
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozeknss_srv_tests_LDFLAGS = \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek -Wl,-wrap,sss_ncache_check_user \
a044c9a1012d11a2a75e9976ebf186d2d781d291Pallavi Jha -Wl,-wrap,sss_ncache_check_uid \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek -Wl,-wrap,sss_packet_get_body \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek -Wl,-wrap,sss_packet_get_cmd \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek -Wl,-wrap,sss_cmd_send_empty \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek -Wl,-wrap,sss_cmd_done
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozeknss_srv_tests_LDADD = \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek $(CMOCKA_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodnik libsss_test_common.la \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik libsss_idmap.la
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub HrozekEXTRA_responder_get_domains_tests_DEPENDENCIES = \
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek $(ldblib_LTLIBRARIES)
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozekresponder_get_domains_tests_SOURCES = \
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek src/responder/common/responder_get_domains.c \
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek src/tests/cmocka/test_responder_common.c \
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek src/tests/cmocka/common_mock_resp.c
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozekresponder_get_domains_tests_CFLAGS = \
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek $(AM_CFLAGS)
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozekresponder_get_domains_tests_LDFLAGS = \
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek -Wl,-wrap,sss_parse_name_for_domains
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozekresponder_get_domains_tests_LDADD = \
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek $(CMOCKA_LIBS) \
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek $(SSSD_LIBS) \
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek $(SSSD_INTERNAL_LTLIBS) \
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek libsss_test_common.la
7caf7ed4f2eae1ec1c0717b4ee6ce78bdacd5926Jakub Hrozek
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozeksbus_internal_tests_SOURCES = \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek src/tests/cmocka/sbus_internal_tests.c \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek src/sbus/sssd_dbus_request.c
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozeksbus_internal_tests_CFLAGS = \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek $(AM_CFLAGS)
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozeksbus_internal_tests_LDFLAGS = \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek -Wl,-wrap,dbus_bus_get \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek -Wl,-wrap,dbus_pending_call_steal_reply \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek -Wl,-wrap,dbus_pending_call_unref \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek -Wl,-wrap,dbus_message_unref \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek -Wl,-wrap,dbus_connection_unref \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek -Wl,-wrap,dbus_connection_set_exit_on_disconnect \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek -Wl,-wrap,hash_lookup
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozeksbus_internal_tests_LDADD = \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek $(CMOCKA_LIBS) \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek $(SSSD_LIBS) \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek libsss_util.la \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek libsss_crypt.la \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek libsss_debug.la \
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek libsss_test_common.la
0161a3c5637a0c0092bf54c436bb3d6508d7df26Jakub Hrozek
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singhtest_find_uid_SOURCES = \
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh src/tests/cmocka/test_find_uid.c \
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh src/util/find_uid.c \
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh src/util/atomic_io.c \
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh src/util/strtonum.c
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singhtest_find_uid_CFLAGS = \
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh $(AM_CFLAGS) \
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh $(TALLOC_CFLAGS) \
b49a7d90708e816120ff88ce5a88fa62b35ff795Simo Sorce $(DHASH_CFLAGS) \
b49a7d90708e816120ff88ce5a88fa62b35ff795Simo Sorce $(SYSTEMD_LOGIN_CFLAGS)
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singhtest_find_uid_LDADD = \
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh $(TALLOC_LIBS) \
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh $(DHASH_LIBS) \
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh $(CMOCKA_LIBS) \
b49a7d90708e816120ff88ce5a88fa62b35ff795Simo Sorce $(SYSTEMD_LOGIN_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik libsss_debug.la
ae6c1596225c65bec2a2dabff9eee4e3e0691181Abhishek Singh
ae6c1596225c65bec2a2dabff9eee4e3e0691181Abhishek Singhtest_io_SOURCES = \
ae6c1596225c65bec2a2dabff9eee4e3e0691181Abhishek Singh src/tests/cmocka/test_io.c \
25255e4d0e1517a5d443e8fee22e91862e255702Abhishek Singh src/util/io.c \
25255e4d0e1517a5d443e8fee22e91862e255702Abhishek Singh src/tests/common.c
ae6c1596225c65bec2a2dabff9eee4e3e0691181Abhishek Singhtest_io_CFLAGS = \
ae6c1596225c65bec2a2dabff9eee4e3e0691181Abhishek Singh $(AM_CFLAGS)
ae6c1596225c65bec2a2dabff9eee4e3e0691181Abhishek Singhtest_io_LDADD = \
ae6c1596225c65bec2a2dabff9eee4e3e0691181Abhishek Singh $(CMOCKA_LIBS)
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi JhaEXTRA_test_negcache_DEPENDENCIES = \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha $(ldblib_LTLIBRARIES)
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jhatest_negcache_SOURCES = \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha $(SSSD_RESPONDER_OBJ) \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha src/tests/cmocka/test_negcache.c
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jhatest_negcache_CFLAGS = \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha $(AM_CFLAGS) \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha $(TALLOC_CFLAGS) \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha $(DHASH_CFLAGS)
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jhatest_negcache_LDADD = \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha $(CMOCKA_LIBS) \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha $(SSSD_LIBS) \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha $(SSSD_INTERNAL_LTLIBS) \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha libsss_test_common.la \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha libsss_idmap.la
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jhatest_authtok_SOURCES = \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha src/tests/cmocka/test_authtok.c \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha src/util/authtok.c \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha src/util/util.c
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jhatest_authtok_CFLAGS = \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha $(AM_CFLAGS) \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha $(TALLOC_CFLAGS) \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha $(DHASH_CFLAGS)
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jhatest_authtok_LDADD = \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha $(TALLOC_LIBS) \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha $(CMOCKA_LIBS) \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha $(DHASH_LIBS) \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha libsss_debug.la
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodniksss_nss_idmap_tests_SOURCES = \
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodnik src/tests/cmocka/sss_nss_idmap-tests.c
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodniksss_nss_idmap_tests_CFLAGS = \
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodnik $(AM_CFLAGS)
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodniksss_nss_idmap_tests_LDADD = \
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodnik $(CMOCKA_LIBS) \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik libsss_nss_idmap_tests.la \
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik $(NULL)
d65f692d7b7639ed8ba0f5cffa4f88b68056739aLukas Slebodnik
16c351625346b3193e1762027e5215ab76042127Sumit BoseEXTRA_dyndns_tests_DEPENDENCIES = \
5a4239490c7fb7d732180a9d40f27f0247c56631Jakub Hrozek $(ldblib_LTLIBRARIES)
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozekdyndns_tests_SOURCES = \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek $(SSSD_RESOLV_OBJ) \
04868f1573f4b26ef34610b6d7069172f93bd8abJakub Hrozek src/tests/cmocka/test_dyndns.c \
04868f1573f4b26ef34610b6d7069172f93bd8abJakub Hrozek src/providers/data_provider_opts.c
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozekdyndns_tests_CFLAGS = \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek $(AM_CFLAGS) \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek -DDYNDNS_TIMEOUT=2
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozekdyndns_tests_LDFLAGS = \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek -Wl,-wrap,execv \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek -Wl,-wrap,getifaddrs \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek -Wl,-wrap,freeifaddrs
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozekdyndns_tests_LDADD = \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek $(CARES_LIBS) \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek $(CMOCKA_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik libsss_test_common.la
777374243e15c53e7b0a7345e190c1018920be18Jakub Hrozek
777374243e15c53e7b0a7345e190c1018920be18Jakub Hrozekfqnames_tests_SOURCES = \
777374243e15c53e7b0a7345e190c1018920be18Jakub Hrozek src/tests/cmocka/test_fqnames.c
777374243e15c53e7b0a7345e190c1018920be18Jakub Hrozekfqnames_tests_CFLAGS = \
777374243e15c53e7b0a7345e190c1018920be18Jakub Hrozek $(AM_CFLAGS)
777374243e15c53e7b0a7345e190c1018920be18Jakub Hrozekfqnames_tests_LDADD = \
777374243e15c53e7b0a7345e190c1018920be18Jakub Hrozek $(CMOCKA_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik libsss_test_common.la
777374243e15c53e7b0a7345e190c1018920be18Jakub Hrozek
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březinanestedgroups_tests_SOURCES = \
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březina $(TEST_MOCK_OBJ) \
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březina $(TEST_MOCK_PROVIDER_OBJ) \
8a8618717c99b7331125fa736b45d9155da797d3Jakub Hrozek src/providers/ldap/sdap_idmap.c \
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březina src/tests/cmocka/test_nested_groups.c \
8a8618717c99b7331125fa736b45d9155da797d3Jakub Hrozek src/providers/ldap/sdap_async_nested_groups.c \
8a8618717c99b7331125fa736b45d9155da797d3Jakub Hrozek $(NULL)
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březinanestedgroups_tests_CFLAGS = \
8a8618717c99b7331125fa736b45d9155da797d3Jakub Hrozek $(AM_CFLAGS) \
8a8618717c99b7331125fa736b45d9155da797d3Jakub Hrozek $(NULL)
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březinanestedgroups_tests_LDADD = \
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březina $(CMOCKA_LIBS) \
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březina $(SSSD_LIBS) \
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březina $(SSSD_INTERNAL_LTLIBS) \
8a8618717c99b7331125fa736b45d9155da797d3Jakub Hrozek libsss_idmap.la \
8a8618717c99b7331125fa736b45d9155da797d3Jakub Hrozek libsss_test_common.la \
8a8618717c99b7331125fa736b45d9155da797d3Jakub Hrozek $(NULL)
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březina
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bosetest_sss_idmap_SOURCES = \
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bose src/tests/cmocka/test_sss_idmap.c
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bosetest_sss_idmap_CFLAGS = \
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bose $(AM_CFLAGS)
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bosetest_sss_idmap_LDADD = \
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bose $(CMOCKA_LIBS) \
221619d8e8d7cf269c55482e5f466f6511ed35adLukas Slebodnik $(POPT_LIBS) \
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bose libsss_idmap.la \
f69f3581658351003a6d9245045e41d0efb85022Sumit Bose $(SSSD_INTERNAL_LTLIBS) \
f69f3581658351003a6d9245045e41d0efb85022Sumit Bose libsss_test_common.la
f69f3581658351003a6d9245045e41d0efb85022Sumit Bose
f69f3581658351003a6d9245045e41d0efb85022Sumit Bosetest_ipa_idmap_SOURCES = \
f69f3581658351003a6d9245045e41d0efb85022Sumit Bose src/tests/cmocka/test_ipa_idmap.c \
f69f3581658351003a6d9245045e41d0efb85022Sumit Bose src/providers/ipa/ipa_idmap.c
f69f3581658351003a6d9245045e41d0efb85022Sumit Bosetest_ipa_idmap_CFLAGS = \
f69f3581658351003a6d9245045e41d0efb85022Sumit Bose $(AM_CFLAGS)
f69f3581658351003a6d9245045e41d0efb85022Sumit Bosetest_ipa_idmap_LDFLAGS = \
f69f3581658351003a6d9245045e41d0efb85022Sumit Bose -Wl,-wrap,sysdb_get_ranges
f69f3581658351003a6d9245045e41d0efb85022Sumit Bosetest_ipa_idmap_LDADD = \
f69f3581658351003a6d9245045e41d0efb85022Sumit Bose $(CMOCKA_LIBS) \
f69f3581658351003a6d9245045e41d0efb85022Sumit Bose $(POPT_LIBS) \
f69f3581658351003a6d9245045e41d0efb85022Sumit Bose libsss_idmap.la \
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bose $(SSSD_INTERNAL_LTLIBS) \
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bose libsss_test_common.la
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bose
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bosetest_utils_SOURCES = \
b5f61c9b3f5ea79bf319c18ff59394070c04d607Pavel Reichl src/tests/cmocka/test_utils.c \
022c6b90bb37851c0e8704c0e5388ebc113c6470Lukas Slebodnik src/tests/cmocka/test_sss_ssh.c \
022c6b90bb37851c0e8704c0e5388ebc113c6470Lukas Slebodnik src/tests/cmocka/test_string_utils.c \
022c6b90bb37851c0e8704c0e5388ebc113c6470Lukas Slebodnik $(NULL)
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bosetest_utils_CFLAGS = \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose $(AM_CFLAGS)
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bosetest_utils_LDADD = \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose $(CMOCKA_LIBS) \
221619d8e8d7cf269c55482e5f466f6511ed35adLukas Slebodnik $(POPT_LIBS) \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose $(SSSD_INTERNAL_LTLIBS) \
939246537b0b9a4af6862c513d3919501ad57d92Sumit Bose libsss_test_common.la
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichltest_search_bases_SOURCES = \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl $(sssd_be_SOURCES) \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl src/tests/cmocka/test_search_bases.c
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichltest_search_bases_CFLAGS = \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl $(AM_CFLAGS) \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl -DUNIT_TESTING
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichltest_search_bases_LDADD = \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl $(PAM_LIBS) \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl $(CMOCKA_LIBS) \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl $(POPT_LIBS) \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl $(SSSD_LIBS) \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl $(CARES_LIBS) \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl $(KRB5_LIBS) \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl $(SSSD_INTERNAL_LTLIBS) \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl libsss_ldap_common.la \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl libsss_idmap.la \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl libsss_krb5_common.la \
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl libsss_test_common.la
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichltest_ldap_auth_SOURCES = \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(sssd_be_SOURCES) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl src/tests/cmocka/test_ldap_auth.c \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl src/tests/cmocka/test_expire_common.c \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(NULL)
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichltest_ldap_auth_CFLAGS = \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(AM_CFLAGS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl -DUNIT_TESTING
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(NULL)
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichltest_ldap_auth_LDADD = \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(PAM_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(CMOCKA_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(POPT_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(SSSD_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(CARES_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(KRB5_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(SSSD_INTERNAL_LTLIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl libsss_ldap_common.la \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl libsss_test_common.la \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(NULL)
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichltest_sdap_access_SOURCES = \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(sssd_be_SOURCES) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl src/tests/cmocka/test_sdap_access.c \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl src/tests/cmocka/test_expire_common.c \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(NULL)
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichltest_sdap_access_CFLAGS = \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(AM_CFLAGS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl -DUNIT_TESTING
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(NULL)
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichltest_sdap_access_LDADD = \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(PAM_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(CMOCKA_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(POPT_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(SSSD_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(CARES_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(KRB5_LIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(SSSD_INTERNAL_LTLIBS) \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl libsss_ldap_common.la \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl libsss_test_common.la \
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl $(NULL)
50b8a36b0932a510e825ed1ad8103f81ead2b7d8Pavel Reichl
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozekad_access_filter_tests_SOURCES = \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek $(sssd_be_SOURCES) \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek src/providers/ad/ad_common.c \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek src/tests/cmocka/test_ad_access_filter.c
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozekad_access_filter_tests_CFLAGS = \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek $(AM_CFLAGS) \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek -DUNIT_TESTING
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozekad_access_filter_tests_LDADD = \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek $(PAM_LIBS) \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek $(CMOCKA_LIBS) \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek $(SSSD_LIBS) \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek $(CARES_LIBS) \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek $(KRB5_LIBS) \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek $(SSSD_INTERNAL_LTLIBS) \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek libsss_ldap_common.la \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley libsss_idmap.la \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley libsss_krb5_common.la \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley libsss_ad_common.la \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley libsss_test_common.la
0352c371e743d8dae996123f658b5d32c677614eYassir Elley
0352c371e743d8dae996123f658b5d32c677614eYassir Elleyad_gpo_tests_SOURCES = \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley $(sssd_be_SOURCES) \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley src/providers/ad/ad_common.c \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley src/tests/cmocka/test_ad_gpo.c
0352c371e743d8dae996123f658b5d32c677614eYassir Elleyad_gpo_tests_CFLAGS = \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley $(AM_CFLAGS) \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley $(NDR_NBT_CFLAGS) \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley -DUNIT_TESTING
0352c371e743d8dae996123f658b5d32c677614eYassir Elleyad_gpo_tests_LDADD = \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley $(PAM_LIBS) \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley $(CMOCKA_LIBS) \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley $(SSSD_LIBS) \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley $(CARES_LIBS) \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley $(SSSD_INTERNAL_LTLIBS) \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley $(NDR_NBT_LIBS) \
0352c371e743d8dae996123f658b5d32c677614eYassir Elley libsss_ldap_common.la \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek libsss_idmap.la \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek libsss_krb5_common.la \
60cab26b12df9a2153823972cde0c38ca86e01b9Yassir Elley libsss_ad_common.la \
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek libsss_test_common.la
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozek
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozekad_common_tests_SOURCES = \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek $(sssd_be_SOURCES) \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek src/tests/cmocka/test_ad_common.c
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozekad_common_tests_CFLAGS = \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek $(AM_CFLAGS) \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek -DUNIT_TESTING
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozekad_common_tests_LDFLAGS = \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek -Wl,-wrap,sdap_set_sasl_options
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozekad_common_tests_LDADD = \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek $(PAM_LIBS) \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek $(CMOCKA_LIBS) \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek $(SSSD_LIBS) \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek $(CARES_LIBS) \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek $(KRB5_LIBS) \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek $(SSSD_INTERNAL_LTLIBS) \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek libsss_ldap_common.la \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek libsss_idmap.la \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek libsss_krb5_common.la \
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek libsss_test_common.la
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozekdp_opt_tests_SOURCES = \
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozek src/providers/data_provider_opts.c \
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozek src/tests/cmocka/test_dp_opts.c
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozekdp_opt_tests_CFLAGS = \
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozek $(AM_CFLAGS)
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozekdp_opt_tests_LDADD = \
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozek $(CMOCKA_LIBS) \
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozek $(TALLOC_LIBS) \
5c36e1f8901a4baff2b51d81d87c2b577f84fef6Lukas Slebodnik $(POPT_LIBS) \
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozek $(SSSD_INTERNAL_LTLIBS) \
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozek libsss_test_common.la
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozek
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozeksdap_tests_SOURCES = \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek src/providers/data_provider_opts.c \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek src/providers/ldap/sdap.c \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek src/providers/ldap/sdap_range.c \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek src/util/sss_ldap.c \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek src/tests/cmocka/test_sdap.c \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(NULL)
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozeksdap_tests_CFLAGS = \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(AM_CFLAGS) \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(SSS_CRYPT_CFLAGS) \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(NULL)
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozeksdap_tests_LDFLAGS = \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek -Wl,-wrap,ldap_set_option \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek -Wl,-wrap,ldap_get_dn \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek -Wl,-wrap,ldap_memfree \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek -Wl,-wrap,ldap_get_values_len \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek -Wl,-wrap,ldap_value_free_len \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek -Wl,-wrap,ldap_first_attribute \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek -Wl,-wrap,ldap_next_attribute \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(NULL)
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozeksdap_tests_LDADD = \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(CMOCKA_LIBS) \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(TALLOC_LIBS) \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(POPT_LIBS) \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(SSSD_INTERNAL_LTLIBS) \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(SSS_CRYPT_LIBS) \
842f83f8db513214241a0fea076ac160b180e1ddLukas Slebodnik $(OPENLDAP_LIBS) \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek libsss_test_common.la \
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek $(NULL)
e592d5f157be869151983bd1b46d6f4f7a29daafJakub Hrozek
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozekif BUILD_IFP
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozekifp_tests_SOURCES = \
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek $(TEST_MOCK_RESP_OBJ) \
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek src/tests/cmocka/test_ifp.c \
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek src/responder/ifp/ifpsrv_cmd.c \
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek src/responder/ifp/ifp_iface_generated.c \
115de6d50f0d0bdd5745a5d8eb0d067be9128528Sumit Bose src/responder/ifp/ifpsrv_util.c \
115de6d50f0d0bdd5745a5d8eb0d067be9128528Sumit Bose src/responder/common/responder_utils.c \
115de6d50f0d0bdd5745a5d8eb0d067be9128528Sumit Bose $(NULL)
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozekifp_tests_CFLAGS = \
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek $(AM_CFLAGS)
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozekifp_tests_LDADD = \
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek $(CMOCKA_LIBS) \
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek $(SSSD_LIBS) \
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek $(SSSD_INTERNAL_LTLIBS) \
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek libsss_test_common.la
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březinasss_sifp_tests_SOURCES = \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina src/tests/cmocka/test_sss_sifp.c \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina src/lib/sifp/sss_sifp_attrs.c \
0bb98b7700b1b61f5b0a20b93279d5c2c391007fPavel Březina src/lib/sifp/sss_sifp_common.c \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina src/lib/sifp/sss_sifp_parser.c \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina src/lib/sifp/sss_sifp_utils.c \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina src/lib/sifp/sss_sifp_dbus.c \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina src/lib/sifp/sss_sifp.c
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březinasss_sifp_tests_CFLAGS = \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina $(AM_CFLAGS) \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina -I$(top_srcdir)/src/lib/sifp
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březinasss_sifp_tests_LDFLAGS = \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina -Wl,-wrap,dbus_bus_get \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina -Wl,-wrap,dbus_connection_send_with_reply_and_block
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březinasss_sifp_tests_LDADD = \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina $(CMOCKA_LIBS) \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina $(DBUS_LIBS) \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina $(TALLOC_LIBS) \
efa6c1f75c4c18bcc148d6e7efd429c2d56499adPavel Březina $(DHASH_LIBS) \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina $(POPT_LIBS) \
f43c6a9ae2aea13b7a83fd932139f9352efbfcadPavel Březina $(SSSD_INTERNAL_LTLIBS)
770dc892f867639f36f84455d65be6287935a529Jakub Hrozekendif # BUILD_IFP
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bosetest_sysdb_views_SOURCES = \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose src/tests/cmocka/test_sysdb_views.c \
8eb981dd8bc85aee7a913c6f0096ad47f3382339Sumit Bose src/providers/ipa/ipa_utils.c \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose $(NULL)
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bosetest_sysdb_views_CFLAGS = \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose $(AM_CFLAGS) \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose $(NULL)
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bosetest_sysdb_views_LDADD = \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose $(CMOCKA_LIBS) \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose $(LDB_LIBS) \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose $(POPT_LIBS) \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose $(TALLOC_LIBS) \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose $(SSSD_INTERNAL_LTLIBS) \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose libsss_test_common.la \
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose $(NULL)
a524965fbe0551f1b3a68f1e5c7a5689a652998fSumit Bose
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bosetest_sysdb_utils_SOURCES = \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose src/tests/cmocka/test_sysdb_utils.c \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose $(NULL)
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bosetest_sysdb_utils_CFLAGS = \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose $(AM_CFLAGS) \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose $(NULL)
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bosetest_sysdb_utils_LDADD = \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose $(CMOCKA_LIBS) \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose $(LDB_LIBS) \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose $(POPT_LIBS) \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose $(TALLOC_LIBS) \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose $(SSSD_INTERNAL_LTLIBS) \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose libsss_test_common.la \
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose $(NULL)
1d93029624d708119bbf803e6647a2cbb271f001Sumit Bose
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březinatest_be_ptask_SOURCES = \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina src/tests/cmocka/test_be_ptask.c \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina src/providers/dp_ptask.c \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina $(NULL)
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březinatest_be_ptask_CFLAGS = \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina $(AM_CFLAGS) \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina $(NULL)
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březinatest_be_ptask_LDADD = \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina $(CMOCKA_LIBS) \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina $(POPT_LIBS) \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina $(TALLOC_LIBS) \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina $(SSSD_INTERNAL_LTLIBS) \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina libsss_test_common.la \
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina $(NULL)
a5623363d6042290fe652a1ca5ce5a85a821236fPavel Březina
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bosetest_copy_ccache_SOURCES = \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose src/tests/cmocka/test_copy_ccache.c \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose src/providers/krb5/krb5_ccache.c \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose src/util/sss_krb5.c \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose $(NULL)
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bosetest_copy_ccache_CFLAGS = \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose $(AM_CFLAGS) \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose $(NULL)
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bosetest_copy_ccache_LDADD = \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose $(CMOCKA_LIBS) \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose $(POPT_LIBS) \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose $(TALLOC_LIBS) \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose $(KRB5_LIBS) \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose $(SSSD_INTERNAL_LTLIBS) \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose libsss_test_common.la \
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose $(NULL)
802385896dc1c4e7b8bbd40dcfe3cd131f68e696Sumit Bose
a0ab15ceb80290db80c2052520830a95390de385Sumit Bosetest_copy_keytab_SOURCES = \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose src/tests/cmocka/test_copy_keytab.c \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose src/providers/krb5/krb5_keytab.c \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose src/util/sss_krb5.c \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose $(NULL)
a0ab15ceb80290db80c2052520830a95390de385Sumit Bosetest_copy_keytab_CFLAGS = \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose $(AM_CFLAGS) \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose $(NULL)
a0ab15ceb80290db80c2052520830a95390de385Sumit Bosetest_copy_keytab_LDADD = \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose $(CMOCKA_LIBS) \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose $(POPT_LIBS) \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose $(TALLOC_LIBS) \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose $(KRB5_LIBS) \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose $(SSSD_INTERNAL_LTLIBS) \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose libsss_test_common.la \
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose $(NULL)
a0ab15ceb80290db80c2052520830a95390de385Sumit Bose
fb3c5cdfcda069a5fbeb7b9d200c0881911364b8Jakub Hrozekdummy_child_SOURCES = \
fb3c5cdfcda069a5fbeb7b9d200c0881911364b8Jakub Hrozek src/tests/cmocka/dummy_child.c \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek $(NULL)
fb3c5cdfcda069a5fbeb7b9d200c0881911364b8Jakub Hrozekdummy_child_LDADD = \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek $(POPT_LIBS) \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek $(SSSD_INTERNAL_LTLIBS) \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek $(NULL)
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozektest_child_common_SOURCES = \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek src/tests/cmocka/test_child_common.c \
4d9db278db1197ae84fecb8f269e2de368a6be2aLukas Slebodnik src/util/child_common.c \
4d9db278db1197ae84fecb8f269e2de368a6be2aLukas Slebodnik src/util/signal.c \
4d9db278db1197ae84fecb8f269e2de368a6be2aLukas Slebodnik src/util/atomic_io.c \
4d9db278db1197ae84fecb8f269e2de368a6be2aLukas Slebodnik src/util/util_errors.c \
4d9db278db1197ae84fecb8f269e2de368a6be2aLukas Slebodnik src/util/util.c \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek $(NULL)
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozektest_child_common_CFLAGS = \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek $(AM_CFLAGS) \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek -DCHILD_DIR=\"$(builddir)\" \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek $(NULL)
44703b84feaafa4f0a4f8df11c5a503dcf48616eJakub Hrozektest_child_common_LDFLAGS = \
44703b84feaafa4f0a4f8df11c5a503dcf48616eJakub Hrozek -Wl,-wrap,child_io_destructor \
44703b84feaafa4f0a4f8df11c5a503dcf48616eJakub Hrozek $(NULL)
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozektest_child_common_LDADD = \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek $(CMOCKA_LIBS) \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek $(POPT_LIBS) \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek $(TALLOC_LIBS) \
4d9db278db1197ae84fecb8f269e2de368a6be2aLukas Slebodnik $(DHASH_LIBS) \
4d9db278db1197ae84fecb8f269e2de368a6be2aLukas Slebodnik libsss_debug.la \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek libsss_test_common.la \
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek $(NULL)
e00c2b5ac4963de9521599c88597b7fb97339d0eJakub Hrozek
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březinaresponder_cache_req_tests_SOURCES = \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina $(TEST_MOCK_OBJ) \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina $(TEST_MOCK_RESP_OBJ) \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina src/tests/cmocka/test_responder_cache_req.c \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina $(NULL)
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březinaresponder_cache_req_tests_CFLAGS = \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina $(AM_CFLAGS) \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina $(NULL)
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březinaresponder_cache_req_tests_LDFLAGS = \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina -Wl,-wrap,sss_dp_get_account_send \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina $(NULL)
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březinaresponder_cache_req_tests_LDADD = \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina $(CMOCKA_LIBS) \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina $(SSSD_LIBS) \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina $(SSSD_INTERNAL_LTLIBS) \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina libsss_test_common.la \
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina $(NULL)
360a4be4266d6a72be99dfd252623dc0527f5b84Pavel Březina
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březinatest_sbus_opath_SOURCES = \
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březina src/tests/cmocka/test_sbus_opath.c \
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březina $(NULL)
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březinatest_sbus_opath_CFLAGS = \
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březina $(AM_CFLAGS)
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březinatest_sbus_opath_LDADD = \
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březina $(CMOCKA_LIBS) \
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březina $(SSSD_LIBS) \
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březina $(SSSD_INTERNAL_LTLIBS) \
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březina libsss_debug.la \
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březina libsss_test_common.la
3a8f6b575f4019f21c9425a26f1b346c08a197aePavel Březina
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozekif HAVE_LIBRESOLV
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozektest_resolv_fake_SOURCES = \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek src/tests/cmocka/test_resolv_fake.c \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek src/resolv/async_resolv.c \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek $(NULL)
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozektest_resolv_fake_CFLAGS = \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek $(AM_CFLAGS) \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek $(NULL)
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozektest_resolv_fake_LDFLAGS = \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek -Wl,-wrap,ares_query \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek $(NULL)
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozektest_resolv_fake_LDADD = \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek $(CMOCKA_LIBS) \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek $(POPT_LIBS) \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek $(TALLOC_LIBS) \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek $(CARES_LIBS) \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek $(DHASH_LIBS) \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek $(RESOLV_LIBS) \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek libsss_debug.la \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek libsss_test_common.la \
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek $(NULL)
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozekendif # HAVE_LIBRESOLV
bf54fbed126ec3d459af40ea370ffadacd31c76dJakub Hrozek
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozektest_fo_srv_SOURCES = \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek src/tests/cmocka/test_fo_srv.c \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek src/providers/fail_over.c \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek src/providers/fail_over_srv.c \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek $(NULL)
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozektest_fo_srv_CFLAGS = \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek $(AM_CFLAGS) \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek $(NULL)
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozektest_fo_srv_LDADD = \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek $(CMOCKA_LIBS) \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek $(POPT_LIBS) \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek $(TALLOC_LIBS) \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek $(CARES_LIBS) \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek $(DHASH_LIBS) \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek $(SSSD_INTERNAL_LTLIBS) \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek libsss_test_common.la \
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek $(NULL)
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6dJakub Hrozek
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozekendif # HAVE_CMOCKA
f92ace4a52602e8c38a34f2392bec3deeac2ddddJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernoinst_PROGRAMS = pam_test_client
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinaif BUILD_SUDO
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinanoinst_PROGRAMS += sss_sudo_cli
f8c829e72968b574e1c9bda96f4d5f206622358fPavel Březinaendif
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekif BUILD_AUTOFS
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozeknoinst_PROGRAMS += autofs_test_client
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekendif
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_test_client_SOURCES = src/sss_client/pam_test_client.c
d2d21d45a88d0869f860e215c2cf946f032818caLukas Slebodnikpam_test_client_LDADD = $(PAM_LIBS) $(PAM_MISC_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekif BUILD_AUTOFS
8359bf07a2e6c0181251ce8d5d9160dc57546c55Stephen Gallagherautofs_test_client_SOURCES = \
8359bf07a2e6c0181251ce8d5d9160dc57546c55Stephen Gallagher src/sss_client/autofs/autofs_test_client.c \
8359bf07a2e6c0181251ce8d5d9160dc57546c55Stephen Gallagher src/sss_client/autofs/sss_autofs.c \
8359bf07a2e6c0181251ce8d5d9160dc57546c55Stephen Gallagher src/sss_client/common.c
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekautofs_test_client_CFLAGS = $(AM_CFLAGS)
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtautofs_test_client_LDADD = -lpopt $(CLIENT_LIBS)
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozekendif
6e8238868a4d17030bb4f01494961d0354a953bfJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Client Libraries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghernsslib_LTLIBRARIES = libnss_sss.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibnss_sss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/common.c \
f1ac7d7859b26f0f36f5e8ffacda609f8ece80e5Stephen Gallagher src/sss_client/nss_passwd.c \
f1ac7d7859b26f0f36f5e8ffacda609f8ece80e5Stephen Gallagher src/sss_client/nss_group.c \
f128b7b865062da662127712935dcc58bd022384Stephen Gallagher src/sss_client/nss_netgroup.c \
cc7ee57f3adada83ac657e69636ca995d5b6948eStephen Gallagher src/sss_client/nss_services.c \
f128b7b865062da662127712935dcc58bd022384Stephen Gallagher src/sss_client/sss_cli.h \
5f216c753dbd2f2b25a011c5f705ee4f8ad924e6Simo Sorce src/sss_client/nss_compat.h \
5f216c753dbd2f2b25a011c5f705ee4f8ad924e6Simo Sorce src/sss_client/nss_mc_common.c \
3a4186ae40d0c3b7be46a4c973166f6048fcfe38Lukas Slebodnik src/util/io.c \
5f216c753dbd2f2b25a011c5f705ee4f8ad924e6Simo Sorce src/util/murmurhash3.c \
1171986bdc3011555c5b62a9d9ee9f7481f48cdcSimo Sorce src/sss_client/nss_mc_passwd.c \
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce src/sss_client/nss_mc_group.c \
5f216c753dbd2f2b25a011c5f705ee4f8ad924e6Simo Sorce src/sss_client/nss_mc.h
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtlibnss_sss_la_LIBADD = \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(CLIENT_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibnss_sss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -version-info 2:0:0 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzerif BUILD_NFS_IDMAP
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzernfslib_LTLIBRARIES = sss.la
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzersss_la_SOURCES = \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer src/sss_client/common.c \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer src/sss_client/nss_mc_common.c \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer src/util/io.c \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer src/util/murmurhash3.c \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer src/sss_client/nss_mc_passwd.c \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer src/sss_client/nss_mc_group.c \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer src/sss_client/nfs/sss_nfs_client.c \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer $(NULL)
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzersss_la_CFLAGS = $(AM_CFLAGS)
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzersss_la_LIBADD = \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer $(CLIENT_LIBS) \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer $(NFSIDMAP_LIBS) \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer $(NULL)
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzersss_la_LDFLAGS = \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer -module \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer -avoid-version \
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer $(NULL)
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzerendif
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpamlib_LTLIBRARIES = pam_sss.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpam_sss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/pam_sss.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/sss_cli.h \
2b7349575770521243a34611e97d73790946a961Stephen Gallagher src/util/atomic_io.c \
683e1f67d08be7165ea456d4594c4c8a4eddc9b3Lukas Slebodnik src/sss_client/sss_pam_macros.h \
683e1f67d08be7165ea456d4594c4c8a4eddc9b3Lukas Slebodnik src/sss_client/sss_pam_compat.h
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtpam_sss_la_LIBADD = \
86b61156743b7ebdc049450a6f88452890fd9a61Jakub Hrozek $(CLIENT_LIBS) \
d2d21d45a88d0869f860e215c2cf946f032818caLukas Slebodnik $(PAM_LIBS)
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtpam_sss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekif BUILD_SUDO
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozeklibsss_sudo_la_SOURCES = \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/common.c \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sss_cli.h \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sudo/sss_sudo_response.c \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sudo/sss_sudo.c \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sudo/sss_sudo.h \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek src/sss_client/sudo/sss_sudo_private.h
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtlibsss_sudo_la_LIBADD = \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(CLIENT_LIBS)
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozeklibsss_sudo_la_LDFLAGS = \
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek -Wl,--version-script,$(srcdir)/src/sss_client/sss_sudo.exports \
42870c7ac3608ffc58f2c9524ad3dfc1401bc1aaPavel Březina -module \
42870c7ac3608ffc58f2c9524ad3dfc1401bc1aaPavel Březina -avoid-version
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozeksudolib_LTLIBRARIES = libsss_sudo.la
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekendif
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozek
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekif BUILD_AUTOFS
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekautofslib_LTLIBRARIES = libsss_autofs.la
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozeklibsss_autofs_la_SOURCES = \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek src/sss_client/common.c \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek src/sss_client/sss_cli.h \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek src/sss_client/autofs/sss_autofs.c \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek src/sss_client/autofs/sss_autofs_private.h
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtlibsss_autofs_la_LIBADD = \
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardt $(CLIENT_LIBS)
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozeklibsss_autofs_la_LDFLAGS = \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek -module \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek -avoid-version \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek -Wl,--version-script,$(srcdir)/src/sss_client/autofs/sss_autofs.exports
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekendif
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/sss_nss.exports \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sss_client/sss_pam.exports
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekif BUILD_SUDO
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekdist_noinst_DATA += src/sss_client/sss_sudo.exports
70e59ed31c5a9c9ed02d9065ddf92be87c887efbJakub Hrozekendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekif BUILD_AUTOFS
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekdist_noinst_DATA += src/sss_client/autofs/sss_autofs.exports
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozekendif
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Plugin Libraries #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher####################
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodnik# libsss_krb5_common must be installed before libsss_ldap_common
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodnik# because libtool tries to relink libsss_ldap_common when installing
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodnik# libsss_ldap_common and therefore make distcheck fails
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodnikpkglib_LTLIBRARIES += libsss_krb5_common.la
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagherpkglib_LTLIBRARIES += libsss_ldap_common.la
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_common_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id_enum.c \
8ca73915a3bf60331468fed6b3b38652c979f95dJakub Hrozek src/providers/ldap/sdap_async_enum.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_id_cleanup.c \
619bd403265ce0880989ba6f8324b010949851bcSumit Bose src/providers/ldap/ldap_id_netgroup.c \
796463906a54e259bd5b582ce84af4297a58eafcStephen Gallagher src/providers/ldap/ldap_id_services.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_auth.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_common.c \
ce35bb272d25926b8fa0f9450c8b74064f25c816Pavel Březina src/providers/ldap/ldap_options.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap_access.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async.c \
f26c954658dfd7461f290f0b5d924951a6db219aJan Zeleny src/providers/ldap/sdap_async_users.c \
f26c954658dfd7461f290f0b5d924951a6db219aJan Zeleny src/providers/ldap/sdap_async_groups.c \
755aee449c6311518200c2f11c1aae329a19b038Pavel Březina src/providers/ldap/sdap_async_nested_groups.c \
97ae45d61d921f07e812620e0156aee02b7b83a7Stephen Gallagher src/providers/ldap/sdap_async_groups_ad.c \
f26c954658dfd7461f290f0b5d924951a6db219aJan Zeleny src/providers/ldap/sdap_async_initgroups.c \
d42d371c00c83ae44b9d1c3e88ecbe0e01b112e6Stephen Gallagher src/providers/ldap/sdap_async_initgroups_ad.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_async_connection.c \
619bd403265ce0880989ba6f8324b010949851bcSumit Bose src/providers/ldap/sdap_async_netgroups.c \
796463906a54e259bd5b582ce84af4297a58eafcStephen Gallagher src/providers/ldap/sdap_async_services.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_child_helpers.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_fd_events.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/sdap_id_op.c \
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher src/providers/ldap/sdap_idmap.c \
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher src/providers/ldap/sdap_idmap.h \
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher src/providers/ldap/sdap_range.c \
41be4e3976cf66823ad2c6880671ac7fbafdc640Pavel Březina src/providers/ldap/sdap_reinit.c \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek src/providers/ldap/sdap_dyndns.c \
7b5e7e539ae9312ab55d75aa94feaad549b2a708Pavel Březina src/providers/ldap/sdap_refresh.c \
25ac7bda643c8872b5a29bc856c374e76a7f8363Pavel Březina src/providers/ldap/sdap_utils.c \
82a4f022ec1cbb9530ffa21d95474152b24acf50Pavel Březina src/providers/ldap/sdap_domain.c \
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodnik src/providers/ldap/sdap.c \
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodnik src/util/user_info_msg.c \
13ec767e6ca3e435e119f1f07bda10eb213383f6Pavel Reichl src/util/sss_ldap.c \
13ec767e6ca3e435e119f1f07bda10eb213383f6Pavel Reichl $(NULL)
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodniklibsss_ldap_common_la_CFLAGS = \
13ec767e6ca3e435e119f1f07bda10eb213383f6Pavel Reichl $(KRB5_CFLAGS) \
13ec767e6ca3e435e119f1f07bda10eb213383f6Pavel Reichl $(NULL)
7fc27c7a3ccbb6aecb8cf4a4a5f91962028cb897Lukas Slebodniklibsss_ldap_common_la_LIBADD = \
534c5427e5216d5d25f9b10925294e803ecf016fLukas Slebodnik $(OPENLDAP_LIBS) \
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodnik $(KRB5_LIBS) \
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodnik libsss_krb5_common.la \
13ec767e6ca3e435e119f1f07bda10eb213383f6Pavel Reichl libsss_idmap.la \
13ec767e6ca3e435e119f1f07bda10eb213383f6Pavel Reichl libsss_util.la \
13ec767e6ca3e435e119f1f07bda10eb213383f6Pavel Reichl $(NULL)
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagherlibsss_ldap_common_la_LDFLAGS = \
13ec767e6ca3e435e119f1f07bda10eb213383f6Pavel Reichl -avoid-version \
13ec767e6ca3e435e119f1f07bda10eb213383f6Pavel Reichl $(NULL)
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherif BUILD_SUDO
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_common_la_SOURCES += \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap_sudo_cache.c \
0ca19d792b717456f334abdf35279acddf6d71c2Pavel Březina src/providers/ldap/sdap_async_sudo.c \
c407643004a02566e35a864ba0d8b0c0f88d9d67Pavel Březina src/providers/ldap/sdap_async_sudo_timer.c \
5f73b623fc72e3b9b3590420825f30e618b4d4ddPavel Březina src/providers/ldap/sdap_async_sudo_hostinfo.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap_sudo.c
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherendif
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherif BUILD_AUTOFS
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_common_la_SOURCES += \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap_autofs.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/sdap_async_autofs.c
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherendif
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
a2e417f38c57ed87c956ddcecf4dafca93842b65Lukas Slebodnikif BUILD_SAMBA
60cab26b12df9a2153823972cde0c38ca86e01b9Yassir Elleypkglib_LTLIBRARIES += libsss_ad_common.la
a2e417f38c57ed87c956ddcecf4dafca93842b65Lukas Slebodnikendif
60cab26b12df9a2153823972cde0c38ca86e01b9Yassir Elleylibsss_ad_common_la_SOURCES = \
60cab26b12df9a2153823972cde0c38ca86e01b9Yassir Elley $(libsss_ad_la_SOURCES)
60cab26b12df9a2153823972cde0c38ca86e01b9Yassir Elleylibsss_ad_common_la_LDFLAGS = \
60cab26b12df9a2153823972cde0c38ca86e01b9Yassir Elley -avoid-version
60cab26b12df9a2153823972cde0c38ca86e01b9Yassir Elleylibsss_ad_common_la_CFLAGS = \
b1c4a998f8e217b4ba4cd632f5069d479211c22dYassir Elley $(NDR_NBT_CFLAGS) \
b1c4a998f8e217b4ba4cd632f5069d479211c22dYassir Elley $(SMBCLIENT_CFLAGS)
60cab26b12df9a2153823972cde0c38ca86e01b9Yassir Elleylibsss_ad_common_la_LIBADD = \
b1c4a998f8e217b4ba4cd632f5069d479211c22dYassir Elley $(NDR_NBT_LIBS) \
b1c4a998f8e217b4ba4cd632f5069d479211c22dYassir Elley $(SMBCLIENT_LIBS)
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_krb5_common_la_SOURCES = \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_utils.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_delayed_online_authentication.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_renew_tgt.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_wait_queue.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_common.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_auth.c \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/krb5/krb5_access.c \
3441d0c2d11aea0c39b009751a1898333c009674Stephen Gallagher src/providers/krb5/krb5_child_handler.c \
6261893e00bd14fdd192ffc9a1379cb9c647d326Lukas Slebodnik src/providers/krb5/krb5_init_shared.c \
45aeb924ec3ac448bb8d174a5cc061ed98b147c7Jakub Hrozek src/providers/krb5/krb5_ccache.c \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek src/util/sss_krb5.c \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek src/util/become_user.c \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek $(NULL)
6261893e00bd14fdd192ffc9a1379cb9c647d326Lukas Slebodniklibsss_krb5_common_la_CFLAGS = \
6261893e00bd14fdd192ffc9a1379cb9c647d326Lukas Slebodnik $(KRB5_CFLAGS)
717008c8c3f29f3a1a77266cc72a6cfa616bf295Benjamin Franzkelibsss_krb5_common_la_LIBADD = \
6261893e00bd14fdd192ffc9a1379cb9c647d326Lukas Slebodnik $(KEYUTILS_LIBS) \
6261893e00bd14fdd192ffc9a1379cb9c647d326Lukas Slebodnik $(DHASH_LIBS) \
6261893e00bd14fdd192ffc9a1379cb9c647d326Lukas Slebodnik $(KRB5_LIBS)
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagherlibsss_krb5_common_la_LDFLAGS = \
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagher -avoid-version
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ldap_la_SOURCES = \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ldap/ldap_init.c \
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodnik src/providers/ldap/ldap_access.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
6261893e00bd14fdd192ffc9a1379cb9c647d326Lukas Slebodnik $(OPENLDAP_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(OPENLDAP_LIBS) \
12805da52a93c268290cec7b8fbbdbd4ea8abc3eLukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
6261893e00bd14fdd192ffc9a1379cb9c647d326Lukas Slebodnik libsss_ldap_common.la \
6261893e00bd14fdd192ffc9a1379cb9c647d326Lukas Slebodnik libsss_krb5_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ldap_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_init.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/proxy/proxy_id.c \
04feeade1f6259368a6b23c6b3ecbad261161659Sumit Bose src/providers/proxy/proxy_netgroup.c \
aec5785126354bd8b192f63fe04ea08dae9c0705Stephen Gallagher src/providers/proxy/proxy_services.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/proxy/proxy_auth.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/data_provider_iface_generated.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/data_provider_iface_generated.h
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PAM_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_proxy_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_SOURCES = \
225d845476b6136be9b77f528ed986bba7a7f732Simo Sorce src/providers/simple/simple_access_check.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/simple/simple_access.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_simple_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_SOURCES = \
6261893e00bd14fdd192ffc9a1379cb9c647d326Lukas Slebodnik src/providers/krb5/krb5_init.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
22091abbe7b4a5667f62603dfd875e9ec6adf789Alexey Shabalin $(DHASH_CFLAGS) \
22091abbe7b4a5667f62603dfd875e9ec6adf789Alexey Shabalin $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(KRB5_LIBS) \
12805da52a93c268290cec7b8fbbdbd4ea8abc3eLukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher libsss_krb5_common.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_krb5_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_init.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_common.c \
213ce2a78b1abe3921d8dc13c949a28130d00aecJan Zeleny src/providers/ipa/ipa_config.c \
8b1f2574ce7a964965a18ab047ab09c4694380c4Jan Zeleny src/providers/ipa/ipa_id.c \
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny src/providers/ipa/ipa_netgroups.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_auth.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_access.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ipa/ipa_dyndns.c \
ad07ed37b6b51ef134d4524edaf2259e19ac984fJan Zeleny src/providers/ipa/ipa_hosts.c \
81165faf5d951aca69f410713730c26ff048ec44Sumit Bose src/providers/ipa/ipa_subdomains.c \
881c4ba834b23ae651ac01db667801f314eb0a5dJan Zeleny src/providers/ipa/ipa_subdomains_id.c \
caee9828ee30609e9f433957dbb3d0163390a207Sumit Bose src/providers/ipa/ipa_subdomains_ext_groups.c \
0f3df54840ec9a050cc0b1b68269c3f28c859e64Sumit Bose src/providers/ipa/ipa_views.c \
8eb981dd8bc85aee7a913c6f0096ad47f3382339Sumit Bose src/providers/ipa/ipa_utils.c \
36a12aea020a935ffa40505fa02860c3d921ad0cSumit Bose src/providers/ipa/ipa_s2n_exop.c \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_hosts.c \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_private.h \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_rules.c \
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny src/providers/ipa/ipa_hbac_rules.h \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_services.c \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_users.c \
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher src/providers/ipa/ipa_hbac_common.c \
38e2ec1c757955ab557fd95807afa58042d09482Jan Zeleny src/providers/ipa/ipa_selinux.c \
1a853121ca2ba8ede6df429ee76942131ffb0f65Jan Zeleny src/providers/ipa/ipa_selinux_maps.c \
88275cccddf39892e01682b39b02292eb74729bdPavel Březina src/providers/ipa/ipa_srv.c \
8ff0aba893d8da1a8163ccaf9ad2c5b6bccd121fSumit Bose src/providers/ipa/ipa_idmap.c \
f8a4a5f6240156809e1b5ef03816f673281e3fa0Jakub Hrozek src/providers/ad/ad_common.c \
f8a4a5f6240156809e1b5ef03816f673281e3fa0Jakub Hrozek src/providers/ad/ad_common.h \
f8a4a5f6240156809e1b5ef03816f673281e3fa0Jakub Hrozek src/providers/ad/ad_dyndns.c \
f8a4a5f6240156809e1b5ef03816f673281e3fa0Jakub Hrozek src/providers/ad/ad_id.c \
f8a4a5f6240156809e1b5ef03816f673281e3fa0Jakub Hrozek src/providers/ad/ad_srv.c \
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodnik src/providers/ad/ad_domain_info.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
41402c003fef1e6768f5468dd7ea2e20e16bfa19Benjamin Franzke $(OPENLDAP_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_CFLAGS) \
3275c56e7b5dd36d25e0a971bf90c70179f0ab8fLukas Slebodnik $(NDR_NBT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_LIBADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(OPENLDAP_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DHASH_LIBS) \
f8a4a5f6240156809e1b5ef03816f673281e3fa0Jakub Hrozek $(NDR_NBT_LIBS) \
88aeed9a31b734a92630d5e881c960c5f77ba0ceJakub Hrozek $(KRB5_LIBS) \
5bcb59c94ceb86b4ccd280a5a3f47c16fb08aac3Lukas Slebodnik $(SELINUX_LIBS) \
12805da52a93c268290cec7b8fbbdbd4ea8abc3eLukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher libsss_ldap_common.la \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher libsss_krb5_common.la \
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher libipa_hbac.la \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek libsss_idmap.la \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek libsss_semanage.la \
42ec8af02ecf1937e4db9b1ecc6216022634f0f9Michal Zidek $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibsss_ipa_la_LDFLAGS = \
e92ecf948387d1687a5e772ac86e606b1b6af957Stephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekif BUILD_AUTOFS
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagherlibsss_ipa_la_SOURCES += \
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher src/providers/ipa/ipa_autofs.c
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekendif
92ae9d2b909d0fd4a522a270157926878b5d0862Stephen Gallagher
b24e4bec819b29f1ec8e77083d4e7610c5dd9c77Lukas Slebodnikif BUILD_SUDO
b24e4bec819b29f1ec8e77083d4e7610c5dd9c77Lukas Slebodniklibsss_ipa_la_SOURCES += \
b24e4bec819b29f1ec8e77083d4e7610c5dd9c77Lukas Slebodnik src/providers/ipa/ipa_sudo.c
b24e4bec819b29f1ec8e77083d4e7610c5dd9c77Lukas Slebodnikendif
b24e4bec819b29f1ec8e77083d4e7610c5dd9c77Lukas Slebodnik
1a7d1977037864e52858058777af8ff8401547ddJan Cholastaif BUILD_SSH
1a7d1977037864e52858058777af8ff8401547ddJan Cholastalibsss_ipa_la_SOURCES += src/providers/ipa/ipa_hostid.c
1a7d1977037864e52858058777af8ff8401547ddJan Cholastaendif
dfea410202f366924f32662a91331660f1c143bbJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagherlibsss_ad_la_SOURCES = \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher src/providers/ad/ad_common.c \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher src/providers/ad/ad_common.h \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher src/providers/ad/ad_init.c \
74e95cfd9d3939dfe9417d79d2f6fc79b361405fJakub Hrozek src/providers/ad/ad_dyndns.c \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher src/providers/ad/ad_id.c \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher src/providers/ad/ad_id.h \
a4cce2c98eedecb5d3b47da62104634cae268434Stephen Gallagher src/providers/ad/ad_access.c \
a4cce2c98eedecb5d3b47da62104634cae268434Stephen Gallagher src/providers/ad/ad_access.h \
60cab26b12df9a2153823972cde0c38ca86e01b9Yassir Elley src/providers/ad/ad_gpo.c \
60cab26b12df9a2153823972cde0c38ca86e01b9Yassir Elley src/providers/ad/ad_gpo.h \
28c155e20d3ebf53581821572c6c3fe1724582c9Yassir Elley src/providers/ad/ad_gpo_ndr.c \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher src/providers/ad/ad_opts.h \
a679f0167b646cffdae86546ed77e105576991b0Pavel Březina src/providers/ad/ad_srv.c \
4cdaf239d4504966bed8ecd5e3fa07def74c7302Sumit Bose src/providers/ad/ad_subdomains.c \
4cdaf239d4504966bed8ecd5e3fa07def74c7302Sumit Bose src/providers/ad/ad_subdomains.h \
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek src/providers/ad/ad_domain_info.c \
cc1c033c34b5f816b633d27a21aefbf811a7cf72Lukas Slebodnik src/providers/ad/ad_domain_info.h
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher
61804568ce5ede3b1a699cda17c033dd6c23f0e3Sumit Boseif BUILD_SUDO
61804568ce5ede3b1a699cda17c033dd6c23f0e3Sumit Boselibsss_ad_la_SOURCES += \
61804568ce5ede3b1a699cda17c033dd6c23f0e3Sumit Bose src/providers/ad/ad_sudo.c
61804568ce5ede3b1a699cda17c033dd6c23f0e3Sumit Boseendif
61804568ce5ede3b1a699cda17c033dd6c23f0e3Sumit Bose
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagherlibsss_ad_la_CFLAGS = \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher $(AM_CFLAGS) \
41402c003fef1e6768f5468dd7ea2e20e16bfa19Benjamin Franzke $(OPENLDAP_CFLAGS) \
c3889e5a101a075defe533d81f5296d5e680f639Lukas Slebodnik $(SASL_CFLAGS) \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher $(DHASH_CFLAGS) \
a679f0167b646cffdae86546ed77e105576991b0Pavel Březina $(KRB5_CFLAGS) \
b1c4a998f8e217b4ba4cd632f5069d479211c22dYassir Elley $(NDR_NBT_CFLAGS) \
b1c4a998f8e217b4ba4cd632f5069d479211c22dYassir Elley $(SMBCLIENT_CFLAGS)
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagherlibsss_ad_la_LIBADD = \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher $(OPENLDAP_LIBS) \
c3889e5a101a075defe533d81f5296d5e680f639Lukas Slebodnik $(SASL_LIBS) \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher $(DHASH_LIBS) \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher $(KRB5_LIBS) \
a679f0167b646cffdae86546ed77e105576991b0Pavel Březina $(NDR_NBT_LIBS) \
12805da52a93c268290cec7b8fbbdbd4ea8abc3eLukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
b1c4a998f8e217b4ba4cd632f5069d479211c22dYassir Elley $(SMBCLIENT_LIBS) \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher libsss_ldap_common.la \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher libsss_krb5_common.la \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher libsss_idmap.la
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagherlibsss_ad_la_LDFLAGS = \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher -avoid-version \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher -module
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/krb5/krb5_child.c \
2745b0156f12df7a7eb93d57716233243658e4d9Jakub Hrozek src/providers/krb5/krb5_ccache.c \
939d44cef4d202a7ef88250e90c22f6c6a3acc50Sumit Bose src/providers/krb5/krb5_keytab.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/dp_pam_data_util.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/util/user_info_msg.c \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna src/util/sss_krb5.c \
2745b0156f12df7a7eb93d57716233243658e4d9Jakub Hrozek src/util/find_uid.c \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/util/atomic_io.c \
64af76e2bef2565caa9738f675c108a4b3789237Simo Sorce src/util/authtok.c \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna src/util/util.c \
dca03a97f4e1532ee2f2cbd26b1538ab6ccf18f7Sumit Bose src/util/signal.c \
2745b0156f12df7a7eb93d57716233243658e4d9Jakub Hrozek src/util/strtonum.c \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek src/util/become_user.c \
b7088215501c99e40ae71d1c57e0b789bbae2c87Sumit Bose src/util/util_errors.c \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek src/sss_client/common.c \
9df7cddb68c61ef4e0397c196604999c68f4be0dJakub Hrozek $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
2745b0156f12df7a7eb93d57716233243658e4d9Jakub Hrozek $(KRB5_CFLAGS) \
2745b0156f12df7a7eb93d57716233243658e4d9Jakub Hrozek $(PCRE_CFLAGS) \
2745b0156f12df7a7eb93d57716233243658e4d9Jakub Hrozek $(SYSTEMD_LOGIN_CFLAGS) \
2745b0156f12df7a7eb93d57716233243658e4d9Jakub Hrozek $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherkrb5_child_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna $(DHASH_LIBS) \
dca03a97f4e1532ee2f2cbd26b1538ab6ccf18f7Sumit Bose $(KRB5_LIBS) \
2745b0156f12df7a7eb93d57716233243658e4d9Jakub Hrozek $(CLIENT_LIBS) \
2745b0156f12df7a7eb93d57716233243658e4d9Jakub Hrozek $(PCRE_LIBS) \
2745b0156f12df7a7eb93d57716233243658e4d9Jakub Hrozek $(SYSTEMD_LOGIN_LIBS) \
2745b0156f12df7a7eb93d57716233243658e4d9Jakub Hrozek $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/providers/ldap/ldap_child.c \
96bdf2906c981fe55b1d9a7b6539f2dd710efbf8Sumit Bose src/providers/krb5/krb5_keytab.c \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna src/util/sss_krb5.c \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/util/atomic_io.c \
64af76e2bef2565caa9738f675c108a4b3789237Simo Sorce src/util/authtok.c \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna src/util/util.c \
936940720b1b0e701a2317abc4c2d05a78338f33Jakub Hrozek src/util/signal.c \
936940720b1b0e701a2317abc4c2d05a78338f33Jakub Hrozek src/util/become_user.c \
936940720b1b0e701a2317abc4c2d05a78338f33Jakub Hrozek $(NULL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_child_LDADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(TALLOC_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_LIBS) \
6a9bdb6289bb374d203861cef16f312185725cbcPavel Zuna $(DHASH_LIBS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozekif BUILD_SEMANAGE
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozekselinux_child_SOURCES = \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek src/providers/ipa/selinux_child.c \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek src/util/sss_semanage.c \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek src/util/atomic_io.c \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek src/util/util.c \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek $(NULL)
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozekselinux_child_CFLAGS = \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek $(AM_CFLAGS) \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek $(POPT_CFLAGS) \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek $(NULL)
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozekselinux_child_LDADD = \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek libsss_debug.la \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek $(TALLOC_LIBS) \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek $(POPT_LIBS) \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek $(DHASH_LIBS) \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek $(SEMANAGE_LIBS) \
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek $(NULL)
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozekendif
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozek
19d3aba12c70528708be9440aca66038a291f29eYassir Elleygpo_child_SOURCES = \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley src/providers/ad/ad_gpo_child.c \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley src/util/atomic_io.c \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley src/util/util.c \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley src/util/signal.c
19d3aba12c70528708be9440aca66038a291f29eYassir Elleygpo_child_CFLAGS = \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley $(AM_CFLAGS) \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley $(POPT_CFLAGS) \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley $(KRB5_CFLAGS) \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley $(INI_CONFIG_CFLAGS) \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley $(SMBCLIENT_CFLAGS)
19d3aba12c70528708be9440aca66038a291f29eYassir Elleygpo_child_LDADD = \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley libsss_debug.la \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley $(TALLOC_LIBS) \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley $(POPT_LIBS) \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley $(DHASH_LIBS) \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley $(INI_CONFIG_LIBS) \
19d3aba12c70528708be9440aca66038a291f29eYassir Elley $(SMBCLIENT_LIBS)
19d3aba12c70528708be9440aca66038a291f29eYassir Elley
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_SOURCES = \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/proxy/proxy_child.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/data_provider_iface_generated.c \
769347ad4d35d43488eb98f980143495b0db415dStef Walter src/providers/data_provider_iface_generated.h
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(POPT_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherproxy_child_LDADD = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(PAM_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(SSSD_LIBS) \
577ba99b3150404533bd3d859522a2c994b17e76Lukas Slebodnik $(SSSD_INTERNAL_LTLIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_SOURCES = \
adc4351a04cef89ced2dbb240180e5d00fd8dd3cStephen Gallagher src/ldb_modules/memberof.c \
adc4351a04cef89ced2dbb240180e5d00fd8dd3cStephen Gallagher src/util/util.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS)
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallaghermemberof_la_LIBADD = \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher libsss_debug.la \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(LDB_LIBS) \
fe2091327ff44f80d6681c261494e4432404e9baStephen Gallagher $(DHASH_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghermemberof_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif BUILD_KRB5_LOCATOR_PLUGIN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_krb5_locator_plugin_la_SOURCES = \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/krb5_plugin/sssd_krb5_locator_plugin.c \
9d7d4458d94d0aac0a7edf999368eb18f89cb76aJakub Hrozek src/util/atomic_io.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_krb5_locator_plugin_la_CFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(AM_CFLAGS) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(KRB5_CFLAGS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghersssd_krb5_locator_plugin_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Boseif BUILD_KRB5_LOCALAUTH_PLUGIN
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bosesssd_krb5_localauth_plugin_la_SOURCES = \
6b5044001e4b0a0caf971a2cf5f27674e0d270f4Sumit Bose src/krb5_plugin/sssd_krb5_localauth_plugin.c \
6b5044001e4b0a0caf971a2cf5f27674e0d270f4Sumit Bose src/util/murmurhash3.c \
6b5044001e4b0a0caf971a2cf5f27674e0d270f4Sumit Bose src/util/io.c \
6b5044001e4b0a0caf971a2cf5f27674e0d270f4Sumit Bose src/sss_client/common.c \
6b5044001e4b0a0caf971a2cf5f27674e0d270f4Sumit Bose src/sss_client/nss_mc_common.c \
6b5044001e4b0a0caf971a2cf5f27674e0d270f4Sumit Bose src/sss_client/nss_mc_passwd.c \
6b5044001e4b0a0caf971a2cf5f27674e0d270f4Sumit Bose src/sss_client/nss_passwd.c
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bosesssd_krb5_localauth_plugin_la_CFLAGS = \
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bose $(AM_CFLAGS) \
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bose $(KRB5_CFLAGS)
6b5044001e4b0a0caf971a2cf5f27674e0d270f4Sumit Bosesssd_krb5_localauth_plugin_la_LIBADD = \
6b5044001e4b0a0caf971a2cf5f27674e0d270f4Sumit Bose $(KRB5_LIBS)
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bosesssd_krb5_localauth_plugin_la_LDFLAGS = \
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bose -avoid-version \
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bose -module
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Boseendif
8a5e793a0576250da80371e53aa3e7eba15cdb63Sumit Bose
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bosesssd_pac_plugin_la_SOURCES = \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose src/sss_client/sssd_pac.c \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose src/sss_client/common.c \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose src/sss_client/sss_cli.h \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose src/sss_client/krb5_authdata_int.h
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bosesssd_pac_plugin_la_CFLAGS = \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose $(AM_CFLAGS) \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose $(KRB5_CFLAGS)
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtsssd_pac_plugin_la_LIBADD = \
86b61156743b7ebdc049450a6f88452890fd9a61Jakub Hrozek $(CLIENT_LIBS) \
22091abbe7b4a5667f62603dfd875e9ec6adf789Alexey Shabalin $(KRB5_LIBS)
654757bcead49427baaeb1b368c0e3433b67c51aJan Engelhardtsssd_pac_plugin_la_LDFLAGS = \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose -avoid-version \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose -module
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik# python[23] bindings
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(SSSD_TOOLS_OBJ) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/python/pysss.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpysss_la_LDFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -avoid-version \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -module
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_la_SOURCES = $(pysss_la_SOURCES)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_la_CFLAGS = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(AM_CFLAGS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON2_CFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_la_LIBADD = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON_BINDINGS_LIBS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON2_LIBS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_la_LDFLAGS = $(pysss_la_LDFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_la_SOURCES = $(pysss_la_SOURCES)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_la_CFLAGS = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(AM_CFLAGS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON3_CFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_la_LIBADD = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(SSSD_INTERNAL_LTLIBS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON_BINDINGS_LIBS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON3_LIBS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_la_LDFLAGS = $(pysss_la_LDFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozekpyhbac_la_SOURCES = \
72e60fd4eabcfbcdbfe01e8c38b94052bc6c2067Jakub Hrozek src/python/pyhbac.c \
72e60fd4eabcfbcdbfe01e8c38b94052bc6c2067Jakub Hrozek src/util/sss_python.c
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozekpyhbac_la_LDFLAGS = \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek -avoid-version \
60e51fd2764291df2332f36ff478777627d92b57Sumit Bose -module
60e51fd2764291df2332f36ff478777627d92b57Sumit Bose
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2hbac_la_SOURCES = $(pyhbac_la_SOURCES)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2hbac_la_CFLAGS = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(AM_CFLAGS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON2_CFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2hbac_la_LIBADD = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON2_LIBS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik libipa_hbac.la
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2hbac_la_LDFLAGS = $(pyhbac_la_LDFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3hbac_la_SOURCES = $(pyhbac_la_SOURCES)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3hbac_la_CFLAGS = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(AM_CFLAGS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON3_CFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3hbac_la_LIBADD = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON3_LIBS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik libipa_hbac.la
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3hbac_la_LDFLAGS = $(pyhbac_la_LDFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
60e51fd2764291df2332f36ff478777627d92b57Sumit Bosepysss_murmur_la_SOURCES = \
60e51fd2764291df2332f36ff478777627d92b57Sumit Bose src/python/pysss_murmur.c \
60e51fd2764291df2332f36ff478777627d92b57Sumit Bose src/util/murmurhash3.c
60e51fd2764291df2332f36ff478777627d92b57Sumit Bosepysss_murmur_la_LDFLAGS = \
60e51fd2764291df2332f36ff478777627d92b57Sumit Bose -avoid-version \
667db40da4db362d7ca0a1f7f1c4ba40fb71795aJakub Hrozek -module
c080a11e9e88f35e40aff4e476cabbd971833019Sumit Bose
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_murmur_la_SOURCES = $(pysss_murmur_la_SOURCES)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_murmur_la_CFLAGS = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(AM_CFLAGS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON2_CFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_murmur_la_LIBADD = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON2_LIBS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_murmur_la_LDFLAGS = $(pysss_murmur_la_LDFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_murmur_la_SOURCES = $(pysss_murmur_la_SOURCES)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_murmur_la_CFLAGS = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(AM_CFLAGS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON3_CFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_murmur_la_LIBADD = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON3_LIBS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_murmur_la_LDFLAGS = $(pysss_murmur_la_LDFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
c080a11e9e88f35e40aff4e476cabbd971833019Sumit Bosepysss_nss_idmap_la_SOURCES = \
c080a11e9e88f35e40aff4e476cabbd971833019Sumit Bose src/python/pysss_nss_idmap.c
c080a11e9e88f35e40aff4e476cabbd971833019Sumit Bosepysss_nss_idmap_la_LDFLAGS = \
c080a11e9e88f35e40aff4e476cabbd971833019Sumit Bose -avoid-version \
c080a11e9e88f35e40aff4e476cabbd971833019Sumit Bose -module
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_nss_idmap_la_SOURCES = $(pysss_nss_idmap_la_SOURCES)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_nss_idmap_la_CFLAGS = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(AM_CFLAGS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON2_CFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_nss_idmap_la_LIBADD = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON2_LIBS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik libsss_nss_idmap.la
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py2sss_nss_idmap_la_LDFLAGS = $(pysss_nss_idmap_la_LDFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_nss_idmap_la_SOURCES = $(pysss_nss_idmap_la_SOURCES)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_nss_idmap_la_CFLAGS = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(AM_CFLAGS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON3_CFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_nss_idmap_la_LIBADD = \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON3_LIBS) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik libsss_nss_idmap.la
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik_py3sss_nss_idmap_la_LDFLAGS = $(pysss_nss_idmap_la_LDFLAGS)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik# end of python[23] bindings
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkeif BUILD_CIFS_IDMAP_PLUGIN
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkecifs_idmap_sss_la_SOURCES = \
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke src/lib/cifs_idmap_sss/cifs_idmap_sss.c
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkecifs_idmap_sss_la_LIBADD = \
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke libsss_idmap.la \
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke libsss_nss_idmap.la
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkecifs_idmap_sss_la_CFLAGS = \
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke $(AM_CFLAGS)
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkecifs_idmap_sss_la_LDFLAGS = \
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke -avoid-version \
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke -module
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkeendif
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek################
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek# TRANSLATIONS #
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek################
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozekupdate-po:
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherif HAVE_MANPAGES
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek $(MAKE) -C src/man update-po
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherendif
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek $(MAKE) -C po update-po
6f51c802311fd81a409a26763ed45b28a3234d0dJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# Installation Extras #
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher#######################
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodnikinit_SCRIPTS =
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodniksystemdunit_DATA =
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodniksystemdconf_DATA =
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekif HAVE_SYSTEMD_UNIT
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodnik systemdunit_DATA += \
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozek src/sysv/systemd/sssd.service
c252d148fa8ab50aaaa8bbae7beb4d208025171dNikolai Kondrashovif WITH_JOURNALD
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodnik systemdconf_DATA += \
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagher src/sysv/systemd/journal.conf
c252d148fa8ab50aaaa8bbae7beb4d208025171dNikolai Kondrashovendif
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekelse
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_SUSE
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodnik init_SCRIPTS += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sysv/SUSE/sssd
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maximelse
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maximif HAVE_GENTOO
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodnik init_SCRIPTS += \
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maxim src/sysv/gentoo/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherelse
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodnik init_SCRIPTS += \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/sysv/sssd
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherendif
0d7e647da737b71a7dbbe0bb5f94af18017e5aa9Maximendif
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallagherdist_sssddata_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.conf
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_sssdapiplugin_DATA = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-ipa.conf \
03532fb1cbb7e8c1d5cf2e93aa3719f926631cabStephen Gallagher src/config/etc/sssd.api.d/sssd-ad.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-krb5.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-ldap.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-local.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-proxy.conf \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher src/config/etc/sssd.api.d/sssd-simple.conf
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnikedit_cmd = $(SED) \
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik -e 's|@sbindir[@]|$(sbindir)|g' \
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik -e 's|@environment_file[@]|$(environment_file)|g' \
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik -e 's|@localstatedir[@]|$(localstatedir)|g' \
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik -e 's|@prefix[@]|$(prefix)|g'
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnikreplace_script = \
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik @rm -f $@ $@.tmp; \
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik srcdir=''; \
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik test -f ./$@.in || srcdir=$(srcdir)/; \
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik $(edit_cmd) $${srcdir}$@.in >$@.tmp; \
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik mv $@.tmp $@
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas SlebodnikEXTRA_DIST += \
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik src/sysv/systemd/sssd.service.in \
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik src/sysv/systemd/journal.conf.in
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodniksrc/sysv/systemd/sssd.service: src/sysv/systemd/sssd.service.in Makefile
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik @$(MKDIR_P) src/sysv/systemd/
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik $(replace_script)
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodniksrc/sysv/systemd/journal.conf: src/sysv/systemd/journal.conf.in Makefile
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik @$(MKDIR_P) src/sysv/systemd/
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik $(replace_script)
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub HrozekSSSD_USER_DIRS = \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(DESTDIR)$(dbpath) \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(DESTDIR)$(mcpath) \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(DESTDIR)$(pipepath) \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(DESTDIR)$(pipepath)/private \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(DESTDIR)$(pubconfpath) \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(DESTDIR)$(pubconfpath)/krb5.include.d \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(DESTDIR)$(gpocachepath) \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(DESTDIR)$(sssdconfdir) \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(DESTDIR)$(logpath) \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(NULL)
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstallsssddirs::
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(includedir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(libdir) \
558998ce664055a75595371118f818084d8f2b23Jan Cholasta $(DESTDIR)$(bindir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(sbindir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(mandir) \
bc13c352ba9c2877f1e9bc62e55ad60fc000a55dJakub Hrozek $(DESTDIR)$(pidpath) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(pluginpath) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(libdir)/ldb \
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek $(DESTDIR)$(dbuspolicydir) \
1a59af8245f183f22d87d067a90197d8e2ea958dJakub Hrozek $(DESTDIR)$(dbusservicedir) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)$(sssdlibdir) \
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallagher $(DESTDIR)$(pkglibdir) \
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallagher $(DESTDIR)$(sssddatadir) \
bc13c352ba9c2877f1e9bc62e55ad60fc000a55dJakub Hrozek $(DESTDIR)$(sudolibdir) \
bc13c352ba9c2877f1e9bc62e55ad60fc000a55dJakub Hrozek $(DESTDIR)$(autofslibdir) \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(SSSD_USER_DIRS) \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(NULL);
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozekif SSSD_USER
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek -chown $(SSSD_USER):$(SSSD_USER) \
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozek $(SSSD_USER_DIRS)
f9ac9aa5760210b8bbd3d4e667dff5f101f99d62Jakub Hrozekendif
eba68b29d934e6ba3879947ab002f1b0a2c24496Pavel Reichl $(INSTALL) -d -m 0700 $(DESTDIR)$(dbpath) $(DESTDIR)$(logpath) \
eba68b29d934e6ba3879947ab002f1b0a2c24496Pavel Reichl $(DESTDIR)$(pipepath)/private
eba68b29d934e6ba3879947ab002f1b0a2c24496Pavel Reichl $(INSTALL) -d -m 0755 $(DESTDIR)$(mcpath) $(DESTDIR)$(pipepath) \
eba68b29d934e6ba3879947ab002f1b0a2c24496Pavel Reichl $(DESTDIR)$(pubconfpath) \
eba68b29d934e6ba3879947ab002f1b0a2c24496Pavel Reichl $(DESTDIR)$(pubconfpath)/krb5.include.d $(DESTDIR)$(gpocachepath)
eba68b29d934e6ba3879947ab002f1b0a2c24496Pavel Reichl $(INSTALL) -d -m 0711 $(DESTDIR)$(sssdconfdir)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherif HAVE_DOXYGEN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdocs:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DOXYGEN) src/doxy.config
8782e92079a2842955e04392d20605453de6d567Stephen Gallagher $(DOXYGEN) src/providers/ipa/ipa_hbac.doxy
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose $(DOXYGEN) src/lib/idmap/sss_idmap.doxy
2a9af1f71887f02935e2fb6ad5023afba5b6d43eSumit Bose $(DOXYGEN) src/sss_client/idmap/sss_nss_idmap.doxy
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinaif BUILD_IFP
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina $(DOXYGEN) src/lib/sifp/sss_simpleifp.doxy
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březinaendif
f660877b38e563c4aa0cb1431624069808873fecJakub Hrozekelse !HAVE_DOXYGEN
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdocs:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher @echo "Doxygen not installed, cannot generate documentation"
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher @exit 1
f660877b38e563c4aa0cb1431624069808873fecJakub Hrozekendif !HAVE_DOXYGEN
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherif BUILD_PYTHON_BINDINGS
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py:
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher -cp $(srcdir)/src/config/SSSDConfig/ipachangeconf.py $(builddir)/src/config/SSSDConfig/
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py:
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher -cp $(srcdir)/src/config/SSSDConfig/sssd_upgrade_config.py $(builddir)/src/config/SSSDConfig/
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen GallagherSSSDCONFIG_MODULES = \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher $(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher $(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagherelse
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen GallagherSSSSCONFIG_MODULES =
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagherendif
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagherall-local: ldb_mod_test_dir $(SSSDCONFIG_MODULES)
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikif BUILD_PYTHON2_BINDINGS
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cd $(builddir)/src/config; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON2) setup.py build --build-base $(abs_builddir)/src/config
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikendif
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikif BUILD_PYTHON3_BINDINGS
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cd $(builddir)/src/config; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON3) setup.py build --build-base $(abs_builddir)/src/config
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstall-exec-hook: installsssddirs
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikif BUILD_PYTHON2_BINDINGS
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik if [ "$(DESTDIR)" = "" ]; then \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cd $(builddir)/src/config; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON2) setup.py build --build-base $(abs_builddir)/src/config \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik install $(DISTSETUPOPTS) --prefix=$(PYTHON2_PREFIX) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik --record=$(abs_builddir)/src/config/.files2; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik else \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cd $(builddir)/src/config; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON2) setup.py build --build-base $(abs_builddir)/src/config \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik install $(DISTSETUPOPTS) --prefix=$(PYTHON2_PREFIX) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik --record=$(abs_builddir)/src/config/.files2 --root=$(DESTDIR); \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik fi
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cd $(DESTDIR)$(py2execdir) && \
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik $(LN_S) -f _py2sss.so pysss.so ; \
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik $(LN_S) -f _py2hbac.so pyhbac.so ; \
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik $(LN_S) -f _py2sss_murmur.so pysss_murmur.so ; \
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik $(LN_S) -f _py2sss_nss_idmap.so pysss_nss_idmap.so
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikendif
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikif BUILD_PYTHON3_BINDINGS
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher if [ "$(DESTDIR)" = "" ]; then \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cd $(builddir)/src/config; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON3) setup.py build --build-base $(abs_builddir)/src/config \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik install $(DISTSETUPOPTS) --prefix=$(PYTHON3_PREFIX) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik --record=$(abs_builddir)/src/config/.files3; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher else \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cd $(builddir)/src/config; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik $(PYTHON3) setup.py build --build-base $(abs_builddir)/src/config \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik install $(DISTSETUPOPTS) --prefix=$(PYTHON3_PREFIX) \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik --record=$(abs_builddir)/src/config/.files3 --root=$(DESTDIR); \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher fi
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cd $(DESTDIR)$(py3execdir) && \
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik $(LN_S) -f _py3sss.so pysss.so ; \
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik $(LN_S) -f _py3hbac.so pyhbac.so ; \
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik $(LN_S) -f _py3sss_murmur.so pysss_murmur.so ; \
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik $(LN_S) -f _py3sss_nss_idmap.so pysss_nss_idmap.so
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
374bf54785365273b20690bd3792c25a44738041Pavel Březina for doc in $(SSSD_DOCS); do \
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) $$doc $(DESTDIR)/$(docdir); \
374bf54785365273b20690bd3792c25a44738041Pavel Březina cp -a $$doc $(DESTDIR)/$(docdir)/; \
374bf54785365273b20690bd3792c25a44738041Pavel Březina done;
374bf54785365273b20690bd3792c25a44738041Pavel Březina
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekif HAVE_SYSTEMD_UNIT
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) $(DESTDIR)$(systemdunitdir)
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) $(DESTDIR)$(systemdconfdir)
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekelse
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) $(DESTDIR)$(initdir)
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
45414c12aa933a33d9a635cc212c448c858c6babJakub Hrozekif SSSD_USER
d167039ec78f93828ba65366d86a1ee7774aed3eJakub Hrozek -chgrp $(SSSD_USER) $(DESTDIR)$(sssdlibexecdir)/ldap_child
d167039ec78f93828ba65366d86a1ee7774aed3eJakub Hrozek chmod 4750 $(DESTDIR)$(sssdlibexecdir)/ldap_child
d167039ec78f93828ba65366d86a1ee7774aed3eJakub Hrozek -chgrp $(SSSD_USER) $(DESTDIR)$(sssdlibexecdir)/krb5_child
d167039ec78f93828ba65366d86a1ee7774aed3eJakub Hrozek chmod 4750 $(DESTDIR)$(sssdlibexecdir)/krb5_child
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozekif BUILD_SEMANAGE
d167039ec78f93828ba65366d86a1ee7774aed3eJakub Hrozek -chgrp $(SSSD_USER) $(DESTDIR)$(sssdlibexecdir)/selinux_child
d167039ec78f93828ba65366d86a1ee7774aed3eJakub Hrozek chmod 4750 $(DESTDIR)$(sssdlibexecdir)/selinux_child
f3a25949de81f80c136bb073e4a8f504b080c20cJakub Hrozekendif
45414c12aa933a33d9a635cc212c448c858c6babJakub Hrozekendif
45414c12aa933a33d9a635cc212c448c858c6babJakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherinstall-data-hook:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher rm $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(DESTDIR)/$(nsslibdir)/libnss_sss.so
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mv $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2.0.0 $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2
4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256Stephen Gallagher if [ ! $(krb5rcachedir) = "__LIBKRB5_DEFAULTS__" ]; then \
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) $(DESTDIR)/$(krb5rcachedir) ; \
4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256Stephen Gallagher fi
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagheruninstall-hook:
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik if [ -f $(abs_builddir)/src/config/.files2 ]; then \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cat $(abs_builddir)/src/config/.files2 | xargs -iq rm -f $(DESTDIR)/q; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik rm $(abs_builddir)/src/config/.files2 ; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik fi
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik if [ -f $(abs_builddir)/src/config/.files3 ]; then \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cat $(abs_builddir)/src/config/.files3 | xargs -iq rm -f $(DESTDIR)/q; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik rm $(abs_builddir)/src/config/.files3 ; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher fi
374bf54785365273b20690bd3792c25a44738041Pavel Březina for doc in $(SSSD_DOCS); do \
374bf54785365273b20690bd3792c25a44738041Pavel Březina rm -Rf $(DESTDIR)/$(docdir)/$$doc; \
374bf54785365273b20690bd3792c25a44738041Pavel Březina done;
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnikif BUILD_PYTHON2_BINDINGS
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik cd $(DESTDIR)$(py2execdir) && \
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik rm -f pysss.so pyhbac.so pysss_murmur.so pysss_nss_idmap.so
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnikendif
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnikif BUILD_PYTHON3_BINDINGS
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik cd $(DESTDIR)$(py3execdir) && \
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnik rm -f pysss.so pyhbac.so pysss_murmur.so pysss_nss_idmap.so
192583f964fb86684a9f9d27939c2f417db8ea88Lukas Slebodnikendif
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherclean-local:
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikif BUILD_PYTHON2_BINDINGS
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher rm -f $(builddir)/src/config/SSSDConfig/ipachangeconf.py ; \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher fi
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher rm -f $(builddir)/src/config/SSSDConfig/sssd_upgrade_config.py ; \
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher fi
f1ce53a3b5656361557f80f61dfd42a371230c65Stephen Gallagher
d206ccb0362396b9de326ab1c43ed3af9d8b60a3Sumit Bose rm -f $(builddir)/src/config/SSSDConfig/*.pyc
d206ccb0362396b9de326ab1c43ed3af9d8b60a3Sumit Bose
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cd $(builddir)/src/config; $(PYTHON2) setup.py build --build-base $(abs_builddir)/src/config clean --all
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikendif
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnikif BUILD_PYTHON3_BINDINGS
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik rm -f $(builddir)/src/config/SSSDConfig/ipachangeconf.py ; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik fi
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik rm -f $(builddir)/src/config/SSSDConfig/sssd_upgrade_config.py ; \
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik fi
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik rm -f $(builddir)/src/config/SSSDConfig/__pycache__/*.pyc
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik
4a5a18f489f4d19aa0571528a7f0c7a8d35ac83fLukas Slebodnik cd $(builddir)/src/config; $(PYTHON3) setup.py build --build-base $(abs_builddir)/src/config clean --all
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherendif
374bf54785365273b20690bd3792c25a44738041Pavel Březina for doc in $(SSSD_DOCS); do \
374bf54785365273b20690bd3792c25a44738041Pavel Březina rm -Rf $$doc; \
374bf54785365273b20690bd3792c25a44738041Pavel Březina done;
21f28bdbab10881b9fb0b890dfa15af429326606Sumit Bose rm -Rf ldb_mod_test_dir
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik rm -f $(builddir)/src/sysv/systemd/sssd.service
a203f4a0e7c60d6198f4ce8bf99952cfec5a0351Lukas Slebodnik rm -f $(builddir)/src/sysv/systemd/journal.conf
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherCLEANFILES = *.X */*.X */*/*.X
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghertests: all $(check_PROGRAMS)
428db8a58c0c149d5efccc6d788f70916c1d34d7Jakub Hrozek (cd src/tests/cwrap && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1;
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher# RPM-related tasks
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherRPMBUILD ?= $(PWD)/rpmbuild
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdist_noinst_DATA += \
f1fab7b8210af4ae94453265b607e2dab06789caStephen Gallagher m4 \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher contrib/sssd.spec.in \
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher BUILD.txt \
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher COPYING
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagherrpmroot:
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) $(RPMBUILD)/BUILD
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) $(RPMBUILD)/RPMS
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) $(RPMBUILD)/SOURCES
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) $(RPMBUILD)/SPECS
87d3b47abba6a40fcf809c85a2b138bc1013d9c5Jakub Hrozek $(MKDIR_P) $(RPMBUILD)/SRPMS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozekrpmbrprep: dist-gzip rpmroot
78395373edc3fcf62847de2c630b656967222901Stephen Gallagherif GIT_CHECKOUT
78395373edc3fcf62847de2c630b656967222901Stephen Gallagher# When we're building RPMs from a git checkout,
78395373edc3fcf62847de2c630b656967222901Stephen Gallagher# we don't want to be bothered with translation
78395373edc3fcf62847de2c630b656967222901Stephen Gallagher# updates
78395373edc3fcf62847de2c630b656967222901Stephen Gallagher git checkout $(srcdir)/po $(srcdir)/src/man/po
78395373edc3fcf62847de2c630b656967222901Stephen Gallagherendif
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozek
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozekrpms: rpmbrprep
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cd $(RPMBUILD); \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec
263e4574dacb4b7d2a18d5d42122bf3dce4c45b0Stephen Gallagher
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagherif GIT_CHECKOUT
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagherprerelease-rpms:
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagher sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher $(MAKE) rpms
78fe240e7c47f45c87cdfba0107fca6390401137Stephen Gallagher mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
cc751fbea9f05c7ce151f4c82afb6585d4b846bbStephen Gallagherendif
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozek
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher# make srpms will use the old digest algorithm to be compatible
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher# with RHEL5
78e5b91e6b22efbcd0621144b104ac9dfd487e5bJakub Hrozeksrpm: rpmbrprep
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher cd $(RPMBUILD); \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher rpmbuild --define "_topdir $(RPMBUILD)" \
e9ea1b4e59384cdfe3accdf31e5c579c3dad5591Stephen Gallagher -bs SPECS/sssd.spec
1df8e4158e752f1f010394d09e8a5e4f8201fd7eStephen Gallagher
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagherif GIT_CHECKOUT
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagherprerelease-srpm:
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagher cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagher sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
13147b598a8409c338abb9472e74bbd606f224bdStephen Gallagher $(MAKE) srpm
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagher mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
1183d29d87c5c7439cf2364b7d7324d4a13b6e35Stephen Gallagherendif