[PATCH] [SAMBA-4] out of tree build support
Alexander Bokovoy
ab at samba.org
Mon Apr 10 10:37:01 GMT 2006
Jelmer, Metze,
please find below out of tree build support patch. This patch adds
ability to have $(builddir) different to $(srcdir) and is essential to
get cross-compilation of Samba 4.
The patch modifies build system to:
- clean up certain code paths from assumptions that all files are
accessible relative to the current directory;
- add a logic to support search paths for $(builddir) and $(srcdir)
- support out-of-tree IDL compilation
- directory tree replication for $(builddir) different from $(srcdir)
The latter is rather important as it allows to keep changes to almost
absolute minimum.
The patch is tested against in-tree and out-of-tree builds with and
without DSO.
build/smb_build/config_mk.pm | 23 +++++++++++++++++------
build/smb_build/env.pm | 3 +++
build/smb_build/main.pl | 3 +--
build/smb_build/makefile.pm | 12 ++++++++----
configure.in | 9 ++++++++-
heimdal_build/config.mk | 1 +
lib/registry/config.mk | 11 +++++++----
main.mk | 36 ++++++++++++++++++------------------
script/build_idl.sh | 8 ++++----
script/buildtree.pl | 40
++++++++++++++++++++++++++++++++++++++++
script/installheader.pl | 19 +++++++++++++------
script/mkproto.pl | 15 +++++++++++++--
12 files changed, 133 insertions(+), 47 deletions(-)
--
/ Alexander Bokovoy
Samba Team http://www.samba.org/
ALT Linux Team http://www.altlinux.org/
Midgard Project Ry http://www.midgard-project.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba-4-builddir-support-1.patch
Type: text/x-patch
Size: 17789 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060410/dd30c8f9/samba-4-builddir-support-1.bin
More information about the samba-technical
mailing list