Move common libraries from root to lib/.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 17 Sep 2008 12:11:12 +0000 (14:11 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 17 Sep 2008 12:11:12 +0000 (14:11 +0200)
166 files changed:
lib/compression/lzxpress.c [moved from compression/lzxpress.c with 100% similarity]
lib/compression/lzxpress.h [moved from compression/lzxpress.h with 100% similarity]
lib/compression/mszip.c [moved from compression/mszip.c with 100% similarity]
lib/compression/mszip.h [moved from compression/mszip.h with 100% similarity]
lib/compression/testsuite.c [moved from compression/testsuite.c with 100% similarity]
lib/nss_wrapper/config.m4 [moved from nss_wrapper/config.m4 with 88% similarity]
lib/nss_wrapper/config.mk [moved from nss_wrapper/config.mk with 100% similarity]
lib/nss_wrapper/nss_wrapper.c [moved from nss_wrapper/nss_wrapper.c with 100% similarity]
lib/nss_wrapper/nss_wrapper.h [moved from nss_wrapper/nss_wrapper.h with 100% similarity]
lib/nss_wrapper/nss_wrapper.pl [moved from nss_wrapper/nss_wrapper.pl with 100% similarity]
lib/popt/CHANGES [moved from popt/CHANGES with 100% similarity]
lib/popt/COPYING [moved from popt/COPYING with 100% similarity]
lib/popt/README [moved from popt/README with 100% similarity]
lib/popt/config.mk [moved from popt/config.mk with 100% similarity]
lib/popt/dummy.in [moved from popt/dummy.in with 100% similarity]
lib/popt/findme.c [moved from popt/findme.c with 100% similarity]
lib/popt/findme.h [moved from popt/findme.h with 100% similarity]
lib/popt/libpopt.m4 [moved from popt/libpopt.m4 with 100% similarity]
lib/popt/popt.c [moved from popt/popt.c with 100% similarity]
lib/popt/popt.h [moved from popt/popt.h with 100% similarity]
lib/popt/poptconfig.c [moved from popt/poptconfig.c with 100% similarity]
lib/popt/popthelp.c [moved from popt/popthelp.c with 100% similarity]
lib/popt/poptint.h [moved from popt/poptint.h with 100% similarity]
lib/popt/poptparse.c [moved from popt/poptparse.c with 100% similarity]
lib/popt/samba.m4 [moved from popt/samba.m4 with 52% similarity]
lib/popt/system.h [moved from popt/system.h with 100% similarity]
lib/replace/.checker_innocent [moved from replace/.checker_innocent with 100% similarity]
lib/replace/Makefile.in [moved from replace/Makefile.in with 100% similarity]
lib/replace/README [moved from replace/README with 100% similarity]
lib/replace/aclocal.m4 [moved from replace/aclocal.m4 with 100% similarity]
lib/replace/autoconf-2.60.m4 [moved from replace/autoconf-2.60.m4 with 100% similarity]
lib/replace/autogen.sh [moved from replace/autogen.sh with 100% similarity]
lib/replace/config.guess [moved from replace/config.guess with 100% similarity]
lib/replace/config.sub [moved from replace/config.sub with 100% similarity]
lib/replace/configure.ac [moved from replace/configure.ac with 100% similarity]
lib/replace/dlfcn.c [moved from replace/dlfcn.c with 100% similarity]
lib/replace/dlfcn.m4 [moved from replace/dlfcn.m4 with 100% similarity]
lib/replace/getaddrinfo.c [moved from replace/getaddrinfo.c with 100% similarity]
lib/replace/getaddrinfo.h [moved from replace/getaddrinfo.h with 100% similarity]
lib/replace/getifaddrs.c [moved from replace/getifaddrs.c with 100% similarity]
lib/replace/getpass.c [moved from replace/getpass.c with 100% similarity]
lib/replace/getpass.m4 [moved from replace/getpass.m4 with 100% similarity]
lib/replace/inet_aton.c [moved from replace/inet_aton.c with 100% similarity]
lib/replace/inet_ntoa.c [moved from replace/inet_ntoa.c with 100% similarity]
lib/replace/inet_ntop.c [moved from replace/inet_ntop.c with 100% similarity]
lib/replace/inet_pton.c [moved from replace/inet_pton.c with 100% similarity]
lib/replace/install-sh [moved from replace/install-sh with 100% similarity]
lib/replace/libreplace.m4 [moved from replace/libreplace.m4 with 96% similarity]
lib/replace/libreplace_cc.m4 [moved from replace/libreplace_cc.m4 with 100% similarity]
lib/replace/libreplace_ld.m4 [moved from replace/libreplace_ld.m4 with 100% similarity]
lib/replace/libreplace_macros.m4 [moved from replace/libreplace_macros.m4 with 100% similarity]
lib/replace/libreplace_network.m4 [moved from replace/libreplace_network.m4 with 100% similarity]
lib/replace/repdir.m4 [moved from replace/repdir.m4 with 100% similarity]
lib/replace/repdir_getdents.c [moved from replace/repdir_getdents.c with 100% similarity]
lib/replace/repdir_getdirentries.c [moved from replace/repdir_getdirentries.c with 100% similarity]
lib/replace/replace.c [moved from replace/replace.c with 100% similarity]
lib/replace/replace.h [moved from replace/replace.h with 100% similarity]
lib/replace/samba.m4 [moved from replace/samba.m4 with 100% similarity]
lib/replace/snprintf.c [moved from replace/snprintf.c with 100% similarity]
lib/replace/socket.c [moved from replace/socket.c with 100% similarity]
lib/replace/socketpair.c [moved from replace/socketpair.c with 100% similarity]
lib/replace/strptime.c [moved from replace/strptime.c with 100% similarity]
lib/replace/strptime.m4 [moved from replace/strptime.m4 with 100% similarity]
lib/replace/system/README [moved from replace/system/README with 100% similarity]
lib/replace/system/aio.h [moved from replace/system/aio.h with 100% similarity]
lib/replace/system/capability.h [moved from replace/system/capability.h with 100% similarity]
lib/replace/system/config.m4 [moved from replace/system/config.m4 with 100% similarity]
lib/replace/system/dir.h [moved from replace/system/dir.h with 100% similarity]
lib/replace/system/filesys.h [moved from replace/system/filesys.h with 100% similarity]
lib/replace/system/glob.h [moved from replace/system/glob.h with 100% similarity]
lib/replace/system/iconv.h [moved from replace/system/iconv.h with 100% similarity]
lib/replace/system/kerberos.h [moved from replace/system/kerberos.h with 100% similarity]
lib/replace/system/locale.h [moved from replace/system/locale.h with 100% similarity]
lib/replace/system/network.h [moved from replace/system/network.h with 100% similarity]
lib/replace/system/passwd.h [moved from replace/system/passwd.h with 100% similarity]
lib/replace/system/readline.h [moved from replace/system/readline.h with 100% similarity]
lib/replace/system/select.h [moved from replace/system/select.h with 100% similarity]
lib/replace/system/shmem.h [moved from replace/system/shmem.h with 100% similarity]
lib/replace/system/syslog.h [moved from replace/system/syslog.h with 100% similarity]
lib/replace/system/terminal.h [moved from replace/system/terminal.h with 100% similarity]
lib/replace/system/time.h [moved from replace/system/time.h with 100% similarity]
lib/replace/system/wait.h [moved from replace/system/wait.h with 100% similarity]
lib/replace/test/getifaddrs.c [moved from replace/test/getifaddrs.c with 100% similarity]
lib/replace/test/os2_delete.c [moved from replace/test/os2_delete.c with 100% similarity]
lib/replace/test/shared_mmap.c [moved from replace/test/shared_mmap.c with 100% similarity]
lib/replace/test/strptime.c [moved from replace/test/strptime.c with 100% similarity]
lib/replace/test/testsuite.c [moved from replace/test/testsuite.c with 100% similarity]
lib/replace/timegm.c [moved from replace/timegm.c with 100% similarity]
lib/replace/timegm.m4 [moved from replace/timegm.m4 with 100% similarity]
lib/replace/win32.m4 [moved from replace/win32.m4 with 100% similarity]
lib/replace/win32_replace.h [moved from replace/win32_replace.h with 100% similarity]
lib/socket_wrapper/config.m4 [moved from socket_wrapper/config.m4 with 89% similarity]
lib/socket_wrapper/config.mk [moved from socket_wrapper/config.mk with 100% similarity]
lib/socket_wrapper/socket_wrapper.c [moved from socket_wrapper/socket_wrapper.c with 100% similarity]
lib/socket_wrapper/socket_wrapper.h [moved from socket_wrapper/socket_wrapper.h with 100% similarity]
lib/socket_wrapper/testsuite.c [moved from socket_wrapper/testsuite.c with 100% similarity]
lib/talloc/Makefile.in [moved from talloc/Makefile.in with 100% similarity]
lib/talloc/NEWS [moved from talloc/NEWS with 100% similarity]
lib/talloc/aclocal.m4 [moved from talloc/aclocal.m4 with 100% similarity]
lib/talloc/autogen.sh [moved from talloc/autogen.sh with 100% similarity]
lib/talloc/config.guess [moved from talloc/config.guess with 100% similarity]
lib/talloc/config.mk [moved from talloc/config.mk with 100% similarity]
lib/talloc/config.sub [moved from talloc/config.sub with 100% similarity]
lib/talloc/configure.ac [moved from talloc/configure.ac with 100% similarity]
lib/talloc/install-sh [moved from talloc/install-sh with 100% similarity]
lib/talloc/libtalloc.m4 [moved from talloc/libtalloc.m4 with 94% similarity]
lib/talloc/rules.mk [moved from talloc/rules.mk with 100% similarity]
lib/talloc/talloc.3.xml [moved from talloc/talloc.3.xml with 100% similarity]
lib/talloc/talloc.c [moved from talloc/talloc.c with 100% similarity]
lib/talloc/talloc.h [moved from talloc/talloc.h with 100% similarity]
lib/talloc/talloc.i [moved from talloc/talloc.i with 100% similarity]
lib/talloc/talloc.mk [moved from talloc/talloc.mk with 100% similarity]
lib/talloc/talloc.pc.in [moved from talloc/talloc.pc.in with 100% similarity]
lib/talloc/talloc_guide.txt [moved from talloc/talloc_guide.txt with 100% similarity]
lib/talloc/testsuite.c [moved from talloc/testsuite.c with 100% similarity]
lib/talloc/web/index.html [moved from talloc/web/index.html with 100% similarity]
lib/tdb/Makefile.in [moved from tdb/Makefile.in with 100% similarity]
lib/tdb/aclocal.m4 [moved from tdb/aclocal.m4 with 100% similarity]
lib/tdb/autogen.sh [moved from tdb/autogen.sh with 100% similarity]
lib/tdb/common/dump.c [moved from tdb/common/dump.c with 100% similarity]
lib/tdb/common/error.c [moved from tdb/common/error.c with 100% similarity]
lib/tdb/common/freelist.c [moved from tdb/common/freelist.c with 100% similarity]
lib/tdb/common/freelistcheck.c [moved from tdb/common/freelistcheck.c with 100% similarity]
lib/tdb/common/io.c [moved from tdb/common/io.c with 100% similarity]
lib/tdb/common/lock.c [moved from tdb/common/lock.c with 100% similarity]
lib/tdb/common/open.c [moved from tdb/common/open.c with 100% similarity]
lib/tdb/common/tdb.c [moved from tdb/common/tdb.c with 100% similarity]
lib/tdb/common/tdb_private.h [moved from tdb/common/tdb_private.h with 100% similarity]
lib/tdb/common/transaction.c [moved from tdb/common/transaction.c with 100% similarity]
lib/tdb/common/traverse.c [moved from tdb/common/traverse.c with 100% similarity]
lib/tdb/config.guess [moved from tdb/config.guess with 100% similarity]
lib/tdb/config.mk [moved from tdb/config.mk with 100% similarity]
lib/tdb/config.sub [moved from tdb/config.sub with 100% similarity]
lib/tdb/configure.ac [moved from tdb/configure.ac with 100% similarity]
lib/tdb/docs/README [moved from tdb/docs/README with 100% similarity]
lib/tdb/docs/tdb.magic [moved from tdb/docs/tdb.magic with 100% similarity]
lib/tdb/include/tdb.h [moved from tdb/include/tdb.h with 100% similarity]
lib/tdb/install-sh [moved from tdb/install-sh with 100% similarity]
lib/tdb/libtdb.m4 [moved from tdb/libtdb.m4 with 91% similarity]
lib/tdb/python.mk [moved from tdb/python.mk with 100% similarity]
lib/tdb/python/tdbdump.py [moved from tdb/python/tdbdump.py with 100% similarity]
lib/tdb/python/tests/simple.py [moved from tdb/python/tests/simple.py with 100% similarity]
lib/tdb/rules.mk [moved from tdb/rules.mk with 100% similarity]
lib/tdb/tdb.i [moved from tdb/tdb.i with 100% similarity]
lib/tdb/tdb.mk [moved from tdb/tdb.mk with 100% similarity]
lib/tdb/tdb.pc.in [moved from tdb/tdb.pc.in with 100% similarity]
lib/tdb/tdb.py [moved from tdb/tdb.py with 100% similarity]
lib/tdb/tdb_wrap.c [moved from tdb/tdb_wrap.c with 100% similarity]
lib/tdb/tools/tdbbackup.c [moved from tdb/tools/tdbbackup.c with 100% similarity]
lib/tdb/tools/tdbdump.c [moved from tdb/tools/tdbdump.c with 100% similarity]
lib/tdb/tools/tdbtest.c [moved from tdb/tools/tdbtest.c with 100% similarity]
lib/tdb/tools/tdbtool.c [moved from tdb/tools/tdbtool.c with 100% similarity]
lib/tdb/tools/tdbtorture.c [moved from tdb/tools/tdbtorture.c with 100% similarity]
lib/tdb/web/index.html [moved from tdb/web/index.html with 100% similarity]
source3/Makefile.in
source3/autogen.sh
source3/configure.in
source3/m4/aclocal.m4
source3/samba4.m4
source4/Makefile
source4/aclocal.m4
source4/autogen.sh
source4/configure.ac
source4/librpc/ndr/ndr_compression.c
source4/main.mk
source4/torture/local/config.mk

similarity index 100%
rename from compression/mszip.c
rename to lib/compression/mszip.c
similarity index 100%
rename from compression/mszip.h
rename to lib/compression/mszip.h
similarity index 88%
rename from nss_wrapper/config.m4
rename to lib/nss_wrapper/config.m4
index 9b86b4dbb8717b1744a4a594cd70d325a71c018d..45423788d126ea9de3a019516ca1e78be340e310 100644 (file)
@@ -12,7 +12,7 @@ if eval "test x$enable_nss_wrapper = xyes"; then
        HAVE_NSS_WRAPPER=yes
 
        # this is only used for samba3
-       NSS_WRAPPER_OBJS="../nss_wrapper/nss_wrapper.o"
+       NSS_WRAPPER_OBJS="../lib/nss_wrapper/nss_wrapper.o"
 fi
 
 AC_SUBST(HAVE_NSS_WRAPPER)
similarity index 100%
rename from popt/CHANGES
rename to lib/popt/CHANGES
similarity index 100%
rename from popt/COPYING
rename to lib/popt/COPYING
similarity index 100%
rename from popt/README
rename to lib/popt/README
similarity index 100%
rename from popt/config.mk
rename to lib/popt/config.mk
similarity index 100%
rename from popt/dummy.in
rename to lib/popt/dummy.in
similarity index 100%
rename from popt/findme.c
rename to lib/popt/findme.c
similarity index 100%
rename from popt/findme.h
rename to lib/popt/findme.h
similarity index 100%
rename from popt/libpopt.m4
rename to lib/popt/libpopt.m4
similarity index 100%
rename from popt/popt.c
rename to lib/popt/popt.c
similarity index 100%
rename from popt/popt.h
rename to lib/popt/popt.h
similarity index 100%
rename from popt/poptconfig.c
rename to lib/popt/poptconfig.c
similarity index 100%
rename from popt/popthelp.c
rename to lib/popt/popthelp.c
similarity index 100%
rename from popt/poptint.h
rename to lib/popt/poptint.h
similarity index 100%
rename from popt/poptparse.c
rename to lib/popt/poptparse.c
similarity index 52%
rename from popt/samba.m4
rename to lib/popt/samba.m4
index 9ee77dfa13a0106d0ab0a4b59f2185535a6a6030..627dd854b2728e944428b9eb9ec8aa9dbe8d5ae7 100644 (file)
@@ -1,8 +1,8 @@
-m4_include(../popt/libpopt.m4)
+m4_include(../lib/popt/libpopt.m4)
 
 if test x"$POPT_OBJ" = "x"; then
        SMB_EXT_LIB(LIBPOPT, [${POPT_LIBS}])
 else
-       SMB_INCLUDE_MK(../popt/config.mk)
+       SMB_INCLUDE_MK(../lib/popt/config.mk)
 fi
 
similarity index 100%
rename from popt/system.h
rename to lib/popt/system.h
similarity index 100%
rename from replace/Makefile.in
rename to lib/replace/Makefile.in
similarity index 100%
rename from replace/README
rename to lib/replace/README
similarity index 100%
rename from replace/aclocal.m4
rename to lib/replace/aclocal.m4
similarity index 100%
rename from replace/autogen.sh
rename to lib/replace/autogen.sh
similarity index 100%
rename from replace/config.sub
rename to lib/replace/config.sub
similarity index 100%
rename from replace/dlfcn.c
rename to lib/replace/dlfcn.c
similarity index 100%
rename from replace/dlfcn.m4
rename to lib/replace/dlfcn.m4
similarity index 100%
rename from replace/getpass.c
rename to lib/replace/getpass.c
similarity index 100%
rename from replace/getpass.m4
rename to lib/replace/getpass.m4
similarity index 100%
rename from replace/inet_aton.c
rename to lib/replace/inet_aton.c
similarity index 100%
rename from replace/inet_ntoa.c
rename to lib/replace/inet_ntoa.c
similarity index 100%
rename from replace/inet_ntop.c
rename to lib/replace/inet_ntop.c
similarity index 100%
rename from replace/inet_pton.c
rename to lib/replace/inet_pton.c
similarity index 100%
rename from replace/install-sh
rename to lib/replace/install-sh
similarity index 96%
rename from replace/libreplace.m4
rename to lib/replace/libreplace.m4
index 71fa0416721497d836c6bc2ca56663489df704e2..dc7d88e6e183b02f01486683a8466fca3f17cbd4 100644 (file)
@@ -5,7 +5,7 @@ echo "LIBREPLACE_LOCATION_CHECKS: START"
 dnl find the libreplace sources. This is meant to work both for 
 dnl libreplace standalone builds, and builds of packages using libreplace
 libreplacedir=""
-libreplacepaths="$srcdir $srcdir/lib/replace $srcdir/libreplace $srcdir/../libreplace $srcdir/../replace"
+libreplacepaths="$srcdir $srcdir/lib/replace $srcdir/libreplace $srcdir/../libreplace $srcdir/../replace $srcdir/../lib/replace"
 for d in $libreplacepaths; do
        if test -f "$d/replace.c"; then
                libreplacedir="$d"              
@@ -34,13 +34,18 @@ echo "LIBREPLACE_BROKEN_CHECKS: START"
 dnl find the libreplace sources. This is meant to work both for 
 dnl libreplace standalone builds, and builds of packages using libreplace
 libreplacedir=""
-for d in "$srcdir" "$srcdir/lib/replace" "$srcdir/libreplace" "$srcdir/../libreplace" "$srcdir/../replace"; do
+libreplacepaths="$srcdir $srcdir/lib/replace $srcdir/libreplace $srcdir/../libreplace $srcdir/../replace $srcdir/../lib/replace"
+for d in $libreplacepaths; do
        if test -f "$d/replace.c"; then
                libreplacedir="$d"              
                AC_SUBST(libreplacedir)
                break;
        fi
 done
+if test x"$libreplacedir" = "x"; then
+       AC_MSG_ERROR([cannot find libreplace in $libreplacepaths])
+fi
+
 LIBREPLACEOBJ="replace.o"
 AC_SUBST(LIBREPLACEOBJ)
 
similarity index 100%
rename from replace/repdir.m4
rename to lib/replace/repdir.m4
similarity index 100%
rename from replace/replace.c
rename to lib/replace/replace.c
similarity index 100%
rename from replace/replace.h
rename to lib/replace/replace.h
similarity index 100%
rename from replace/samba.m4
rename to lib/replace/samba.m4
similarity index 100%
rename from replace/snprintf.c
rename to lib/replace/snprintf.c
similarity index 100%
rename from replace/socket.c
rename to lib/replace/socket.c
similarity index 100%
rename from replace/strptime.c
rename to lib/replace/strptime.c
similarity index 100%
rename from replace/strptime.m4
rename to lib/replace/strptime.m4
similarity index 100%
rename from replace/timegm.c
rename to lib/replace/timegm.c
similarity index 100%
rename from replace/timegm.m4
rename to lib/replace/timegm.m4
similarity index 100%
rename from replace/win32.m4
rename to lib/replace/win32.m4
similarity index 89%
rename from socket_wrapper/config.m4
rename to lib/socket_wrapper/config.m4
index 23f033e664a12a386f661d74b8a023b355bed2c3..68e392b3e70ecc03f5e4b9bcb5697f1a85a68636 100644 (file)
@@ -14,7 +14,7 @@ if eval "test x$enable_socket_wrapper = xyes"; then
        HAVE_SOCKET_WRAPPER=yes
 
        # this is only used for samba3
-       SOCKET_WRAPPER_OBJS="../socket_wrapper/socket_wrapper.o"
+       SOCKET_WRAPPER_OBJS="../lib/socket_wrapper/socket_wrapper.o"
 fi
 
 AC_SUBST(DEFAULT_TEST_OPTIONS)
similarity index 100%
rename from talloc/Makefile.in
rename to lib/talloc/Makefile.in
similarity index 100%
rename from talloc/NEWS
rename to lib/talloc/NEWS
similarity index 100%
rename from talloc/aclocal.m4
rename to lib/talloc/aclocal.m4
similarity index 100%
rename from talloc/autogen.sh
rename to lib/talloc/autogen.sh
similarity index 100%
rename from talloc/config.guess
rename to lib/talloc/config.guess
similarity index 100%
rename from talloc/config.mk
rename to lib/talloc/config.mk
similarity index 100%
rename from talloc/config.sub
rename to lib/talloc/config.sub
similarity index 100%
rename from talloc/configure.ac
rename to lib/talloc/configure.ac
similarity index 100%
rename from talloc/install-sh
rename to lib/talloc/install-sh
similarity index 94%
rename from talloc/libtalloc.m4
rename to lib/talloc/libtalloc.m4
index fd2b4b22cdbb21777d5ea90a7e303d4a9f12a7b5..e6830fbef680c8db31aef664af8a476d30731895 100644 (file)
@@ -1,7 +1,7 @@
 dnl find the talloc sources. This is meant to work both for 
 dnl talloc standalone builds, and builds of packages using talloc
 tallocdir=""
-tallocpaths=". lib/talloc talloc ../talloc"
+tallocpaths=". lib/talloc talloc ../talloc ../lib/talloc"
 for d in $tallocpaths; do
        if test -f "$srcdir/$d/talloc.c"; then
                tallocdir="$d"
similarity index 100%
rename from talloc/rules.mk
rename to lib/talloc/rules.mk
similarity index 100%
rename from talloc/talloc.3.xml
rename to lib/talloc/talloc.3.xml
similarity index 100%
rename from talloc/talloc.c
rename to lib/talloc/talloc.c
similarity index 100%
rename from talloc/talloc.h
rename to lib/talloc/talloc.h
similarity index 100%
rename from talloc/talloc.i
rename to lib/talloc/talloc.i
similarity index 100%
rename from talloc/talloc.mk
rename to lib/talloc/talloc.mk
similarity index 100%
rename from talloc/talloc.pc.in
rename to lib/talloc/talloc.pc.in
similarity index 100%
rename from talloc/testsuite.c
rename to lib/talloc/testsuite.c
similarity index 100%
rename from tdb/Makefile.in
rename to lib/tdb/Makefile.in
similarity index 100%
rename from tdb/aclocal.m4
rename to lib/tdb/aclocal.m4
similarity index 100%
rename from tdb/autogen.sh
rename to lib/tdb/autogen.sh
similarity index 100%
rename from tdb/common/dump.c
rename to lib/tdb/common/dump.c
similarity index 100%
rename from tdb/common/error.c
rename to lib/tdb/common/error.c
similarity index 100%
rename from tdb/common/io.c
rename to lib/tdb/common/io.c
similarity index 100%
rename from tdb/common/lock.c
rename to lib/tdb/common/lock.c
similarity index 100%
rename from tdb/common/open.c
rename to lib/tdb/common/open.c
similarity index 100%
rename from tdb/common/tdb.c
rename to lib/tdb/common/tdb.c
similarity index 100%
rename from tdb/config.guess
rename to lib/tdb/config.guess
similarity index 100%
rename from tdb/config.mk
rename to lib/tdb/config.mk
similarity index 100%
rename from tdb/config.sub
rename to lib/tdb/config.sub
similarity index 100%
rename from tdb/configure.ac
rename to lib/tdb/configure.ac
similarity index 100%
rename from tdb/docs/README
rename to lib/tdb/docs/README
similarity index 100%
rename from tdb/docs/tdb.magic
rename to lib/tdb/docs/tdb.magic
similarity index 100%
rename from tdb/include/tdb.h
rename to lib/tdb/include/tdb.h
similarity index 100%
rename from tdb/install-sh
rename to lib/tdb/install-sh
similarity index 91%
rename from tdb/libtdb.m4
rename to lib/tdb/libtdb.m4
index 1e17a7a4f23c74ea30eaf3914c5346b1915776df..252e0b0be30b929adcd2f82275119bac81e6b211 100644 (file)
@@ -1,7 +1,7 @@
 dnl find the tdb sources. This is meant to work both for 
 dnl tdb standalone builds, and builds of packages using tdb
 tdbdir=""
-tdbpaths="$srcdir $srcdir/lib/tdb $srcdir/tdb $srcdir/../tdb"
+tdbpaths="$srcdir $srcdir/lib/tdb $srcdir/tdb $srcdir/../tdb $srcdir/../lib/tdb"
 for d in $tdbpaths; do
        if test -f "$d/common/tdb.c"; then
                tdbdir="$d"             
similarity index 100%
rename from tdb/python.mk
rename to lib/tdb/python.mk
similarity index 100%
rename from tdb/rules.mk
rename to lib/tdb/rules.mk
similarity index 100%
rename from tdb/tdb.i
rename to lib/tdb/tdb.i
similarity index 100%
rename from tdb/tdb.mk
rename to lib/tdb/tdb.mk
similarity index 100%
rename from tdb/tdb.pc.in
rename to lib/tdb/tdb.pc.in
similarity index 100%
rename from tdb/tdb.py
rename to lib/tdb/tdb.py
similarity index 100%
rename from tdb/tdb_wrap.c
rename to lib/tdb/tdb_wrap.c
similarity index 100%
rename from tdb/tools/tdbdump.c
rename to lib/tdb/tools/tdbdump.c
similarity index 100%
rename from tdb/tools/tdbtest.c
rename to lib/tdb/tools/tdbtest.c
similarity index 100%
rename from tdb/tools/tdbtool.c
rename to lib/tdb/tools/tdbtool.c
similarity index 100%
rename from tdb/web/index.html
rename to lib/tdb/web/index.html
index d4a4914825f8037ee88f571f9218907017619b70..032efd53a3a259e45f4362be1e5640c0005d2df4 100644 (file)
@@ -249,7 +249,7 @@ LIBNDR_DRSUAPI_OBJ = librpc/ndr/ndr_drsuapi.o \
                     librpc/gen_ndr/ndr_drsuapi.o \
                     librpc/gen_ndr/ndr_drsblobs.o
 
-COMPRESSION_OBJ = ../compression/mszip.o
+COMPRESSION_OBJ = ../lib/compression/mszip.o
 
 DRSUAPI_OBJ = $(LIBNDR_DRSUAPI_OBJ) \
              $(COMPRESSION_OBJ)
index e27e817d616cc2933bcb689f2d45e1e2872705f2..deed774b39eec0cc815024192c041875c74f0101 100755 (executable)
@@ -53,7 +53,7 @@ echo "$0: running script/mkversion.sh"
 rm -rf autom4te*.cache
 rm -f configure include/config.h*
 
-IPATHS="-Im4 -I../replace -I../source4"
+IPATHS="-Im4 -I../lib/replace -I../source4"
 
 echo "$0: running $AUTOHEADER $IPATHS"
 $AUTOHEADER $IPATHS || exit 1
index fd0ea4361ae047b1a0fee70071e6d29b207780a2..294092e7214a9cbd79c79529dda78aa6fd9e354c 100644 (file)
@@ -23,7 +23,7 @@ m4_include(m4/check_path.m4)
 
 AC_LIBREPLACE_CC_CHECKS
 
-m4_include(../talloc/libtalloc.m4)
+m4_include(../lib/talloc/libtalloc.m4)
 
 LIBTALLOC_OBJ0=""
 for obj in ${TALLOC_OBJ}; do
@@ -33,7 +33,7 @@ AC_SUBST(LIBTALLOC_OBJ0)
 
 # TODO: These should come from m4_include(lib/tdb/libtdb.m4)
 # but currently this fails: things have to get merged from s4.
-tdbdir="../tdb"
+tdbdir="../lib/tdb"
 AC_SUBST(tdbdir)
 TDB_CFLAGS="-I${srcdir-.}/$tdbdir/include"
 AC_SUBST(TDB_CFLAGS)
@@ -48,13 +48,13 @@ done
 
 AC_SUBST(LIBTDB_OBJ0)
 SAMBA_CPPFLAGS="-Iinclude -I${srcdir-.}/include  -I. -I${srcdir-.}"
-SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../replace"
+SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../lib/replace"
 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${TALLOC_CFLAGS}"
 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${TDB_CFLAGS}"
 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/libaddns"
 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/librpc"
 
-SAMBA_CONFIGURE_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../popt"
+SAMBA_CONFIGURE_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../lib/popt"
 
 ## cleanup the $(srcdir) in the Makefile if we are outside of the tree
 if test "x${srcdir-.}" != "x."; then
@@ -131,8 +131,8 @@ else
        CFLAGS="-O"
 fi
 
-m4_include(../socket_wrapper/config.m4)
-m4_include(../nss_wrapper/config.m4)
+m4_include(../lib/socket_wrapper/config.m4)
+m4_include(../lib/nss_wrapper/config.m4)
 
 m4_include(m4/swat.m4)
 
@@ -5872,7 +5872,7 @@ if test x"$INCLUDED_POPT" = x"yes"; then
     AC_MSG_RESULT(yes)
     BUILD_POPT='$(POPT_OBJ)'
     POPTLIBS='$(POPT_OBJ)'
-    FLAGS1="-I\$(srcdir)/../popt"
+    FLAGS1="-I\$(srcdir)/../lib/popt"
 else
     AC_MSG_RESULT(no)
        BUILD_POPT=""
index beeabbba7884be7cce36156e9c164ec59f325b15..aae729c82572b09a1c16c60905cb3f841079c5c0 100644 (file)
@@ -886,4 +886,4 @@ int main(void)
        ])
 ])
 
-m4_include(../replace/libreplace.m4)
+m4_include(../lib/replace/libreplace.m4)
index 19d3cc141be4d4a893d6129ced7ca78ac36cee62..8ac9372ff37c60ef283a19a30aa6cd8bf0825787 100644 (file)
@@ -31,19 +31,19 @@ AC_CONFIG_FILES(../source4/librpc/dcerpc_atsvc.pc)
 SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.2.0,
        [],
        [
-               SMB_INCLUDE_MK(../talloc/config.mk)
+               SMB_INCLUDE_MK(../lib/talloc/config.mk)
        ]
 )
 
 SMB_EXT_LIB_FROM_PKGCONFIG(LIBTDB, tdb >= 1.1.0,
        [],
        [
-               m4_include(../tdb/libtdb.m4)
-               SMB_INCLUDE_MK(../tdb/config.mk)
+               m4_include(../lib/tdb/libtdb.m4)
+               SMB_INCLUDE_MK(../lib/tdb/config.mk)
        ]
 )
 
-SMB_INCLUDE_MK(../tdb/python.mk) 
+SMB_INCLUDE_MK(../lib/tdb/python.mk) 
 
 SMB_EXT_LIB_FROM_PKGCONFIG(LIBLDB, ldb >= 0.9.1,
        [
index 04f0ae945751bfce7f9c27c81070a0082792436b..91390d833f885c6cb967ff330cb6b1f93ada74c1 100644 (file)
@@ -62,7 +62,7 @@ libsrcdir := lib
 libsocketsrcdir := lib/socket
 libcharsetsrcdir := lib/charset
 ldb_sambasrcdir := lib/ldb-samba
-tdbsrcdir := ../tdb
+tdbsrcdir := ../lib/tdb
 ldbsrcdir := lib/ldb
 libtlssrcdir := lib/tls
 libregistrysrcdir := lib/registry
@@ -70,9 +70,9 @@ smbreadlinesrcdir := lib/smbreadline
 libmessagingsrcdir := lib/messaging
 libeventssrcdir := lib/events
 libcmdlinesrcdir := lib/cmdline
-poptsrcdir := ../popt
-socketwrappersrcdir := ../socket_wrapper
-nsswrappersrcdir := ../nss_wrapper
+poptsrcdir := ../lib/popt
+socketwrappersrcdir := ../lib/socket_wrapper
+nsswrappersrcdir := ../lib/nss_wrapper
 appwebsrcdir := lib/appweb
 libstreamsrcdir := lib/stream
 libutilsrcdir := lib/util
@@ -81,7 +81,7 @@ libdbwrapsrcdir := lib/dbwrap
 libcryptosrcdir := lib/crypto
 libtorturesrcdir := lib/torture
 smb_serversrcdir := smb_server
-libcompressionsrcdir := ../compression
+libcompressionsrcdir := ../lib/compression
 libgencachesrcdir := lib
 paramsrcdir := param
 rpc_serversrcdir := rpc_server
@@ -103,7 +103,7 @@ pyscriptsrcdir := $(srcdir)/scripting/python
 kdcsrcdir := kdc
 ntp_signdsrcdir := ntp_signd
 wmisrcdir := lib/wmi
-tallocsrcdir := ../talloc
+tallocsrcdir := ../lib/talloc
 
 include data.mk
 
index 0e75fa51f5ffab2cbdefc5ba6ff8830bf9e8ddfc..240a994f9df6de71a30bfe63236a0b76aae48665 100644 (file)
@@ -53,7 +53,7 @@ AC_DEFUN(LIB_REMOVE_USR_LIB,[
   $1=[$]ac_new_flags
 ])
 
-m4_include(../replace/libreplace.m4)
+m4_include(../lib/replace/libreplace.m4)
 m4_include(build/m4/ax_cflags_gcc_option.m4)
 m4_include(build/m4/ax_cflags_irix_option.m4)
 m4_include(build/m4/public.m4)
index 89f5abeb96e3f556a1410269ca48ad0e6f24ee1a..a56c5a223871923a5318e6248969801bb3af3ead 100755 (executable)
@@ -53,7 +53,7 @@ echo "$0: running script/mkversion.sh"
 rm -rf autom4te*.cache
 rm -f configure include/config_tmp.h*
 
-IPATHS="-I. -I../replace"
+IPATHS="-I. -I../lib/replace"
 
 echo "$0: running $AUTOHEADER $IPATHS"
 $AUTOHEADER $IPATHS || exit 1
index 357121a43babd96af3a62de0a8b09b7a06097e6a..099da400e73cbfeb8bf59f2a25d0d0c80a9ed939 100644 (file)
@@ -11,7 +11,7 @@ AC_DEFINE(CONFIG_H_IS_FROM_SAMBA,1,[Marker for samba's config.h])
 
 # Configuration rules.
 m4_include(build/m4/env.m4)
-m4_include(../replace/samba.m4)
+m4_include(../lib/replace/samba.m4)
 m4_include(lib/smbreadline/readline.m4)
 m4_include(heimdal_build/config.m4)
 m4_include(lib/util/fault.m4)
@@ -21,7 +21,7 @@ m4_include(lib/util/fsusage.m4)
 m4_include(lib/util/xattr.m4)
 m4_include(lib/util/capability.m4)
 m4_include(lib/util/time.m4)
-m4_include(../popt/samba.m4)
+m4_include(../lib/popt/samba.m4)
 m4_include(lib/charset/config.m4)
 m4_include(lib/socket/config.m4)
 m4_include(lib/zlib.m4)
@@ -41,20 +41,20 @@ AC_CONFIG_FILES(librpc/dcerpc_atsvc.pc)
 SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.2.0,
        [],
        [
-               m4_include(../talloc/libtalloc.m4)
-               SMB_INCLUDE_MK(../talloc/config.mk)
+               m4_include(../lib/talloc/libtalloc.m4)
+               SMB_INCLUDE_MK(../lib/talloc/config.mk)
        ]
 )
 
 SMB_EXT_LIB_FROM_PKGCONFIG(LIBTDB, tdb >= 1.1.0,
        [],
        [
-               m4_include(../tdb/libtdb.m4)
-               SMB_INCLUDE_MK(../tdb/config.mk)
+               m4_include(../lib/tdb/libtdb.m4)
+               SMB_INCLUDE_MK(../lib/tdb/config.mk)
        ]
 )
 
-SMB_INCLUDE_MK(../tdb/python.mk) 
+SMB_INCLUDE_MK(../lib/tdb/python.mk) 
 
 SMB_EXT_LIB_FROM_PKGCONFIG(LIBLDB, ldb >= 0.9.1,
        [
@@ -99,8 +99,8 @@ m4_include(auth/gensec/config.m4)
 m4_include(smbd/process_model.m4)
 m4_include(ntvfs/posix/config.m4)
 m4_include(ntvfs/unixuid/config.m4)
-m4_include(../socket_wrapper/config.m4)
-m4_include(../nss_wrapper/config.m4)
+m4_include(../lib/socket_wrapper/config.m4)
+m4_include(../lib/nss_wrapper/config.m4)
 m4_include(auth/config.m4)
 m4_include(kdc/config.m4)
 m4_include(ntvfs/sysdep/config.m4)
@@ -159,7 +159,7 @@ then
        builddir_headers="-I\$(builddir)/include -I\$(builddir) -I\$(builddir)/lib ";
 fi
 
-CPPFLAGS="$builddir_headers-I\$(srcdir)/include -I\$(srcdir) -I\$(srcdir)/lib -I\$(srcdir)/../replace -I\$(srcdir)/../talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H $CPPFLAGS"
+CPPFLAGS="$builddir_headers-I\$(srcdir)/include -I\$(srcdir) -I\$(srcdir)/lib -I\$(srcdir)/../lib/replace -I\$(srcdir)/../lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H $CPPFLAGS"
 
 SMB_WRITE_PERLVARS(build/smb_build/config.pm)
 
index 92c5b049df2db76e22ac9547bb5d8108bee59476..05a80e20b2cc112699f37ab68212f0bdf3a09cab 100644 (file)
@@ -21,7 +21,7 @@
 */
 
 #include "includes.h"
-#include "lib/compression/lzxpress.h"
+#include "../lib/compression/lzxpress.h"
 #include "librpc/ndr/libndr.h"
 #include "librpc/ndr/ndr_compression.h"
 #include <zlib.h>
index 5ab9f95c05348a4da888b5ec044d8c2eff6723e9..ddeb4baf2ecc2e64d4272afba68e705b027b327d 100644 (file)
@@ -16,8 +16,8 @@ mkinclude lib/registry/config.mk
 mkinclude lib/messaging/config.mk
 mkinclude lib/events/config.mk
 mkinclude lib/cmdline/config.mk
-mkinclude ../socket_wrapper/config.mk
-mkinclude ../nss_wrapper/config.mk
+mkinclude ../lib/socket_wrapper/config.mk
+mkinclude ../lib/nss_wrapper/config.mk
 mkinclude lib/appweb/config.mk
 mkinclude lib/stream/config.mk
 mkinclude lib/util/config.mk
index 54cbdae837a89a6396d50c9a81895d639dda3391..4cd9f6c865dc1a21626723336aa9d1ae717ff0cf 100644 (file)
@@ -20,23 +20,23 @@ PRIVATE_DEPENDENCIES = \
 
 TORTURE_LOCAL_OBJ_FILES = \
                $(torturesrcdir)/../lib/charset/tests/iconv.o \
-               $(torturesrcdir)/../../talloc/testsuite.o \
-               $(torturesrcdir)/../../replace/test/getifaddrs.o \
-               $(torturesrcdir)/../../replace/test/os2_delete.o \
-               $(torturesrcdir)/../../replace/test/strptime.o \
-               $(torturesrcdir)/../../replace/test/testsuite.o \
+               $(torturesrcdir)/../../lib/talloc/testsuite.o \
+               $(torturesrcdir)/../../lib/replace/test/getifaddrs.o \
+               $(torturesrcdir)/../../lib/replace/test/os2_delete.o \
+               $(torturesrcdir)/../../lib/replace/test/strptime.o \
+               $(torturesrcdir)/../../lib/replace/test/testsuite.o \
                $(torturesrcdir)/../lib/messaging/tests/messaging.o \
                $(torturesrcdir)/../lib/messaging/tests/irpc.o \
                $(torturesrcdir)/../librpc/tests/binding_string.o \
                $(torturesrcdir)/../lib/util/tests/idtree.o \
                $(torturesrcdir)/../lib/socket/testsuite.o \
-               $(torturesrcdir)/../../socket_wrapper/testsuite.o \
+               $(torturesrcdir)/../../lib/socket_wrapper/testsuite.o \
                $(torturesrcdir)/../libcli/resolve/testsuite.o \
                $(torturesrcdir)/../lib/util/tests/strlist.o \
                $(torturesrcdir)/../lib/util/tests/str.o \
                $(torturesrcdir)/../lib/util/tests/file.o \
                $(torturesrcdir)/../lib/util/tests/genrand.o \
-               $(torturesrcdir)/../../compression/testsuite.o \
+               $(torturesrcdir)/../../lib/compression/testsuite.o \
                $(torturesrcdir)/../lib/charset/tests/charset.o \
                $(torturesrcdir)/../libcli/security/tests/sddl.o \
                $(torturesrcdir)/../lib/tdr/testsuite.o \