e0b942b274acf82ef25a84684a4ad7819a1a2b95
[nivanova/samba-autobuild/.git] / source4 / wscript_build
1 # top level waf build script for samba4
2
3 import os
4 srcdir = ".."
5
6 # create separate build groups for building the asn1 and et compiler, then
7 # building the C from ASN1 and IDL, and finally the main build process
8 bld.SETUP_BUILD_GROUPS()
9
10 bld.SAMBA_MKVERSION('version.h')
11
12 # bld.ENABLE_MAGIC_ORDERING()
13
14 # we don't always use consistent names for our subsystems.
15 # this sets up some aliases
16 bld.TARGET_ALIAS('attr', 'XATTR')
17 bld.TARGET_ALIAS('tevent', 'LIBTEVENT_EXT')
18 bld.TARGET_ALIAS('sasl2', 'SASL')
19 bld.TARGET_ALIAS('RPC_NDR_SRVSVC', 'NDR_SRVSVC')
20 bld.TARGET_ALIAS('RPC_NDR_MGMT', 'dcerpc_mgmt')
21
22 # missing subsystems - need looking at
23 bld.SAMBA_SUBSYSTEM('INTL', '')         # external gettext library
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
29
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', '')
41
42
43 bld.BUILD_SUBDIR('../lib/replace')
44 bld.BUILD_SUBDIR('../lib/talloc')
45 bld.BUILD_SUBDIR('../lib/tdb')
46 bld.BUILD_SUBDIR('../lib/tevent')
47 bld.BUILD_SUBDIR('lib/ldb')
48 bld.BUILD_SUBDIR('dynconfig')
49 bld.BUILD_SUBDIR('../lib/util/charset')
50 bld.BUILD_SUBDIR('scripting/python')
51 bld.BUILD_SUBDIR('../lib/subunit/python')
52 bld.BUILD_SUBDIR('param')
53 bld.BUILD_SUBDIR('librpc')
54 bld.BUILD_SUBDIR('dsdb')
55 bld.BUILD_SUBDIR('smbd')
56 bld.BUILD_SUBDIR('cluster')
57 bld.BUILD_SUBDIR('smbd')
58 bld.BUILD_SUBDIR('libnet')
59 bld.BUILD_SUBDIR('auth')
60 bld.BUILD_SUBDIR('../nsswitch')
61 bld.BUILD_SUBDIR('../nsswitch/libwbclient')
62 bld.BUILD_SUBDIR('lib/samba3')
63 bld.BUILD_SUBDIR('lib/socket')
64 bld.BUILD_SUBDIR('lib/ldb-samba')
65 bld.BUILD_SUBDIR('lib/tls')
66 bld.BUILD_SUBDIR('lib/registry')
67 bld.BUILD_SUBDIR('lib/messaging')
68 bld.BUILD_SUBDIR('lib/events')
69 bld.BUILD_SUBDIR('lib/cmdline')
70 bld.BUILD_SUBDIR('../lib/socket_wrapper')
71 bld.BUILD_SUBDIR('../lib/nss_wrapper')
72 bld.BUILD_SUBDIR('../lib/uid_wrapper')
73 bld.BUILD_SUBDIR('../lib/popt')
74 bld.BUILD_SUBDIR('lib/stream')
75 bld.BUILD_SUBDIR('../lib/util')
76 bld.BUILD_SUBDIR('../lib/tdr')
77 bld.BUILD_SUBDIR('../lib/tsocket')
78 bld.BUILD_SUBDIR('../lib/crypto')
79 bld.BUILD_SUBDIR('../lib/torture')
80 bld.BUILD_SUBDIR('../lib/zlib')
81 bld.BUILD_SUBDIR('lib')
82 bld.BUILD_SUBDIR('lib/com')
83 bld.BUILD_SUBDIR('smb_server')
84 bld.BUILD_SUBDIR('rpc_server')
85 bld.BUILD_SUBDIR('ldap_server')
86 bld.BUILD_SUBDIR('web_server')
87 bld.BUILD_SUBDIR('winbind')
88 bld.BUILD_SUBDIR('nbt_server')
89 bld.BUILD_SUBDIR('wrepl_server')
90 bld.BUILD_SUBDIR('cldap_server')
91 bld.BUILD_SUBDIR('ntp_signd')
92 bld.BUILD_SUBDIR('utils/net')
93 bld.BUILD_SUBDIR('utils')
94 bld.BUILD_SUBDIR('ntvfs')
95 bld.BUILD_SUBDIR('ntptr')
96 bld.BUILD_SUBDIR('torture')
97 bld.BUILD_SUBDIR('../librpc')
98 bld.BUILD_SUBDIR('client')
99 bld.BUILD_SUBDIR('libcli')
100 bld.BUILD_SUBDIR('../libcli/smb')
101 bld.BUILD_SUBDIR('../libcli/cldap')
102 bld.BUILD_SUBDIR('kdc')
103 bld.BUILD_SUBDIR('../lib/smbconf')
104 bld.BUILD_SUBDIR('../lib/async_req')
105 bld.BUILD_SUBDIR('../libcli/security')
106 bld.BUILD_SUBDIR('../libcli/ldap')
107 bld.BUILD_SUBDIR('../libcli/nbt')
108 bld.BUILD_SUBDIR('../libcli/auth')
109 bld.BUILD_SUBDIR('../libcli/drsuapi')
110 bld.BUILD_SUBDIR('../libcli/samsync')
111 bld.BUILD_SUBDIR('../libgpo')
112 bld.BUILD_SUBDIR('../libcli/named_pipe_auth')
113 bld.BUILD_SUBDIR('heimdal_build')
114 bld.BUILD_SUBDIR('lib/smbreadline')
115 bld.BUILD_SUBDIR('../codepages')
116 bld.BUILD_SUBDIR('setup')
117 bld.BUILD_SUBDIR('scripting')