summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/Makefile.in
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-11 16:20:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:50:06 -0500
commit61768feec636cdbf976bbd200204c6ba746a2e53 (patch)
treea17fc6655e6d2ca1053336e4ce6e2afdfae6ae79 /source4/lib/ldb/Makefile.in
parent4a1e2897707e5ee505e3a3fb28dd532c827a6f39 (diff)
downloadsamba-61768feec636cdbf976bbd200204c6ba746a2e53.tar.gz
samba-61768feec636cdbf976bbd200204c6ba746a2e53.tar.bz2
samba-61768feec636cdbf976bbd200204c6ba746a2e53.zip
r12847: add some ldb examples from Brad Hards (bradh@frogmouth.net)
metze (This used to be commit 4d32d50ccd8bd0bfb3e2d6f5aee23bce38abbc03)
Diffstat (limited to 'source4/lib/ldb/Makefile.in')
-rw-r--r--source4/lib/ldb/Makefile.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in
index fb73f10c50..039e9a657f 100644
--- a/source4/lib/ldb/Makefile.in
+++ b/source4/lib/ldb/Makefile.in
@@ -52,7 +52,6 @@ LDB_TDB_OBJ=ldb_tdb/ldb_tdb.o \
ldb_tdb/ldb_pack.o ldb_tdb/ldb_search.o ldb_tdb/ldb_index.o \
ldb_tdb/ldb_cache.o ldb_tdb/ldb_tdb_wrap.o
-
COMMON_OBJ=common/ldb.o common/ldb_ldif.o \
common/ldb_parse.o common/ldb_msg.o common/ldb_utf8.o \
common/ldb_debug.o common/ldb_modules.o \
@@ -75,6 +74,8 @@ DIRS = lib bin
MANPAGES = $(patsubst %.xml,%,$(wildcard man/*.xml))
+EXAMPLES = examples/ldbreader examples/ldifreader
+
all: $(DIRS) $(BINS) $(LIBS) $(EXAMPLES) $(MANPAGES)
.c.o:
@@ -113,6 +114,12 @@ bin/ldbtest: tools/ldbtest.o tools/cmdline.o $(LIBS)
bin/oLschema2ldif: tools/oLschema2ldif.o tools/cmdline.o $(LIBS)
$(CC) -o bin/oLschema2ldif tools/oLschema2ldif.o tools/cmdline.o $(LIB_FLAGS)
+examples/ldbreader: examples/ldbreader.o $(LIBS)
+ $(CC) -o examples/ldbreader examples/ldbreader.o $(LIB_FLAGS)
+
+examples/ldifreader: examples/ldifreader.o $(LIBS)
+ $(CC) -o examples/ldifreader examples/ldifreader.o $(LIB_FLAGS)
+
.SUFFIXES: .1 .1.xml .3 .3.xml .xml .html
%.3: %.3.xml
@@ -124,12 +131,11 @@ bin/oLschema2ldif: tools/oLschema2ldif.o tools/cmdline.o $(LIBS)
%.html: %.xml
test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
-manpages: $(patsubst %.xml,%,$(wildcard man/*.xml))
-
clean:
rm -f */*.o *.gcov */*.gc?? tdbtest.ldb* \
rm -f $(BINS) $(TDB_OBJ) $(TALLOC_OBJ) $(LDB_LIB)
rm -f $(MANPAGES)
+ rm -f $(EXAMPLES)
distclean: clean
rm -f *~ */*~