summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/tdb/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/source3/tdb/Makefile b/source3/tdb/Makefile
new file mode 100644
index 0000000000..dbc59047c7
--- /dev/null
+++ b/source3/tdb/Makefile
@@ -0,0 +1,21 @@
+#
+# Makefile for tdb directory
+#
+
+CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DMMAP
+CC = gcc
+PROGS = tdbtest tdbtool tdbtorture
+
+default: $(PROGS)
+
+tdbtest: tdbtest.o tdb.o
+ gcc -o tdbtest tdbtest.o tdb.o -lgdbm
+
+tdbtool: tdbtool.o tdb.o
+ gcc -o tdbtool tdbtool.o tdb.o
+
+tdbtorture: tdbtorture.o tdb.o
+ gcc -o tdbtorture tdbtorture.o tdb.o
+
+clean:
+ rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm