summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-21 15:50:51 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-22 02:51:10 +0100
commit1bf4ff2ab2e5bca2c6d7e5840fe20bd3dbd20d74 (patch)
treea6fba1a806d5b722e297debce2d414277354149f /source4/librpc
parentf0a4d3a9d5c77b87104a9a53adf026ee51113e80 (diff)
downloadsamba-1bf4ff2ab2e5bca2c6d7e5840fe20bd3dbd20d74.tar.gz
samba-1bf4ff2ab2e5bca2c6d7e5840fe20bd3dbd20d74.tar.bz2
samba-1bf4ff2ab2e5bca2c6d7e5840fe20bd3dbd20d74.zip
s4-waf: added --enable-s3build configure option
this enables the build of the s3 binaries in the toplevel build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/librpc')
-rwxr-xr-xsource4/librpc/wscript_build7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build
index cbe382e0de..4e7543477a 100755
--- a/source4/librpc/wscript_build
+++ b/source4/librpc/wscript_build
@@ -92,6 +92,11 @@ bld.SAMBA_LIBRARY('dcerpc-samba4',
bld.SAMBA_PIDL_TABLES('GEN_NDR_TABLES', 'gen_ndr/tables.c')
+if bld.env.enable_s3build:
+ s3_ndr = "NDR_WBINT"
+else:
+ s3_ndr = ""
+
bld.SAMBA_SUBSYSTEM('ndr-table',
source='../../librpc/ndr/ndr_table.c gen_ndr/tables.c',
public_deps='''ndr-standard NDR_AUDIOSRV NDR_DSBACKUP NDR_EFS
@@ -104,7 +109,7 @@ bld.SAMBA_SUBSYSTEM('ndr-table',
NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND NDR_FRSRPC NDR_FRSAPI
NDR_FRSTRANS NDR_NFS4ACL NDR_NTP_SIGND NDR_DCOM NDR_WMI
NDR_NAMED_PIPE_AUTH NDR_NTLMSSP NDR_DFSBLOBS NDR_DNSP
- NDR_NTPRINTING NDR_DNS NDR_BACKUPKEY NDR_PREG NDR_WBINT''',
+ NDR_NTPRINTING NDR_DNS NDR_BACKUPKEY NDR_PREG ''' + s3_ndr,
depends_on='GEN_NDR_TABLES'
)