s3build: recurse into source3/
authorAndrew Tridgell <tridge@samba.org>
Mon, 21 Feb 2011 00:18:21 +0000 (11:18 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 22 Feb 2011 01:51:09 +0000 (02:51 +0100)
we can now use common build rules

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

wscript_build

index dea49b32c928ab55bb73ce777228afcaa1beb2fd..37abfd1b77cf1ca05e32f330b1b6d3d6278a3aec 100644 (file)
@@ -7,6 +7,11 @@ srcdir = "."
 
 import samba_version
 
+# mark this as a top level build, for source3 rules
+bld.env.toplevel_build = True
+bld.env.use_intree_heimdal = True
+bld.env.suffix3 = "3"
+
 # create separate build groups for building the asn1 and et compiler, then
 # building the C from ASN1 and IDL, and finally the main build process
 bld.SETUP_BUILD_GROUPS()
@@ -100,6 +105,7 @@ bld.RECURSE('source4/setup')
 bld.RECURSE('source4/scripting')
 bld.RECURSE('pidl')
 bld.RECURSE('lib')
+bld.RECURSE('source3')
 
 # install some extra empty directories
 bld.INSTALL_DIRS("", "${LOCKDIR} ${SYSCONFDIR} ${LOCKDIR} ${PIDDIR} ${LOCALSTATEDIR}/lib ${PRIVATEDIR}/smbd.tmp/messaging")