summaryrefslogtreecommitdiffstats
path: root/ctdb/Makefile.in
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-04-22 15:36:27 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-05-24 09:06:39 +1000
commit30aa825c1ef9e39b10473ac85fee85f4a0f33278 (patch)
treef30b60e9f2acb27955c2a886d4786623e5a9ac71 /ctdb/Makefile.in
parentc9f4589c1318ffbbaa0b67038aac43b55b246055 (diff)
downloadsamba-30aa825c1ef9e39b10473ac85fee85f4a0f33278.tar.gz
samba-30aa825c1ef9e39b10473ac85fee85f4a0f33278.tar.xz
samba-30aa825c1ef9e39b10473ac85fee85f4a0f33278.zip
locking: Add a standalone helper to lock record/db
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit a08b6ac19506160f3fb5925ea025027dce07781d)
Diffstat (limited to 'ctdb/Makefile.in')
-rwxr-xr-xctdb/Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/ctdb/Makefile.in b/ctdb/Makefile.in
index 9f94aee7929..71c3f3186e4 100755
--- a/ctdb/Makefile.in
+++ b/ctdb/Makefile.in
@@ -107,7 +107,8 @@ TEST_BINS=tests/bin/ctdb_bench tests/bin/ctdb_fetch tests/bin/ctdb_fetch_one \
tests/bin/ctdb_porting_tests \
@INFINIBAND_BINS@
-BINS = bin/ctdb @CTDB_SCSI_IO@ bin/smnotify bin/ping_pong bin/ltdbtool @CTDB_PMDA@
+BINS = bin/ctdb @CTDB_SCSI_IO@ bin/smnotify bin/ping_pong bin/ltdbtool \
+ bin/ctdb_lock_helper @CTDB_PMDA@
SBINS = bin/ctdbd
@@ -176,6 +177,10 @@ bin/ltdbtool: tools/ltdbtool.o $(TDB_OBJ)
@echo Linking $@
@$(CC) $(CFLAGS) -o $@ $+ $(TDB_LIBS) $(LIB_FLAGS)
+bin/ctdb_lock_helper: server/ctdb_lock_helper.o lib/util/util_file.o $(TALLOC_OBJ) $(TDB_OBJ)
+ @echo Linking $@
+ @$(CC) $(CFLAGS) -o $@ $+ $(TDB_LIBS) $(LIB_FLAGS)
+
bin/smnotify: utils/smnotify/gen_xdr.o utils/smnotify/gen_smnotify.o utils/smnotify/smnotify.o $(POPT_OBJ)
@echo Linking $@
@$(CC) $(CFLAGS) -o $@ utils/smnotify/smnotify.o utils/smnotify/gen_xdr.o utils/smnotify/gen_smnotify.o $(POPT_OBJ) $(LIB_FLAGS)
@@ -327,6 +332,7 @@ install: all manpages $(PMDA_INSTALL)
${INSTALLCMD} -m 755 bin/smnotify $(DESTDIR)$(bindir)
$(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 libctdb/libctdb.a $(DESTDIR)$(libdir)
${INSTALLCMD} -m 644 include/ctdb.h $(DESTDIR)$(includedir)
${INSTALLCMD} -m 644 include/ctdb_client.h $(DESTDIR)$(includedir)