Makefile.am revision 6f51c802311fd81a409a26763ed45b28a3234d0d
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabeleDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabeleSUBDIRS = po src/man
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# Some old versions of automake don't define builddir
4ab980a06412fd86f52a6d054fb7e26de155c530erikabelebuilddir ?= .
5a58787efeb02a1c3f06569d019ad81fd2efa06end
5a58787efeb02a1c3f06569d019ad81fd2efa06endDOXYGEN = @DOXYGEN@
5a58787efeb02a1c3f06569d019ad81fd2efa06end
5a58787efeb02a1c3f06569d019ad81fd2efa06endDISTSETUPOPTS =
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowenif HAVE_DEBIAN
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowenDISTSETUPOPTS += --install-layout=deb
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowenendif
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
5a58787efeb02a1c3f06569d019ad81fd2efa06endsssdlibexecdir = $(libexecdir)/sssd
5a58787efeb02a1c3f06569d019ad81fd2efa06endsssdlibdir = $(libdir)/sssd
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowenldblibdir = @ldblibdir@
3f08db06526d6901aa08c110b5bc7dde6bc39905ndif BUILD_KRB5_LOCATOR_PLUGIN
5a58787efeb02a1c3f06569d019ad81fd2efa06endkrb5plugindir = @krb5pluginpath@
5a58787efeb02a1c3f06569d019ad81fd2efa06endendif
5a58787efeb02a1c3f06569d019ad81fd2efa06endsssdconfdir = $(sysconfdir)/sssd
3f08db06526d6901aa08c110b5bc7dde6bc39905ndsssdapiplugindir = $(sssdconfdir)/sssd.api.d
3b3b7fc78d1f5bfc2769903375050048ff41ff26nddbusintrospectdir = $(datarootdir)/sssd/introspect
a78048ccbdb6256da15e6b0e7e95355e480c2301ndlocaledir = @localedir@
5e740829c3448285963d3882530669f0112cf690gryzornsslibdir = @nsslibdir@
aee1f193a276866212922ae5072e3014db28582frpluempamlibdir = @pammoddir@
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung
3b3b7fc78d1f5bfc2769903375050048ff41ff26nddbpath = @dbpath@
3b3b7fc78d1f5bfc2769903375050048ff41ff26ndpluginpath = @pluginpath@
aee1f193a276866212922ae5072e3014db28582frpluempidpath = @pidpath@
4ab980a06412fd86f52a6d054fb7e26de155c530erikabelepipepath = @pipepath@
5a58787efeb02a1c3f06569d019ad81fd2efa06endinitdir = @initdir@
5a58787efeb02a1c3f06569d019ad81fd2efa06endlogpath = @logpath@
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slivepubconfpath = @pubconfpath@
5a58787efeb02a1c3f06569d019ad81fd2efa06end
5a58787efeb02a1c3f06569d019ad81fd2efa06endAM_CFLAGS =
5a58787efeb02a1c3f06569d019ad81fd2efa06endif WANT_AUX_INFO
5a58787efeb02a1c3f06569d019ad81fd2efa06end AM_CFLAGS += -aux-info $@.X
5a58787efeb02a1c3f06569d019ad81fd2efa06endendif
5a58787efeb02a1c3f06569d019ad81fd2efa06endif HAVE_GCC
df321386f1d9ed17a3e5e6468807996a12890d50gryzor AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
5a58787efeb02a1c3f06569d019ad81fd2efa06end -Wcast-qual -Wcast-align -Wwrite-strings \
5a58787efeb02a1c3f06569d019ad81fd2efa06end -Werror-implicit-function-declaration
5a58787efeb02a1c3f06569d019ad81fd2efa06endendif
bd43fc31993cfc191e744a9490481f4294894099covener
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedoohACLOCAL_AMFLAGS = -I m4 -I .
5a58787efeb02a1c3f06569d019ad81fd2efa06end
5a58787efeb02a1c3f06569d019ad81fd2efa06endsbin_PROGRAMS = \
5a58787efeb02a1c3f06569d019ad81fd2efa06end sssd \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive sss_useradd \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive sss_userdel \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive sss_groupadd \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive sss_groupdel \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive sss_usermod \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive sss_groupmod \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive sss_groupshow
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slivesssdlibexec_PROGRAMS = \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive sssd_nss \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive sssd_pam \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive sssd_be \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive krb5_child \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive ldap_child \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive proxy_child
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817sliveif HAVE_CHECK
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive non_interactive_check_based_tests = \
5a58787efeb02a1c3f06569d019ad81fd2efa06end sysdb-tests \
5a58787efeb02a1c3f06569d019ad81fd2efa06end strtonum-tests \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive resolv-tests \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive krb5-utils-tests \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive check_and_open-tests \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive files-tests \
06d77ae37da42a6f8bbea25b7d7f8b6629245629slive refcount-tests \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive fail_over-tests \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive find_uid-tests \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive auth-tests \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive ipa_ldap_opt-tests \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive simple_access-tests \
c6f41bc69d643835804e7e831776d3d46c6f5962slive crypto-tests \
c6f41bc69d643835804e7e831776d3d46c6f5962slive util-tests
c6f41bc69d643835804e7e831776d3d46c6f5962sliveendif
c6f41bc69d643835804e7e831776d3d46c6f5962slive
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemcheck_PROGRAMS = \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem stress-tests \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive $(non_interactive_check_based_tests)
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slivePYTHON_TESTS =
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive
aa8cf57195dfb7fa3d0baedf81f8be377946cea8sliveif BUILD_PYTHON_BINDINGS
263168fdb45221efa79580de89bdde883b7561f7sfPYTHON_TESTS += $(srcdir)/src/config/SSSDConfigTest.py
263168fdb45221efa79580de89bdde883b7561f7sfendif
263168fdb45221efa79580de89bdde883b7561f7sf
263168fdb45221efa79580de89bdde883b7561f7sfTESTS = \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive $(PYTHON_TESTS) \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive $(non_interactive_check_based_tests)
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemsssdlib_LTLIBRARIES = \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem libsss_ldap.la \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem libsss_krb5.la \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem libsss_proxy.la \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem libsss_ipa.la \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem libsss_simple.la
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemldblib_LTLIBRARIES = \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem memberof.la
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemif BUILD_KRB5_LOCATOR_PLUGIN
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemkrb5plugin_LTLIBRARIES = \
c6f41bc69d643835804e7e831776d3d46c6f5962slive sssd_krb5_locator_plugin.la
aee1f193a276866212922ae5072e3014db28582frpluemendif
c6f41bc69d643835804e7e831776d3d46c6f5962slive
c6f41bc69d643835804e7e831776d3d46c6f5962slivenoinst_LTLIBRARIES = \
06d77ae37da42a6f8bbea25b7d7f8b6629245629slive libsss_crypt.la
c6f41bc69d643835804e7e831776d3d46c6f5962slive
c6f41bc69d643835804e7e831776d3d46c6f5962sliveif HAVE_NSS
c6f41bc69d643835804e7e831776d3d46c6f5962slive SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_sha512crypt.c \
c6f41bc69d643835804e7e831776d3d46c6f5962slive src/util/crypto/nss/nss_obfuscate.c \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive src/util/crypto/nss/nss_util.c
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive SSS_CRYPT_CFLAGS = $(NSS_CFLAGS)
c6f41bc69d643835804e7e831776d3d46c6f5962slive SSS_CRYPT_LIBS = $(NSS_LIBS)
aa8cf57195dfb7fa3d0baedf81f8be377946cea8sliveelse
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_sha512crypt.c \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive src/util/crypto/libcrypto/crypto_obfuscate.c
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive SSS_CRYPT_CFLAGS = $(CRYPTO_CFLAGS)
ffb01336be79c64046b636e59fa8ddca8ec029edsf SSS_CRYPT_LIBS = $(CRYPTO_LIBS)
aa8cf57195dfb7fa3d0baedf81f8be377946cea8sliveendif
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slivelibsss_crypt_la_SOURCES = \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive $(SSS_CRYPT_SOURCES)
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slivelibsss_crypt_la_CFLAGS = \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive $(SSS_CRYPT_CFLAGS) \
4ee3ac9c23e31f43d39414f4072f1b1456e43ff8igalic $(DHASH_CFLAGS)
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemlibsss_crypt_la_LIBADD = \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive $(SSS_CRYPT_LIBS)
4ee3ac9c23e31f43d39414f4072f1b1456e43ff8igalic
aee1f193a276866212922ae5072e3014db28582frpluemif BUILD_PYTHON_BINDINGS
4ee3ac9c23e31f43d39414f4072f1b1456e43ff8igalicpyexec_LTLIBRARIES = \
4ee3ac9c23e31f43d39414f4072f1b1456e43ff8igalic pysss.la
4ee3ac9c23e31f43d39414f4072f1b1456e43ff8igalicendif
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slivedist_noinst_SCRIPTS = \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive $(EXTRA_SCRIPTS) \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive src/config/setup.py \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive src/config/ipachangeconf.py \
aee1f193a276866212922ae5072e3014db28582frpluem src/config/SSSDConfig.py \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive src/config/SSSDConfigTest.py \
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive src/config/sssd_upgrade_config.py
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slive
aa8cf57195dfb7fa3d0baedf81f8be377946cea8slivedist_noinst_DATA = \
5a58787efeb02a1c3f06569d019ad81fd2efa06end src/config/testconfigs/sssd-valid.conf \
aee1f193a276866212922ae5072e3014db28582frpluem src/config/testconfigs/noparse.api.conf \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/config/testconfigs/sssd-noversion.conf \
aee1f193a276866212922ae5072e3014db28582frpluem src/config/testconfigs/sssd-badversion.conf \
aee1f193a276866212922ae5072e3014db28582frpluem src/config/testconfigs/sssd-invalid.conf \
650ba5bfc49e73bf370f3cff32d3cdca004a2861rbowen src/config/testconfigs/sssd-invalid-badbool.conf
aee1f193a276866212922ae5072e3014db28582frpluem
aee1f193a276866212922ae5072e3014db28582frpluem###############################
aee1f193a276866212922ae5072e3014db28582frpluem# Global compilation settings #
aee1f193a276866212922ae5072e3014db28582frpluem###############################
aee1f193a276866212922ae5072e3014db28582frpluem
aee1f193a276866212922ae5072e3014db28582frpluemAM_CPPFLAGS = \
aee1f193a276866212922ae5072e3014db28582frpluem -Wall \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele -Iinclude \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele -I.. \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele -I$(srcdir)/include \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele -I$(srcdir)/src/sss_client \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele -I$(srcdir)/src \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele -Iinclude \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele -I. \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele $(POPT_CFLAGS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(TALLOC_CFLAGS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(TDB_CFLAGS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(TEVENT_CFLAGS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(LDB_CFLAGS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(DBUS_CFLAGS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(PCRE_CFLAGS) \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele $(COLLECTION_CFLAGS) \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele $(INI_CONFIG_CFLAGS) \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele $(DHASH_CFLAGS) \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele $(LIBNL_CFLAGS) \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele -DLIBDIR=\"$(libdir)\" \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele -DVARDIR=\"$(localstatedir)\" \
aee1f193a276866212922ae5072e3014db28582frpluem -DSHLIBEXT=\"$(SHLIBEXT)\" \
aee1f193a276866212922ae5072e3014db28582frpluem -DSSSD_LIBEXEC_PATH=\"$(sssdlibexecdir)\" \
aee1f193a276866212922ae5072e3014db28582frpluem -DSSSD_INTROSPECT_PATH=\"$(dbusinstropectdir)\" \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele -DSSSD_CONF_DIR=\"$(sssdconfdir)\" \
aee1f193a276866212922ae5072e3014db28582frpluem -DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \
aee1f193a276866212922ae5072e3014db28582frpluem -DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \
aee1f193a276866212922ae5072e3014db28582frpluem -DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
9bcfc3697a91b5215893a7d0206865b13fc72148nd -DLOCALEDIR=\"$(localedir)\"
9bcfc3697a91b5215893a7d0206865b13fc72148nd
9bcfc3697a91b5215893a7d0206865b13fc72148ndEXTRA_DIST = build/config.rpath
aee1f193a276866212922ae5072e3014db28582frpluem
aee1f193a276866212922ae5072e3014db28582frpluemSSSD_DEBUG_OBJ = \
aee1f193a276866212922ae5072e3014db28582frpluem src/util/debug.c \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/util/sss_log.c
aee1f193a276866212922ae5072e3014db28582frpluem
5a58787efeb02a1c3f06569d019ad81fd2efa06endSSSD_UTIL_OBJ = \
5a58787efeb02a1c3f06569d019ad81fd2efa06end src/confdb/confdb.c \
5a58787efeb02a1c3f06569d019ad81fd2efa06end src/db/sysdb.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/db/sysdb_ops.c \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/db/sysdb_search.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/monitor/monitor_sbus.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/dp_auth_util.c \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/providers/dp_pam_data_util.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/dp_sbus.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/sbus/sbus_client.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/sbus/sssd_dbus_common.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/sbus/sssd_dbus_connection.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/sbus/sssd_dbus_server.c \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/util/util.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/util/memory.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/util/server.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/util/signal.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/util/usertools.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/util/backup_file.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/util/strtonum.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/util/check_and_open.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/util/refcount.c \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele $(SSSD_DEBUG_OBJ)
aee1f193a276866212922ae5072e3014db28582frpluem
aee1f193a276866212922ae5072e3014db28582frpluemSSSD_RESPONDER_OBJ = \
aee1f193a276866212922ae5072e3014db28582frpluem src/responder/common/negcache.c \
10a304fc5348d394375b98ae10ca9b137fd10cafkess src/responder/common/responder_cmd.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/responder/common/responder_common.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/responder/common/responder_dp.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/responder/common/responder_packet.c
aee1f193a276866212922ae5072e3014db28582frpluem
aee1f193a276866212922ae5072e3014db28582frpluemSSSD_TOOLS_OBJ = \
aee1f193a276866212922ae5072e3014db28582frpluem src/tools/sss_sync_ops.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/tools/tools_util.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/tools/files.c \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/tools/selinux.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/tools/nscd.c
aee1f193a276866212922ae5072e3014db28582frpluem
aee1f193a276866212922ae5072e3014db28582frpluemSSSD_RESOLV_OBJ = \
aee1f193a276866212922ae5072e3014db28582frpluem src/resolv/async_resolv.c
5a58787efeb02a1c3f06569d019ad81fd2efa06endif BUILD_ARES_DATA
5a58787efeb02a1c3f06569d019ad81fd2efa06end SSSD_RESOLV_OBJ += \
5a58787efeb02a1c3f06569d019ad81fd2efa06end src/resolv/ares/ares_parse_srv_reply.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/resolv/ares/ares_data.c
4ab980a06412fd86f52a6d054fb7e26de155c530erikabeleendif
aee1f193a276866212922ae5072e3014db28582frpluem
aee1f193a276866212922ae5072e3014db28582frpluemSSSD_FAILOVER_OBJ = \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/fail_over.c \
aee1f193a276866212922ae5072e3014db28582frpluem $(SSSD_RESOLV_OBJ)
aee1f193a276866212922ae5072e3014db28582frpluem
aee1f193a276866212922ae5072e3014db28582frpluemSSSD_LIBS = \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele $(TALLOC_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(TEVENT_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(POPT_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(LDB_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(DBUS_LIBS) \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele $(PCRE_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(INI_CONFIG_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(COLLECTION_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(DHASH_LIBS) \
8ba6e8ba8d8ad4d8228872d5526fa7295ff43149poirier $(SSS_CRYPT_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(OPENLDAP_LIBS) \
5a58787efeb02a1c3f06569d019ad81fd2efa06end $(TDB_LIBS) \
5a58787efeb02a1c3f06569d019ad81fd2efa06end libsss_crypt.la
5a58787efeb02a1c3f06569d019ad81fd2efa06end
aee1f193a276866212922ae5072e3014db28582frpluemPYTHON_BINDINGS_LIBS = \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele $(TALLOC_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(TEVENT_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(POPT_LIBS) \
5d7e5de2da57434c8e68c8fa49cbf6d70ee0f817slive $(LDB_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(DBUS_LIBS) \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele $(PCRE_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(DHASH_LIBS) \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele $(SSS_CRYPT_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(OPENLDAP_LIBS) \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele $(TDB_LIBS) \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele libsss_crypt.la
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele
aee1f193a276866212922ae5072e3014db28582frpluemTOOLS_LIBS = \
5a58787efeb02a1c3f06569d019ad81fd2efa06end $(TALLOC_LIBS) \
5a58787efeb02a1c3f06569d019ad81fd2efa06end $(TEVENT_LIBS) \
5a58787efeb02a1c3f06569d019ad81fd2efa06end $(POPT_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(LDB_LIBS) \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele $(DBUS_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(PCRE_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(INI_CONFIG_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(COLLECTION_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(DHASH_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem $(OPENLDAP_LIBS) \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele $(TDB_LIBS) \
aee1f193a276866212922ae5072e3014db28582frpluem libsss_crypt.la
aee1f193a276866212922ae5072e3014db28582frpluem
4ab980a06412fd86f52a6d054fb7e26de155c530erikabeleif BUILD_SELINUX
aee1f193a276866212922ae5072e3014db28582frpluem PYTHON_BINDINGS_LIBS += $(SELINUX_LIBS)
5a58787efeb02a1c3f06569d019ad81fd2efa06end TOOLS_LIBS += $(SELINUX_LIBS)
5a58787efeb02a1c3f06569d019ad81fd2efa06endendif
5a58787efeb02a1c3f06569d019ad81fd2efa06endif BUILD_SEMANAGE
a3388213b2b4d46b356be205e38204e67b4304d8rbowen PYTHON_BINDINGS_LIBS += $(SEMANAGE_LIBS)
a3388213b2b4d46b356be205e38204e67b4304d8rbowen TOOLS_LIBS += $(SEMANAGE_LIBS)
a3388213b2b4d46b356be205e38204e67b4304d8rbowenendif
aee1f193a276866212922ae5072e3014db28582frpluem
aee1f193a276866212922ae5072e3014db28582frpluemdist_noinst_HEADERS = \
aee1f193a276866212922ae5072e3014db28582frpluem src/monitor/monitor.h \
650ba5bfc49e73bf370f3cff32d3cdca004a2861rbowen src/util/crypto/sss_crypto.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/util/dlinklist.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/util/util.h \
a3388213b2b4d46b356be205e38204e67b4304d8rbowen src/util/strtonum.h \
a3388213b2b4d46b356be205e38204e67b4304d8rbowen src/util/sss_ldap.h \
5a58787efeb02a1c3f06569d019ad81fd2efa06end src/util/sss_krb5.h \
5a58787efeb02a1c3f06569d019ad81fd2efa06end src/util/refcount.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/util/find_uid.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/util/user_info_msg.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/monitor/monitor.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/monitor/monitor_interfaces.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/responder/common/responder.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/responder/common/responder_packet.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/responder/pam/pamsrv.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/responder/nss/nsssrv.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/responder/nss/nsssrv_private.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/responder/nss/nsssrv_netgroup.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/responder/common/negcache.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/sbus/sbus_client.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/sbus/sssd_dbus.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/sbus/sssd_dbus_private.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/db/sysdb.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/db/sysdb_private.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/confdb/confdb.h \
df321386f1d9ed17a3e5e6468807996a12890d50gryzor src/confdb/confdb_private.h \
5a58787efeb02a1c3f06569d019ad81fd2efa06end src/confdb/confdb_setup.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/data_provider.h \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/providers/dp_backend.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/fail_over.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/providers.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/child_common.h \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/providers/simple/simple_access.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/krb5/krb5_auth.h \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/providers/krb5/krb5_common.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/krb5/krb5_utils.h \
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedooh src/providers/ldap/ldap_common.h \
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen src/providers/ldap/sdap.h \
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen src/providers/ldap/sdap_access.h \
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen src/providers/ldap/sdap_async.h \
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedooh src/providers/ldap/sdap_async_private.h \
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedooh src/providers/ldap/sdap_id_op.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/ipa/ipa_common.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/ipa/ipa_access.h \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/providers/ipa/ipa_auth.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/ipa/ipa_dyndns.h \
5a58787efeb02a1c3f06569d019ad81fd2efa06end src/providers/proxy/proxy.h \
5a58787efeb02a1c3f06569d019ad81fd2efa06end src/tools/tools_util.h \
5a58787efeb02a1c3f06569d019ad81fd2efa06end src/tools/sss_sync_ops.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/resolv/async_resolv.h \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/resolv/ares/ares_parse_srv_reply.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/resolv/ares/ares_parse_txt_reply.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/resolv/ares/ares_data.h \
aee1f193a276866212922ae5072e3014db28582frpluem src/tests/common.h
aee1f193a276866212922ae5072e3014db28582frpluem
4ab980a06412fd86f52a6d054fb7e26de155c530erikabeleif HAVE_NSS
aee1f193a276866212922ae5072e3014db28582frpluem dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
4ab980a06412fd86f52a6d054fb7e26de155c530erikabeleendif
aee1f193a276866212922ae5072e3014db28582frpluem
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele####################
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele# Program Binaries #
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele####################
aee1f193a276866212922ae5072e3014db28582frpluemsssd_SOURCES = \
aee1f193a276866212922ae5072e3014db28582frpluem src/monitor/monitor.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/monitor/monitor_netlink.c \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/confdb/confdb_setup.c \
aee1f193a276866212922ae5072e3014db28582frpluem $(SSSD_UTIL_OBJ)
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedoohsssd_LDADD = \
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen $(SSSD_LIBS) \
8d0e4e42e6712806f61f5c099a498b2e5e09d7d7humbedooh $(LIBNL_LIBS)
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedoohsssd_nss_SOURCES = \
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedooh src/responder/nss/nsssrv.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/responder/nss/nsssrv_cmd.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/responder/nss/nsssrv_netgroup.c \
aee1f193a276866212922ae5072e3014db28582frpluem $(SSSD_UTIL_OBJ) \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele $(SSSD_RESPONDER_OBJ)
aee1f193a276866212922ae5072e3014db28582frpluemsssd_nss_LDADD = \
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedooh $(TDB_LIBS) \
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen $(SSSD_LIBS)
8d0e4e42e6712806f61f5c099a498b2e5e09d7d7humbedooh
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowensssd_pam_SOURCES = \
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen src/responder/pam/pam_LOCAL_domain.c \
8d0e4e42e6712806f61f5c099a498b2e5e09d7d7humbedooh src/responder/pam/pamsrv.c \
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen src/responder/pam/pamsrv_cmd.c \
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedooh src/responder/pam/pamsrv_dp.c \
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedooh $(SSSD_UTIL_OBJ) \
aee1f193a276866212922ae5072e3014db28582frpluem $(SSSD_RESPONDER_OBJ)
aee1f193a276866212922ae5072e3014db28582frpluemsssd_pam_LDADD = \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele $(TDB_LIBS) \
10a304fc5348d394375b98ae10ca9b137fd10cafkess $(SSSD_LIBS)
aee1f193a276866212922ae5072e3014db28582frpluem
aee1f193a276866212922ae5072e3014db28582frpluemsssd_be_SOURCES = \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/data_provider_be.c \
13dd6a45ad3051c84a03bfbc88f0e314a5322ed6rbowen src/providers/data_provider_fo.c \
aee1f193a276866212922ae5072e3014db28582frpluem src/providers/data_provider_opts.c \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/providers/data_provider_callbacks.c \
aee1f193a276866212922ae5072e3014db28582frpluem $(SSSD_FAILOVER_OBJ) \
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedooh $(SSSD_UTIL_OBJ)
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedoohsssd_be_LDADD = $(SSSD_LIBS) $(CARES_LIBS)
aee1f193a276866212922ae5072e3014db28582frpluemsssd_be_LDFLAGS = \
5a58787efeb02a1c3f06569d019ad81fd2efa06end -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
5a58787efeb02a1c3f06569d019ad81fd2efa06end -export-dynamic \
5a58787efeb02a1c3f06569d019ad81fd2efa06end $(PAM_LIBS)
aee1f193a276866212922ae5072e3014db28582frpluem
4ab980a06412fd86f52a6d054fb7e26de155c530erikabeleif BUILD_PYTHON_BINDINGS
aee1f193a276866212922ae5072e3014db28582frpluemsss_obfuscate_pythondir = $(sbindir)
aee1f193a276866212922ae5072e3014db28582frpluemdist_sss_obfuscate_python_SCRIPTS = \
aee1f193a276866212922ae5072e3014db28582frpluem src/tools/sss_obfuscate
aee1f193a276866212922ae5072e3014db28582frpluemendif
aee1f193a276866212922ae5072e3014db28582frpluem
22cebd88e14c30aedd5dd95323ba66e4887dc94bkess
aee1f193a276866212922ae5072e3014db28582frpluem
4ab980a06412fd86f52a6d054fb7e26de155c530erikabeledist_noinst_DATA += \
aee1f193a276866212922ae5072e3014db28582frpluem src/examples/sssd.conf \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele src/examples/sssdproxytest \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele src/examples/sudo \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/examples/logrotate \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele src/providers/sssd_be.exports \
aee1f193a276866212922ae5072e3014db28582frpluem src/sss_client/COPYING \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/sss_client/COPYING.LESSER \
aee1f193a276866212922ae5072e3014db28582frpluem src/m4
aee1f193a276866212922ae5072e3014db28582frpluem
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele######################
aee1f193a276866212922ae5072e3014db28582frpluem# Command-line Tools #
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele######################
aee1f193a276866212922ae5072e3014db28582frpluemsss_useradd_SOURCES = \
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele src/tools/sss_useradd.c \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele $(SSSD_UTIL_OBJ) \
aee1f193a276866212922ae5072e3014db28582frpluem $(SSSD_TOOLS_OBJ)
aee1f193a276866212922ae5072e3014db28582frpluemsss_useradd_LDADD = \
aee1f193a276866212922ae5072e3014db28582frpluem $(TOOLS_LIBS)
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele
aee1f193a276866212922ae5072e3014db28582frpluemsss_userdel_SOURCES = \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele src/tools/sss_userdel.c \
82178a3043043b8813c0d7288a06ca1b7d110d4atakashi src/util/find_uid.c \
ea49840bfe8467a7d7bd4db27b1d4880a85511aberikabele $(SSSD_UTIL_OBJ) \
aee1f193a276866212922ae5072e3014db28582frpluem $(SSSD_TOOLS_OBJ)
aee1f193a276866212922ae5072e3014db28582frpluemsss_userdel_LDADD = \
aee1f193a276866212922ae5072e3014db28582frpluem $(TOOLS_LIBS)
4ab980a06412fd86f52a6d054fb7e26de155c530erikabele
aee1f193a276866212922ae5072e3014db28582frpluemsss_groupadd_SOURCES = \
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedooh src/tools/sss_groupadd.c \
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen $(SSSD_UTIL_OBJ) \
8d0e4e42e6712806f61f5c099a498b2e5e09d7d7humbedooh $(SSSD_TOOLS_OBJ)
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowensss_groupadd_LDADD = \
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedooh $(TOOLS_LIBS)
b3c1e4e5b0fc67887a85bc388c16949a21e66f51humbedooh
aee1f193a276866212922ae5072e3014db28582frpluemsss_groupdel_SOURCES = \
bd43fc31993cfc191e744a9490481f4294894099covener src/tools/sss_groupdel.c \
bd43fc31993cfc191e744a9490481f4294894099covener $(SSSD_UTIL_OBJ) \
bd43fc31993cfc191e744a9490481f4294894099covener $(SSSD_TOOLS_OBJ)
bd43fc31993cfc191e744a9490481f4294894099covenersss_groupdel_LDADD = \
bd43fc31993cfc191e744a9490481f4294894099covener $(TOOLS_LIBS)
bd43fc31993cfc191e744a9490481f4294894099covener
bd43fc31993cfc191e744a9490481f4294894099covenersss_usermod_SOURCES = \
bd43fc31993cfc191e744a9490481f4294894099covener src/tools/sss_usermod.c \
bd43fc31993cfc191e744a9490481f4294894099covener $(SSSD_UTIL_OBJ) \
bd43fc31993cfc191e744a9490481f4294894099covener $(SSSD_TOOLS_OBJ)
bd43fc31993cfc191e744a9490481f4294894099covenersss_usermod_LDADD = \
bd43fc31993cfc191e744a9490481f4294894099covener $(TOOLS_LIBS)
bd43fc31993cfc191e744a9490481f4294894099covener
bd43fc31993cfc191e744a9490481f4294894099covenersss_groupmod_SOURCES = \
5effc8b39fae5cd169d17f342bfc265705840014rbowen src/tools/sss_groupmod.c \
5a58787efeb02a1c3f06569d019ad81fd2efa06end $(SSSD_UTIL_OBJ) \
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd $(SSSD_TOOLS_OBJ)
a78048ccbdb6256da15e6b0e7e95355e480c2301ndsss_groupmod_LDADD = \
5e740829c3448285963d3882530669f0112cf690gryzor $(TOOLS_LIBS)
aee1f193a276866212922ae5072e3014db28582frpluem
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjungsss_groupshow_SOURCES = \
727872d18412fc021f03969b8641810d8896820bhumbedooh src/tools/sss_groupshow.c \
0d0ba3a410038e179b695446bb149cce6264e0abnd $(SSSD_UTIL_OBJ) \
727872d18412fc021f03969b8641810d8896820bhumbedooh $(SSSD_TOOLS_OBJ)
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedoohsss_groupshow_LDADD = \
0d0ba3a410038e179b695446bb149cce6264e0abnd $(TOOLS_LIBS)
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh
727872d18412fc021f03969b8641810d8896820bhumbedooh#################
0d0ba3a410038e179b695446bb149cce6264e0abnd# Feature Tests #
0d0ba3a410038e179b695446bb149cce6264e0abnd#################
0d0ba3a410038e179b695446bb149cce6264e0abndnoinst_LTLIBRARIES += \
ac082aefa89416cbdc9a1836eaf3bed9698201c8humbedooh libsss_test_common.la
0d0ba3a410038e179b695446bb149cce6264e0abnd
0d0ba3a410038e179b695446bb149cce6264e0abndlibsss_test_common_la_SOURCES = \
0d0ba3a410038e179b695446bb149cce6264e0abnd src/tests/common.c
727872d18412fc021f03969b8641810d8896820bhumbedooh
0d0ba3a410038e179b695446bb149cce6264e0abndif HAVE_CHECK
0d0ba3a410038e179b695446bb149cce6264e0abndlibsss_test_common_la_SOURCES += \
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh src/tests/common_check.c
1a1356f375e36db7bee379ea0684ab389579f798rbowen
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowensysdb_tests_DEPENDENCIES = \
0d0ba3a410038e179b695446bb149cce6264e0abnd $(ldblib_LTLIBRARIES)
7fec19672a491661b2fe4b29f685bc7f4efa64d4ndsysdb_tests_SOURCES = \
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd src/tests/sysdb-tests.c \
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd $(SSSD_UTIL_OBJ)
5a58787efeb02a1c3f06569d019ad81fd2efa06endsysdb_tests_CFLAGS = \
-DSYSDB_TEST \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
sysdb_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la
strtonum_tests_SOURCES = \
$(SSSD_DEBUG_OBJ) \
src/tests/strtonum-tests.c \
src/util/strtonum.c
strtonum_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
strtonum_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la
krb5_utils_tests_SOURCES = \
src/tests/krb5_utils-tests.c \
src/providers/krb5/krb5_utils.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 \
$(SSSD_FAILOVER_OBJ) \
$(SSSD_UTIL_OBJ)
krb5_utils_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
krb5_utils_tests_LDADD = \
$(SSSD_LIBS)\
$(CARES_LIBS) \
$(KRB5_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la
check_and_open_tests_SOURCES = \
$(SSSD_DEBUG_OBJ) \
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 = \
$(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 = \
$(SSSD_DEBUG_OBJ) \
src/tests/files-tests.c \
src/util/check_and_open.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_RESOLV_TESTS_OBJ = \
$(SSSD_RESOLV_OBJ)
if BUILD_ARES_DATA
SSSD_RESOLV_TESTS_OBJ += \
src/resolv/ares/ares_parse_txt_reply.c
endif
resolv_tests_SOURCES = \
src/tests/resolv-tests.c \
$(SSSD_UTIL_OBJ) \
$(SSSD_RESOLV_TESTS_OBJ)
resolv_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS) \
-DBUILD_TXT
resolv_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(CARES_LIBS) \
libsss_test_common.la
refcount_tests_SOURCES = \
src/tests/refcount-tests.c \
$(CHECK_OBJ) \
$(SSSD_UTIL_OBJ)
refcount_tests_CFLAGS = \
$(CHECK_CFLAGS)
refcount_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la
fail_over_tests_SOURCES = \
src/tests/fail_over-tests.c \
$(SSSD_FAILOVER_OBJ) \
$(CHECK_OBJ) \
$(SSSD_UTIL_OBJ)
fail_over_tests_CFLAGS = \
$(CHECK_CFLAGS)
fail_over_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
$(CARES_LIBS) \
libsss_test_common.la
find_uid_tests_SOURCES = \
src/tests/find_uid-tests.c \
src/util/find_uid.c \
src/util/strtonum.c \
$(SSSD_DEBUG_OBJ)
find_uid_tests_CFLAGS = \
$(AM_CFLAGS) \
$(TALLOC_CFLAGS) \
$(DHASH_CFLAGS) \
$(CHECK_CFLAGS)
find_uid_tests_LDADD = \
$(TALLOC_LIBS) \
$(DHASH_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la
auth_tests_SOURCES = \
src/tests/auth-tests.c \
$(SSSD_UTIL_OBJ)
auth_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
auth_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la
ipa_ldap_opt_tests_SOURCES = \
src/providers/ipa/ipa_utils.c \
src/tests/ipa_ldap_opt-tests.c
ipa_ldap_opt_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
ipa_ldap_opt_tests_LDADD = \
$(CHECK_LIBS) \
$(TALLOC_LIBS) \
libsss_test_common.la
simple_access_tests_SOURCES = \
src/tests/simple_access-tests.c \
src/providers/simple/simple_access.c \
$(SSSD_UTIL_OBJ)
simple_access_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
simple_access_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS)
util_tests_SOURCES = \
src/tests/util-tests.c \
$(SSSD_UTIL_OBJ)
util_tests_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
util_tests_LDADD = \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la
crypto_tests_SOURCES = \
$(SSSD_DEBUG_OBJ) \
$(SSS_CRYPT_SOURCES) \
src/tests/crypto-tests.c
crypto_tests_CFLAGS = \
$(SSS_CRYPT_CFLAGS) \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
crypto_tests_LDADD = \
$(SSS_CRYPT_LIBS) \
$(SSSD_LIBS) \
$(CHECK_LIBS) \
libsss_test_common.la
endif
stress_tests_SOURCES = \
src/tests/stress-tests.c \
$(SSSD_UTIL_OBJ)
stress_tests_LDADD = \
$(SSSD_LIBS) \
libsss_test_common.la
noinst_PROGRAMS = pam_test_client
pam_test_client_SOURCES = src/sss_client/pam_test_client.c
pam_test_client_LDFLAGS = -lpam -lpam_misc
####################
# 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/sss_cli.h \
src/sss_client/nss_compat.h
libnss_sss_la_LDFLAGS = \
-module \
-version-info 2:0:0 \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
pamlib_LTLIBRARIES = pam_sss.la
pam_sss_la_SOURCES = \
src/sss_client/pam_sss.c \
src/sss_client/common.c \
src/sss_client/sss_cli.h \
src/sss_client/sss_pam_macros.h
pam_sss_la_LDFLAGS = \
-lpam \
-module \
-avoid-version \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
dist_noinst_DATA += \
src/sss_client/sss_nss.exports \
src/sss_client/sss_pam.exports
####################
# Plugin Libraries #
####################
libsss_ldap_la_SOURCES = \
src/util/find_uid.c \
src/providers/child_common.c \
src/providers/ldap/ldap_id.c \
src/providers/ldap/ldap_id_enum.c \
src/providers/ldap/ldap_id_cleanup.c \
src/providers/ldap/ldap_id_netgroup.c \
src/providers/ldap/sdap_access.c \
src/providers/ldap/ldap_auth.c \
src/providers/ldap/ldap_init.c \
src/providers/ldap/ldap_common.c \
src/providers/ldap/sdap_async.c \
src/providers/ldap/sdap_async_accounts.c \
src/providers/ldap/sdap_async_connection.c \
src/providers/ldap/sdap_async_netgroups.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.c \
src/providers/krb5/krb5_common.c \
src/util/user_info_msg.c \
src/util/sss_ldap.c \
src/util/sss_krb5.c
libsss_ldap_la_CFLAGS = \
$(AM_CFLAGS) \
$(LDAP_CFLAGS) \
$(KRB5_CFLAGS)
libsss_ldap_la_LIBADD = \
$(OPENLDAP_LIBS) \
$(DHASH_LIBS) \
$(KRB5_LIBS) \
libsss_crypt.la
libsss_ldap_la_LDFLAGS = \
-version-info 1:0:0 \
-module
libsss_proxy_la_SOURCES = \
src/providers/proxy/proxy_common.c \
src/providers/proxy/proxy_init.c \
src/providers/proxy/proxy_id.c \
src/providers/proxy/proxy_netgroup.c \
src/providers/proxy/proxy_auth.c
libsss_proxy_la_CFLAGS = \
$(AM_CFLAGS)
libsss_proxy_la_LIBADD = \
$(PAM_LIBS)
libsss_proxy_la_LDFLAGS = \
-version-info 1:0:0 \
-module
libsss_simple_la_SOURCES = \
src/providers/simple/simple_access.c
libsss_simple_la_CFLAGS = \
$(AM_CFLAGS)
libsss_simple_la_LIBADD = \
$(PAM_LIBS)
libsss_simple_la_LDFLAGS = \
-version-info 1:0:0 \
-module
libsss_krb5_la_SOURCES = \
src/util/find_uid.c \
src/providers/child_common.c \
src/providers/krb5/krb5_utils.c \
src/providers/krb5/krb5_become_user.c \
src/providers/krb5/krb5_delayed_online_authentication.c \
src/providers/krb5/krb5_renew_tgt.c \
src/providers/krb5/krb5_wait_queue.c \
src/providers/krb5/krb5_auth.c \
src/providers/krb5/krb5_access.c \
src/providers/krb5/krb5_child_handler.c \
src/providers/krb5/krb5_common.c \
src/providers/krb5/krb5_init.c \
src/util/sss_krb5.c
libsss_krb5_la_CFLAGS = \
$(AM_CFLAGS) \
$(DHASH_CFLAGS)
libsss_krb5_la_LIBADD = \
$(DHASH_LIBS) \
$(KEYUTILS_LIBS) \
$(KRB5_LIBS)
libsss_krb5_la_LDFLAGS = \
-version-info 1:0:0 \
-module
libsss_ipa_la_SOURCES = \
src/providers/child_common.c \
src/providers/ipa/ipa_init.c \
src/providers/ipa/ipa_common.c \
src/providers/ipa/ipa_utils.c \
src/providers/ipa/ipa_auth.c \
src/providers/ipa/ipa_access.c \
src/providers/ipa/ipa_dyndns.c \
src/providers/ldap/ldap_id.c \
src/providers/ldap/ldap_id_enum.c \
src/providers/ldap/ldap_id_cleanup.c \
src/providers/ldap/ldap_id_netgroup.c \
src/providers/ldap/ldap_auth.c \
src/providers/ldap/ldap_common.c \
src/providers/ldap/sdap_async.c \
src/providers/ldap/sdap_async_accounts.c \
src/providers/ldap/sdap_async_connection.c \
src/providers/ldap/sdap_async_netgroups.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.c \
src/util/user_info_msg.c \
src/util/sss_ldap.c \
src/util/sss_krb5.c \
src/util/find_uid.c \
src/providers/krb5/krb5_utils.c \
src/providers/krb5/krb5_become_user.c \
src/providers/krb5/krb5_delayed_online_authentication.c \
src/providers/krb5/krb5_renew_tgt.c \
src/providers/krb5/krb5_wait_queue.c \
src/providers/krb5/krb5_common.c \
src/providers/krb5/krb5_auth.c \
src/providers/krb5/krb5_access.c \
src/providers/krb5/krb5_child_handler.c
libsss_ipa_la_CFLAGS = \
$(AM_CFLAGS) \
$(LDAP_CFLAGS) \
$(DHASH_CFLAGS) \
$(KRB5_CFLAGS)
libsss_ipa_la_LIBADD = \
$(OPENLDAP_LIBS) \
$(DHASH_LIBS) \
$(KEYUTILS_LIBS) \
$(KRB5_LIBS) \
libsss_crypt.la
libsss_ipa_la_LDFLAGS = \
-version-info 1:0:0 \
-module
krb5_child_SOURCES = \
$(SSSD_DEBUG_OBJ) \
src/providers/krb5/krb5_become_user.c \
src/providers/krb5/krb5_child.c \
src/providers/child_common.c \
src/providers/dp_pam_data_util.c \
src/util/user_info_msg.c \
src/util/sss_krb5.c
krb5_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
$(KRB5_CFLAGS)
krb5_child_LDADD = \
$(TALLOC_LIBS) \
$(TEVENT_LIBS) \
$(POPT_LIBS) \
$(KRB5_LIBS)
ldap_child_SOURCES = \
$(SSSD_DEBUG_OBJ) \
src/providers/ldap/ldap_child.c \
src/providers/child_common.c \
src/util/sss_krb5.c
ldap_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
$(KRB5_CFLAGS)
ldap_child_LDADD = \
$(TALLOC_LIBS) \
$(TEVENT_LIBS) \
$(POPT_LIBS) \
$(OPENLDAP_LIBS) \
$(KRB5_LIBS)
proxy_child_SOURCES = \
$(SSSD_UTIL_OBJ) \
src/providers/proxy/proxy_child.c
proxy_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS)
proxy_child_LDADD = \
$(PAM_LIBS) \
$(SSSD_LIBS)
memberof_la_SOURCES = \
$(SSSD_DEBUG_OBJ) \
src/ldb_modules/memberof.c \
src/util/util.c
memberof_la_CFLAGS = \
$(AM_CFLAGS)
memberof_la_LIBADD = $(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
sssd_krb5_locator_plugin_la_CFLAGS = \
$(AM_CFLAGS) \
$(KRB5_CFLAGS)
sssd_krb5_locator_plugin_la_LDFLAGS = \
-avoid-version \
-module
endif
if BUILD_PYTHON_BINDINGS
pysss_la_SOURCES = \
$(SSSD_UTIL_OBJ) \
$(SSSD_TOOLS_OBJ) \
src/python/pysss.c
pysss_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON_CFLAGS)
pysss_la_LIBADD = \
$(PYTHON_BINDINGS_LIBS) \
$(PYTHON_LIBS)
pysss_la_LDFLAGS = \
-avoid-version \
-module
endif
################
# TRANSLATIONS #
################
update-po:
$(MAKE) -C src/man update-po
$(MAKE) -C po update-po
translated-manpages:
$(MAKE) -C src/man translate
#######################
# Installation Extras #
#######################
dist_init_SCRIPTS =
if HAVE_SUSE
dist_init_SCRIPTS += \
src/sysv/SUSE/sssd
else
if HAVE_GENTOO
dist_init_SCRIPTS += \
src/sysv/gentoo/sssd
else
dist_init_SCRIPTS += \
src/sysv/sssd
endif
endif
dist_sssdconf_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-krb5.conf \
src/config/etc/sssd.api.d/sssd-ldap.conf \
src/config/etc/sssd.api.d/sssd-local.conf \
src/config/etc/sssd.api.d/sssd-proxy.conf \
src/config/etc/sssd.api.d/sssd-simple.conf
installsssddirs::
mkdir -p \
$(DESTDIR)$(includedir) \
$(DESTDIR)$(libdir) \
$(DESTDIR)$(sbindir) \
$(DESTDIR)$(initdir) \
$(DESTDIR)$(mandir) \
$(DESTDIR)$(pluginpath) \
$(DESTDIR)$(libdir)/ldb \
$(DESTDIR)$(infpintrospectdir) \
$(DESTDIR)$(dbusintrospectdir) \
$(DESTDIR)$(pipepath)/private \
$(DESTDIR)$(sssdlibdir) \
$(DESTDIR)$(sssdconfdir) \
$(DESTDIR)$(dbpath) \
$(DESTDIR)$(pidpath) \
$(DESTDIR)$(initdir) \
$(DESTDIR)$(logpath) \
$(DESTDIR)$(pubconfpath)
if HAVE_DOXYGEN
docs:
$(DOXYGEN) src/doxy.config
else
docs:
@echo "Doxygen not installed, cannot generate documentation"
@exit 1
endif
all-local:
if BUILD_PYTHON_BINDINGS
cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config
endif
install-exec-hook: installsssddirs
if BUILD_PYTHON_BINDINGS
if [ "$(DESTDIR)" = "" ]; then \
cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --record=$(abs_builddir)/src/config/.files; \
else \
cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --root=$(DESTDIR) --record=$(abs_builddir)/src/config/.files; \
fi
endif
mkdir -p doc $(DESTDIR)/$(docdir); cp -a doc $(DESTDIR)/$(docdir)/
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
uninstall-hook:
if [ -f $(abs_builddir)/src/config/.files ]; then \
cat $(abs_builddir)/src/config/.files | xargs -iq rm -f $(DESTDIR)/q; \
rm $(abs_builddir)/src/config/.files ; \
fi
rm -Rf $(DESTDIR)/$(docdir)/doc
clean-local:
if BUILD_PYTHON_BINDINGS
cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config clean --all
endif
rm -Rf doc
CLEANFILES = *.X */*.X */*/*.X
tests: all $(check_PROGRAMS)
# 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
rpms: dist-gzip rpmroot
cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
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: dist-gzip rpmroot
cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
cd $(RPMBUILD); \
rpmbuild --define "_topdir $(RPMBUILD)" \
--define _source_filedigest_algorithm=1 \
-bs SPECS/sssd.spec
if GIT_CHECKOUT
prerelease-srpm:
cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
$(MAKE) srpm
mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
endif