s4-waf: cleaned up tevent dependency
[kai/samba.git] / source4 / wscript_build
1 #!/usr/bin/env python
2
3 # top level waf build script for samba4
4
5 import os
6 srcdir = ".."
7
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()
11
12 bld.SAMBA_MKVERSION('version.h')
13
14 # bld.ENABLE_MAGIC_ORDERING()
15
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')
22
23 # missing subsystems - need looking at
24 bld.SAMBA_SUBSYSTEM('INTL', '')         # external gettext library
25 bld.SAMBA_SUBSYSTEM('NETAPI', '')       # for external libnet
26 bld.SAMBA_SUBSYSTEM('OPENPTY', '')      # external openpty library
27 bld.SAMBA_SUBSYSTEM('SMBCLIENT', '')    # for external libsmbclient
28 bld.SAMBA_SUBSYSTEM('BLKID', '')        # blkid library from e2fsprogs
29 bld.SAMBA_SUBSYSTEM('SETPROCTITLE', '') # external setproctitle library
30
31 # subsystems that are confirmed to be missing. These should
32 # be removed from the build completely when we only have
33 # one build system
34 bld.SAMBA_SUBSYSTEM('DCOM_PROXY_DCOM', '')
35 bld.SAMBA_SUBSYSTEM('smbcalls', '')
36 bld.SAMBA_SUBSYSTEM('HDB_LDB', '')
37 bld.SAMBA_SUBSYSTEM('NDR_MISC', '')
38 bld.SAMBA_SUBSYSTEM('NDR_SAMR', '')
39 bld.SAMBA_SUBSYSTEM('SCHANNELDB', '')
40 bld.SAMBA_SUBSYSTEM('pyldb_util', '')
41 bld.SAMBA_SUBSYSTEM('TORTURE_LDB_MODULE', '')
42
43
44 bld.BUILD_SUBDIR('../lib/replace')
45 bld.BUILD_SUBDIR('../lib/talloc')
46 bld.BUILD_SUBDIR('../lib/tdb')
47 bld.BUILD_SUBDIR('../lib/tevent')
48 bld.BUILD_SUBDIR('lib/ldb')
49 bld.BUILD_SUBDIR('dynconfig')
50 bld.BUILD_SUBDIR('../lib/util/charset')
51 bld.BUILD_SUBDIR('scripting/python')
52 bld.BUILD_SUBDIR('../lib/subunit/python')
53 bld.BUILD_SUBDIR('param')
54 bld.BUILD_SUBDIR('librpc')
55 bld.BUILD_SUBDIR('dsdb')
56 bld.BUILD_SUBDIR('smbd')
57 bld.BUILD_SUBDIR('cluster')
58 bld.BUILD_SUBDIR('smbd')
59 bld.BUILD_SUBDIR('libnet')
60 bld.BUILD_SUBDIR('auth')
61 bld.BUILD_SUBDIR('../nsswitch')
62 bld.BUILD_SUBDIR('../nsswitch/libwbclient')
63 bld.BUILD_SUBDIR('lib/samba3')
64 bld.BUILD_SUBDIR('lib/socket')
65 bld.BUILD_SUBDIR('lib/ldb-samba')
66 bld.BUILD_SUBDIR('lib/tls')
67 bld.BUILD_SUBDIR('lib/registry')
68 bld.BUILD_SUBDIR('lib/messaging')
69 bld.BUILD_SUBDIR('lib/events')
70 bld.BUILD_SUBDIR('lib/cmdline')
71 bld.BUILD_SUBDIR('../lib/socket_wrapper')
72 bld.BUILD_SUBDIR('../lib/nss_wrapper')
73 bld.BUILD_SUBDIR('../lib/uid_wrapper')
74 bld.BUILD_SUBDIR('../lib/popt')
75 bld.BUILD_SUBDIR('lib/stream')
76 bld.BUILD_SUBDIR('../lib/util')
77 bld.BUILD_SUBDIR('../lib/tdr')
78 bld.BUILD_SUBDIR('../lib/tsocket')
79 bld.BUILD_SUBDIR('../lib/crypto')
80 bld.BUILD_SUBDIR('../lib/torture')
81 bld.BUILD_SUBDIR('../lib/zlib')
82 bld.BUILD_SUBDIR('lib')
83 bld.BUILD_SUBDIR('lib/com')
84 bld.BUILD_SUBDIR('smb_server')
85 bld.BUILD_SUBDIR('rpc_server')
86 bld.BUILD_SUBDIR('ldap_server')
87 bld.BUILD_SUBDIR('web_server')
88 bld.BUILD_SUBDIR('winbind')
89 bld.BUILD_SUBDIR('nbt_server')
90 bld.BUILD_SUBDIR('wrepl_server')
91 bld.BUILD_SUBDIR('cldap_server')
92 bld.BUILD_SUBDIR('ntp_signd')
93 bld.BUILD_SUBDIR('utils/net')
94 bld.BUILD_SUBDIR('utils')
95 bld.BUILD_SUBDIR('ntvfs')
96 bld.BUILD_SUBDIR('ntptr')
97 bld.BUILD_SUBDIR('torture')
98 bld.BUILD_SUBDIR('../librpc')
99 bld.BUILD_SUBDIR('client')
100 bld.BUILD_SUBDIR('libcli')
101 bld.BUILD_SUBDIR('../libcli/smb')
102 bld.BUILD_SUBDIR('../libcli/cldap')
103 bld.BUILD_SUBDIR('kdc')
104 bld.BUILD_SUBDIR('../lib/smbconf')
105 bld.BUILD_SUBDIR('../lib/async_req')
106 bld.BUILD_SUBDIR('../libcli/security')
107 bld.BUILD_SUBDIR('../libcli/ldap')
108 bld.BUILD_SUBDIR('../libcli/nbt')
109 bld.BUILD_SUBDIR('../libcli/auth')
110 bld.BUILD_SUBDIR('../libcli/drsuapi')
111 bld.BUILD_SUBDIR('../libcli/samsync')
112 bld.BUILD_SUBDIR('../libgpo')
113 bld.BUILD_SUBDIR('../libcli/named_pipe_auth')
114 bld.BUILD_SUBDIR('heimdal_build')
115 bld.BUILD_SUBDIR('lib/smbreadline')
116 bld.BUILD_SUBDIR('../codepages')
117 bld.BUILD_SUBDIR('setup')
118 bld.BUILD_SUBDIR('scripting')
119 bld.BUILD_SUBDIR('../pidl')