summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/Makefile.ldb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-02 10:06:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:42 -0500
commit78aa8f181469b24f7ad836c2b7b8629c33f9f6b0 (patch)
tree2b54616a09ed675ec87031f71c7c51fa9c64c033 /source4/lib/ldb/Makefile.ldb
parent9f084101dd392ceb85f141f55ee56bed344626ef (diff)
downloadsamba-78aa8f181469b24f7ad836c2b7b8629c33f9f6b0.tar.gz
samba-78aa8f181469b24f7ad836c2b7b8629c33f9f6b0.tar.bz2
samba-78aa8f181469b24f7ad836c2b7b8629c33f9f6b0.zip
r444: - added the beginnings of a ldb test suite and benchmark
- updated the test slapd config to use bdb and indexing (This used to be commit 7ad0858c060ee212a33434dc4be75e7a0cd1a0e3)
Diffstat (limited to 'source4/lib/ldb/Makefile.ldb')
-rw-r--r--source4/lib/ldb/Makefile.ldb5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/ldb/Makefile.ldb b/source4/lib/ldb/Makefile.ldb
index ba8c040f9c..dfd429ecc8 100644
--- a/source4/lib/ldb/Makefile.ldb
+++ b/source4/lib/ldb/Makefile.ldb
@@ -11,7 +11,7 @@ endif
TDBDIR=../tdb
-CFLAGS=-Wall -g -Iinclude -I. -I.. -DSTANDALONE=1 -DUSE_MMAP=1 $(LDAP_FLAGS)
+CFLAGS=-Wall -O3 -Iinclude -I. -I.. -DSTANDALONE=1 -DUSE_MMAP=1 $(LDAP_FLAGS)
LIB_FLAGS=-Llib -lldb $(LDAP_LIBS)
TDB_OBJ=$(TDBDIR)/tdb.o $(TDBDIR)/spinlock.o
@@ -59,6 +59,9 @@ bin/ldbmodify: tools/ldbmodify.o $(LIBS)
bin/ldbedit: tools/ldbedit.o $(LIBS)
$(CC) -o bin/ldbedit tools/ldbedit.o $(LIB_FLAGS)
+bin/ldbtest: tools/ldbtest.o $(LIBS)
+ $(CC) -o bin/ldbtest tools/ldbtest.o $(LIB_FLAGS)
+
clean:
rm -f */*.o *~ */*~ $(BINS) $(LDB_LIB)