waf: added top level build rules
[sfrench/samba-autobuild/.git] / wscript_build
1 #!/usr/bin/env python
2
3 # top level waf build script for samba4
4
5 import os
6 srcdir = "."
7
8 import samba_version
9
10 # create separate build groups for building the asn1 and et compiler, then
11 # building the C from ASN1 and IDL, and finally the main build process
12 bld.SETUP_BUILD_GROUPS()
13 bld.AUTOCLEANUP_STALE_FILES()
14
15 samba_version.load_version(bld.env)
16 bld.SAMBA_MKVERSION('version.h')
17
18 # bld.ENABLE_MAGIC_ORDERING()
19
20 bld.RECURSE('lib/replace')
21 bld.RECURSE('lib/talloc')
22 bld.RECURSE('lib/tdb')
23 bld.RECURSE('lib/tevent')
24 bld.RECURSE('source4/lib/ldb')
25 bld.RECURSE('source4/dynconfig')
26 bld.RECURSE('lib/util/charset')
27 bld.RECURSE('source4/scripting/python')
28 bld.RECURSE('source4/param')
29 bld.RECURSE('source4/librpc')
30 bld.RECURSE('source4/dsdb')
31 bld.RECURSE('source4/smbd')
32 bld.RECURSE('source4/cluster')
33 bld.RECURSE('source4/smbd')
34 bld.RECURSE('source4/libnet')
35 bld.RECURSE('source4/auth')
36 bld.RECURSE('lib/iniparser/src')
37 bld.RECURSE('nsswitch')
38 bld.RECURSE('nsswitch/libwbclient')
39 bld.RECURSE('source4/lib/samba3')
40 bld.RECURSE('source4/lib/socket')
41 bld.RECURSE('source4/lib/ldb-samba')
42 bld.RECURSE('source4/lib/tls')
43 bld.RECURSE('source4/lib/registry')
44 bld.RECURSE('source4/lib/messaging')
45 bld.RECURSE('source4/lib/events')
46 bld.RECURSE('source4/lib/cmdline')
47 bld.RECURSE('lib/socket_wrapper')
48 bld.RECURSE('lib/nss_wrapper')
49 bld.RECURSE('lib/uid_wrapper')
50 bld.RECURSE('lib/popt')
51 bld.RECURSE('source4/lib/stream')
52 bld.RECURSE('lib/util')
53 bld.RECURSE('lib/tdr')
54 bld.RECURSE('lib/tsocket')
55 bld.RECURSE('lib/crypto')
56 bld.RECURSE('lib/torture')
57 bld.RECURSE('lib/zlib')
58 bld.RECURSE('source4/lib')
59 bld.RECURSE('source4/lib/com')
60 bld.RECURSE('source4/dns_server')
61 bld.RECURSE('source4/echo_server')
62 bld.RECURSE('source4/smb_server')
63 bld.RECURSE('source4/rpc_server')
64 bld.RECURSE('source4/ldap_server')
65 bld.RECURSE('source4/web_server')
66 bld.RECURSE('source4/winbind')
67 bld.RECURSE('source4/nbt_server')
68 bld.RECURSE('source4/wrepl_server')
69 bld.RECURSE('source4/cldap_server')
70 bld.RECURSE('source4/ntp_signd')
71 bld.RECURSE('source4/samba_tool')
72 bld.RECURSE('source4/utils')
73 bld.RECURSE('source4/ntvfs')
74 bld.RECURSE('source4/ntptr')
75 bld.RECURSE('source4/torture')
76 bld.RECURSE('librpc')
77 bld.RECURSE('source4/client')
78 bld.RECURSE('source4/libcli')
79 bld.RECURSE('libcli/smb')
80 bld.RECURSE('libcli/cldap')
81 bld.RECURSE('lib/subunit/c')
82 bld.RECURSE('source4/kdc')
83 bld.RECURSE('lib/smbconf')
84 bld.RECURSE('lib/async_req')
85 bld.RECURSE('libcli/security')
86 bld.RECURSE('libcli/ldap')
87 bld.RECURSE('libcli/nbt')
88 bld.RECURSE('libcli/netlogon')
89 bld.RECURSE('libcli/auth')
90 bld.RECURSE('libcli/drsuapi')
91 bld.RECURSE('libcli/echo')
92 bld.RECURSE('libcli/samsync')
93 bld.RECURSE('source4/lib/policy')
94 bld.RECURSE('libcli/named_pipe_auth')
95 bld.RECURSE('source4/heimdal_build')
96 bld.RECURSE('libcli/smbreadline')
97 bld.RECURSE('codepages')
98 bld.RECURSE('source4/setup')
99 bld.RECURSE('source4/scripting')
100 bld.RECURSE('pidl')
101 bld.RECURSE('lib')
102
103 # install some extra empty directories
104 bld.INSTALL_DIRS("", "${LOCKDIR} ${SYSCONFDIR} ${LOCKDIR} ${PIDDIR} ${LOCALSTATEDIR}/lib ${PRIVATEDIR}/smbd.tmp/messaging")
105
106 bld.SYMBOL_CHECK()