summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-02-28 00:51:53 +0000
committerTim Potter <tpot@samba.org>2000-02-28 00:51:53 +0000
commit1f6f8c2241f2f25b6c3002fb91fe711cb352a07f (patch)
treeb5f4fce6c95b7d8eccd347953383fcab9e5a8e4d
parent0a77ae3f14476faa5cc2e8b749f175812fbd80d6 (diff)
downloadsamba-1f6f8c2241f2f25b6c3002fb91fe711cb352a07f.tar.gz
samba-1f6f8c2241f2f25b6c3002fb91fe711cb352a07f.tar.bz2
samba-1f6f8c2241f2f25b6c3002fb91fe711cb352a07f.zip
Makefile for tdb directory.
(This used to be commit 60ae73c257e84aa128954f0cf5cf59e7996c68d9)
-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