samba4: building in a separate builddir
Stefan (metze) Metzmacher
metze at samba.org
Tue Oct 19 11:17:36 GMT 2004
> One common build method supported by autoconf is to
> run configure in a different directory to the source,
> so you don't modify or pollute the source tree.
> For example
> mkdir work
> cd work
> This worked for Samba2 and Samba3 (modulo some minor bugfixes in
> the latter), but the overhaul of the Samba4 build system has
> broken this.
> I've managed to fix part of the problem, but I'm currently stuck
> fixing the generation of include/proto.h -- the source files
> are mainly found in $(srcdir) except for the built librpc/gen_ndr/*.c.
> We can't use $(builddir) for the latter since that is usually `.';
> we'd need to munge the $(srcdir) paths appropriately, or find another
I'll take a look at this later this week...
Stefan Metzmacher <metze at samba dot org>
More information about the samba-technical