s4: Implement UDP echo server example
[sfrench/samba-autobuild/.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 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('lib/ldb')
25 bld.RECURSE('dynconfig')
26 bld.RECURSE('../lib/util/charset')
27 bld.RECURSE('scripting/python')
28 bld.RECURSE('param')
29 bld.RECURSE('librpc')
30 bld.RECURSE('dsdb')
31 bld.RECURSE('smbd')
32 bld.RECURSE('cluster')
33 bld.RECURSE('smbd')
34 bld.RECURSE('libnet')
35 bld.RECURSE('auth')
36 bld.RECURSE('../lib/iniparser/src')
37 bld.RECURSE('../nsswitch')
38 bld.RECURSE('../nsswitch/libwbclient')
39 bld.RECURSE('lib/samba3')
40 bld.RECURSE('lib/socket')
41 bld.RECURSE('lib/ldb-samba')
42 bld.RECURSE('lib/tls')
43 bld.RECURSE('lib/registry')
44 bld.RECURSE('lib/messaging')
45 bld.RECURSE('lib/events')
46 bld.RECURSE('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('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('lib')
59 bld.RECURSE('lib/com')
60 bld.RECURSE('dns_server')
61 bld.RECURSE('echo_server')
62 bld.RECURSE('smb_server')
63 bld.RECURSE('rpc_server')
64 bld.RECURSE('ldap_server')
65 bld.RECURSE('web_server')
66 bld.RECURSE('winbind')
67 bld.RECURSE('nbt_server')
68 bld.RECURSE('wrepl_server')
69 bld.RECURSE('cldap_server')
70 bld.RECURSE('ntp_signd')
71 bld.RECURSE('samba_tool')
72 bld.RECURSE('utils')
73 bld.RECURSE('ntvfs')
74 bld.RECURSE('ntptr')
75 bld.RECURSE('torture')
76 bld.RECURSE('../librpc')
77 bld.RECURSE('client')
78 bld.RECURSE('libcli')
79 bld.RECURSE('../libcli/smb')
80 bld.RECURSE('../libcli/cldap')
81 bld.RECURSE('../lib/subunit/c')
82 bld.RECURSE('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/auth')
89 bld.RECURSE('../libcli/drsuapi')
90 bld.RECURSE('../libcli/samsync')
91 bld.RECURSE('lib/policy')
92 bld.RECURSE('../libcli/named_pipe_auth')
93 bld.RECURSE('heimdal_build')
94 bld.RECURSE('../libcli/smbreadline')
95 bld.RECURSE('../codepages')
96 bld.RECURSE('setup')
97 bld.RECURSE('scripting')
98 bld.RECURSE('../pidl')
99 bld.RECURSE('../lib')
100
101 # install some extra empty directories
102 bld.INSTALL_DIRS("", "${LOCKDIR} ${SYSCONFDIR} ${LOCKDIR} ${PIDDIR} ${LOCALSTATEDIR}/lib ${PRIVATEDIR}/smbd.tmp/messaging")
103
104 bld.SYMBOL_CHECK()