[SCM] Samba Shared Repository - branch v4-0-test updated -
release-4-0-0alpha2-754-g35c8ebd
Jelmer Vernooij
jelmer at samba.org
Mon Feb 11 22:53:16 GMT 2008
The branch, v4-0-test has been updated
via 35c8ebdca2612b52cd3eb2aafd35041d17173722 (commit)
from b5d4ab2cf4a73883fff867f878788d94bd8e1649 (commit)
http://gitweb.samba.org/?samba.git;a=shortlog;h=v4-0-test
- Log -----------------------------------------------------------------
commit 35c8ebdca2612b52cd3eb2aafd35041d17173722
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Feb 11 23:51:59 2008 +0100
Fix out of tree builds.
-----------------------------------------------------------------------
Summary of changes:
source/lib/ldb/Makefile.in | 5 +++--
source/lib/ldb/ldb.mk | 6 +++---
source/lib/talloc/Makefile.in | 4 ++--
source/lib/tdb/Makefile.in | 4 ++--
source/lib/tdb/tdb.mk | 2 +-
5 files changed, 11 insertions(+), 10 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/ldb/Makefile.in b/source/lib/ldb/Makefile.in
index a8555d9..738ffe1 100644
--- a/source/lib/ldb/Makefile.in
+++ b/source/lib/ldb/Makefile.in
@@ -20,6 +20,7 @@ EXTRA_OBJ=@EXTRA_OBJ@
TESTS=test-tdb.sh @TESTS@
PACKAGE_VERSION = @PACKAGE_VERSION@
tdbdir = @tdbdir@
+ldbdir = $(srcdir)
tallocdir = @tallocdir@
TALLOC_LIBS = @TALLOC_LIBS@
@@ -67,7 +68,7 @@ DIRS = lib bin common ldb_tdb ldb_ldap ldb_sqlite3 modules tools examples
default: all
-include rules.mk
+include $(ldbdir)/rules.mk
nss: nssdir all $(NSS_LIB)
@@ -160,4 +161,4 @@ gcov::
$(GCOV) -po modules $(srcdir)/modules/*.c 2| tee modules.report.gcov
$(GCOV) -po tools $(srcdir)/tools/*.c 2| tee tools.report.gcov
-include ldb.mk
+include $(ldbdir)/ldb.mk
diff --git a/source/lib/ldb/ldb.mk b/source/lib/ldb/ldb.mk
index 2091331..b9aa24b 100644
--- a/source/lib/ldb/ldb.mk
+++ b/source/lib/ldb/ldb.mk
@@ -66,10 +66,10 @@ examples/ldifreader: examples/ldifreader.o $(LIBS)
# Python bindings
build-python:: lib/libldb.$(SHLIBEXT) ldb_wrap.c
- ./setup.py build
+ $(ldbdir)/setup.py build
install-python:: build-python
- ./setup.py install --prefix=$(DESTDIR)$(prefix)
+ $(ldbdir)/setup.py install --prefix=$(DESTDIR)$(prefix)
install-swig::
cp ldb.i `$(SWIG) -swiglib`
@@ -79,4 +79,4 @@ check-python:: build-python
LD_LIBRARY_PATH=lib PYTHONPATH=.:build/lib.linux-i686-2.4/ trial tests/python/api.py
clean-python::
- ./setup.py clean
+ $(ldbdir)/setup.py clean
diff --git a/source/lib/talloc/Makefile.in b/source/lib/talloc/Makefile.in
index 855c708..f5d1cd1 100644
--- a/source/lib/talloc/Makefile.in
+++ b/source/lib/talloc/Makefile.in
@@ -25,8 +25,8 @@ LIBOBJ = $(TALLOC_OBJ) @LIBREPLACEOBJ@
all:: showflags $(EXTRA_TARGETS)
-include rules.mk
-include talloc.mk
+include $(tallocdir)/rules.mk
+include $(tallocdir)/talloc.mk
$(SOLIB): $(LIBOBJ)
$(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) @SONAMEFLAG@$(SONAME)
diff --git a/source/lib/tdb/Makefile.in b/source/lib/tdb/Makefile.in
index 56b10cc..9730dff 100644
--- a/source/lib/tdb/Makefile.in
+++ b/source/lib/tdb/Makefile.in
@@ -30,8 +30,8 @@ TDB_OBJ = @TDB_OBJ@ @LIBREPLACEOBJ@
all:: showflags dirs $(PROGS) $(SOLIB) libtdb.a $(PYTHON_BUILD_TARGET)
-include tdb.mk
-include rules.mk
+include $(tdbdir)/tdb.mk
+include $(tdbdir)/rules.mk
install:: all
$(SOLIB): $(TDB_OBJ)
diff --git a/source/lib/tdb/tdb.mk b/source/lib/tdb/tdb.mk
index 3b5166b..d6118dd 100644
--- a/source/lib/tdb/tdb.mk
+++ b/source/lib/tdb/tdb.mk
@@ -34,7 +34,7 @@ clean::
rm -f $(ALL_PROGS) tdb.pc
build-python:: libtdb.$(SHLIBEXT) tdb_wrap.c
- ./setup.py build
+ $(tdbdir)/setup.py build
install:: installdirs installbin installheaders installlibs \
$(PYTHON_INSTALL_TARGET)
--
Samba Shared Repository
More information about the samba-cvs
mailing list