summaryrefslogtreecommitdiffstats
path: root/ctdb/Makefile.in
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-12-16 15:40:01 +1100
committerMartin Schwenke <martin@meltin.net>2014-01-16 12:11:37 +1100
commit69324b61f0669022c7204ee08a4c7104865d4e9b (patch)
treee394b0db1812cdd02c1c7c95736e360a8abef7e2 /ctdb/Makefile.in
parent2879404388ed04af199a7e4451605b4435e8cc23 (diff)
downloadsamba-69324b61f0669022c7204ee08a4c7104865d4e9b.tar.gz
samba-69324b61f0669022c7204ee08a4c7104865d4e9b.tar.xz
samba-69324b61f0669022c7204ee08a4c7104865d4e9b.zip
ctdb-daemon: Add helper process to execute event scripts
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/Makefile.in')
-rwxr-xr-xctdb/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/ctdb/Makefile.in b/ctdb/Makefile.in
index 92bd56f2ca2..94904bda04e 100755
--- a/ctdb/Makefile.in
+++ b/ctdb/Makefile.in
@@ -120,7 +120,7 @@ TEST_BINS=tests/bin/ctdb_bench tests/bin/ctdb_fetch tests/bin/ctdb_fetch_one \
@INFINIBAND_BINS@
BINS = bin/ctdb @CTDB_SCSI_IO@ bin/smnotify bin/ping_pong bin/ltdbtool \
- bin/ctdb_lock_helper @CTDB_PMDA@
+ bin/ctdb_lock_helper bin/ctdb_event_helper @CTDB_PMDA@
SBINS = bin/ctdbd
@@ -178,6 +178,10 @@ bin/ctdb_lock_helper: server/ctdb_lock_helper.o lib/util/util_file.o $(CTDB_EXTE
@echo Linking $@
$(WRAPPER) $(CC) $(CFLAGS) -o $@ server/ctdb_lock_helper.o lib/util/util_file.o $(CTDB_EXTERNAL_OBJ) $(TDB_LIBS) $(LIB_FLAGS)
+bin/ctdb_event_helper: server/ctdb_event_helper.o $(SOCKET_WRAPPER_OBJ)
+ @echo Linking $@
+ $(WRAPPER) $(CC) $(CFLAGS) -o $@ server/ctdb_event_helper.o $(SOCKET_WRAPPER_OBJ) $(LIB_FLAGS)
+
bin/smnotify: utils/smnotify/gen_xdr.o utils/smnotify/gen_smnotify.o utils/smnotify/smnotify.o $(POPT_OBJ)
@echo Linking $@
$(WRAPPER) $(CC) $(CFLAGS) -o $@ utils/smnotify/smnotify.o utils/smnotify/gen_xdr.o utils/smnotify/gen_smnotify.o $(POPT_OBJ) $(LIB_FLAGS)
@@ -332,6 +336,7 @@ install: all manpages $(PMDA_INSTALL)
$(INSTALLCMD) -m 755 bin/ping_pong $(DESTDIR)$(bindir)
$(INSTALLCMD) -m 755 bin/ltdbtool $(DESTDIR)$(bindir)
$(INSTALLCMD) -m 755 bin/ctdb_lock_helper $(DESTDIR)$(bindir)
+ $(INSTALLCMD) -m 755 bin/ctdb_event_helper $(DESTDIR)$(bindir)
${INSTALLCMD} -m 644 include/ctdb.h $(DESTDIR)$(includedir)
${INSTALLCMD} -m 644 include/ctdb_client.h $(DESTDIR)$(includedir)
${INSTALLCMD} -m 644 include/ctdb_protocol.h $(DESTDIR)$(includedir)