Makefile.am revision f43825305e7e4a266d3c3885ed0c53d991d37019
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3Timo Sirainenextra_distcheck_flags =
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif HAVE_DEVSHM
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch extra_distcheck_flags += --with-test-dir=/dev/shm
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif WITH_JOURNALD
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch extra_distcheck_flags += --with-syslog=journald
a991cfe2157e58ee43bc580f517ce9ef0dfb7acfStephan Boschendif
de0181258ab66b527ad8dc7e51a8efa76b4658d0Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan BoschDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch --disable-dbus-tests \
0d5c9a80e91a4073d5fd6820e9ddce2755221f64Stephan Bosch --enable-all-experimental-features \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(extra_distcheck_flags) \
6d573191bea1a64d6046be070487a5705a2d0204Stephan Bosch $(AUX_DISTCHECK_CONFIGURE_FLAGS)
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan BoschSUBDIRS = po
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif HAVE_MANPAGES
7384b4e78eaab44693c985192276e31322155e32Stephan BoschSUBDIRS += src/man
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainen
1d048c5050f03c24251e5af8087e640de21b2d62Timo SirainenSUBDIRS += . src/tests/cwrap src/tests/intg
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainen
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainen# Some old versions of automake don't define builddir
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainenbuilddir ?= .
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainen
1d048c5050f03c24251e5af8087e640de21b2d62Timo SirainenDOXYGEN = @DOXYGEN@
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainen
1d048c5050f03c24251e5af8087e640de21b2d62Timo SirainenDISTSETUPOPTS =
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainenif HAVE_DEBIAN
1d048c5050f03c24251e5af8087e640de21b2d62Timo SirainenDISTSETUPOPTS += --install-layout=deb
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdlibexecdir = $(libexecdir)/sssd
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdlibdir = $(libdir)/sssd
7384b4e78eaab44693c985192276e31322155e32Stephan Boschldblibdir = @ldblibdir@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_KRB5_LOCATOR_PLUGIN
7384b4e78eaab44693c985192276e31322155e32Stephan Boschkrb5plugindir = @krb5pluginpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_KRB5_LOCALAUTH_PLUGIN
7384b4e78eaab44693c985192276e31322155e32Stephan Boschkrb5localauth_plugindir = @appmodpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_PAC_RESPONDER
7384b4e78eaab44693c985192276e31322155e32Stephan Boschkrb5authdata_plugindir = @krb5authdatapluginpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_CIFS_IDMAP_PLUGIN
7384b4e78eaab44693c985192276e31322155e32Stephan Boschcifsplugindir = @cifspluginpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_LIBWBCLIENT
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlibwbclientdir = @appmodpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdconfdir = $(sysconfdir)/sssd
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssddatadir = $(datadir)/sssd
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssdapiplugindir = $(sssddatadir)/sssd.api.d
7384b4e78eaab44693c985192276e31322155e32Stephan Boschdbuspolicydir = $(sysconfdir)/dbus-1/system.d
7384b4e78eaab44693c985192276e31322155e32Stephan Boschdbusservicedir = $(datadir)/dbus-1/system-services
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_statedir = $(localstatedir)/lib/sss
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Boschlocaledir = @localedir@
9145c8b5eda526d05bd4a7ced20f6f6f2ff8df03Stephan Boschnsslibdir = @nsslibdir@
9145c8b5eda526d05bd4a7ced20f6f6f2ff8df03Stephan Boschpamlibdir = @pammoddir@
9145c8b5eda526d05bd4a7ced20f6f6f2ff8df03Stephan Boschautofslibdir = @appmodpath@
7abab3b191860a3d77af5192b0649833c8a0c803Stephan Boschnfslibdir = @nfsidmaplibdir@
7abab3b191860a3d77af5192b0649833c8a0c803Stephan Bosch
7abab3b191860a3d77af5192b0649833c8a0c803Stephan Boschdbpath = @dbpath@
7abab3b191860a3d77af5192b0649833c8a0c803Stephan Boschpluginpath = @pluginpath@
7abab3b191860a3d77af5192b0649833c8a0c803Stephan Boschpidpath = @pidpath@
7abab3b191860a3d77af5192b0649833c8a0c803Stephan Boschpipepath = @pipepath@
7abab3b191860a3d77af5192b0649833c8a0c803Stephan Boschmcpath = @mcpath@
7abab3b191860a3d77af5192b0649833c8a0c803Stephan Boschinitdir = @initdir@
7abab3b191860a3d77af5192b0649833c8a0c803Stephan Boschsystemdunitdir = @systemdunitdir@
7abab3b191860a3d77af5192b0649833c8a0c803Stephan Boschsystemdconfdir = @systemdconfdir@
7abab3b191860a3d77af5192b0649833c8a0c803Stephan Boschlogpath = @logpath@
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschpubconfpath = @pubconfpath@
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschgpocachepath = @gpocachepath@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschkeytabdir = $(sss_statedir)/keytabs
7384b4e78eaab44693c985192276e31322155e32Stephan Boschpkgconfigdir = $(libdir)/pkgconfig
47a53a80656dc400ff8effdc1432a69fbf5ae8baTimo Sirainenkrb5rcachedir = @krb5rcachedir@
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsudolibdir = @sudolibpath@
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan BoschUNICODE_LIBS=@UNICODE_LIBS@
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan BoschMKDIR_P = @MKDIR_P@
7384b4e78eaab44693c985192276e31322155e32Stephan BoschINSTALL = @INSTALL@
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan BoschSSSD_USER = @SSSD_USER@
47a53a80656dc400ff8effdc1432a69fbf5ae8baTimo Sirainen
7384b4e78eaab44693c985192276e31322155e32Stephan BoschAM_CFLAGS =
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif WANT_AUX_INFO
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch AM_CFLAGS += -aux-info $@.X
6d573191bea1a64d6046be070487a5705a2d0204Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif HAVE_GCC
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen -Wcast-qual -Wcast-align -Wwrite-strings -Wundef \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen -Werror-implicit-function-declaration -Winit-self \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen -fno-strict-aliasing \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -std=gnu99
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschpkgconfig_DATA =
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan BoschACLOCAL_AMFLAGS = -I m4 -I .
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschif BUILD_SSH
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschbin_PROGRAMS = \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_ssh_authorizedkeys \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_ssh_knownhostsproxy
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschendif
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch
f74dbd3ff682fea040f60383e001620d1f1b09d3Stephan Boschsbin_PROGRAMS = \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sssd \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_useradd \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_userdel \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_groupadd \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_groupdel \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_usermod \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_groupmod \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_groupshow \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_cache \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_debuglevel \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_override \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch sss_seed \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch $(NULL)
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschsssdlibexec_PROGRAMS = \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch sssd_nss \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch sssd_pam \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch sssd_be \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch krb5_child \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch ldap_child \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch proxy_child \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch sss_signal \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch $(NULL)
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschif BUILD_SUDO
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschsssdlibexec_PROGRAMS += sssd_sudo
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschendif
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschif BUILD_AUTOFS
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschsssdlibexec_PROGRAMS += sssd_autofs
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschendif
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschif BUILD_SSH
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschsssdlibexec_PROGRAMS += sssd_ssh
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschendif
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschif BUILD_IFP
f74dbd3ff682fea040f60383e001620d1f1b09d3Stephan Boschsssdlibexec_PROGRAMS += sssd_ifp
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschendif
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschif BUILD_SAMBA
f74dbd3ff682fea040f60383e001620d1f1b09d3Stephan Boschsssdlibexec_PROGRAMS += gpo_child
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Boschendif
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Boschif BUILD_SEMANAGE
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Boschsssdlibexec_PROGRAMS += selinux_child
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Boschendif
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Boschif HAVE_NSS
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Boschsssdlibexec_PROGRAMS += p11_child
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Boschendif
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Bosch
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Boschif BUILD_PAC_RESPONDER
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Bosch sssdlibexec_PROGRAMS += sssd_pac
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Boschendif
f883bf3eff62f5d27df5ee9ee664edc38a77937fStephan Bosch
f883bf3eff62f5d27df5ee9ee664edc38a77937fStephan Boschif HAVE_CHECK
f883bf3eff62f5d27df5ee9ee664edc38a77937fStephan Bosch non_interactive_check_based_tests = \
f883bf3eff62f5d27df5ee9ee664edc38a77937fStephan Bosch dlopen-tests \
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Bosch sysdb-tests \
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Bosch strtonum-tests \
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Bosch resolv-tests \
f74dbd3ff682fea040f60383e001620d1f1b09d3Stephan Bosch krb5-utils-tests \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch check_and_open-tests \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch files-tests \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch refcount-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch fail_over-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch find_uid-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch auth-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch ipa_ldap_opt-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch ad_ldap_opt-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch simple_access-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch crypto-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch util-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch debug-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch ipa_hbac-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch sss_idmap-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch responder_socket_access-tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch safe-format-tests
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Boschif BUILD_SSH
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch non_interactive_check_based_tests += sysdb_ssh-tests
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Boschendif
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Boschif BUILD_IFP
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Boschif BUILD_CONFIG_LIB
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch non_interactive_check_based_tests += sss_config-tests
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Boschendif # BUILD_CONFIG_LIB
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Boschendif # BUILD_IFP
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Boschif BUILD_DBUS_TESTS
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch non_interactive_check_based_tests += \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sbus_tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch sbus_codegen_tests
e9228a3918aa0243eff4aae1ff5462bd3198417fTimo Sirainenendif # BUILD_DBUS_TESTS
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif # HAVE_CHECK
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainenif HAVE_CMOCKA
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch non_interactive_cmocka_based_tests = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch nss-srv-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch test-find-uid \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch test-io \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch test-negcache \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch test-authtok \
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen sss_nss_idmap-tests \
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen dyndns-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch fqnames-tests \
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen nestedgroups-tests \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch test_sss_idmap \
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch test_ipa_idmap \
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch test_utils \
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch ad_common_tests \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch dp_opt_tests \
3e9055cee8e331a84522dd1e65d0d0e09a4e8803Stephan Bosch responder-get-domains-tests \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch sbus-internal-tests \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch sss_sifp-tests \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch test_search_bases \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch test_ldap_auth \
fe681e6db72f30bd754b622005bbe298e5ca775aTimo Sirainen test_sdap_access \
fe681e6db72f30bd754b622005bbe298e5ca775aTimo Sirainen sdap-tests \
fe681e6db72f30bd754b622005bbe298e5ca775aTimo Sirainen test_sysdb_views \
fe681e6db72f30bd754b622005bbe298e5ca775aTimo Sirainen test_sysdb_subdomains \
fe681e6db72f30bd754b622005bbe298e5ca775aTimo Sirainen test_sysdb_utils \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch test_be_ptask \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch test_copy_ccache \
a991cfe2157e58ee43bc580f517ce9ef0dfb7acfStephan Bosch test_copy_keytab \
fb1be3de0159d6a10e916ad992e2bc53be64c6d5Timo Sirainen test_child_common \
fb1be3de0159d6a10e916ad992e2bc53be64c6d5Timo Sirainen responder_cache_req-tests \
129596c93692b21d6c6b1313b389774af24c2983Stephan Bosch test_sbus_opath \
fca68889b287d8eed4babe72a231bd6079da012dStephan Bosch test_fo_srv \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen pam-srv-tests \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen test_ipa_subdom_util \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen test_ipa_subdom_server \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen test_krb5_wait_queue \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch test_cert_utils \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch test_ldap_id_cleanup \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch test_data_provider_be \
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen $(NULL)
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif HAVE_LIBRESOLV
79f8a20424633e806447bc9375a5ab403aabc758Stephan Boschnon_interactive_cmocka_based_tests += test_resolv_fake
79f8a20424633e806447bc9375a5ab403aabc758Stephan Boschendif # HAVE_LIBRESOLV
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch
79f8a20424633e806447bc9375a5ab403aabc758Stephan Boschif BUILD_IFP
79f8a20424633e806447bc9375a5ab403aabc758Stephan Boschnon_interactive_cmocka_based_tests += ifp_tests
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainenendif # BUILD_IFP
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen
79f8a20424633e806447bc9375a5ab403aabc758Stephan Boschif BUILD_SAMBA
79f8a20424633e806447bc9375a5ab403aabc758Stephan Boschnon_interactive_cmocka_based_tests += \
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch ad_access_filter_tests \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch ad_gpo_tests
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Boschendif
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Boschendif # HAVE_CMOCKA
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch
79f8a20424633e806447bc9375a5ab403aabc758Stephan Boschcheck_PROGRAMS = \
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch stress-tests \
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch krb5-child-test \
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch $(non_interactive_cmocka_based_tests) \
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch $(non_interactive_check_based_tests)
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch
79f8a20424633e806447bc9375a5ab403aabc758Stephan Boschif HAVE_CMOCKA
79f8a20424633e806447bc9375a5ab403aabc758Stephan Boschcheck_PROGRAMS += dummy-child
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Boschendif # HAVE_CMOCKA
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen
79f8a20424633e806447bc9375a5ab403aabc758Stephan BoschPYTHON_TESTS =
79f8a20424633e806447bc9375a5ab403aabc758Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_PYTHON2_BINDINGS
fc94140acba51adafedafbc8491a3223a51db7a8Stephan BoschPYTHON_TESTS += src/config/SSSDConfigTest.py2.sh \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tests/pyhbac-test.py2.sh \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tests/pysss_murmur-test.py2.sh \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch $(NULL)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_PYTHON3_BINDINGS
7384b4e78eaab44693c985192276e31322155e32Stephan BoschPYTHON_TESTS += src/config/SSSDConfigTest.py3.sh \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tests/pyhbac-test.py3.sh \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tests/pysss_murmur-test.py3.sh \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(NULL)
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan BoschTEST_EXTENSIONS = .sh
7384b4e78eaab44693c985192276e31322155e32Stephan BoschTESTS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(PYTHON_TESTS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(non_interactive_cmocka_based_tests) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(non_interactive_check_based_tests) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tests/whitespace_test \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(NULL)
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainensssdlib_LTLIBRARIES = \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen libsss_ldap.la \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen libsss_krb5.la \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen libsss_proxy.la \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch libsss_simple.la
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_SAMBA
49287618521ff2c69385456de116e5d1581426c0Timo Sirainensssdlib_LTLIBRARIES += \
49287618521ff2c69385456de116e5d1581426c0Timo Sirainen libsss_ipa.la \
49287618521ff2c69385456de116e5d1581426c0Timo Sirainen libsss_ad.la
49287618521ff2c69385456de116e5d1581426c0Timo Sirainenendif
49287618521ff2c69385456de116e5d1581426c0Timo Sirainen
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschldblib_LTLIBRARIES = \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch memberof.la
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Boschif BUILD_KRB5_LOCATOR_PLUGIN
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Boschkrb5plugin_LTLIBRARIES = \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch sssd_krb5_locator_plugin.la
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschendif
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschif BUILD_KRB5_LOCALAUTH_PLUGIN
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschkrb5localauth_plugin_LTLIBRARIES = \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch sssd_krb5_localauth_plugin.la
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschendif
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschif BUILD_PAC_RESPONDER
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschkrb5authdata_plugin_LTLIBRARIES = \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch sssd_pac_plugin.la
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschendif
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschif BUILD_CIFS_IDMAP_PLUGIN
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschcifsplugin_LTLIBRARIES = \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch cifs_idmap_sss.la
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschendif
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschnoinst_LTLIBRARIES =
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Boschpkglib_LTLIBRARIES =
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschif BUILD_PYTHON2_BINDINGS
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschpy2exec_LTLIBRARIES = \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch _py2sss.la \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch _py2hbac.la \
b99130e4cf4af4e6b103b949456222f3a2dff424Timo Sirainen _py2sss_murmur.la \
b99130e4cf4af4e6b103b949456222f3a2dff424Timo Sirainen _py2sss_nss_idmap.la \
b99130e4cf4af4e6b103b949456222f3a2dff424Timo Sirainen $(NULL)
b99130e4cf4af4e6b103b949456222f3a2dff424Timo Sirainenendif
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschif BUILD_PYTHON3_BINDINGS
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschpy3exec_LTLIBRARIES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch _py3sss.la \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch _py3hbac.la \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch _py3sss_murmur.la \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen _py3sss_nss_idmap.la \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen $(NULL)
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainenendif
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainendist_noinst_SCRIPTS = \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen $(EXTRA_SCRIPTS) \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/config/setup.py \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/config/SSSDConfig/ipachangeconf.py \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/config/SSSDConfig/__init__.py \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/config/SSSDConfigTest.py \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/config/SSSDConfigTest.py2.sh \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/config/SSSDConfigTest.py3.sh \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/config/SSSDConfig/sssd_upgrade_config.py \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen contrib/rhel/update_debug_levels.py \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen contrib/fedora/bashrc_sssd \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen contrib/fedora/make_srpm.sh \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen contrib/ci/clean \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen contrib/ci/make-check-wrap \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen contrib/ci/rpm-spec-builddeps \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen contrib/ci/run \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen contrib/ci/valgrind-condense \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/tests/pyhbac-test.py \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/tests/pyhbac-test.py2.sh \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/tests/pyhbac-test.py3.sh \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/tests/pysss_murmur-test.py \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/tests/pysss_murmur-test.py2.sh \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/tests/pysss_murmur-test.py3.sh \
84740b03d3ee9e96a2e446a54729188764c99292Timo Sirainen src/tests/python-test.py \
6d573191bea1a64d6046be070487a5705a2d0204Stephan Bosch src/tests/whitespace_test \
6d573191bea1a64d6046be070487a5705a2d0204Stephan Bosch src/tests/krb5_proxy_check_test_data.conf \
6d573191bea1a64d6046be070487a5705a2d0204Stephan Bosch $(NULL)
6d573191bea1a64d6046be070487a5705a2d0204Stephan Bosch
6d573191bea1a64d6046be070487a5705a2d0204Stephan Boschdist_noinst_DATA = \
6d573191bea1a64d6046be070487a5705a2d0204Stephan Bosch src/config/testconfigs/sssd-valid.conf \
6d573191bea1a64d6046be070487a5705a2d0204Stephan Bosch src/config/testconfigs/noparse.api.conf \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/config/testconfigs/sssd-noversion.conf \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/config/testconfigs/sssd-badversion.conf \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/config/testconfigs/sssd-invalid.conf \
4521d35c263add6af3f1ae55b3760291767ce50cTimo Sirainen src/config/testconfigs/sssd-invalid-badbool.conf \
4521d35c263add6af3f1ae55b3760291767ce50cTimo Sirainen src/config/etc/sssd.api.d/crash_test_dummy \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch contrib/ci/README.md \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen contrib/ci/configure.sh \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch contrib/ci/deps.sh \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch contrib/ci/distro.sh \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen contrib/ci/misc.sh \
4521d35c263add6af3f1ae55b3760291767ce50cTimo Sirainen contrib/ci/sssd.supp \
4521d35c263add6af3f1ae55b3760291767ce50cTimo Sirainen src/tests/cmocka/p11_nssdb/cert9.db \
dde71564d306d07cba63bdf0f40996ffb90ca47aTimo Sirainen src/tests/cmocka/p11_nssdb/key4.db \
dde71564d306d07cba63bdf0f40996ffb90ca47aTimo Sirainen $(NULL)
dde71564d306d07cba63bdf0f40996ffb90ca47aTimo Sirainen
4521d35c263add6af3f1ae55b3760291767ce50cTimo Sirainen###############################
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen# Global compilation settings #
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen###############################
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo SirainenAM_CPPFLAGS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -Wall \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -Iinclude \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen -I.. \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -I$(srcdir)/include \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -I$(srcdir)/src/sss_client \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -I$(srcdir)/src \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch -Iinclude \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch -I. \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(POPT_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(TALLOC_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(TDB_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(TEVENT_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(LDB_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(DBUS_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(PCRE_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(COLLECTION_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(INI_CONFIG_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(DHASH_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(LIBNL_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(OPENLDAP_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(GLIB2_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch $(JOURNALD_CFLAGS) \
7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0Stephan Bosch -DLIBDIR=\"$(libdir)\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DVARDIR=\"$(localstatedir)\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSSS_STATEDIR=\"$(sss_statedir)\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSYSCONFDIR=\"$(sysconfdir)\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSHLIBEXT=\"$(SHLIBEXT)\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSSSD_LIBEXEC_PATH=\"$(sssdlibexecdir)\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSSSD_CONF_DIR=\"$(sssdconfdir)\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSSS_NSS_MCACHE_DIR=\"$(mcpath)\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSSS_PAC_SOCKET_NAME=\"$(pipepath)/pac\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSSS_SUDO_SOCKET_NAME=\"$(pipepath)/sudo\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSSS_AUTOFS_SOCKET_NAME=\"$(pipepath)/autofs\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DSSS_SSH_SOCKET_NAME=\"$(pipepath)/ssh\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DLOCALEDIR=\"$(localedir)\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch -DBASE_FILE_STEM=\"$(*F)\" \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch $(NULL)
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch
b66def5dadd3e7c250313a938d26ad113663f86bStephan BoschEXTRA_DIST =
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo SirainenSSSD_RESPONDER_OBJ = \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/responder/common/negcache.c \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/responder/common/responder_cmd.c \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/responder/common/responder_common.c \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/responder/common/responder_dp.c \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/responder/common/responder_packet.c \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/responder/common/responder_get_domains.c \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/responder/common/responder_utils.c \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/responder/common/responder_cache_req.c \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/monitor/monitor_iface_generated.c \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/monitor/monitor_iface_generated.h \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/providers/data_provider_iface_generated.c \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/providers/data_provider_iface_generated.h \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/providers/data_provider_req.c
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo SirainenSSSD_TOOLS_OBJ = \
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainen src/tools/sss_sync_ops.c \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch src/tools/tools_util.c \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch src/tools/files.c \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch src/tools/selinux.c \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch src/tools/common/sss_tools.c \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch src/util/nscd.c \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch $(NULL)
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch
befccf297cba74009dfd0447a0dcea018af756feStephan BoschSSSD_LCL_TOOLS_OBJ = \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/sss_client/common.c \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/tools/tools_mc_util.c \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch $(SSSD_TOOLS_OBJ)
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch
befccf297cba74009dfd0447a0dcea018af756feStephan BoschSSSD_RESOLV_OBJ = \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/resolv/async_resolv.c \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/resolv/async_resolv_utils.c
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch
befccf297cba74009dfd0447a0dcea018af756feStephan BoschSSSD_FAILOVER_OBJ = \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/providers/fail_over.c \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/providers/fail_over_srv.c \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch $(SSSD_RESOLV_OBJ)
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch
befccf297cba74009dfd0447a0dcea018af756feStephan BoschSSSD_LIBS = \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch $(TALLOC_LIBS) \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch $(TEVENT_LIBS) \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch $(POPT_LIBS) \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch $(LDB_LIBS) \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch $(DBUS_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(PCRE_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(INI_CONFIG_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(COLLECTION_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(DHASH_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(OPENLDAP_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(TDB_LIBS)
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan BoschPYTHON_BINDINGS_LIBS = \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(TALLOC_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(POPT_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(LDB_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(NULL)
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan BoschTOOLS_LIBS = \
de0181258ab66b527ad8dc7e51a8efa76b4658d0Stephan Bosch $(LTLIBINTL) \
de0181258ab66b527ad8dc7e51a8efa76b4658d0Stephan Bosch $(TALLOC_LIBS) \
de0181258ab66b527ad8dc7e51a8efa76b4658d0Stephan Bosch $(TEVENT_LIBS) \
de0181258ab66b527ad8dc7e51a8efa76b4658d0Stephan Bosch $(POPT_LIBS) \
de0181258ab66b527ad8dc7e51a8efa76b4658d0Stephan Bosch $(LDB_LIBS) \
de0181258ab66b527ad8dc7e51a8efa76b4658d0Stephan Bosch $(DBUS_LIBS) \
de0181258ab66b527ad8dc7e51a8efa76b4658d0Stephan Bosch $(PCRE_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(INI_CONFIG_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(COLLECTION_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(DHASH_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(OPENLDAP_LIBS) \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch $(TDB_LIBS)
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Boschif BUILD_SELINUX
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch TOOLS_LIBS += $(SELINUX_LIBS)
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Boschendif
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Boschdist_noinst_HEADERS = \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch src/monitor/monitor.h \
19db4c57fd7acc9e54e5724ccfa0633a5665dfefTimo Sirainen src/util/crypto/sss_crypto.h \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch src/util/cert.h \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch src/util/dlinklist.h \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch src/util/util.h \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch src/util/io.h \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch src/util/util_errors.h \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch src/util/safe-format-string.h \
2a9cadfccc8fb2c609eedbb929952b49181b6d25Stephan Bosch src/util/strtonum.h \
2a9cadfccc8fb2c609eedbb929952b49181b6d25Stephan Bosch src/util/sss_cli_cmd.h \
42630b23d5a1b03cf6db4eaa2eb21e3ec4033b2cTimo Sirainen src/util/sss_endian.h \
42630b23d5a1b03cf6db4eaa2eb21e3ec4033b2cTimo Sirainen src/util/sss_nss.h \
42630b23d5a1b03cf6db4eaa2eb21e3ec4033b2cTimo Sirainen src/util/sss_ldap.h \
42630b23d5a1b03cf6db4eaa2eb21e3ec4033b2cTimo Sirainen src/util/sss_python.h \
2a9cadfccc8fb2c609eedbb929952b49181b6d25Stephan Bosch src/util/sss_krb5.h \
2a9cadfccc8fb2c609eedbb929952b49181b6d25Stephan Bosch src/util/sss_selinux.h \
b2a3fbfe1b436123bbe1849eeeef9bb0c28b1f90Timo Sirainen src/util/sss_utf8.h \
b2a3fbfe1b436123bbe1849eeeef9bb0c28b1f90Timo Sirainen src/util/sss_ssh.h \
b2a3fbfe1b436123bbe1849eeeef9bb0c28b1f90Timo Sirainen src/util/sss_ini.h \
b2a3fbfe1b436123bbe1849eeeef9bb0c28b1f90Timo Sirainen src/util/sss_format.h \
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainen src/util/sss_config.h \
2a9cadfccc8fb2c609eedbb929952b49181b6d25Stephan Bosch src/util/refcount.h \
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainen src/util/find_uid.h \
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainen src/util/user_info_msg.h \
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainen src/util/murmurhash3.h \
1d048c5050f03c24251e5af8087e640de21b2d62Timo Sirainen src/util/mmap_cache.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/util/atomic_io.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/util/auth_utils.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/util/authtok.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/util/authtok-utils.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/util/util_safealign.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/util/util_sss_idmap.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/monitor/monitor.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/monitor/monitor_interfaces.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/responder/common/responder.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/responder/common/responder_packet.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/responder/common/responder_sbus.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/responder/common/responder_cache_req.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/responder/pam/pamsrv.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/responder/pam/pam_helpers.h \
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Bosch src/responder/nss/nsssrv.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/responder/nss/nsssrv_private.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/responder/nss/nsssrv_netgroup.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/responder/nss/nsssrv_services.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/responder/nss/nsssrv_mmap_cache.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/responder/pac/pacsrv.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/responder/common/negcache.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/responder/sudo/sudosrv_private.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/responder/autofs/autofs_private.h \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/responder/ssh/sshsrv_private.h \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/responder/ifp/ifp_private.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/responder/ifp/ifp_domains.h \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/responder/ifp/ifp_components.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/responder/ifp/ifp_users.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/responder/ifp/ifp_groups.h \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/responder/ifp/ifp_cache.h \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/sbus/sbus_client.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/sbus/sssd_dbus.h \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/sbus/sssd_dbus_meta.h \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/sbus/sssd_dbus_private.h \
6d573191bea1a64d6046be070487a5705a2d0204Stephan Bosch src/sbus/sssd_dbus_invokers.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/sbus/sssd_dbus_errors.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/db/sysdb.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/db/sysdb_sudo.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/db/sysdb_autofs.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/db/sysdb_selinux.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/db/sysdb_private.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/db/sysdb_services.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/db/sysdb_ssh.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/confdb/confdb.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/confdb/confdb_private.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/confdb/confdb_setup.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/providers/data_provider.h \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/providers/data_provider_req.h \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/providers/dp_backend.h \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/providers/dp_dyndns.h \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/providers/dp_ptask_private.h \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/providers/dp_ptask.h \
befccf297cba74009dfd0447a0dcea018af756feStephan Bosch src/providers/dp_refresh.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/providers/fail_over.h \
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Bosch src/providers/fail_over_srv.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/util/child_common.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/providers/simple/simple_access.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/providers/krb5/krb5_auth.h \
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Bosch src/providers/krb5/krb5_common.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/providers/krb5/krb5_utils.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/providers/krb5/krb5_init_shared.h \
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Bosch src/providers/krb5/krb5_opts.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/providers/krb5/krb5_ccache.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/providers/ldap/ldap_common.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/providers/ldap/sdap.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/providers/ldap/sdap_access.h \
6d573191bea1a64d6046be070487a5705a2d0204Stephan Bosch src/providers/ldap/sdap_async.h \
6d573191bea1a64d6046be070487a5705a2d0204Stephan Bosch src/providers/ldap/sdap_async_private.h \
6d573191bea1a64d6046be070487a5705a2d0204Stephan Bosch src/providers/ldap/sdap_sudo_cache.h \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/providers/ldap/sdap_sudo.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/providers/ldap/sdap_autofs.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/providers/ldap/sdap_id_op.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/providers/ldap/ldap_opts.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/providers/ldap/ldap_auth.h \
47a53a80656dc400ff8effdc1432a69fbf5ae8baTimo Sirainen src/providers/ldap/sdap_range.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/providers/ldap/sdap_users.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/providers/ldap/sdap_dyndns.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/providers/ldap/sdap_async_enum.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/providers/ipa/ipa_common.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/providers/ipa/ipa_config.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/providers/ipa/ipa_access.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/providers/ipa/ipa_selinux.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/providers/ipa/ipa_hosts.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/providers/ipa/ipa_selinux_maps.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/providers/ipa/ipa_auth.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/providers/ipa/ipa_dyndns.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/providers/ipa/ipa_subdomains.h \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/providers/ipa/ipa_id.h \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/providers/ipa/ipa_hostid.h \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/providers/ipa/ipa_opts.h \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/providers/ipa/ipa_srv.h \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/providers/ad/ad_srv.h \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/providers/proxy/proxy.h \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/tools/tools_util.h \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/tools/sss_sync_ops.h \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/resolv/async_resolv.h \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/tests/common.h \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/tests/common_check.h \
e47c2f17d8136c4d972d1074a3f84ba2ecef4fdcStephan Bosch src/tests/cmocka/common_mock.h \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tests/cmocka/common_mock_resp.h \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/tests/cmocka/common_mock_sdap.h \
57962a937b214be3a131f78005509afaa26fe4bfTimo Sirainen src/tests/cmocka/common_mock_sysdb_objects.h \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tests/cmocka/common_mock_krb5.h \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tests/cmocka/common_mock_be.h \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/tests/cmocka/test_expire_common.h \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/sss_client/pam_message.h \
31fa529029f35f65451fb1d119ed1d5435b62e46Timo Sirainen src/sss_client/ssh/sss_ssh_client.h \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/sss_client/sudo/sss_sudo.h \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/sss_client/libwbclient/libwbclient.h \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/sss_client/libwbclient/wbc_err_internal.h \
a991cfe2157e58ee43bc580f517ce9ef0dfb7acfStephan Bosch src/sss_client/libwbclient/wbclient_internal.h \
6bc9fb43cc1ac24693d030a6cbfa43bc7cbc82cbTimo Sirainen src/sss_client/libwbclient/wbc_sssd_internal.h \
6ab81c81be13f33486746deeffe02a1ef2bcc821Stephan Bosch src/sss_client/nfs/nfsidmap_internal.h \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/lib/idmap/sss_idmap_private.h \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/lib/sifp/sss_sifp_private.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/tests/cmocka/test_utils.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/tools/common/sss_tools.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/tools/common/sss_colondb.h \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch $(NULL)
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Boschif HAVE_NSS
8192e6fcab193e174a3258457e967a6fcc60b05eStephan Bosch dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
8192e6fcab193e174a3258457e967a6fcc60b05eStephan Boschendif
8192e6fcab193e174a3258457e967a6fcc60b05eStephan Bosch
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan BoschSSSD_DOCS = \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch doc \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch hbac_doc \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch idmap_doc \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch nss_idmap_doc
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch
f74dbd3ff682fea040f60383e001620d1f1b09d3Stephan Boschif BUILD_IFP
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch SSSD_DOCS += sss_simpleifp_doc
f883bf3eff62f5d27df5ee9ee664edc38a77937fStephan Boschendif
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan BoschCLIENT_LIBS = $(LTLIBINTL)
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Boschif HAVE_PTHREAD
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan BoschCLIENT_LIBS += -lpthread
f74dbd3ff682fea040f60383e001620d1f1b09d3Stephan Boschendif
f74dbd3ff682fea040f60383e001620d1f1b09d3Stephan Bosch
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Boschif WITH_JOURNALD
f883bf3eff62f5d27df5ee9ee664edc38a77937fStephan BoschSYSLOG_LIBS = $(JOURNALD_LIBS)
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Boschendif
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch
f74dbd3ff682fea040f60383e001620d1f1b09d3Stephan Bosch#####################
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch# Utility libraries #
0af543c1f5407f2fafd8685642e55385abade14aTimo Sirainen#####################
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Boschpkglib_LTLIBRARIES += libsss_debug.la
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Boschlibsss_debug_la_SOURCES = \
ede750711f27ca9d9037a7ab9f016411b57f1ad9Stephan Bosch src/util/debug.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/sss_log.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/util/sss_cli_cmd.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(NULL)
791fb70b3255a11a91ce0c2dc3ae1460d4cf8459Timo Sirainenlibsss_debug_la_LIBADD = \
791fb70b3255a11a91ce0c2dc3ae1460d4cf8459Timo Sirainen $(SYSLOG_LIBS)
aab7256cdcfb7abd01c822e3df8dd77a30c572e0Stephan Boschlibsss_debug_la_LDFLAGS = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch -avoid-version
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschpkglib_LTLIBRARIES += libsss_child.la
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_child_la_SOURCES = src/util/child_common.c
aab7256cdcfb7abd01c822e3df8dd77a30c572e0Stephan Boschlibsss_child_la_LIBADD = \
aab7256cdcfb7abd01c822e3df8dd77a30c572e0Stephan Bosch $(TALLOC_LIBS) \
aab7256cdcfb7abd01c822e3df8dd77a30c572e0Stephan Bosch $(TEVENT_LIBS) \
aab7256cdcfb7abd01c822e3df8dd77a30c572e0Stephan Bosch $(DHASH_LIBS) \
3d1edb8e3a07d91860cc6b4b3cec8282caa70891Stephan Bosch libsss_debug.la \
3d1edb8e3a07d91860cc6b4b3cec8282caa70891Stephan Bosch $(NULL)
aab7256cdcfb7abd01c822e3df8dd77a30c572e0Stephan Boschlibsss_child_la_LDFLAGS = -avoid-version
3d1edb8e3a07d91860cc6b4b3cec8282caa70891Stephan Bosch
aab7256cdcfb7abd01c822e3df8dd77a30c572e0Stephan Boschpkglib_LTLIBRARIES += libsss_crypt.la
aab7256cdcfb7abd01c822e3df8dd77a30c572e0Stephan Bosch
aab7256cdcfb7abd01c822e3df8dd77a30c572e0Stephan Bosch# NOTE:
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch# Please try to avoid using SSS_CRYPT_{CFLAGS,LIBS} directly for compiling and
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch# linking programs or libraries. This is purpose of wrapper library
aab7256cdcfb7abd01c822e3df8dd77a30c572e0Stephan Bosch# libsss_crypt.so to hide internals. SSS_CRYPT_{CFLAGS,LIBS} might be used
aab7256cdcfb7abd01c822e3df8dd77a30c572e0Stephan Bosch# in unit tests if you directly uses functions from underlining crypto libraries
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschif HAVE_NSS
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_base64.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/util/crypto/nss/nss_hmac_sha1.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/util/crypto/nss/nss_sha512crypt.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/crypto/nss/nss_obfuscate.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/crypto/nss/nss_util.c
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CRYPT_LIBS = $(NSS_LIBS)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CERT_SOURCES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/cert/cert_common.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/cert/nss/cert.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(NULL)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CERT_CFLAGS = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(NSS_CFLAGS) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(NULL)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CERT_LIBS = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(NSS_LIBS) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(NULL)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschelse
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_base64.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/crypto/libcrypto/crypto_hmac_sha1.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/crypto/libcrypto/crypto_sha512crypt.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/crypto/libcrypto/crypto_obfuscate.c
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch
99feb6521535a7dc59d8dda89981ceac084b3e88Timo Sirainen SSS_CERT_SOURCES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/cert/cert_common.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/cert/libcrypto/cert.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(NULL)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CERT_CFLAGS = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(CRYPTO_CFLAGS) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(NULL)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch SSS_CERT_LIBS = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(CRYPTO_LIBS) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(NULL)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschendif
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_crypt_la_SOURCES = \
0d5c9a80e91a4073d5fd6820e9ddce2755221f64Stephan Bosch $(SSS_CRYPT_SOURCES)
0d5c9a80e91a4073d5fd6820e9ddce2755221f64Stephan Boschlibsss_crypt_la_CFLAGS = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(AM_CFLAGS) \
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainen $(SSS_CRYPT_CFLAGS) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(DHASH_CFLAGS)
fb025942616dfec7770455a7092d01f2e516314dTimo Sirainenlibsss_crypt_la_LIBADD = \
fb025942616dfec7770455a7092d01f2e516314dTimo Sirainen $(SSS_CRYPT_LIBS) \
fb025942616dfec7770455a7092d01f2e516314dTimo Sirainen $(DHASH_LIBS) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(TALLOC_LIBS) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch libsss_debug.la \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(NULL)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_crypt_la_LDFLAGS = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch -avoid-version
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschpkglib_LTLIBRARIES += libsss_cert.la
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_cert_la_SOURCES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(SSS_CERT_SOURCES) \
35f3b7e05afecacd0332c210c6e253911c2813d8Timo Sirainen $(NULL)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_cert_la_CFLAGS = \
0d5c9a80e91a4073d5fd6820e9ddce2755221f64Stephan Bosch $(AM_CFLAGS) \
0d5c9a80e91a4073d5fd6820e9ddce2755221f64Stephan Bosch $(SSS_CERT_CFLAGS) \
35f3b7e05afecacd0332c210c6e253911c2813d8Timo Sirainen $(NULL)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_cert_la_LIBADD = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(SSS_CERT_LIBS) \
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainen $(TALLOC_LIBS) \
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainen libsss_crypt.la \
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainen libsss_debug.la \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(NULL)
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainenlibsss_cert_la_LDFLAGS = \
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainen -avoid-version \
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainen $(NULL)
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainen
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainenpkglib_LTLIBRARIES += libsss_util.la
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainenlibsss_util_la_SOURCES = \
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainen src/confdb/confdb.c \
a0613a630a412b0649b83c40c83f9fcfe50e1ad7Timo Sirainen src/db/sysdb.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/db/sysdb_ops.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/db/sysdb_search.c \
b36e026fb1e31bb76524cb345eb40c73e528507bStephan Bosch src/db/sysdb_selinux.c \
b36e026fb1e31bb76524cb345eb40c73e528507bStephan Bosch src/db/sysdb_upgrade.c \
b36e026fb1e31bb76524cb345eb40c73e528507bStephan Bosch src/db/sysdb_services.c \
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen src/db/sysdb_autofs.c \
b36e026fb1e31bb76524cb345eb40c73e528507bStephan Bosch src/db/sysdb_subdomains.c \
b36e026fb1e31bb76524cb345eb40c73e528507bStephan Bosch src/db/sysdb_views.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/db/sysdb_ranges.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/db/sysdb_idmap.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/db/sysdb_gpo.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/monitor/monitor_sbus.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/providers/dp_auth_util.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/providers/dp_pam_data_util.c \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/providers/dp_sbus.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/sbus/sbus_client.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/sbus/sssd_dbus_common.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/sbus/sssd_dbus_connection.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/sbus/sssd_dbus_meta.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/sbus/sssd_dbus_interface.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/sbus/sssd_dbus_introspect.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/sbus/sssd_dbus_invokers.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/sbus/sssd_dbus_properties.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/sbus/sssd_dbus_request.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/sbus/sssd_dbus_server.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/sbus/sssd_dbus_signals.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/sbus/sssd_dbus_common_signals.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/util/util.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/util/memory.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/util/safe-format-string.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/util/server.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/util/signal.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/util/usertools.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/util/backup_file.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/util/strtonum.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/util/check_and_open.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/util/refcount.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/util/sss_nss.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/util/sss_utf8.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/util/sss_tc_utf8.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/util/murmurhash3.c \
c3a4c931e95737a52e1cebeeb109a2e1cc4d47d6Timo Sirainen src/util/atomic_io.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/util/authtok.c \
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainen src/util/authtok-utils.c \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch src/util/sss_selinux.c \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch src/util/domain_info_utils.c \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch src/util/util_lock.c \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch src/util/util_errors.c \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch src/util/find_uid.c \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch src/util/sss_ini.c \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch src/util/io.c \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch src/util/util_sss_idmap.c \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch src/util/well_known_sids.c \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch src/util/string_utils.c \
99feb6521535a7dc59d8dda89981ceac084b3e88Timo Sirainen src/util/become_user.c \
173d53863744e8ed87e8fa4c32dfcf3759e2ceb0Stephan Bosch $(NULL)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlibsss_util_la_CFLAGS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(AM_CFLAGS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(SYSTEMD_LOGIN_CFLAGS) \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen $(NULL)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlibsss_util_la_LIBADD = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(SSSD_LIBS) \
667de5cf294d833b3d47dd455bacff4fd68dd146Timo Sirainen $(SYSTEMD_LOGIN_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(UNICODE_LIBS) \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch libsss_debug.la \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch libsss_child.la \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch libsss_crypt.la \
fb025942616dfec7770455a7092d01f2e516314dTimo Sirainen libsss_cert.la \
fb025942616dfec7770455a7092d01f2e516314dTimo Sirainen $(NULL)
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenif BUILD_SUDO
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch libsss_util_la_SOURCES += src/db/sysdb_sudo.c
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenif BUILD_SSH
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenlibsss_util_la_SOURCES += \
3d1edb8e3a07d91860cc6b4b3cec8282caa70891Stephan Bosch src/db/sysdb_ssh.c \
ea2c9ff03053b7d255984d6bbcb3a48c052d1e4dTimo Sirainen src/util/sss_ssh.c
5777eef991bdb9dc487e9b8e8da8a4579fc67f6cTimo Sirainenendif
b7540564b9d7b69ce8f6e5a80011ccd5f8b86005Timo Sirainenlibsss_util_la_LDFLAGS = -avoid-version
b7540564b9d7b69ce8f6e5a80011ccd5f8b86005Timo Sirainen
b7540564b9d7b69ce8f6e5a80011ccd5f8b86005Timo Sirainenpkglib_LTLIBRARIES += libsss_semanage.la
b7540564b9d7b69ce8f6e5a80011ccd5f8b86005Timo Sirainenlibsss_semanage_la_CFLAGS = \
b7540564b9d7b69ce8f6e5a80011ccd5f8b86005Timo Sirainen $(AM_CFLAGS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(TALLOC_CFLAGS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(NULL)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_semanage_la_SOURCES = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/util/sss_semanage.c \
3d1edb8e3a07d91860cc6b4b3cec8282caa70891Stephan Bosch $(NULL)
3d1edb8e3a07d91860cc6b4b3cec8282caa70891Stephan Boschlibsss_semanage_la_LIBADD = \
173d53863744e8ed87e8fa4c32dfcf3759e2ceb0Stephan Bosch $(TALLOC_LIBS) \
fb025942616dfec7770455a7092d01f2e516314dTimo Sirainen libsss_debug.la \
3d1edb8e3a07d91860cc6b4b3cec8282caa70891Stephan Bosch $(NULL)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschif BUILD_SEMANAGE
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschlibsss_semanage_la_LIBADD += $(SEMANAGE_LIBS)
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Boschendif
3d1edb8e3a07d91860cc6b4b3cec8282caa70891Stephan Bosch
069b28a2ef54072a221fe4ac67aaeb4e83fee6c1Timo Sirainenlibsss_semanage_la_LDFLAGS = \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch -avoid-version
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen
378e6cb162b355d6f103526505bc00b9a78962e7Timo SirainenSSSD_INTERNAL_LTLIBS = \
3d1edb8e3a07d91860cc6b4b3cec8282caa70891Stephan Bosch libsss_util.la \
a4e186e3ef267fc7a6b592788067c8c9c87d0785Stephan Bosch libsss_crypt.la \
173d53863744e8ed87e8fa4c32dfcf3759e2ceb0Stephan Bosch libsss_debug.la \
173d53863744e8ed87e8fa4c32dfcf3759e2ceb0Stephan Bosch libsss_child.la \
37703e8d00a3a486aafba6a276fef35b38eab948Timo Sirainen $(NULL)
37703e8d00a3a486aafba6a276fef35b38eab948Timo Sirainen
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenif BUILD_IFP
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenif BUILD_CONFIG_LIB
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenpkglib_LTLIBRARIES += libsss_config.la
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenlibsss_config_la_SOURCES = \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen src/util/sss_config.c
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenlibsss_config_la_CFLAGS = \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen $(AM_CFLAGS) \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen $(AUGEAS_CFLAGS) \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen $(TALLOC_CFLAGS)
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenlibsss_config_la_LIBADD = \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen $(AUGEAS_LIBS) \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen $(TALLOC_LIBS) \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen $(SSSD_INTERNAL_LTLIBS)
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenlibsss_config_la_LDFLAGS = \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen -avoid-version
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenendif # BUILD_CONFIG_LIB
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenendif # BUILD_IFP
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenlib_LTLIBRARIES = libipa_hbac.la \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen libsss_idmap.la \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen libsss_nss_idmap.la \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen $(NULL)
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenpkgconfig_DATA += src/providers/ipa/ipa_hbac.pc
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenlibipa_hbac_la_DEPENDENCIES = src/providers/ipa/ipa_hbac.exports
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenlibipa_hbac_la_SOURCES = \
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainen src/providers/ipa/hbac_evaluator.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/util/sss_utf8.c
378e6cb162b355d6f103526505bc00b9a78962e7Timo Sirainenlibipa_hbac_la_LIBADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(UNICODE_LIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlibipa_hbac_la_LDFLAGS = \
ccd968b44a40b9c2cf6278fabfa2a80cc5d9e46bTimo Sirainen -Wl,--version-script,$(srcdir)/src/providers/ipa/ipa_hbac.exports \
173d53863744e8ed87e8fa4c32dfcf3759e2ceb0Stephan Bosch -version-info 1:0:1
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Boschdist_noinst_DATA += src/providers/ipa/ipa_hbac.exports
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschpkgconfig_DATA += src/lib/idmap/sss_idmap.pc
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlibsss_idmap_la_DEPENDENCIES = src/lib/idmap/sss_idmap.exports
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlibsss_idmap_la_SOURCES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/lib/idmap/sss_idmap.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/lib/idmap/sss_idmap_conv.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/util/murmurhash3.c
27421074812b84d144b68388e597f4700f4f1c1bStephan Boschlibsss_idmap_la_LDFLAGS = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -Wl,--version-script,$(srcdir)/src/lib/idmap/sss_idmap.exports \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch -version-info 4:0:4
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschdist_noinst_DATA += src/lib/idmap/sss_idmap.exports
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschpkgconfig_DATA += src/sss_client/idmap/sss_nss_idmap.pc
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschlibsss_nss_idmap_la_DEPENDENCIES = src/sss_client/idmap/sss_nss_idmap.exports
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschlibsss_nss_idmap_la_SOURCES = \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch src/sss_client/idmap/sss_nss_idmap.c \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch src/sss_client/common.c \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch src/util/strtonum.c
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschlibsss_nss_idmap_la_LIBADD = \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch $(CLIENT_LIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlibsss_nss_idmap_la_LDFLAGS = \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch -Wl,--version-script,$(srcdir)/src/sss_client/idmap/sss_nss_idmap.exports \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch -version-info 1:0:1
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschdist_noinst_DATA += src/sss_client/idmap/sss_nss_idmap.exports
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Boschinclude_HEADERS = \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch src/providers/ipa/ipa_hbac.h \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch src/lib/idmap/sss_idmap.h \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch src/sss_client/idmap/sss_nss_idmap.h \
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch $(NULL)
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Boschif BUILD_LIBWBCLIENT
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Boschlibwbclient_LTLIBRARIES = libwbclient.la
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Boschpkgconfig_DATA += src/sss_client/libwbclient/wbclient_sssd.pc
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan Bosch
30f35cf5d1e1374d7fab4231e86144fc106a8e79Stephan BoschEXTRA_libwbclient_la_DEPENDENCIES = \
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch src/sss_client/libwbclient/wbclient.exports \
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch $(NULL)
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Boschlibwbclient_la_SOURCES = \
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch src/sss_client/libwbclient/wbc_guid.c \
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch src/sss_client/libwbclient/wbc_idmap_common.c \
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch src/sss_client/libwbclient/wbc_idmap_sssd.c \
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch src/sss_client/libwbclient/wbclient_common.c \
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch src/sss_client/libwbclient/wbclient_sssd.c \
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch src/sss_client/libwbclient/wbc_pam_sssd.c \
4c4c4a740bbb1b674d4b0dae009d1919f8ad96b7Stephan Bosch src/sss_client/libwbclient/wbc_pwd_sssd.c \
b99130e4cf4af4e6b103b949456222f3a2dff424Timo Sirainen src/sss_client/libwbclient/wbc_sid_common.c \
b99130e4cf4af4e6b103b949456222f3a2dff424Timo Sirainen src/sss_client/libwbclient/wbc_sid_sssd.c \
b99130e4cf4af4e6b103b949456222f3a2dff424Timo Sirainen src/sss_client/libwbclient/wbc_sssd_internal.h \
b99130e4cf4af4e6b103b949456222f3a2dff424Timo Sirainen src/sss_client/libwbclient/wbc_util_common.c \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch src/sss_client/libwbclient/wbc_util_sssd.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/sss_client/libwbclient/wbc_ctx_sssd.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(NULL)
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainenlibwbclient_la_LIBADD = \
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen libsss_nss_idmap.la \
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen $(CLIENT_LIBS) \
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen $(NULL)
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainenlibwbclient_la_LDFLAGS = \
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen -Wl,--version-script,$(srcdir)/src/sss_client/libwbclient/wbclient.exports \
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen -version-info @libwbclient_version_info@ \
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen $(NULL)
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainendist_noinst_DATA += src/sss_client/libwbclient/wbclient.exports \
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen $(NULL)
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Siraineninclude_HEADERS += src/sss_client/libwbclient/wbclient_sssd.h
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainenendif #BUILD_LIBWBCLIENT
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschif BUILD_IFP
7384b4e78eaab44693c985192276e31322155e32Stephan Boschlib_LTLIBRARIES += libsss_simpleifp.la
91a4eaad6cae9b59820a1fa3ad42ef7aea7d1e67Stephan Boschpkgconfig_DATA += src/lib/sifp/sss_simpleifp.pc
91a4eaad6cae9b59820a1fa3ad42ef7aea7d1e67Stephan Bosch
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschlibsss_simpleifp_la_SOURCES = \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/lib/sifp/sss_sifp.c \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/lib/sifp/sss_sifp_dbus.c \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/lib/sifp/sss_sifp_attrs.c \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/lib/sifp/sss_sifp_common.c \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/lib/sifp/sss_sifp_parser.c \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/lib/sifp/sss_sifp_utils.c
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschlibsss_simpleifp_la_CFLAGS = \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch $(AM_CFLAGS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch -I$(top_srcdir)/src/lib/sifp
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschlibsss_simpleifp_la_LIBADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(DBUS_LIBS) \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch $(DHASH_LIBS)
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Boschlibsss_simpleifp_la_LDFLAGS = \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch -Wl,--version-script,$(srcdir)/src/lib/sifp/sss_simpleifp.exports \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch -version-info 0:1:0
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschdist_noinst_DATA += src/lib/sifp/sss_simpleifp.exports
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschinclude_HEADERS += \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/lib/sifp/sss_sifp.h \
87c121a4c05b9cee46f1f757ec6999d441519abfStephan Bosch src/lib/sifp/sss_sifp_dbus.h
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch####################
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# Sbus Codegen #
31fa529029f35f65451fb1d119ed1d5435b62e46Timo Sirainen####################
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
99feb6521535a7dc59d8dda89981ceac084b3e88Timo Sirainen# Yes, the goal here is that the generated files end up in $(srcdir)
dde71564d306d07cba63bdf0f40996ffb90ca47aTimo Sirainen# not $(builddir). Always use $(srcdir) here.
dde71564d306d07cba63bdf0f40996ffb90ca47aTimo SirainenCODEGEN_XML = \
dde71564d306d07cba63bdf0f40996ffb90ca47aTimo Sirainen $(srcdir)/src/tests/sbus_codegen_tests.xml \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(srcdir)/src/monitor/monitor_iface.xml \
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch $(srcdir)/src/providers/data_provider_iface.xml \
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch $(srcdir)/src/responder/ifp/ifp_iface.xml
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan BoschSBUS_CODEGEN = src/sbus/sbus_codegen
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch
173d53863744e8ed87e8fa4c32dfcf3759e2ceb0Stephan BoschEXTRA_DIST += \
173d53863744e8ed87e8fa4c32dfcf3759e2ceb0Stephan Bosch $(SBUS_CODEGEN) \
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch $(CODEGEN_XML)
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan BoschSUFFIXES = .xml _generated.h _generated.c
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch.xml_generated.h:
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(srcdir)/$(SBUS_CODEGEN) --mode=header --output=$@ $<
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch.xml_generated.c:
173d53863744e8ed87e8fa4c32dfcf3759e2ceb0Stephan Bosch $(srcdir)/$(SBUS_CODEGEN) --mode=source --include=$(@:.c=.h) --output=$@ $<
173d53863744e8ed87e8fa4c32dfcf3759e2ceb0Stephan Bosch
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch# Regenerate when codegen changes
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan BoschCODEGEN_CODE = \
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch $(CODEGEN_XML:.xml=_generated.c) \
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch $(CODEGEN_XML:.xml=_generated.h)
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch$(CODEGEN_CODE): $(SBUS_CODEGEN)
22215c2d7538f4367c93e2d8b6ec4722463ac757Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan BoschBUILT_SOURCES = $(CODEGEN_CODE)
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch####################
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# Program Binaries #
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch####################
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssd_SOURCES = \
ccd968b44a40b9c2cf6278fabfa2a80cc5d9e46bTimo Sirainen src/monitor/monitor.c \
173d53863744e8ed87e8fa4c32dfcf3759e2ceb0Stephan Bosch src/monitor/monitor_netlink.c \
ccd968b44a40b9c2cf6278fabfa2a80cc5d9e46bTimo Sirainen src/confdb/confdb_setup.c \
2ff548b46061f984def8d36736745333b8405a31Timo Sirainen src/util/nscd.c \
ccd968b44a40b9c2cf6278fabfa2a80cc5d9e46bTimo Sirainen src/monitor/monitor_iface_generated.c \
ccd968b44a40b9c2cf6278fabfa2a80cc5d9e46bTimo Sirainen src/monitor/monitor_iface_generated.h
ccd968b44a40b9c2cf6278fabfa2a80cc5d9e46bTimo Sirainensssd_LDADD = \
173d53863744e8ed87e8fa4c32dfcf3759e2ceb0Stephan Bosch $(SSSD_LIBS) \
2ff548b46061f984def8d36736745333b8405a31Timo Sirainen $(INOTIFY_LIBS) \
2ff548b46061f984def8d36736745333b8405a31Timo Sirainen $(LIBNL_LIBS) \
ccd968b44a40b9c2cf6278fabfa2a80cc5d9e46bTimo Sirainen $(KEYUTILS_LIBS) \
2ff548b46061f984def8d36736745333b8405a31Timo Sirainen $(SSSD_INTERNAL_LTLIBS)
2ff548b46061f984def8d36736745333b8405a31Timo Sirainen
ccd968b44a40b9c2cf6278fabfa2a80cc5d9e46bTimo Sirainensssd_nss_SOURCES = \
ccd968b44a40b9c2cf6278fabfa2a80cc5d9e46bTimo Sirainen src/responder/nss/nsssrv.c \
ccd968b44a40b9c2cf6278fabfa2a80cc5d9e46bTimo Sirainen src/responder/nss/nsssrv_cmd.c \
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen src/responder/nss/nsssrv_netgroup.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/responder/nss/nsssrv_services.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/responder/nss/nsssrv_mmap_cache.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_RESPONDER_OBJ)
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainensssd_nss_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(TDB_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch libsss_idmap.la \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_INTERNAL_LTLIBS)
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainensssd_pam_SOURCES = \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen src/responder/pam/pam_LOCAL_domain.c \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen src/responder/pam/pamsrv.c \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen src/responder/pam/pamsrv_cmd.c \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen src/responder/pam/pamsrv_p11.c \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen src/responder/pam/pamsrv_dp.c \
f733f54c88d6acccad5e057f03a10d5221216c61Timo Sirainen src/responder/pam/pam_helpers.c \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen $(SSSD_RESPONDER_OBJ)
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainensssd_pam_LDADD = \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen $(TDB_LIBS) \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen $(SSSD_LIBS) \
93c9909f68f7d057e38cca3b4612ec8d0bf42999Timo Sirainen $(SELINUX_LIBS) \
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen $(PAM_LIBS) \
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen $(SSSD_INTERNAL_LTLIBS) \
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen $(NULL)
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainenif BUILD_SUDO
6c6915f4d75c352c63156df202fa51cd97524babStephan Boschsssd_sudo_SOURCES = \
6c6915f4d75c352c63156df202fa51cd97524babStephan Bosch src/responder/sudo/sudosrv.c \
6c6915f4d75c352c63156df202fa51cd97524babStephan Bosch src/responder/sudo/sudosrv_cmd.c \
6c6915f4d75c352c63156df202fa51cd97524babStephan Bosch src/responder/sudo/sudosrv_get_sudorules.c \
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen src/responder/sudo/sudosrv_query.c \
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen src/responder/sudo/sudosrv_dp.c \
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen $(SSSD_RESPONDER_OBJ)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssd_sudo_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_LIBS) \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch $(SSSD_INTERNAL_LTLIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_AUTOFS
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssd_autofs_SOURCES = \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/responder/autofs/autofssrv.c \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch src/responder/autofs/autofssrv_cmd.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/responder/autofs/autofssrv_dp.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_RESPONDER_OBJ)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssd_autofs_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_INTERNAL_LTLIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_SSH
e8f1e510df3ab051a816715c2056f0d10aee929eStephan Boschsssd_ssh_SOURCES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/responder/ssh/sshsrv.c \
6c6915f4d75c352c63156df202fa51cd97524babStephan Bosch src/responder/ssh/sshsrv_dp.c \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch src/responder/ssh/sshsrv_cmd.c \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch $(SSSD_RESPONDER_OBJ) \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch $(NULL)
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Boschsssd_ssh_LDADD = \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch $(SSSD_LIBS) \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch $(SSSD_INTERNAL_LTLIBS) \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch libsss_cert.la \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch $(NULL)
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Boschendif
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssd_pac_SOURCES = \
cb44fd2f888be7da34b5d3db2f4d3e88b989f0fbTimo Sirainen src/responder/pac/pacsrv.c \
47ff1eaf3bc13a702c8491d248d8d34d08796937Timo Sirainen src/responder/pac/pacsrv_cmd.c \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch src/responder/pac/pacsrv_utils.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_RESPONDER_OBJ)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssd_pac_CFLAGS = \
129596c93692b21d6c6b1313b389774af24c2983Stephan Bosch $(AM_CFLAGS) \
6bc9fb43cc1ac24693d030a6cbfa43bc7cbc82cbTimo Sirainen $(NDR_KRB5PAC_CFLAGS)
129596c93692b21d6c6b1313b389774af24c2983Stephan Boschsssd_pac_LDADD = \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch $(NDR_KRB5PAC_LIBS) \
c6494255de7b934281dd052960fd8ab5aa48e79eTimo Sirainen $(TDB_LIBS) \
9145c8b5eda526d05bd4a7ced20f6f6f2ff8df03Stephan Bosch $(SSSD_LIBS) \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch libsss_idmap.la \
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen $(SSSD_INTERNAL_LTLIBS)
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen
129596c93692b21d6c6b1313b389774af24c2983Stephan Boschif BUILD_IFP
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Boschsssd_ifp_SOURCES = \
6bc9fb43cc1ac24693d030a6cbfa43bc7cbc82cbTimo Sirainen src/responder/ifp/ifpsrv.c \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/responder/ifp/ifpsrv_cmd.c \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/responder/ifp/ifp_iface_generated.c \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch src/responder/ifp/ifp_iface_generated.h \
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch src/responder/ifp/ifp_iface.c \
6bc9fb43cc1ac24693d030a6cbfa43bc7cbc82cbTimo Sirainen src/responder/ifp/ifp_iface_nodes.c \
6bc9fb43cc1ac24693d030a6cbfa43bc7cbc82cbTimo Sirainen src/responder/ifp/ifpsrv_util.c \
d5c665cf2989d49922b63439ac45714e9755838aTimo Sirainen src/responder/ifp/ifp_domains.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/responder/ifp/ifp_components.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/responder/ifp/ifp_users.c \
d5c665cf2989d49922b63439ac45714e9755838aTimo Sirainen src/responder/ifp/ifp_groups.c \
d5c665cf2989d49922b63439ac45714e9755838aTimo Sirainen src/responder/ifp/ifp_cache.c \
d5c665cf2989d49922b63439ac45714e9755838aTimo Sirainen $(SSSD_RESPONDER_OBJ)
9145c8b5eda526d05bd4a7ced20f6f6f2ff8df03Stephan Boschsssd_ifp_CFLAGS = \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch $(AM_CFLAGS)
840abb812d2e8edc42b5e2a4e3838b8d5e759e6aStephan Boschsssd_ifp_LDADD = \
840abb812d2e8edc42b5e2a4e3838b8d5e759e6aStephan Bosch $(SSSD_LIBS) \
840abb812d2e8edc42b5e2a4e3838b8d5e759e6aStephan Bosch $(SSSD_INTERNAL_LTLIBS) \
5e4cdaaf560cfa94bfc014ce8e1a52e4d0a85b48Stephan Bosch libsss_cert.la \
5e4cdaaf560cfa94bfc014ce8e1a52e4d0a85b48Stephan Bosch $(NULL)
5e4cdaaf560cfa94bfc014ce8e1a52e4d0a85b48Stephan Boschdist_dbuspolicy_DATA = \
5e4cdaaf560cfa94bfc014ce8e1a52e4d0a85b48Stephan Bosch src/responder/ifp/org.freedesktop.sssd.infopipe.conf
5e4cdaaf560cfa94bfc014ce8e1a52e4d0a85b48Stephan Boschdist_dbusservice_DATA = \
6bc9fb43cc1ac24693d030a6cbfa43bc7cbc82cbTimo Sirainen src/responder/ifp/org.freedesktop.sssd.infopipe.service
6bc9fb43cc1ac24693d030a6cbfa43bc7cbc82cbTimo Sirainen
6bc9fb43cc1ac24693d030a6cbfa43bc7cbc82cbTimo Sirainenif BUILD_CONFIG_LIB
fca68889b287d8eed4babe72a231bd6079da012dStephan Boschsssd_ifp_LDADD += libsss_config.la
6bc9fb43cc1ac24693d030a6cbfa43bc7cbc82cbTimo Sirainenendif
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Bosch
d6a88217c273cc67f5de93949bdd065a15eeabe0Stephan Boschendif
6bc9fb43cc1ac24693d030a6cbfa43bc7cbc82cbTimo Sirainen
d5c665cf2989d49922b63439ac45714e9755838aTimo Sirainensssd_be_SOURCES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/providers/data_provider_be.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/providers/data_provider_req.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/providers/data_provider_fo.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/providers/data_provider_opts.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/providers/data_provider_callbacks.c \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/providers/dp_dyndns.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/providers/dp_ptask.c \
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen src/providers/dp_refresh.c \
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen src/monitor/monitor_iface_generated.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/monitor/monitor_iface_generated.h \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/providers/data_provider_iface_generated.c \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/providers/data_provider_iface_generated.h \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_FAILOVER_OBJ)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsssd_be_LDADD = \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch $(LIBADD_DL) \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch $(SSSD_LIBS) \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch $(CARES_LIBS) \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch $(PAM_LIBS) \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch $(SSSD_INTERNAL_LTLIBS)
de96afeeaa5242cffe89f1966457e935806b5746Stephan Boschsssd_be_LDFLAGS = \
de96afeeaa5242cffe89f1966457e935806b5746Stephan Bosch -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
cb44fd2f888be7da34b5d3db2f4d3e88b989f0fbTimo Sirainen -export-dynamic
47ff1eaf3bc13a702c8491d248d8d34d08796937Timo Sirainen
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainenif BUILD_PYTHON_BINDINGS
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_obfuscate_pythondir = $(sbindir)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschdist_sss_obfuscate_python_SCRIPTS = \
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen src/tools/sss_obfuscate
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
3e9055cee8e331a84522dd1e65d0d0e09a4e8803Stephan Boschdist_noinst_DATA += \
3e9055cee8e331a84522dd1e65d0d0e09a4e8803Stephan Bosch src/examples/sssd-example.conf \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/examples/sssdproxytest \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/examples/sudo \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/examples/logrotate \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/providers/sssd_be.exports \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch src/sss_client/COPYING \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/sss_client/COPYING.LESSER \
b66def5dadd3e7c250313a938d26ad113663f86bStephan Bosch src/m4
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch######################
d1f964d3f1dd9c5868b134c4f44dd63f3722eef7Timo Sirainen# Command-line Tools #
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch######################
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_useradd_SOURCES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tools/sss_useradd.c \
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Bosch $(SSSD_TOOLS_OBJ)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_useradd_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(TOOLS_LIBS) \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch $(SSSD_INTERNAL_LTLIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch libsss_semanage.la \
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen $(NULL)
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_userdel_SOURCES = \
d45ab3fff7c47f1719b9cd310228c0dac2bdd1b2Timo Sirainen src/tools/sss_userdel.c \
d45ab3fff7c47f1719b9cd310228c0dac2bdd1b2Timo Sirainen $(SSSD_LCL_TOOLS_OBJ)
d5c665cf2989d49922b63439ac45714e9755838aTimo Sirainensss_userdel_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(TOOLS_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_INTERNAL_LTLIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(CLIENT_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch libsss_semanage.la \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(NULL)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_userdel_CFLAGS = \
d5c665cf2989d49922b63439ac45714e9755838aTimo Sirainen $(AM_CFLAGS)
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_groupadd_SOURCES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tools/sss_groupadd.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_TOOLS_OBJ)
d5c665cf2989d49922b63439ac45714e9755838aTimo Sirainensss_groupadd_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(TOOLS_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_INTERNAL_LTLIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_groupdel_SOURCES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tools/sss_groupdel.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_LCL_TOOLS_OBJ)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainensss_groupdel_LDADD = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(TOOLS_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(SSSD_INTERNAL_LTLIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(CLIENT_LIBS)
d5c665cf2989d49922b63439ac45714e9755838aTimo Sirainensss_groupdel_CFLAGS = $(AM_CFLAGS)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainensss_usermod_SOURCES = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen src/tools/sss_usermod.c \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(SSSD_LCL_TOOLS_OBJ)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainensss_usermod_LDADD = \
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Bosch $(TOOLS_LIBS) \
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Bosch $(SSSD_INTERNAL_LTLIBS) \
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Bosch $(CLIENT_LIBS) \
27421074812b84d144b68388e597f4700f4f1c1bStephan Bosch libsss_semanage.la \
27421074812b84d144b68388e597f4700f4f1c1bStephan Bosch $(NULL)
27421074812b84d144b68388e597f4700f4f1c1bStephan Boschsss_usermod_CFLAGS = $(AM_CFLAGS)
27421074812b84d144b68388e597f4700f4f1c1bStephan Bosch
069def4dc35022852d569b7ab75a3b19d2cb0f1cTimo Sirainensss_groupmod_SOURCES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tools/sss_groupmod.c \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch $(SSSD_LCL_TOOLS_OBJ)
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschsss_groupmod_LDADD = \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch $(TOOLS_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_INTERNAL_LTLIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(CLIENT_LIBS)
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschsss_groupmod_CFLAGS = $(AM_CFLAGS)
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschsss_groupshow_SOURCES = \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch src/tools/sss_groupshow.c \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch $(SSSD_TOOLS_OBJ)
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Boschsss_groupshow_LDADD = \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch $(TOOLS_LIBS) \
4219de12b28f1936219e27501b9c4b27a4f8d53cStephan Bosch $(SSSD_INTERNAL_LTLIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
6ee9ce5ed955a1283dc22ad28980bf9cc23d4c4eStephan Boschsss_cache_SOURCES = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen src/tools/sss_cache.c \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(SSSD_LCL_TOOLS_OBJ)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainensss_cache_LDADD = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(TOOLS_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(SSSD_INTERNAL_LTLIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(CLIENT_LIBS)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainensss_cache_CFLAGS = $(AM_CFLAGS)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainensss_debuglevel_SOURCES = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen src/tools/sss_debuglevel.c \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(SSSD_TOOLS_OBJ)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainensss_debuglevel_LDADD = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(TOOLS_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(SSSD_INTERNAL_LTLIBS)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainensss_seed_SOURCES = \
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Bosch src/tools/sss_seed.c \
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Bosch $(SSSD_TOOLS_OBJ)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_seed_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(TOOLS_LIBS) \
eb325a5a90c1d2655e74972bde0de6a699d2c864Stephan Bosch $(SSSD_INTERNAL_LTLIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_signal_SOURCES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/tools/sss_signal.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_TOOLS_OBJ) \
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainen $(NULL)
35df1d3e03ffb05ee21077018f5154a4b1e47e37Timo Sirainensss_signal_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(TOOLS_LIBS) \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(SSSD_INTERNAL_LTLIBS) \
50a6d26bd9041f44b4cad0c0357c0c604c132cc8Stephan Bosch $(NULL)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainensss_override_SOURCES = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen src/tools/sss_override.c \
d5c665cf2989d49922b63439ac45714e9755838aTimo Sirainen src/tools/common/sss_colondb.c \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(SSSD_TOOLS_OBJ) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(NULL)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainensss_override_LDADD = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(TOOLS_LIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(SSSD_INTERNAL_LTLIBS) \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(NULL)
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainensss_override_CFLAGS = \
65c0e43da8cfc730eeb4634f8aa384081bbfa4e7Timo Sirainen $(AM_CFLAGS) \
27421074812b84d144b68388e597f4700f4f1c1bStephan Bosch $(NULL)
27421074812b84d144b68388e597f4700f4f1c1bStephan Bosch
27421074812b84d144b68388e597f4700f4f1c1bStephan Boschif BUILD_SUDO
27421074812b84d144b68388e597f4700f4f1c1bStephan Boschsss_sudo_cli_SOURCES = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/sss_client/common.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/sss_client/sudo/sss_sudo.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/sss_client/sudo/sss_sudo_response.c \
93cc87bb22386e020cee1093b6bd59295e0b33f0Stephan Bosch src/sss_client/sudo_testcli/sudo_testcli.c
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_sudo_cli_CFLAGS = $(AM_CFLAGS)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschsss_sudo_cli_LDADD = $(CLIENT_LIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Boschif BUILD_SSH
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainensss_ssh_authorizedkeys_SOURCES = \
d5c665cf2989d49922b63439ac45714e9755838aTimo Sirainen src/sss_client/common.c \
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen src/sss_client/ssh/sss_ssh_client.c \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch src/sss_client/ssh/sss_ssh_authorizedkeys.c
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainensss_ssh_authorizedkeys_CFLAGS = $(AM_CFLAGS)
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainensss_ssh_authorizedkeys_LDADD = \
d3d941cc89a8ef5fe0de16bd89e50030e5d22f5bStephan Bosch $(SSSD_INTERNAL_LTLIBS) \
d3d941cc89a8ef5fe0de16bd89e50030e5d22f5bStephan Bosch $(CLIENT_LIBS) $(TALLOC_LIBS) $(POPT_LIBS)
d3d941cc89a8ef5fe0de16bd89e50030e5d22f5bStephan Bosch
d3d941cc89a8ef5fe0de16bd89e50030e5d22f5bStephan Boschsss_ssh_knownhostsproxy_SOURCES = \
d3d941cc89a8ef5fe0de16bd89e50030e5d22f5bStephan Bosch src/sss_client/common.c \
e1d8d185fa74752ba6807e415a9c82ebfdb2082cStephan Bosch src/sss_client/ssh/sss_ssh_client.c \
d3d941cc89a8ef5fe0de16bd89e50030e5d22f5bStephan Bosch src/sss_client/ssh/sss_ssh_knownhostsproxy.c
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainensss_ssh_knownhostsproxy_CFLAGS = $(AM_CFLAGS)
5b6bfa39481f719c1fd6ed3febeaf7f0be9e8886Timo Sirainensss_ssh_knownhostsproxy_LDADD = \
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen $(SSSD_INTERNAL_LTLIBS) \
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen $(CLIENT_LIBS) $(TALLOC_LIBS) $(POPT_LIBS)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschendif
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen#################
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen# Feature Tests #
6c768e0e1ca2da178e79f7435c32ced01f6bcb24Timo Sirainen#################
7384b4e78eaab44693c985192276e31322155e32Stephan BoschTESTS_ENVIRONMENT = LDB_MODULES_PATH=$(abs_top_builddir)/ldb_mod_test_dir \
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainen SSS_TEST_DIR=$(TEST_DIR) \
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainen ABS_TOP_SRCDIR=$(abs_top_srcdir) \
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainen $(AUX_TESTS_ENVIRONMENT)
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainen
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainenldb_mod_test_dir: memberof.la
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainen $(MKDIR_P) $(builddir)/ldb_mod_test_dir
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainen cp $(builddir)/.libs/memberof.so $(builddir)/ldb_mod_test_dir
4124bebe6daab2cd05acb0416096fc47cb9abd92Timo Sirainen
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschcheck_LTLIBRARIES = \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch libsss_test_common.la
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Boschlibsss_test_common_la_SOURCES = \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/tests/common_tev.c \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/tests/common_dom.c \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/tests/leak_check.c \
a62fe4b300e2f591e939993aec4cac1e7ae30ad1Stephan Bosch src/tests/common.c
libsss_test_common_la_LIBADD = \
$(TALLOC_LIBS) \
$(TEVENT_LIBS)
if HAVE_CHECK
libsss_test_common_la_SOURCES += \
src/tests/common_check.c
check_LTLIBRARIES += \
libdlopen_test_providers.la \
libsss_nss_idmap_tests.la \
$(NULL)
if BUILD_SAMBA
check_LTLIBRARIES += libsss_ad_tests.la
endif
libdlopen_test_providers_la_SOURCES = \
$(sssd_be_SOURCES)
libdlopen_test_providers_la_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS) \
-DUNIT_TESTING
libdlopen_test_providers_la_LIBADD = \
$(PAM_LIBS) \
$(SSSD_LIBS) \
$(CARES_LIBS) \
$(SSSD_INTERNAL_LTLIBS)
libdlopen_test_providers_la_LDFLAGS = \
-shared \
-avoid-version \
-Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
-rpath $(abs_top_builddir) \
-export-dynamic
libsss_nss_idmap_tests_la_SOURCES = $(libsss_nss_idmap_la_SOURCES)
libsss_nss_idmap_tests_la_LIBADD = $(libsss_nss_idmap_la_LIBADD)
libsss_nss_idmap_tests_la_LDFLAGS = \
$(libsss_nss_idmap_la_LDFLAGS) \
-shared \
-rpath $(libdir) \
-Wl,--version-script,$(srcdir)/src/sss_client/idmap/sss_nss_idmap.unit_tests
dist_noinst_DATA += src/sss_client/idmap/sss_nss_idmap.unit_tests
libsss_ad_tests_la_SOURCES = $(libsss_ad_la_SOURCES)
libsss_ad_tests_la_CFLAGS = $(libsss_ad_la_CFLAGS)
libsss_ad_tests_la_LIBADD = $(libsss_ad_la_LIBADD)
libsss_ad_tests_la_LDFLAGS = \
-shared \
-rpath $(abs_top_builddir) \
$(NULL)
dlopen_tests_SOURCES = \
src/tests/dlopen-tests.c
dlopen_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
dlopen_tests_LDADD = \
$(LIBADD_DL) \
$(CHECK_LIBS)
EXTRA_sysdb_tests_DEPENDENCIES = \
$(ldblib_LTLIBRARIES)
sysdb_tests_SOURCES = \
src/tests/sysdb-tests.c
sysdb_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
sysdb_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
EXTRA_sysdb_ssh_tests_DEPENDENCIES = \
$(ldblib_LTLIBRARIES)
sysdb_ssh_tests_SOURCES = \
src/tests/sysdb_ssh-tests.c
sysdb_ssh_tests_CFLAGS = \
$(AM_CFLAGS)\
$(CHECK_CFLAGS)
sysdb_ssh_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
strtonum_tests_SOURCES = \
src/tests/strtonum-tests.c \
src/util/strtonum.c
strtonum_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
strtonum_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_debug.la \
libsss_test_common.la
krb5_utils_tests_SOURCES = \
src/tests/krb5_utils-tests.c \
src/providers/krb5/krb5_utils.c \
src/providers/krb5/krb5_ccache.c \
src/providers/krb5/krb5_common.c \
src/util/sss_krb5.c \
src/providers/data_provider_fo.c \
src/providers/data_provider_opts.c \
src/providers/data_provider_callbacks.c \
src/util/become_user.c \
$(SSSD_FAILOVER_OBJ) \
$(NULL)
krb5_utils_tests_CFLAGS = \
$(AM_CFLAGS) \
$(KRB5_CFLAGS) \
$(CHECK_CFLAGS)
krb5_utils_tests_LDADD = \
$(SSSD_LIBS)\
$(CARES_LIBS) \
$(KRB5_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
check_and_open_tests_SOURCES = \
src/tests/check_and_open-tests.c \
src/util/check_and_open.c
check_and_open_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
check_and_open_tests_LDADD = \
libsss_debug.la \
$(CHECK_LIBS) \
libsss_test_common.la
FILES_TESTS_LIBS = \
$(CHECK_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la
if BUILD_SELINUX
FILES_TESTS_LIBS += $(SELINUX_LIBS)
endif
if BUILD_SEMANAGE
FILES_TESTS_LIBS += $(SEMANAGE_LIBS)
endif
files_tests_SOURCES = \
src/tests/files-tests.c \
src/util/check_and_open.c \
src/util/atomic_io.c \
src/tools/selinux.c \
src/tools/files.c
files_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
files_tests_LDADD = \
$(FILES_TESTS_LIBS) \
libsss_test_common.la \
$(SSSD_INTERNAL_LTLIBS)
SSSD_RESOLV_TESTS_OBJ = \
$(SSSD_RESOLV_OBJ)
resolv_tests_SOURCES = \
src/tests/resolv-tests.c \
src/tests/common.c \
$(SSSD_RESOLV_TESTS_OBJ)
resolv_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS) \
-DBUILD_TXT
resolv_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(CARES_LIBS) \
libsss_debug.la \
libsss_test_common.la
refcount_tests_SOURCES = \
src/tests/refcount-tests.c \
$(NULL)
refcount_tests_CFLAGS = \
$(CHECK_CFLAGS)
refcount_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
fail_over_tests_SOURCES = \
src/tests/fail_over-tests.c \
$(SSSD_FAILOVER_OBJ) \
$(NULL)
fail_over_tests_CFLAGS = \
$(CHECK_CFLAGS)
fail_over_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(CARES_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
find_uid_tests_SOURCES = \
src/tests/find_uid-tests.c \
src/util/find_uid.c \
src/util/atomic_io.c \
src/util/strtonum.c
find_uid_tests_CFLAGS = \
$(AM_CFLAGS) \
$(TALLOC_CFLAGS) \
$(DHASH_CFLAGS) \
$(CHECK_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS)
find_uid_tests_LDADD = \
libsss_debug.la \
$(TALLOC_LIBS) \
$(DHASH_LIBS) \
$(CHECK_LIBS) \
$(SYSTEMD_LOGIN_LIBS) \
libsss_test_common.la
auth_tests_SOURCES = \
src/tests/auth-tests.c
auth_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
auth_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
ipa_ldap_opt_tests_SOURCES = \
src/providers/data_provider_opts.c \
src/providers/ldap/sdap.c \
src/providers/ldap/sdap_range.c \
src/providers/ldap/sdap_domain.c \
src/util/sss_ldap.c \
src/tests/ipa_ldap_opt-tests.c
ipa_ldap_opt_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
ipa_ldap_opt_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
$(LDB_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
$(OPENLDAP_LIBS) \
libsss_test_common.la
ad_ldap_opt_tests_SOURCES = \
src/tests/ad_ldap_opt-tests.c
ad_ldap_opt_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
ad_ldap_opt_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la
simple_access_tests_SOURCES = \
src/tests/simple_access-tests.c \
src/providers/simple/simple_access.c \
src/providers/simple/simple_access_check.c \
$(NULL)
simple_access_tests_LDADD = \
$(LIBADD_DL) \
$(CHECK_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
libdlopen_test_providers.la \
$(NULL)
util_tests_SOURCES = \
src/tests/util-tests.c \
$(NULL)
util_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS) \
$(NULL)
util_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
$(NULL)
safe_format_tests_SOURCES = \
src/tests/safe-format-tests.c
safe_format_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
safe_format_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
debug_tests_SOURCES = \
src/tests/debug-tests.c \
src/tests/common.c
debug_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
debug_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_debug.la
crypto_tests_SOURCES = \
src/tests/crypto-tests.c
crypto_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
crypto_tests_LDADD = \
$(CHECK_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
libsss_crypt.la \
libsss_debug.la \
libsss_test_common.la
ipa_hbac_tests_SOURCES = \
src/tests/ipa_hbac-tests.c
ipa_hbac_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
ipa_hbac_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la \
libipa_hbac.la
sss_idmap_tests_SOURCES = \
src/tests/sss_idmap-tests.c
sss_idmap_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
sss_idmap_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la \
libsss_idmap.la
responder_socket_access_tests_SOURCES = \
src/tests/responder_socket_access-tests.c \
src/responder/common/responder_common.c \
src/responder/common/responder_packet.c \
src/responder/common/responder_cmd.c
responder_socket_access_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
responder_socket_access_tests_LDADD = \
$(CHECK_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
endif
stress_tests_SOURCES = \
src/tests/stress-tests.c
stress_tests_LDADD = \
$(SSSD_LIBS) \
libsss_test_common.la
krb5_child_test_SOURCES = \
src/tests/krb5_child-test.c \
src/providers/krb5/krb5_utils.c \
src/providers/krb5/krb5_ccache.c \
src/providers/krb5/krb5_child_handler.c \
src/providers/krb5/krb5_common.c \
src/util/sss_krb5.c \
src/providers/data_provider_fo.c \
src/providers/data_provider_opts.c \
src/providers/data_provider_callbacks.c \
src/util/become_user.c \
$(SSSD_FAILOVER_OBJ) \
$(NULL)
krb5_child_test_CFLAGS = \
$(AM_CFLAGS) \
-DKRB5_CHILD_DIR=\"$(builddir)\" \
$(KRB5_CFLAGS) \
$(CHECK_CFLAGS)
krb5_child_test_LDADD = \
$(SSSD_LIBS) \
$(CARES_LIBS) \
$(KRB5_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
if BUILD_DBUS_TESTS
sbus_tests_SOURCES = \
src/tests/common_dbus.c \
src/tests/sbus_tests.c
sbus_tests_CFLAGS = \
$(CHECK_CFLAGS)
sbus_tests_LDADD = \
$(SSSD_INTERNAL_LTLIBS) \
$(SSSD_LIBS) \
$(CHECK_LIBS)
sbus_codegen_tests_SOURCES = \
src/tests/common_dbus.c \
src/tests/sbus_codegen_tests.c \
src/tests/sbus_codegen_tests_generated.c \
src/tests/sbus_codegen_tests_generated.h
sbus_codegen_tests_CFLAGS = \
$(CHECK_CFLAGS)
sbus_codegen_tests_LDADD = \
$(SSSD_INTERNAL_LTLIBS) \
$(SSSD_LIBS) \
$(CHECK_LIBS)
endif # BUILD_DBUS_TESTS
if BUILD_IFP
if BUILD_CONFIG_LIB
sss_config_tests_SOURCES = \
src/tests/sss_config-tests.c \
src/tests/common.c
sss_config_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
sss_config_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_config.la \
libsss_test_common.la
endif # BUILD_CONFIG_LIB
endif # BUILD_IFP
if HAVE_CMOCKA
TEST_MOCK_RESP_OBJ = \
src/tests/cmocka/common_mock_resp.c \
src/tests/cmocka/common_mock_resp_dp.c \
src/responder/common/responder_packet.c \
src/responder/common/responder_cmd.c \
src/responder/common/negcache.c \
src/responder/common/responder_common.c \
src/responder/common/responder_cache_req.c
TEST_MOCK_PROVIDER_OBJ = \
src/util/sss_ldap.c \
src/providers/data_provider_opts.c \
src/providers/ldap/ldap_options.c \
src/providers/ldap/sdap_domain.c \
src/providers/ldap/sdap.c \
src/providers/ldap/sdap_utils.c \
src/providers/ldap/sdap_range.c \
src/tests/cmocka/common_mock_sdap.c \
src/tests/cmocka/common_mock_sysdb_objects.c
EXTRA_nss_srv_tests_DEPENDENCIES = \
$(ldblib_LTLIBRARIES)
nss_srv_tests_SOURCES = \
$(TEST_MOCK_RESP_OBJ) \
src/tests/cmocka/test_nss_srv.c \
src/responder/nss/nsssrv_cmd.c \
src/responder/nss/nsssrv_netgroup.c \
src/responder/nss/nsssrv_services.c \
src/responder/nss/nsssrv_mmap_cache.c
nss_srv_tests_CFLAGS = \
$(AM_CFLAGS)
nss_srv_tests_LDFLAGS = \
-Wl,-wrap,sss_ncache_check_user \
-Wl,-wrap,sss_ncache_check_uid \
-Wl,-wrap,sss_ncache_check_sid \
-Wl,-wrap,sss_packet_get_body \
-Wl,-wrap,sss_packet_get_cmd \
-Wl,-wrap,sss_cmd_send_empty \
-Wl,-wrap,sss_cmd_done
nss_srv_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
libsss_idmap.la
EXTRA_pam_srv_tests_DEPENDENCIES = \
$(ldblib_LTLIBRARIES) \
$(NULL)
pam_srv_tests_SOURCES = \
$(TEST_MOCK_RESP_OBJ) \
src/tests/cmocka/test_pam_srv.c \
src/sss_client/pam_message.c \
src/responder/pam/pamsrv_cmd.c \
src/responder/pam/pamsrv_p11.c \
src/responder/pam/pam_helpers.c \
src/responder/pam/pamsrv_dp.c \
src/responder/pam/pam_LOCAL_domain.c \
$(NULL)
pam_srv_tests_CFLAGS = \
-U SSSD_LIBEXEC_PATH -DSSSD_LIBEXEC_PATH=\"$(abs_builddir)\" \
$(AM_CFLAGS) \
$(NULL)
pam_srv_tests_LDFLAGS = \
-Wl,-wrap,sss_packet_get_body \
-Wl,-wrap,sss_packet_get_cmd \
-Wl,-wrap,sss_cmd_send_empty \
-Wl,-wrap,sss_cmd_done \
-Wl,-wrap,pam_dp_send_req \
$(NULL)
pam_srv_tests_LDADD = \
$(CMOCKA_LIBS) \
$(PAM_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
libsss_idmap.la \
$(NULL)
EXTRA_responder_get_domains_tests_DEPENDENCIES = \
$(ldblib_LTLIBRARIES)
responder_get_domains_tests_SOURCES = \
src/responder/common/responder_get_domains.c \
src/tests/cmocka/test_responder_common.c \
src/tests/cmocka/common_mock_resp.c
responder_get_domains_tests_CFLAGS = \
$(AM_CFLAGS)
responder_get_domains_tests_LDFLAGS = \
-Wl,-wrap,sss_parse_name_for_domains
responder_get_domains_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
sbus_internal_tests_SOURCES = \
src/tests/cmocka/sbus_internal_tests.c \
src/sbus/sssd_dbus_request.c
sbus_internal_tests_CFLAGS = \
$(AM_CFLAGS)
sbus_internal_tests_LDFLAGS = \
-Wl,-wrap,dbus_bus_get \
-Wl,-wrap,dbus_pending_call_steal_reply \
-Wl,-wrap,dbus_pending_call_unref \
-Wl,-wrap,dbus_message_unref \
-Wl,-wrap,dbus_connection_unref \
-Wl,-wrap,dbus_connection_set_exit_on_disconnect \
-Wl,-wrap,hash_lookup
sbus_internal_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
libsss_util.la \
libsss_crypt.la \
libsss_debug.la \
libsss_test_common.la
test_find_uid_SOURCES = \
src/tests/cmocka/test_find_uid.c \
src/util/find_uid.c \
src/util/atomic_io.c \
src/util/strtonum.c
test_find_uid_CFLAGS = \
$(AM_CFLAGS) \
$(TALLOC_CFLAGS) \
$(DHASH_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS)
test_find_uid_LDADD = \
$(TALLOC_LIBS) \
$(DHASH_LIBS) \
$(CMOCKA_LIBS) \
$(SYSTEMD_LOGIN_LIBS) \
libsss_debug.la
test_io_SOURCES = \
src/tests/cmocka/test_io.c \
src/util/io.c \
src/tests/common.c
test_io_CFLAGS = \
$(AM_CFLAGS)
test_io_LDADD = \
$(CMOCKA_LIBS)
EXTRA_test_negcache_DEPENDENCIES = \
$(ldblib_LTLIBRARIES)
test_negcache_SOURCES = \
$(SSSD_RESPONDER_OBJ) \
src/tests/cmocka/test_negcache.c
test_negcache_CFLAGS = \
$(AM_CFLAGS) \
$(TALLOC_CFLAGS) \
$(DHASH_CFLAGS)
test_negcache_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
libsss_idmap.la
test_authtok_SOURCES = \
src/tests/cmocka/test_authtok.c \
src/util/authtok.c \
src/util/authtok-utils.c \
src/util/util.c
test_authtok_CFLAGS = \
$(AM_CFLAGS) \
$(TALLOC_CFLAGS) \
$(POPT_CFLAGS) \
$(DHASH_CFLAGS)
test_authtok_LDADD = \
$(TALLOC_LIBS) \
$(CMOCKA_LIBS) \
$(DHASH_LIBS) \
$(POPT_LIBS) \
libsss_test_common.la \
libsss_debug.la
sss_nss_idmap_tests_SOURCES = \
src/tests/cmocka/sss_nss_idmap-tests.c
sss_nss_idmap_tests_CFLAGS = \
$(AM_CFLAGS)
sss_nss_idmap_tests_LDADD = \
$(CMOCKA_LIBS) \
libsss_nss_idmap_tests.la \
$(NULL)
EXTRA_dyndns_tests_DEPENDENCIES = \
$(ldblib_LTLIBRARIES)
dyndns_tests_SOURCES = \
$(SSSD_RESOLV_OBJ) \
src/tests/cmocka/common_mock_be.c \
src/tests/cmocka/test_dyndns.c \
src/providers/data_provider_opts.c
dyndns_tests_CFLAGS = \
$(AM_CFLAGS) \
-DDYNDNS_TIMEOUT=2
dyndns_tests_LDFLAGS = \
-Wl,-wrap,execv \
-Wl,-wrap,getifaddrs \
-Wl,-wrap,freeifaddrs
dyndns_tests_LDADD = \
$(CARES_LIBS) \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
fqnames_tests_SOURCES = \
src/tests/cmocka/test_fqnames.c
fqnames_tests_CFLAGS = \
$(AM_CFLAGS)
fqnames_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
nestedgroups_tests_SOURCES = \
$(TEST_MOCK_PROVIDER_OBJ) \
src/providers/ldap/sdap_idmap.c \
src/tests/cmocka/test_nested_groups.c \
src/tests/cmocka/common_mock_be.c \
src/providers/ldap/sdap_async_nested_groups.c \
src/providers/ldap/sdap_ad_groups.c \
$(NULL)
nestedgroups_tests_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
nestedgroups_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_idmap.la \
libsss_test_common.la \
$(NULL)
test_sss_idmap_SOURCES = \
src/tests/cmocka/test_sss_idmap.c
test_sss_idmap_CFLAGS = \
$(AM_CFLAGS)
test_sss_idmap_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
libsss_idmap.la \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
test_ipa_idmap_SOURCES = \
src/tests/cmocka/test_ipa_idmap.c \
src/providers/ipa/ipa_idmap.c
test_ipa_idmap_CFLAGS = \
$(AM_CFLAGS)
test_ipa_idmap_LDFLAGS = \
-Wl,-wrap,sysdb_get_ranges
test_ipa_idmap_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
libsss_idmap.la \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
test_utils_SOURCES = \
src/tests/cmocka/test_utils.c \
src/tests/cmocka/test_sss_ssh.c \
src/tests/cmocka/test_string_utils.c \
$(NULL)
test_utils_CFLAGS = \
$(AM_CFLAGS)
test_utils_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
test_search_bases_SOURCES = \
src/tests/cmocka/test_search_bases.c
test_search_bases_LDADD = \
$(CMOCKA_LIBS) \
$(TALLOC_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_ldap_common.la \
libsss_test_common.la \
libdlopen_test_providers.la \
$(NULL)
test_ldap_auth_SOURCES = \
src/tests/cmocka/test_ldap_auth.c \
src/tests/cmocka/test_expire_common.c \
$(NULL)
test_ldap_auth_LDADD = \
$(CMOCKA_LIBS) \
$(TALLOC_LIBS) \
libsss_ldap_common.la \
libsss_test_common.la \
libdlopen_test_providers.la \
$(NULL)
test_ldap_id_cleanup_SOURCES = \
src/tests/cmocka/test_ldap_id_cleanup.c \
$(NULL)
test_ldap_id_cleanup_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(TEVENT_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_ldap_common.la \
libsss_test_common.la \
libdlopen_test_providers.la \
$(NULL)
test_sdap_access_SOURCES = \
src/tests/cmocka/test_sdap_access.c \
src/tests/cmocka/test_expire_common.c \
$(NULL)
test_sdap_access_LDADD = \
$(CMOCKA_LIBS) \
$(TALLOC_LIBS) \
libsss_ldap_common.la \
libsss_test_common.la \
libdlopen_test_providers.la \
$(NULL)
ad_access_filter_tests_SOURCES = \
src/tests/cmocka/test_ad_access_filter.c
ad_access_filter_tests_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(TEVENT_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_ldap_common.la \
libsss_ad_tests.la \
libsss_test_common.la \
libdlopen_test_providers.la \
$(NULL)
ad_gpo_tests_SOURCES = \
src/tests/cmocka/test_ad_gpo.c
ad_gpo_tests_CFLAGS = \
$(AM_CFLAGS) \
$(NDR_NBT_CFLAGS) \
$(NULL)
ad_gpo_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
$(NDR_NBT_LIBS) \
libsss_ldap_common.la \
libsss_idmap.la \
libsss_krb5_common.la \
libsss_ad_tests.la \
libsss_test_common.la \
libdlopen_test_providers.la \
$(NULL)
ad_common_tests_SOURCES = \
$(libsss_krb5_common_la_SOURCES) \
src/tests/cmocka/common_mock_krb5.c \
src/tests/cmocka/test_ad_common.c \
$(NULL)
ad_common_tests_LDFLAGS = \
-Wl,-wrap,sdap_set_sasl_options \
-Wl,-wrap,krb5_kt_default \
$(NULL)
ad_common_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(KEYUTILS_LIBS) \
$(KRB5_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_ldap_common.la \
libsss_test_common.la \
libdlopen_test_providers.la \
$(NULL)
dp_opt_tests_SOURCES = \
src/providers/data_provider_opts.c \
src/tests/cmocka/test_dp_opts.c
dp_opt_tests_CFLAGS = \
$(AM_CFLAGS)
dp_opt_tests_LDADD = \
$(CMOCKA_LIBS) \
$(TALLOC_LIBS) \
$(POPT_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
sdap_tests_SOURCES = \
src/providers/data_provider_opts.c \
src/providers/ldap/sdap_domain.c \
src/providers/ldap/sdap.c \
src/providers/ldap/sdap_range.c \
src/util/sss_ldap.c \
src/tests/cmocka/test_sdap.c \
$(NULL)
sdap_tests_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
sdap_tests_LDFLAGS = \
-Wl,-wrap,ldap_set_option \
-Wl,-wrap,ldap_get_dn \
-Wl,-wrap,ldap_memfree \
-Wl,-wrap,ldap_get_values_len \
-Wl,-wrap,ldap_value_free_len \
-Wl,-wrap,ldap_first_attribute \
-Wl,-wrap,ldap_next_attribute \
$(NULL)
sdap_tests_LDADD = \
$(CMOCKA_LIBS) \
$(TALLOC_LIBS) \
$(LDB_LIBS) \
$(POPT_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
$(OPENLDAP_LIBS) \
libsss_test_common.la \
$(NULL)
if BUILD_IFP
ifp_tests_SOURCES = \
$(TEST_MOCK_RESP_OBJ) \
src/tests/cmocka/test_ifp.c \
src/responder/ifp/ifpsrv_cmd.c \
src/responder/ifp/ifp_iface_generated.c \
src/responder/ifp/ifpsrv_util.c \
src/responder/common/responder_utils.c \
$(NULL)
ifp_tests_CFLAGS = \
$(AM_CFLAGS)
ifp_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la
sss_sifp_tests_SOURCES = \
src/tests/cmocka/test_sss_sifp.c \
src/lib/sifp/sss_sifp_attrs.c \
src/lib/sifp/sss_sifp_common.c \
src/lib/sifp/sss_sifp_parser.c \
src/lib/sifp/sss_sifp_utils.c \
src/lib/sifp/sss_sifp_dbus.c \
src/lib/sifp/sss_sifp.c
sss_sifp_tests_CFLAGS = \
$(AM_CFLAGS) \
-I$(top_srcdir)/src/lib/sifp
sss_sifp_tests_LDFLAGS = \
-Wl,-wrap,dbus_bus_get \
-Wl,-wrap,dbus_connection_send_with_reply_and_block
sss_sifp_tests_LDADD = \
$(CMOCKA_LIBS) \
$(DBUS_LIBS) \
$(TALLOC_LIBS) \
$(DHASH_LIBS) \
$(POPT_LIBS) \
$(SSSD_INTERNAL_LTLIBS)
endif # BUILD_IFP
test_sysdb_views_SOURCES = \
src/tests/cmocka/test_sysdb_views.c \
src/providers/ipa/ipa_utils.c \
$(NULL)
test_sysdb_views_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
test_sysdb_views_LDADD = \
$(CMOCKA_LIBS) \
$(LDB_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
$(NULL)
test_sysdb_subdomains_SOURCES = \
src/tests/cmocka/test_sysdb_subdomains.c \
$(NULL)
test_sysdb_subdomains_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
test_sysdb_subdomains_LDADD = \
$(CMOCKA_LIBS) \
$(LDB_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
$(NULL)
test_sysdb_utils_SOURCES = \
src/tests/cmocka/test_sysdb_utils.c \
$(NULL)
test_sysdb_utils_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
test_sysdb_utils_LDADD = \
$(CMOCKA_LIBS) \
$(LDB_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
$(NULL)
test_be_ptask_SOURCES = \
src/tests/cmocka/common_mock_be.c \
src/tests/cmocka/test_be_ptask.c \
src/providers/dp_ptask.c \
$(NULL)
test_be_ptask_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
test_be_ptask_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
$(NULL)
test_copy_ccache_SOURCES = \
src/tests/cmocka/test_copy_ccache.c \
src/providers/krb5/krb5_ccache.c \
src/util/sss_krb5.c \
$(NULL)
test_copy_ccache_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
test_copy_ccache_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(KRB5_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
$(NULL)
test_copy_keytab_SOURCES = \
src/tests/cmocka/common_mock_krb5.c \
src/tests/cmocka/test_copy_keytab.c \
src/providers/krb5/krb5_keytab.c \
src/util/sss_krb5.c \
$(NULL)
test_copy_keytab_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
test_copy_keytab_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(KRB5_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
$(NULL)
dummy_child_SOURCES = \
src/tests/cmocka/dummy_child.c \
$(NULL)
dummy_child_LDADD = \
$(POPT_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
$(NULL)
test_child_common_SOURCES = \
src/tests/cmocka/test_child_common.c \
src/util/child_common.c \
src/util/signal.c \
src/util/atomic_io.c \
src/util/util_errors.c \
src/util/util.c \
$(NULL)
test_child_common_CFLAGS = \
$(AM_CFLAGS) \
-DCHILD_DIR=\"$(builddir)\" \
$(NULL)
test_child_common_LDFLAGS = \
-Wl,-wrap,child_io_destructor \
$(NULL)
test_child_common_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(DHASH_LIBS) \
libsss_debug.la \
libsss_test_common.la \
$(NULL)
responder_cache_req_tests_SOURCES = \
$(TEST_MOCK_RESP_OBJ) \
src/tests/cmocka/test_responder_cache_req.c \
$(NULL)
responder_cache_req_tests_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
responder_cache_req_tests_LDFLAGS = \
-Wl,-wrap,sss_dp_get_account_send \
$(NULL)
responder_cache_req_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
$(NULL)
test_sbus_opath_SOURCES = \
src/tests/cmocka/test_sbus_opath.c \
$(NULL)
test_sbus_opath_CFLAGS = \
$(AM_CFLAGS)
test_sbus_opath_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_debug.la \
libsss_test_common.la
if HAVE_LIBRESOLV
test_resolv_fake_SOURCES = \
src/tests/cmocka/test_resolv_fake.c \
src/resolv/async_resolv.c \
$(NULL)
test_resolv_fake_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
test_resolv_fake_LDFLAGS = \
-Wl,-wrap,ares_query \
$(NULL)
test_resolv_fake_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(CARES_LIBS) \
$(DHASH_LIBS) \
$(RESOLV_LIBS) \
libsss_debug.la \
libsss_test_common.la \
$(NULL)
endif # HAVE_LIBRESOLV
test_fo_srv_SOURCES = \
src/tests/cmocka/test_fo_srv.c \
src/providers/fail_over.c \
src/providers/fail_over_srv.c \
$(NULL)
test_fo_srv_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
test_fo_srv_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(CARES_LIBS) \
$(DHASH_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
$(NULL)
test_ipa_subdom_util_SOURCES = \
src/tests/cmocka/test_ipa_subdomains_utils.c \
src/providers/ipa/ipa_subdomains_utils.c \
$(NULL)
test_ipa_subdom_util_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
test_ipa_subdom_util_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(LDB_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
$(NULL)
test_ipa_subdom_server_SOURCES = \
$(libsss_krb5_common_la_SOURCES) \
src/tests/cmocka/common_mock_sdap.c \
src/tests/cmocka/common_mock_be.c \
src/tests/cmocka/common_mock_krb5.c \
src/tests/cmocka/test_ipa_subdomains_server.c \
src/providers/ipa/ipa_subdomains_server.c \
src/providers/ipa/ipa_subdomains_utils.c \
$(NULL)
test_ipa_subdom_server_CFLAGS = \
$(AM_CFLAGS) \
-DIPA_TRUST_KEYTAB_DIR=TEST_DIR\"/tp_test_ipa_subdom_server-test_ipa_subdomains_server\" \
$(NULL)
test_ipa_subdom_server_LDFLAGS = \
-Wl,-wrap,krb5_kt_default \
-Wl,-wrap,execle \
-Wl,-wrap,execve \
-Wl,-wrap,rename \
-Wl,-wrap,sss_unique_filename \
$(NULL)
test_ipa_subdom_server_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
$(KEYUTILS_LIBS) \
$(KRB5_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_ldap_common.la \
libsss_ad_tests.la \
libsss_test_common.la \
libdlopen_test_providers.la \
$(NULL)
test_krb5_wait_queue_SOURCES = \
src/tests/cmocka/common_mock_be.c \
src/tests/cmocka/test_krb5_wait_queue.c \
src/providers/krb5/krb5_wait_queue.c \
$(NULL)
test_krb5_wait_queue_CFLAGS = \
$(AM_CFLAGS) \
$(NULL)
test_krb5_wait_queue_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(DHASH_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_test_common.la \
$(NULL)
test_cert_utils_SOURCES = \
src/tests/cmocka/test_cert_utils.c \
$(NULL)
test_cert_utils_CFLAGS = \
$(AM_CFLAGS) \
$(CRYPTO_CFLAGS) \
$(NULL)
test_cert_utils_LDADD = \
$(CMOCKA_LIBS) \
$(POPT_LIBS) \
$(TALLOC_LIBS) \
$(CRYPTO_LIBS) \
libsss_debug.la \
libsss_test_common.la \
libsss_cert.la \
libsss_crypt.la \
$(NULL)
test_data_provider_be_SOURCES = \
src/providers/data_provider_be.c \
src/tests/cmocka/test_data_provider_be.c \
src/tests/cmocka/common_mock_be.c \
$(NULL)
test_data_provider_be_CFLAGS = \
$(AM_CFLAGS) \
-DUNIT_TESTING \
$(NULL)
test_data_provider_be_LDFLAGS = \
-Wl,-wrap,_tevent_add_timer \
$(NULL)
test_data_provider_be_LDADD = \
$(CMOCKA_LIBS) \
$(PAM_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
$(LIBADD_DL) \
libsss_test_common.la \
libdlopen_test_providers.la \
$(NULL)
endif # HAVE_CMOCKA
noinst_PROGRAMS = pam_test_client
if BUILD_SUDO
noinst_PROGRAMS += sss_sudo_cli
endif
if BUILD_AUTOFS
noinst_PROGRAMS += autofs_test_client
endif
pam_test_client_SOURCES = src/sss_client/pam_test_client.c
pam_test_client_LDADD = $(PAM_LIBS) $(PAM_MISC_LIBS)
if BUILD_AUTOFS
autofs_test_client_SOURCES = \
src/sss_client/autofs/autofs_test_client.c \
src/sss_client/autofs/sss_autofs.c \
src/sss_client/common.c
autofs_test_client_CFLAGS = $(AM_CFLAGS)
autofs_test_client_LDADD = -lpopt $(CLIENT_LIBS)
endif
#####################
# Integration tests #
#####################
intgcheck:
set -e; \
rm -Rf intg; \
$(MKDIR_P) intg/bld; \
: Use /hopefully/ short prefix to keep D-Bus socket path short; \
prefix=`mktemp --tmpdir --directory sssd-intg.XXXXXXXX`; \
$(LN_S) "$$prefix" intg/pfx; \
cd intg/bld; \
$(abs_top_srcdir)/configure \
--prefix="$$prefix" \
--with-ldb-lib-dir="$$prefix"/lib/ldb \
--enable-intgcheck-reqs \
--without-semanage \
$(INTGCHECK_CONFIGURE_FLAGS); \
$(MAKE) $(AM_MAKEFLAGS); \
: Force single-thread install to workaround concurrency issues; \
$(MAKE) $(AM_MAKEFLAGS) -j1 install; \
: Remove .la files from LDB module directory to avoid loader warnings; \
rm "$$prefix"/lib/ldb/*.la; \
$(MAKE) $(AM_MAKEFLAGS) -C src/tests/intg intgcheck-installed; \
cd ../..; \
rm -Rf "$$prefix" intg
####################
# Client Libraries #
####################
nsslib_LTLIBRARIES = libnss_sss.la
libnss_sss_la_SOURCES = \
src/sss_client/common.c \
src/sss_client/nss_passwd.c \
src/sss_client/nss_group.c \
src/sss_client/nss_netgroup.c \
src/sss_client/nss_services.c \
src/sss_client/sss_cli.h \
src/sss_client/nss_compat.h \
src/sss_client/nss_mc_common.c \
src/util/io.c \
src/util/murmurhash3.c \
src/sss_client/nss_mc_passwd.c \
src/sss_client/nss_mc_group.c \
src/sss_client/nss_mc_initgr.c \
src/sss_client/nss_mc.h
libnss_sss_la_LIBADD = \
$(CLIENT_LIBS)
libnss_sss_la_LDFLAGS = \
-module \
-version-info 2:0:0 \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
if BUILD_NFS_IDMAP
nfslib_LTLIBRARIES = sss.la
sss_la_SOURCES = \
src/sss_client/common.c \
src/sss_client/nss_mc_common.c \
src/util/io.c \
src/util/murmurhash3.c \
src/sss_client/nss_mc_passwd.c \
src/sss_client/nss_mc_group.c \
src/sss_client/nfs/sss_nfs_client.c \
$(NULL)
sss_la_CFLAGS = $(AM_CFLAGS)
sss_la_LIBADD = \
$(CLIENT_LIBS) \
$(NFSIDMAP_LIBS) \
$(NULL)
sss_la_LDFLAGS = \
-module \
-avoid-version \
$(NULL)
endif
pamlib_LTLIBRARIES = pam_sss.la
pam_sss_la_SOURCES = \
src/sss_client/pam_sss.c \
src/sss_client/pam_message.c \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/util/atomic_io.c \
src/util/authtok-utils.c \
src/sss_client/sss_pam_macros.h \
src/sss_client/sss_pam_compat.h
pam_sss_la_LIBADD = \
$(CLIENT_LIBS) \
$(PAM_LIBS)
pam_sss_la_LDFLAGS = \
-module \
-avoid-version \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
if BUILD_SUDO
libsss_sudo_la_SOURCES = \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/sss_client/sudo/sss_sudo_response.c \
src/sss_client/sudo/sss_sudo.c \
src/sss_client/sudo/sss_sudo.h \
src/sss_client/sudo/sss_sudo_private.h
libsss_sudo_la_LIBADD = \
$(CLIENT_LIBS)
libsss_sudo_la_LDFLAGS = \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_sudo.exports \
-module \
-avoid-version
sudolib_LTLIBRARIES = libsss_sudo.la
endif
if BUILD_AUTOFS
autofslib_LTLIBRARIES = libsss_autofs.la
libsss_autofs_la_SOURCES = \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/sss_client/autofs/sss_autofs.c \
src/sss_client/autofs/sss_autofs_private.h
libsss_autofs_la_LIBADD = \
$(CLIENT_LIBS)
libsss_autofs_la_LDFLAGS = \
-module \
-avoid-version \
-Wl,--version-script,$(srcdir)/src/sss_client/autofs/sss_autofs.exports
endif
dist_noinst_DATA += \
src/sss_client/sss_nss.exports \
src/sss_client/sss_pam.exports
if BUILD_SUDO
dist_noinst_DATA += src/sss_client/sss_sudo.exports
endif
if BUILD_AUTOFS
dist_noinst_DATA += src/sss_client/autofs/sss_autofs.exports
endif
####################
# Plugin Libraries #
####################
# libsss_krb5_common must be installed before libsss_ldap_common
# because libtool tries to relink libsss_ldap_common when installing
# libsss_ldap_common and therefore make distcheck fails
pkglib_LTLIBRARIES += libsss_krb5_common.la
pkglib_LTLIBRARIES += libsss_ldap_common.la
libsss_ldap_common_la_SOURCES = \
src/providers/ldap/ldap_id.c \
src/providers/ldap/ldap_id_enum.c \
src/providers/ldap/sdap_async_enum.c \
src/providers/ldap/ldap_id_cleanup.c \
src/providers/ldap/ldap_id_netgroup.c \
src/providers/ldap/ldap_id_services.c \
src/providers/ldap/ldap_auth.c \
src/providers/ldap/ldap_common.c \
src/providers/ldap/ldap_options.c \
src/providers/ldap/sdap_access.c \
src/providers/ldap/sdap_async.c \
src/providers/ldap/sdap_async_users.c \
src/providers/ldap/sdap_async_groups.c \
src/providers/ldap/sdap_async_nested_groups.c \
src/providers/ldap/sdap_async_groups_ad.c \
src/providers/ldap/sdap_async_initgroups.c \
src/providers/ldap/sdap_async_initgroups_ad.c \
src/providers/ldap/sdap_async_connection.c \
src/providers/ldap/sdap_async_netgroups.c \
src/providers/ldap/sdap_async_services.c \
src/providers/ldap/sdap_ad_groups.c \
src/providers/ldap/sdap_child_helpers.c \
src/providers/ldap/sdap_fd_events.c \
src/providers/ldap/sdap_id_op.c \
src/providers/ldap/sdap_idmap.c \
src/providers/ldap/sdap_idmap.h \
src/providers/ldap/sdap_range.c \
src/providers/ldap/sdap_reinit.c \
src/providers/ldap/sdap_dyndns.c \
src/providers/ldap/sdap_refresh.c \
src/providers/ldap/sdap_utils.c \
src/providers/ldap/sdap_domain.c \
src/providers/ldap/sdap.c \
src/util/user_info_msg.c \
src/util/sss_ldap.c \
$(NULL)
libsss_ldap_common_la_CFLAGS = \
$(AM_CFLAGS) \
$(KRB5_CFLAGS) \
$(NULL)
libsss_ldap_common_la_LIBADD = \
$(OPENLDAP_LIBS) \
$(KRB5_LIBS) \
libsss_krb5_common.la \
libsss_idmap.la \
libsss_util.la \
$(NULL)
libsss_ldap_common_la_LDFLAGS = \
-avoid-version \
$(NULL)
if BUILD_SUDO
libsss_ldap_common_la_SOURCES += \
src/providers/ldap/sdap_sudo_cache.c \
src/providers/ldap/sdap_async_sudo.c \
src/providers/ldap/sdap_async_sudo_timer.c \
src/providers/ldap/sdap_async_sudo_hostinfo.c \
src/providers/ldap/sdap_sudo.c
endif
if BUILD_AUTOFS
libsss_ldap_common_la_SOURCES += \
src/providers/ldap/sdap_autofs.c \
src/providers/ldap/sdap_async_autofs.c
endif
libsss_krb5_common_la_SOURCES = \
src/providers/krb5/krb5_utils.c \
src/providers/krb5/krb5_delayed_online_authentication.c \
src/providers/krb5/krb5_renew_tgt.c \
src/providers/krb5/krb5_wait_queue.c \
src/providers/krb5/krb5_common.c \
src/providers/krb5/krb5_auth.c \
src/providers/krb5/krb5_access.c \
src/providers/krb5/krb5_child_handler.c \
src/providers/krb5/krb5_init_shared.c \
src/providers/krb5/krb5_ccache.c \
src/util/sss_krb5.c \
src/util/become_user.c \
$(NULL)
libsss_krb5_common_la_CFLAGS = \
$(AM_CFLAGS) \
$(KRB5_CFLAGS)
libsss_krb5_common_la_LIBADD = \
$(KEYUTILS_LIBS) \
$(DHASH_LIBS) \
$(KRB5_LIBS)
libsss_krb5_common_la_LDFLAGS = \
-avoid-version
libsss_ldap_la_SOURCES = \
src/providers/ldap/ldap_init.c \
src/providers/ldap/ldap_access.c
libsss_ldap_la_CFLAGS = \
$(AM_CFLAGS) \
$(OPENLDAP_CFLAGS)
libsss_ldap_la_LIBADD = \
$(OPENLDAP_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_ldap_common.la \
libsss_krb5_common.la
libsss_ldap_la_LDFLAGS = \
-avoid-version \
-module
libsss_proxy_la_SOURCES = \
src/providers/proxy/proxy_init.c \
src/providers/proxy/proxy_id.c \
src/providers/proxy/proxy_netgroup.c \
src/providers/proxy/proxy_services.c \
src/providers/proxy/proxy_auth.c \
src/providers/data_provider_iface_generated.c \
src/providers/data_provider_iface_generated.h
libsss_proxy_la_CFLAGS = \
$(AM_CFLAGS)
libsss_proxy_la_LIBADD = \
$(PAM_LIBS)
libsss_proxy_la_LDFLAGS = \
-avoid-version \
-module
libsss_simple_la_SOURCES = \
src/providers/simple/simple_access_check.c \
src/providers/simple/simple_access.c
libsss_simple_la_CFLAGS = \
$(AM_CFLAGS)
libsss_simple_la_LDFLAGS = \
-avoid-version \
-module
libsss_krb5_la_SOURCES = \
src/providers/krb5/krb5_init.c
libsss_krb5_la_CFLAGS = \
$(AM_CFLAGS) \
$(DHASH_CFLAGS) \
$(KRB5_CFLAGS)
libsss_krb5_la_LIBADD = \
$(DHASH_LIBS) \
$(KRB5_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_krb5_common.la
libsss_krb5_la_LDFLAGS = \
-avoid-version \
-module
libsss_ipa_la_SOURCES = \
src/providers/ipa/ipa_init.c \
src/providers/ipa/ipa_common.c \
src/providers/ipa/ipa_config.c \
src/providers/ipa/ipa_id.c \
src/providers/ipa/ipa_netgroups.c \
src/providers/ipa/ipa_auth.c \
src/providers/ipa/ipa_access.c \
src/providers/ipa/ipa_dyndns.c \
src/providers/ipa/ipa_hosts.c \
src/providers/ipa/ipa_subdomains.c \
src/providers/ipa/ipa_subdomains_id.c \
src/providers/ipa/ipa_subdomains_server.c \
src/providers/ipa/ipa_subdomains_utils.c \
src/providers/ipa/ipa_subdomains_ext_groups.c \
src/providers/ipa/ipa_views.c \
src/providers/ipa/ipa_utils.c \
src/providers/ipa/ipa_s2n_exop.c \
src/providers/ipa/ipa_hbac_hosts.c \
src/providers/ipa/ipa_hbac_private.h \
src/providers/ipa/ipa_hbac_rules.c \
src/providers/ipa/ipa_hbac_rules.h \
src/providers/ipa/ipa_hbac_services.c \
src/providers/ipa/ipa_hbac_users.c \
src/providers/ipa/ipa_hbac_common.c \
src/providers/ipa/ipa_selinux.c \
src/providers/ipa/ipa_selinux_maps.c \
src/providers/ipa/ipa_srv.c \
src/providers/ipa/ipa_idmap.c \
src/providers/ad/ad_common.c \
src/providers/ad/ad_common.h \
src/providers/ad/ad_dyndns.c \
src/providers/ad/ad_id.c \
src/providers/ad/ad_srv.c \
src/providers/ad/ad_domain_info.c
libsss_ipa_la_CFLAGS = \
$(AM_CFLAGS) \
$(OPENLDAP_CFLAGS) \
$(DHASH_CFLAGS) \
$(NDR_NBT_CFLAGS) \
$(KRB5_CFLAGS)
libsss_ipa_la_LIBADD = \
$(OPENLDAP_LIBS) \
$(DHASH_LIBS) \
$(NDR_NBT_LIBS) \
$(KRB5_LIBS) \
$(SELINUX_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
libsss_ldap_common.la \
libsss_krb5_common.la \
libipa_hbac.la \
libsss_idmap.la \
libsss_semanage.la \
$(NULL)
libsss_ipa_la_LDFLAGS = \
-avoid-version \
-module
if BUILD_AUTOFS
libsss_ipa_la_SOURCES += \
src/providers/ipa/ipa_autofs.c
endif
if BUILD_SUDO
libsss_ipa_la_SOURCES += \
src/providers/ipa/ipa_sudo.c
endif
if BUILD_SSH
libsss_ipa_la_SOURCES += src/providers/ipa/ipa_hostid.c
endif
libsss_ad_la_SOURCES = \
src/providers/ad/ad_common.c \
src/providers/ad/ad_common.h \
src/providers/ad/ad_init.c \
src/providers/ad/ad_dyndns.c \
src/providers/ad/ad_id.c \
src/providers/ad/ad_id.h \
src/providers/ad/ad_access.c \
src/providers/ad/ad_access.h \
src/providers/ad/ad_gpo.c \
src/providers/ad/ad_gpo.h \
src/providers/ad/ad_gpo_ndr.c \
src/providers/ad/ad_opts.h \
src/providers/ad/ad_srv.c \
src/providers/ad/ad_subdomains.c \
src/providers/ad/ad_subdomains.h \
src/providers/ad/ad_domain_info.c \
src/providers/ad/ad_domain_info.h
if BUILD_SUDO
libsss_ad_la_SOURCES += \
src/providers/ad/ad_sudo.c
endif
libsss_ad_la_CFLAGS = \
$(AM_CFLAGS) \
$(OPENLDAP_CFLAGS) \
$(SASL_CFLAGS) \
$(DHASH_CFLAGS) \
$(KRB5_CFLAGS) \
$(NDR_NBT_CFLAGS) \
$(SMBCLIENT_CFLAGS)
libsss_ad_la_LIBADD = \
$(OPENLDAP_LIBS) \
$(SASL_LIBS) \
$(DHASH_LIBS) \
$(KRB5_LIBS) \
$(NDR_NBT_LIBS) \
$(SSSD_INTERNAL_LTLIBS) \
$(SMBCLIENT_LIBS) \
libsss_ldap_common.la \
libsss_krb5_common.la \
libsss_idmap.la
libsss_ad_la_LDFLAGS = \
-avoid-version \
-module
krb5_child_SOURCES = \
src/providers/krb5/krb5_child.c \
src/providers/krb5/krb5_ccache.c \
src/providers/krb5/krb5_keytab.c \
src/providers/dp_pam_data_util.c \
src/util/user_info_msg.c \
src/util/sss_krb5.c \
src/util/find_uid.c \
src/util/atomic_io.c \
src/util/authtok.c \
src/util/authtok-utils.c \
src/util/util.c \
src/util/signal.c \
src/util/strtonum.c \
src/util/become_user.c \
src/util/util_errors.c \
src/sss_client/common.c \
$(NULL)
krb5_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
$(KRB5_CFLAGS) \
$(PCRE_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS) \
$(NULL)
krb5_child_LDADD = \
libsss_debug.la \
$(TALLOC_LIBS) \
$(POPT_LIBS) \
$(DHASH_LIBS) \
$(KRB5_LIBS) \
$(CLIENT_LIBS) \
$(PCRE_LIBS) \
$(SYSTEMD_LOGIN_LIBS) \
$(NULL)
ldap_child_SOURCES = \
src/providers/ldap/ldap_child.c \
src/providers/krb5/krb5_keytab.c \
src/util/sss_krb5.c \
src/util/atomic_io.c \
src/util/authtok.c \
src/util/authtok-utils.c \
src/util/util.c \
src/util/signal.c \
src/util/become_user.c \
$(NULL)
ldap_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
$(KRB5_CFLAGS)
ldap_child_LDADD = \
libsss_debug.la \
$(TALLOC_LIBS) \
$(POPT_LIBS) \
$(DHASH_LIBS) \
$(KRB5_LIBS)
if BUILD_SEMANAGE
selinux_child_SOURCES = \
src/providers/ipa/selinux_child.c \
src/util/sss_semanage.c \
src/util/atomic_io.c \
src/util/util.c \
$(NULL)
selinux_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
$(NULL)
selinux_child_LDADD = \
libsss_debug.la \
$(TALLOC_LIBS) \
$(POPT_LIBS) \
$(DHASH_LIBS) \
$(SEMANAGE_LIBS) \
$(NULL)
endif
gpo_child_SOURCES = \
src/providers/ad/ad_gpo_child.c \
src/util/atomic_io.c \
src/util/util.c \
src/util/signal.c
gpo_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
$(KRB5_CFLAGS) \
$(INI_CONFIG_CFLAGS) \
$(SMBCLIENT_CFLAGS)
gpo_child_LDADD = \
libsss_debug.la \
$(TALLOC_LIBS) \
$(POPT_LIBS) \
$(DHASH_LIBS) \
$(INI_CONFIG_LIBS) \
$(SMBCLIENT_LIBS)
proxy_child_SOURCES = \
src/providers/proxy/proxy_child.c \
src/providers/data_provider_iface_generated.c \
src/providers/data_provider_iface_generated.h
proxy_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS)
proxy_child_LDADD = \
$(PAM_LIBS) \
$(SSSD_LIBS) \
$(SSSD_INTERNAL_LTLIBS)
p11_child_SOURCES = \
src/p11_child/p11_child_nss.c \
src/util/atomic_io.c \
$(NULL)
p11_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
$(NSS_CFLAGS) \
$(NULL)
p11_child_LDADD = \
libsss_debug.la \
$(TALLOC_LIBS) \
$(POPT_LIBS) \
$(NSS_LIBS) \
libsss_crypt.la \
$(NULL)
memberof_la_SOURCES = \
src/ldb_modules/memberof.c \
src/util/util.c
memberof_la_CFLAGS = \
$(AM_CFLAGS)
memberof_la_LIBADD = \
libsss_debug.la \
$(LDB_LIBS) \
$(DHASH_LIBS)
memberof_la_LDFLAGS = \
-avoid-version \
-module
if BUILD_KRB5_LOCATOR_PLUGIN
sssd_krb5_locator_plugin_la_SOURCES = \
src/krb5_plugin/sssd_krb5_locator_plugin.c \
src/util/atomic_io.c
sssd_krb5_locator_plugin_la_CFLAGS = \
$(AM_CFLAGS) \
$(KRB5_CFLAGS)
sssd_krb5_locator_plugin_la_LDFLAGS = \
-avoid-version \
-module
endif
if BUILD_KRB5_LOCALAUTH_PLUGIN
sssd_krb5_localauth_plugin_la_SOURCES = \
src/krb5_plugin/sssd_krb5_localauth_plugin.c \
src/util/murmurhash3.c \
src/util/io.c \
src/sss_client/common.c \
src/sss_client/nss_mc_common.c \
src/sss_client/nss_mc_passwd.c \
src/sss_client/nss_passwd.c
sssd_krb5_localauth_plugin_la_CFLAGS = \
$(AM_CFLAGS) \
$(KRB5_CFLAGS)
sssd_krb5_localauth_plugin_la_LIBADD = \
$(KRB5_LIBS)
sssd_krb5_localauth_plugin_la_LDFLAGS = \
-avoid-version \
-module
endif
sssd_pac_plugin_la_SOURCES = \
src/sss_client/sssd_pac.c \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/sss_client/krb5_authdata_int.h
sssd_pac_plugin_la_CFLAGS = \
$(AM_CFLAGS) \
$(KRB5_CFLAGS)
sssd_pac_plugin_la_LIBADD = \
$(CLIENT_LIBS) \
$(KRB5_LIBS)
sssd_pac_plugin_la_LDFLAGS = \
-avoid-version \
-module
# python[23] bindings
pysss_la_SOURCES = \
$(SSSD_TOOLS_OBJ) \
src/python/pysss.c
pysss_la_LDFLAGS = \
-avoid-version \
-module
_py2sss_la_SOURCES = $(pysss_la_SOURCES)
_py2sss_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON2_CFLAGS)
_py2sss_la_LIBADD = \
$(SSSD_INTERNAL_LTLIBS) \
$(PYTHON_BINDINGS_LIBS) \
$(PYTHON2_LIBS)
_py2sss_la_LDFLAGS = $(pysss_la_LDFLAGS)
_py3sss_la_SOURCES = $(pysss_la_SOURCES)
_py3sss_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON3_CFLAGS)
_py3sss_la_LIBADD = \
$(SSSD_INTERNAL_LTLIBS) \
$(PYTHON_BINDINGS_LIBS) \
$(PYTHON3_LIBS)
_py3sss_la_LDFLAGS = $(pysss_la_LDFLAGS)
pyhbac_la_SOURCES = \
src/python/pyhbac.c \
src/util/sss_python.c
pyhbac_la_LDFLAGS = \
-avoid-version \
-module
_py2hbac_la_SOURCES = $(pyhbac_la_SOURCES)
_py2hbac_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON2_CFLAGS)
_py2hbac_la_LIBADD = \
$(PYTHON2_LIBS) \
libipa_hbac.la
_py2hbac_la_LDFLAGS = $(pyhbac_la_LDFLAGS)
_py3hbac_la_SOURCES = $(pyhbac_la_SOURCES)
_py3hbac_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON3_CFLAGS)
_py3hbac_la_LIBADD = \
$(PYTHON3_LIBS) \
libipa_hbac.la
_py3hbac_la_LDFLAGS = $(pyhbac_la_LDFLAGS)
pysss_murmur_la_SOURCES = \
src/python/pysss_murmur.c \
src/util/murmurhash3.c
pysss_murmur_la_LDFLAGS = \
-avoid-version \
-module
_py2sss_murmur_la_SOURCES = $(pysss_murmur_la_SOURCES)
_py2sss_murmur_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON2_CFLAGS)
_py2sss_murmur_la_LIBADD = \
$(PYTHON2_LIBS)
_py2sss_murmur_la_LDFLAGS = $(pysss_murmur_la_LDFLAGS)
_py3sss_murmur_la_SOURCES = $(pysss_murmur_la_SOURCES)
_py3sss_murmur_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON3_CFLAGS)
_py3sss_murmur_la_LIBADD = \
$(PYTHON3_LIBS)
_py3sss_murmur_la_LDFLAGS = $(pysss_murmur_la_LDFLAGS)
pysss_nss_idmap_la_SOURCES = \
src/python/pysss_nss_idmap.c
pysss_nss_idmap_la_LDFLAGS = \
-avoid-version \
-module
_py2sss_nss_idmap_la_SOURCES = $(pysss_nss_idmap_la_SOURCES)
_py2sss_nss_idmap_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON2_CFLAGS)
_py2sss_nss_idmap_la_LIBADD = \
$(PYTHON2_LIBS) \
libsss_nss_idmap.la
_py2sss_nss_idmap_la_LDFLAGS = $(pysss_nss_idmap_la_LDFLAGS)
_py3sss_nss_idmap_la_SOURCES = $(pysss_nss_idmap_la_SOURCES)
_py3sss_nss_idmap_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON3_CFLAGS)
_py3sss_nss_idmap_la_LIBADD = \
$(PYTHON3_LIBS) \
libsss_nss_idmap.la
_py3sss_nss_idmap_la_LDFLAGS = $(pysss_nss_idmap_la_LDFLAGS)
# end of python[23] bindings
if BUILD_CIFS_IDMAP_PLUGIN
cifs_idmap_sss_la_SOURCES = \
src/lib/cifs_idmap_sss/cifs_idmap_sss.c
cifs_idmap_sss_la_LIBADD = \
libsss_idmap.la \
libsss_nss_idmap.la
cifs_idmap_sss_la_CFLAGS = \
$(AM_CFLAGS)
cifs_idmap_sss_la_LDFLAGS = \
-avoid-version \
-module
endif
################
# TRANSLATIONS #
################
update-po:
if HAVE_MANPAGES
$(MAKE) -C src/man update-po
endif
$(MAKE) -C po update-po
#######################
# Installation Extras #
#######################
init_SCRIPTS =
systemdunit_DATA =
systemdconf_DATA =
if HAVE_SYSTEMD_UNIT
systemdunit_DATA += \
src/sysv/systemd/sssd.service
if WITH_JOURNALD
systemdconf_DATA += \
src/sysv/systemd/journal.conf
endif
else
if HAVE_SUSE
init_SCRIPTS += \
src/sysv/SUSE/sssd
else
if HAVE_GENTOO
init_SCRIPTS += \
src/sysv/gentoo/sssd
else
init_SCRIPTS += \
src/sysv/sssd
endif
endif
endif
dist_sssddata_DATA = \
src/config/etc/sssd.api.conf
dist_sssdapiplugin_DATA = \
src/config/etc/sssd.api.d/sssd-ipa.conf \
src/config/etc/sssd.api.d/sssd-ad.conf \
src/config/etc/sssd.api.d/sssd-krb5.conf \
src/config/etc/sssd.api.d/sssd-ldap.conf \
src/config/etc/sssd.api.d/sssd-local.conf \
src/config/etc/sssd.api.d/sssd-proxy.conf \
src/config/etc/sssd.api.d/sssd-simple.conf
edit_cmd = $(SED) \
-e 's|@sbindir[@]|$(sbindir)|g' \
-e 's|@environment_file[@]|$(environment_file)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g' \
-e 's|@prefix[@]|$(prefix)|g'
replace_script = \
@rm -f $@ $@.tmp; \
srcdir=''; \
test -f ./$@.in || srcdir=$(srcdir)/; \
$(edit_cmd) $${srcdir}$@.in >$@.tmp; \
mv $@.tmp $@
EXTRA_DIST += \
src/sysv/systemd/sssd.service.in \
src/sysv/systemd/journal.conf.in
src/sysv/systemd/sssd.service: src/sysv/systemd/sssd.service.in Makefile
@$(MKDIR_P) src/sysv/systemd/
$(replace_script)
src/sysv/systemd/journal.conf: src/sysv/systemd/journal.conf.in Makefile
@$(MKDIR_P) src/sysv/systemd/
$(replace_script)
SSSD_USER_DIRS = \
$(DESTDIR)$(dbpath) \
$(DESTDIR)$(keytabdir) \
$(DESTDIR)$(mcpath) \
$(DESTDIR)$(pipepath) \
$(DESTDIR)$(pipepath)/private \
$(DESTDIR)$(pubconfpath) \
$(DESTDIR)$(pubconfpath)/krb5.include.d \
$(DESTDIR)$(gpocachepath) \
$(DESTDIR)$(sssdconfdir) \
$(DESTDIR)$(logpath) \
$(NULL)
installsssddirs::
$(MKDIR_P) \
$(DESTDIR)$(includedir) \
$(DESTDIR)$(libdir) \
$(DESTDIR)$(bindir) \
$(DESTDIR)$(sbindir) \
$(DESTDIR)$(mandir) \
$(DESTDIR)$(pidpath) \
$(DESTDIR)$(pluginpath) \
$(DESTDIR)$(libdir)/ldb \
$(DESTDIR)$(dbuspolicydir) \
$(DESTDIR)$(dbusservicedir) \
$(DESTDIR)$(sssdlibdir) \
$(DESTDIR)$(pkglibdir) \
$(DESTDIR)$(sssddatadir) \
$(DESTDIR)$(sudolibdir) \
$(DESTDIR)$(autofslibdir) \
$(SSSD_USER_DIRS) \
$(NULL);
if SSSD_USER
-chown $(SSSD_USER):$(SSSD_USER) \
$(SSSD_USER_DIRS)
endif
$(INSTALL) -d -m 0700 $(DESTDIR)$(dbpath) $(DESTDIR)$(logpath) \
$(DESTDIR)$(pipepath)/private \
$(DESTDIR)$(keytabdir) \
$(NULL)
$(INSTALL) -d -m 0755 $(DESTDIR)$(mcpath) $(DESTDIR)$(pipepath) \
$(DESTDIR)$(pubconfpath) \
$(DESTDIR)$(pubconfpath)/krb5.include.d $(DESTDIR)$(gpocachepath)
$(INSTALL) -d -m 0711 $(DESTDIR)$(sssdconfdir)
if HAVE_DOXYGEN
docs:
$(DOXYGEN) src/doxy.config
$(DOXYGEN) src/providers/ipa/ipa_hbac.doxy
$(DOXYGEN) src/lib/idmap/sss_idmap.doxy
$(DOXYGEN) src/sss_client/idmap/sss_nss_idmap.doxy
if BUILD_IFP
$(DOXYGEN) src/lib/sifp/sss_simpleifp.doxy
endif
else !HAVE_DOXYGEN
docs:
@echo "Doxygen not installed, cannot generate documentation"
@exit 1
endif !HAVE_DOXYGEN
if BUILD_PYTHON_BINDINGS
$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py:
-cp $(srcdir)/src/config/SSSDConfig/ipachangeconf.py $(builddir)/src/config/SSSDConfig/
$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py:
-cp $(srcdir)/src/config/SSSDConfig/sssd_upgrade_config.py $(builddir)/src/config/SSSDConfig/
SSSDCONFIG_MODULES = \
$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py \
$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py
else
SSSSCONFIG_MODULES =
endif
all-local: ldb_mod_test_dir $(SSSDCONFIG_MODULES)
if BUILD_PYTHON2_BINDINGS
cd $(builddir)/src/config; \
$(PYTHON2) setup.py build --build-base $(abs_builddir)/src/config
endif
if BUILD_PYTHON3_BINDINGS
cd $(builddir)/src/config; \
$(PYTHON3) setup.py build --build-base $(abs_builddir)/src/config
endif
install-exec-hook: installsssddirs
if BUILD_PYTHON2_BINDINGS
if [ "$(DESTDIR)" = "" ]; then \
cd $(builddir)/src/config; \
$(PYTHON2) setup.py build --build-base $(abs_builddir)/src/config \
install $(DISTSETUPOPTS) --prefix=$(PYTHON2_PREFIX) \
--record=$(abs_builddir)/src/config/.files2; \
else \
cd $(builddir)/src/config; \
$(PYTHON2) setup.py build --build-base $(abs_builddir)/src/config \
install $(DISTSETUPOPTS) --prefix=$(PYTHON2_PREFIX) \
--record=$(abs_builddir)/src/config/.files2 --root=$(DESTDIR); \
fi
cd $(DESTDIR)$(py2execdir) && \
mv -f _py2sss.so pysss.so ; \
mv -f _py2hbac.so pyhbac.so ; \
mv -f _py2sss_murmur.so pysss_murmur.so ; \
mv -f _py2sss_nss_idmap.so pysss_nss_idmap.so
endif
if BUILD_PYTHON3_BINDINGS
if [ "$(DESTDIR)" = "" ]; then \
cd $(builddir)/src/config; \
$(PYTHON3) setup.py build --build-base $(abs_builddir)/src/config \
install $(DISTSETUPOPTS) --prefix=$(PYTHON3_PREFIX) \
--record=$(abs_builddir)/src/config/.files3; \
else \
cd $(builddir)/src/config; \
$(PYTHON3) setup.py build --build-base $(abs_builddir)/src/config \
install $(DISTSETUPOPTS) --prefix=$(PYTHON3_PREFIX) \
--record=$(abs_builddir)/src/config/.files3 --root=$(DESTDIR); \
fi
cd $(DESTDIR)$(py3execdir) && \
mv -f _py3sss.so pysss.so ; \
mv -f _py3hbac.so pyhbac.so ; \
mv -f _py3sss_murmur.so pysss_murmur.so ; \
mv -f _py3sss_nss_idmap.so pysss_nss_idmap.so
endif
for doc in $(SSSD_DOCS); do \
$(MKDIR_P) $$doc $(DESTDIR)/$(docdir); \
cp -a $$doc $(DESTDIR)/$(docdir)/; \
done;
if HAVE_SYSTEMD_UNIT
$(MKDIR_P) $(DESTDIR)$(systemdunitdir)
$(MKDIR_P) $(DESTDIR)$(systemdconfdir)
else
$(MKDIR_P) $(DESTDIR)$(initdir)
endif
if SSSD_USER
-chgrp $(SSSD_USER) $(DESTDIR)$(sssdlibexecdir)/ldap_child
chmod 4750 $(DESTDIR)$(sssdlibexecdir)/ldap_child
-chgrp $(SSSD_USER) $(DESTDIR)$(sssdlibexecdir)/krb5_child
chmod 4750 $(DESTDIR)$(sssdlibexecdir)/krb5_child
-chgrp $(SSSD_USER) $(DESTDIR)$(sssdlibexecdir)/proxy_child
chmod 4750 $(DESTDIR)$(sssdlibexecdir)/proxy_child
if BUILD_SEMANAGE
-chgrp $(SSSD_USER) $(DESTDIR)$(sssdlibexecdir)/selinux_child
chmod 4750 $(DESTDIR)$(sssdlibexecdir)/selinux_child
endif
if HAVE_NSS
-chgrp $(SSSD_USER) $(DESTDIR)$(sssdlibexecdir)/p11_child
chmod 4750 $(DESTDIR)$(sssdlibexecdir)/p11_child
endif
endif
install-data-hook:
rm $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 \
$(DESTDIR)/$(nsslibdir)/libnss_sss.so
mv $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2.0.0 $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2
if [ ! $(krb5rcachedir) = "__LIBKRB5_DEFAULTS__" ]; then \
$(MKDIR_P) $(DESTDIR)/$(krb5rcachedir) ; \
fi
uninstall-hook:
if [ -f $(abs_builddir)/src/config/.files2 ]; then \
cat $(abs_builddir)/src/config/.files2 | xargs -iq rm -f $(DESTDIR)/q; \
rm $(abs_builddir)/src/config/.files2 ; \
fi
if [ -f $(abs_builddir)/src/config/.files3 ]; then \
cat $(abs_builddir)/src/config/.files3 | xargs -iq rm -f $(DESTDIR)/q; \
rm $(abs_builddir)/src/config/.files3 ; \
fi
for doc in $(SSSD_DOCS); do \
rm -Rf $(DESTDIR)/$(docdir)/$$doc; \
done;
if BUILD_PYTHON2_BINDINGS
cd $(DESTDIR)$(py2execdir) && \
rm -f pysss.so pyhbac.so pysss_murmur.so pysss_nss_idmap.so
endif
if BUILD_PYTHON3_BINDINGS
cd $(DESTDIR)$(py3execdir) && \
rm -f pysss.so pyhbac.so pysss_murmur.so pysss_nss_idmap.so
endif
clean-local:
if BUILD_PYTHON2_BINDINGS
if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
rm -f $(builddir)/src/config/SSSDConfig/ipachangeconf.py ; \
fi
if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
rm -f $(builddir)/src/config/SSSDConfig/sssd_upgrade_config.py ; \
fi
rm -f $(builddir)/src/config/SSSDConfig/*.pyc
cd $(builddir)/src/config; $(PYTHON2) setup.py build --build-base $(abs_builddir)/src/config clean --all
endif
if BUILD_PYTHON3_BINDINGS
if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
rm -f $(builddir)/src/config/SSSDConfig/ipachangeconf.py ; \
fi
if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
rm -f $(builddir)/src/config/SSSDConfig/sssd_upgrade_config.py ; \
fi
rm -f $(builddir)/src/config/SSSDConfig/__pycache__/*.pyc
cd $(builddir)/src/config; $(PYTHON3) setup.py build --build-base $(abs_builddir)/src/config clean --all
endif
for doc in $(SSSD_DOCS); do \
rm -Rf $$doc; \
done;
rm -Rf ldb_mod_test_dir
rm -f $(builddir)/src/sysv/systemd/sssd.service
rm -f $(builddir)/src/sysv/systemd/journal.conf
CLEANFILES = *.X */*.X */*/*.X
tests: all $(check_PROGRAMS)
(cd src/tests/cwrap && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1;
# RPM-related tasks
RPMBUILD ?= $(PWD)/rpmbuild
dist_noinst_DATA += \
m4 \
contrib/sssd.spec.in \
BUILD.txt \
COPYING
rpmroot:
$(MKDIR_P) $(RPMBUILD)/BUILD
$(MKDIR_P) $(RPMBUILD)/RPMS
$(MKDIR_P) $(RPMBUILD)/SOURCES
$(MKDIR_P) $(RPMBUILD)/SPECS
$(MKDIR_P) $(RPMBUILD)/SRPMS
rpmbrprep: dist-gzip rpmroot
if GIT_CHECKOUT
# When we're building RPMs from a git checkout,
# we don't want to be bothered with translation
# updates
git checkout $(srcdir)/po $(srcdir)/src/man/po
endif
cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
rpms: rpmbrprep
cd $(RPMBUILD); \
rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec
if GIT_CHECKOUT
prerelease-rpms:
cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
$(MAKE) rpms
mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
endif
# make srpms will use the old digest algorithm to be compatible
# with RHEL5
srpm: rpmbrprep
cd $(RPMBUILD); \
rpmbuild --define "_topdir $(RPMBUILD)" \
-bs SPECS/sssd.spec
if GIT_CHECKOUT
prerelease-srpm:
cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
$(MAKE) srpm
mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
endif