summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-01-15 11:40:19 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 20:16:04 +0100
commit543676afec3c08fdc0a5a794976adc8dfdca974b (patch)
tree97ade9c8091c0f5d21b9036dbb8ebad93b5b2b47 /Makefile.am
parent82dc11348718bf8e2ff07da696f91f6703293c24 (diff)
downloadsssd-543676afec3c08fdc0a5a794976adc8dfdca974b.tar.gz
sssd-543676afec3c08fdc0a5a794976adc8dfdca974b.tar.xz
sssd-543676afec3c08fdc0a5a794976adc8dfdca974b.zip
TOOLS: Split querying nss responder into a separate function
The tools query the responder in order to sync the memcache after performing changes to the local database. The functions will be reused by other tools so I split them into a separate functions.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am17
1 files changed, 11 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index 8c9cd32ea..710c10168 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -285,11 +285,15 @@ SSSD_RESPONDER_OBJ = \
SSSD_TOOLS_OBJ = \
src/tools/sss_sync_ops.c \
src/tools/tools_util.c \
- src/tools/tools_mc_util.c \
src/tools/files.c \
src/tools/selinux.c \
src/tools/nscd.c
+SSSD_LCL_TOOLS_OBJ = \
+ src/sss_client/common.c \
+ src/tools/tools_mc_util.c \
+ $(SSSD_TOOLS_OBJ)
+
SSSD_RESOLV_OBJ = \
src/resolv/async_resolv.c
if BUILD_ARES_DATA
@@ -684,10 +688,9 @@ sss_useradd_LDADD = \
$(TOOLS_LIBS)
sss_userdel_SOURCES = \
- src/sss_client/common.c \
src/tools/sss_userdel.c \
src/util/find_uid.c \
- $(SSSD_TOOLS_OBJ)
+ $(SSSD_LCL_TOOLS_OBJ)
sss_userdel_LDADD = \
libsss_util.la \
$(TOOLS_LIBS)
@@ -703,9 +706,8 @@ sss_groupadd_LDADD = \
$(TOOLS_LIBS)
sss_groupdel_SOURCES = \
- src/sss_client/common.c \
src/tools/sss_groupdel.c \
- $(SSSD_TOOLS_OBJ)
+ $(SSSD_LCL_TOOLS_OBJ)
sss_groupdel_LDADD = \
libsss_util.la \
$(TOOLS_LIBS)
@@ -736,10 +738,13 @@ sss_groupshow_LDADD = \
sss_cache_SOURCES = \
src/tools/sss_cache.c \
- $(SSSD_TOOLS_OBJ)
+ $(SSSD_LCL_TOOLS_OBJ)
sss_cache_LDADD = \
libsss_util.la \
$(TOOLS_LIBS)
+sss_cache_CFLAGS = $(AM_CFLAGS)
+sss_cache_LDFLAGS = \
+ $(CLIENT_LIBS)
sss_debuglevel_SOURCES = \
src/tools/sss_debuglevel.c \