mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
b0a4a82370
ctdb wants a quick way to detect corrupt tdbs; particularly, tdbs with
loops in their hash chains. tdb_check() provides this.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from samba commit 022b4d4aa6
)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit df1a3ce0380fa9d8722b2f9b16f65557095e4c83)
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
################################################
|
|
# Start SUBSYSTEM LIBTDB
|
|
[LIBRARY::LIBTDB]
|
|
OUTPUT_TYPE = MERGED_OBJ
|
|
CFLAGS = -I$(tdbsrcdir)/include
|
|
#
|
|
# End SUBSYSTEM ldb
|
|
################################################
|
|
|
|
LIBTDB_OBJ_FILES = $(addprefix $(tdbsrcdir)/common/, \
|
|
tdb.o dump.o io.o lock.o \
|
|
open.o traverse.o freelist.o \
|
|
error.o transaction.o check.o)
|
|
|
|
################################################
|
|
# Start BINARY tdbtool
|
|
[BINARY::tdbtool]
|
|
INSTALLDIR = BINDIR
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBTDB
|
|
# End BINARY tdbtool
|
|
################################################
|
|
|
|
tdbtool_OBJ_FILES = $(tdbsrcdir)/tools/tdbtool.o
|
|
|
|
################################################
|
|
# Start BINARY tdbtorture
|
|
[BINARY::tdbtorture]
|
|
INSTALLDIR = BINDIR
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBTDB
|
|
# End BINARY tdbtorture
|
|
################################################
|
|
|
|
tdbtorture_OBJ_FILES = $(tdbsrcdir)/tools/tdbtorture.o
|
|
|
|
################################################
|
|
# Start BINARY tdbdump
|
|
[BINARY::tdbdump]
|
|
INSTALLDIR = BINDIR
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBTDB
|
|
# End BINARY tdbdump
|
|
################################################
|
|
|
|
tdbdump_OBJ_FILES = $(tdbsrcdir)/tools/tdbdump.o
|
|
|
|
################################################
|
|
# Start BINARY tdbbackup
|
|
[BINARY::tdbbackup]
|
|
INSTALLDIR = BINDIR
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBTDB
|
|
# End BINARY tdbbackup
|
|
################################################
|
|
|
|
tdbbackup_OBJ_FILES = $(tdbsrcdir)/tools/tdbbackup.o
|