s4-dreplsrv: Refactor drepl_replica_sync() to behave as described in MS-DRSR
[Samba.git] / source4 / wscript_build
blob090c914ae73ea9b6c36ff0b8642c5bec497e836c
1 #!/usr/bin/env python
3 # top level waf build script for samba4
5 import os
6 srcdir = ".."
8 # create separate build groups for building the asn1 and et compiler, then
9 # building the C from ASN1 and IDL, and finally the main build process
10 bld.SETUP_BUILD_GROUPS()
12 bld.SAMBA_MKVERSION('version.h')
14 # bld.ENABLE_MAGIC_ORDERING()
16 # we don't always use consistent names for our subsystems.
17 # this sets up some aliases
18 bld.TARGET_ALIAS('attr', 'XATTR')
19 bld.TARGET_ALIAS('sasl2', 'SASL')
20 bld.TARGET_ALIAS('RPC_NDR_SRVSVC', 'NDR_SRVSVC')
21 bld.TARGET_ALIAS('RPC_NDR_MGMT', 'dcerpc_mgmt')
23 # missing subsystems - need looking at
24 bld.SAMBA_SUBSYSTEM('NETAPI', '') # for external libnet
25 bld.SAMBA_SUBSYSTEM('OPENPTY', '') # external openpty library
26 bld.SAMBA_SUBSYSTEM('SMBCLIENT', '') # for external libsmbclient
27 bld.SAMBA_SUBSYSTEM('BLKID', '') # blkid library from e2fsprogs
28 bld.SAMBA_SUBSYSTEM('SETPROCTITLE', '') # external setproctitle library
30 # subsystems that are confirmed to be missing. These should
31 # be removed from the build completely when we only have
32 # one build system
33 bld.SAMBA_SUBSYSTEM('DCOM_PROXY_DCOM', '')
34 bld.SAMBA_SUBSYSTEM('smbcalls', '')
35 bld.SAMBA_SUBSYSTEM('HDB_LDB', '')
36 bld.SAMBA_SUBSYSTEM('NDR_MISC', '')
37 bld.SAMBA_SUBSYSTEM('NDR_SAMR', '')
38 bld.SAMBA_SUBSYSTEM('SCHANNELDB', '')
39 bld.SAMBA_SUBSYSTEM('pyldb_util', '')
40 bld.SAMBA_SUBSYSTEM('TORTURE_LDB_MODULE', '')
43 bld.RECURSE('../lib/replace')
44 bld.RECURSE('../lib/talloc')
45 bld.RECURSE('../lib/tdb')
46 bld.RECURSE('../lib/tevent')
47 bld.RECURSE('lib/ldb')
48 bld.RECURSE('dynconfig')
49 bld.RECURSE('../lib/util/charset')
50 bld.RECURSE('scripting/python')
51 bld.RECURSE('param')
52 bld.RECURSE('librpc')
53 bld.RECURSE('dsdb')
54 bld.RECURSE('smbd')
55 bld.RECURSE('cluster')
56 bld.RECURSE('smbd')
57 bld.RECURSE('libnet')
58 bld.RECURSE('auth')
59 bld.RECURSE('../lib/iniparser/src')
60 bld.RECURSE('../nsswitch')
61 bld.RECURSE('../nsswitch/libwbclient')
62 bld.RECURSE('lib/samba3')
63 bld.RECURSE('lib/socket')
64 bld.RECURSE('lib/ldb-samba')
65 bld.RECURSE('lib/tls')
66 bld.RECURSE('lib/registry')
67 bld.RECURSE('lib/messaging')
68 bld.RECURSE('lib/events')
69 bld.RECURSE('lib/cmdline')
70 bld.RECURSE('../lib/socket_wrapper')
71 bld.RECURSE('../lib/nss_wrapper')
72 bld.RECURSE('../lib/uid_wrapper')
73 bld.RECURSE('../lib/popt')
74 bld.RECURSE('lib/stream')
75 bld.RECURSE('../lib/util')
76 bld.RECURSE('../lib/tdr')
77 bld.RECURSE('../lib/tsocket')
78 bld.RECURSE('../lib/crypto')
79 bld.RECURSE('../lib/torture')
80 bld.RECURSE('../lib/zlib')
81 bld.RECURSE('lib')
82 bld.RECURSE('lib/com')
83 bld.RECURSE('smb_server')
84 bld.RECURSE('rpc_server')
85 bld.RECURSE('ldap_server')
86 bld.RECURSE('web_server')
87 bld.RECURSE('winbind')
88 bld.RECURSE('nbt_server')
89 bld.RECURSE('wrepl_server')
90 bld.RECURSE('cldap_server')
91 bld.RECURSE('ntp_signd')
92 bld.RECURSE('utils/net')
93 bld.RECURSE('utils')
94 bld.RECURSE('ntvfs')
95 bld.RECURSE('ntptr')
96 bld.RECURSE('torture')
97 bld.RECURSE('../librpc')
98 bld.RECURSE('client')
99 bld.RECURSE('libcli')
100 bld.RECURSE('../libcli/smb')
101 bld.RECURSE('../libcli/cldap')
102 bld.RECURSE('kdc')
103 bld.RECURSE('../lib/smbconf')
104 bld.RECURSE('../lib/async_req')
105 bld.RECURSE('../libcli/security')
106 bld.RECURSE('../libcli/ldap')
107 bld.RECURSE('../libcli/nbt')
108 bld.RECURSE('../libcli/auth')
109 bld.RECURSE('../libcli/drsuapi')
110 bld.RECURSE('../libcli/samsync')
111 bld.RECURSE('lib/policy')
112 bld.RECURSE('../libcli/named_pipe_auth')
113 bld.RECURSE('heimdal_build')
114 bld.RECURSE('lib/smbreadline')
115 bld.RECURSE('../codepages')
116 bld.RECURSE('setup')
117 bld.RECURSE('scripting')
118 bld.RECURSE('../pidl')
119 bld.RECURSE('../lib')
121 # install some extra empty directories
122 bld.INSTALL_DIRS("", "${LOCKDIR} ${SYSCONFDIR} ${LOCKDIR} ${PIDDIR} ${LOCALSTATEDIR}/lib ${PRIVATEDIR}/smbd.tmp/messaging")