r22600: Update bzr ignores, put right version in .pc files, prepare for support of...
authorJelmer Vernooij <jelmer@samba.org>
Mon, 30 Apr 2007 10:49:42 +0000 (10:49 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:51:50 +0000 (14:51 -0500)
(This used to be commit 9b991ce9ca28b3d88c778305ec5f681506162637)

.bzrignore
source4/lib/ldb/Makefile.in
source4/lib/ldb/ldb.pc.in
source4/lib/popt/libpopt.m4
source4/lib/talloc/Makefile.in
source4/lib/talloc/libtalloc.m4
source4/lib/talloc/talloc.pc.in
source4/lib/talloc/talloc_guide.txt
source4/lib/tdb/Makefile.in
source4/lib/tdb/libtdb.m4
source4/lib/tdb/tdb.pc.in

index 5d99e84731c99249acc4d3dbc861a213d9e8d471..8d52ed16c7bd6e4772589918becc0873c555e0a8 100644 (file)
@@ -171,3 +171,12 @@ source/torture/ndr/proto.h
 source/bin/modules/*
 source/tests
 source/torture/unix/proto.h
+source/lib/tdb/bin/tdbtool
+source/lib/tdb/bin/tdbtorture
+source/lib/talloc/testsuite
+source/lib/talloc/talloc.3.html
+source/lib/ldb/tests/tmp
+source/lib/ldb/man/*.html
+source/lib/ldb/lib
+source/lib/ldb/examples/ldbreader
+source/lib/ldb/examples/ldifreader
index df86b9988c4ddf5c7ef0bbed1ece4e5c6522a7a5..78bc9d0134d5124c38404b4192b68244db7257ef 100644 (file)
@@ -20,18 +20,21 @@ TESTS=test-tdb.sh @TESTS@
 
 TALLOC_LIBS = @TALLOC_LIBS@
 TALLOC_CFLAGS = @TALLOC_CFLAGS@
+TALLOC_OBJ = @TALLOC_OBJ@
 
 TDB_LIBS = @TDB_LIBS@
 TDB_CFLAGS = @TDB_CFLAGS@
+TDB_OBJ = @TDB_OBJ@
 
 POPT_LIBS = @POPT_LIBS@
 POPT_CFLAGS = @POPT_CFLAGS@
+POPT_OBJ = @POPT_OBJ@
 
 CFLAGS=-g -I$(srcdir)/include -Iinclude -I$(srcdir) -I$(srcdir)/.. \
        $(POPT_CFLAGS) $(TALLOC_CFLAGS) $(TDB_CFLAGS) \
        -DLIBDIR=\"$(libdir)\" -DSHLIBEXT=\"@SHLIBEXT@\" -DUSE_MMAP=1 @CFLAGS@
 
-LIB_FLAGS=@LDFLAGS@ -Llib -lldb @LIBS@ $(POPT_LIBS)
+LIB_FLAGS=@LDFLAGS@ -Llib -lldb @LIBS@ $(POPT_LIBS) $(TALLOC_LIBS) $(TDB_LIBS)
 
 LDB_TDB_DIR=ldb_tdb
 LDB_TDB_OBJ=$(LDB_TDB_DIR)/ldb_tdb.o \
@@ -54,7 +57,7 @@ NSSDIR=nssldb
 NSS_OBJ= $(NSSDIR)/ldb-nss.o $(NSSDIR)/ldb-pwd.o $(NSSDIR)/ldb-grp.o
 NSS_LIB = lib/libnss_ldb.so.2
 
-OBJS = $(MODULES_OBJ) $(COMMON_OBJ) $(LDB_TDB_OBJ) @TDBOBJ@ @TALLOCOBJ@ @POPTOBJ@ @LIBREPLACEOBJ@ $(EXTRA_OBJ) 
+OBJS = $(MODULES_OBJ) $(COMMON_OBJ) $(LDB_TDB_OBJ) $(TDB_OBJ) $(TALLOC_OBJ) $(POPT_OBJ) @LIBREPLACEOBJ@ $(EXTRA_OBJ) 
 
 LDB_LIB = lib/libldb.a
 
@@ -92,7 +95,7 @@ lib/libldb.a: $(OBJS)
        ar -rv $@ $(OBJS)
        @-ranlib $@
 
-lib/libnss_ldb.so.2: $(NSS_OBJ) $(LIBS)
+lib/libnss_ldb.so.2: $(NSS_OBJ) $(LIBS) bin/libldb.a
        $(CC) -shared -Wl,-soname,libnss_ldb.so.2 -o lib/libnss_ldb.so.2 $(NSS_OBJ) $(OBJS) $(LIB_FLAGS)
 
 bin/ldbadd: tools/ldbadd.o tools/cmdline.o $(LIBS)
index 815d663a7c89dc09d6a95b54a670316c5d5b7bae..fb59f8269833cc955f1efde018684fc00dcd766a 100644 (file)
@@ -6,7 +6,7 @@ modulesdir=@modulesdir@
 
 Name: ldb
 Description: An LDAP-like embedded database
-Version: 4.0
+Version: @PACKAGE_VERSION@
 Requires.private: tdb
 Requires: talloc
 Libs: -L${libdir} -lldb
index b3e2df519b4409bdb41ab8939ae6312caba05772..79980d1d6b504344330e1ce0d4e76ff5c4a7f698 100644 (file)
@@ -37,7 +37,7 @@ if test x"$INCLUDED_POPT" != x"no"; then
         if test x"$poptdir" = "x"; then
                AC_MSG_ERROR([cannot find popt source in $poptpaths])
        fi
-       POPTOBJ="popt.o findme.o poptconfig.o popthelp.o poptparse.o"
-       AC_SUBST(POPTOBJ)
+       POPT_OBJ="popt.o findme.o poptconfig.o popthelp.o poptparse.o"
+       AC_SUBST(POPT_OBJ)
        AC_CHECK_HEADERS([float.h alloca.h])
 fi
index c6aa40cde22ac0b24e51428e4a175f9cc4f526b5..18b48c345984908b1f1521274b90249d58649ccb 100644 (file)
@@ -17,7 +17,7 @@ EXTRA_TARGETS = @DOC_TARGET@
 
 .SUFFIXES: .c .o .3 .3.xml .xml .html
 
-LIBOBJ = @TALLOCOBJ@ @LIBREPLACEOBJ@
+LIBOBJ = @TALLOC_OBJ@ @LIBREPLACEOBJ@
 
 all: showflags libtalloc.a testsuite $(EXTRA_TARGETS)
 
@@ -34,13 +34,13 @@ libtalloc.a: $(LIBOBJ)
        @-ranlib $@
 
 install: all 
-       ${INSTALLCMD} -d $(DESTDIR)${libdir}
-       ${INSTALLCMD} -d $(DESTDIR)${libdir}/pkgconfig
+       ${INSTALLCMD} -d $(DESTDIR)$(libdir)
+       ${INSTALLCMD} -d $(DESTDIR)$(libdir)/pkgconfig
        ${INSTALLCMD} -m 755 libtalloc.a $(DESTDIR)$(libdir)
        ${INSTALLCMD} -d $(DESTDIR)${includedir}
        ${INSTALLCMD} -m 644 $(srcdir)/talloc.h $(DESTDIR)$(includedir)
        ${INSTALLCMD} -m 644 talloc.pc $(DESTDIR)$(libdir)/pkgconfig
-       if [ -f talloc.3 ];then ${INSTALLCMD} -d $(DESTDIR)${mandir}/man3; fi
+       if [ -f talloc.3 ];then ${INSTALLCMD} -d $(DESTDIR)$(mandir)/man3; fi
        if [ -f talloc.3 ];then ${INSTALLCMD} -m 644 talloc.3 $(DESTDIR)$(mandir)/man3; fi
 
 doc: talloc.3 talloc.3.html
index d364729ec03f6ea61cacd2b7c2f511ab9879babd..d2e8eba81a4ce33a05b10689300c55d0c83435d7 100644 (file)
@@ -12,12 +12,15 @@ done
 if test x"$tallocdir" = "x"; then
    AC_MSG_ERROR([cannot find talloc source in $tallocpaths])
 fi
-TALLOCOBJ="talloc.o"
-AC_SUBST(TALLOCOBJ)
+TALLOC_OBJ="talloc.o"
+AC_SUBST(TALLOC_OBJ)
 
 TALLOC_CFLAGS="-I$tallocdir"
 AC_SUBST(TALLOC_CFLAGS)
 
+TALLOC_LIBS=""
+AC_SUBST(TALLOC_LIBS)
+
 AC_CHECK_SIZEOF(size_t,cross)
 AC_CHECK_SIZEOF(void *,cross)
 
index f93036a33dbba718af32e8fa8f418a563193571c..459cce70b1dcb5814e9a45c4cdb134ca6eb19071 100644 (file)
@@ -5,7 +5,7 @@ includedir=@includedir@
 
 Name: talloc 
 Description: A hierarchical pool based memory system with destructors
-Version: 4.0
+Version: @PACKAGE_VERSION@
 Libs: -L${libdir} -ltalloc
 Cflags: -I${includedir} 
 URL: http://talloc.samba.org/
index 8b252e4ab9b73c15bad29ac8950f245efe915a76..6481b586112d3798b1695acc2849e53dd8d99b5f 100644 (file)
@@ -12,7 +12,7 @@ this carefully, as talloc has changed a lot. With 3.0.20 (or 3.0.14?) the
 Samba4 talloc has been ported back to Samba3, so this guide applies to both.
 
 The new talloc is a hierarchical, reference counted memory pool system
-with destructors. Quite a mounthful really, but not too bad once you
+with destructors. Quite a mouthful really, but not too bad once you
 get used to it.
 
 Perhaps the biggest change from Samba3 is that there is no distinction
index 6bdfba2354dcddf2870e578a963db47a8c478d60..4a6382c104d16560b0f50734ba2000db287683de 100644 (file)
@@ -23,7 +23,7 @@ PROGS = bin/tdbtool$(EXEEXT) bin/tdbtorture$(EXEEXT)
 PROGS_NOINSTALL = bin/tdbtest$(EXEEXT) bin/tdbdump$(EXEEXT) bin/tdbbackup$(EXEEXT)
 ALL_PROGS = $(PROGS) $(PROGS_NOINSTALL)
 
-TDB_OBJ = @TDBOBJ@ @LIBREPLACEOBJ@
+TDB_OBJ = @TDB_OBJ@ @LIBREPLACEOBJ@
 
 DIRS = bin common tools
 
index 58523fc2dc2ca325f89b2309ff2a73a6ff3653c5..7682edada9312d9c6c204ba56dc2db005de78d3d 100644 (file)
@@ -12,11 +12,14 @@ done
 if test x"$tdbdir" = "x"; then
    AC_MSG_ERROR([cannot find tdb source in $tdbpaths])
 fi
-TDBOBJ="common/tdb.o common/dump.o common/transaction.o common/error.o common/traverse.o"
-TDBOBJ="$TDBOBJ common/freelist.o common/freelistcheck.o common/io.o common/lock.o common/open.o"
-AC_SUBST(TDBOBJ)
+TDB_OBJ="common/tdb.o common/dump.o common/transaction.o common/error.o common/traverse.o"
+TDB_OBJ="$TDB_OBJ common/freelist.o common/freelistcheck.o common/io.o common/lock.o common/open.o"
+AC_SUBST(TDB_OBJ)
 AC_SUBST(LIBREPLACEOBJ)
 
+TDB_LIBS=""
+AC_SUBST(TDB_LIBS)
+
 TDB_CFLAGS="-I$tdbdir/include"
 AC_SUBST(TDB_CFLAGS)
 
index 8180d4718502df8825ff3f2db8a7d43422dc3322..bb440f9cf55ee2df2893738331a08302d8340378 100644 (file)
@@ -5,6 +5,6 @@ includedir=@includedir@
 
 Name: tdb
 Description: A trivial database
-Version: 4.0
+Version: @PACKAGE_VERSION@
 Libs: -L${libdir} -ltdb
 Cflags: -I${includedir}