s3:first cut at dbwrap_tool - a tdb tool that is CTDB-aware.
[ira/wip.git] / source3 / Makefile.in
index 1e6f681da1bf81cd08fe93fe4bf3997a3cae9a19..4447da98d3a9f506ae71671dafd3eb7f165a37c7 100644 (file)
@@ -1217,6 +1217,10 @@ RPC_OPEN_TCP_OBJ = torture/rpc_open_tcp.o \
                   ../librpc/rpc/binding.o \
                   $(LIBMSRPC_GEN_OBJ)
 
+DBWRAP_STORE_INT32_OBJ = utils/dbwrap_tool.o \
+                        $(PARAM_OBJ) \
+                        $(LIB_NONSMBD_OBJ) \
+                        $(LIBSAMBA_OBJ)
 
 ######################################################################
 # now the rules...
@@ -2866,6 +2870,13 @@ bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ @LI
                $(LDAP_LIBS) \
                $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
 
+bin/dbwrap_tool@EXEEXT@: $(DBWRAP_STORE_INT32_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
+       @echo "Linking $@"
+       @$(CC) -o $@ $(DBWRAP_STORE_INT32_OBJ)\
+               $(LDFLAGS) $(DYNEEXP) $(LIBS) \
+               $(LDAP_LIBS) \
+               $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
+
 install:: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSUPCALL@ installman \
                installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
                @INSTALL_PAM_MODULES@ installlibs installmo