s3: Fix a valgrind error
[Samba/gbeck.git] / source4 / wscript_build
blob27c69328e0e4388f2ba32c207ef5e3ff76884632
1 #!/usr/bin/env python
3 # top level waf build script for samba4
5 import os
6 srcdir = ".."
8 import samba_version
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()
15 samba_version.load_version(bld.env)
16 bld.SAMBA_MKVERSION('version.h')
18 # bld.ENABLE_MAGIC_ORDERING()
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('smb_server')
62 bld.RECURSE('rpc_server')
63 bld.RECURSE('ldap_server')
64 bld.RECURSE('web_server')
65 bld.RECURSE('winbind')
66 bld.RECURSE('nbt_server')
67 bld.RECURSE('wrepl_server')
68 bld.RECURSE('cldap_server')
69 bld.RECURSE('ntp_signd')
70 bld.RECURSE('samba_tool')
71 bld.RECURSE('utils')
72 bld.RECURSE('ntvfs')
73 bld.RECURSE('ntptr')
74 bld.RECURSE('torture')
75 bld.RECURSE('../librpc')
76 bld.RECURSE('client')
77 bld.RECURSE('libcli')
78 bld.RECURSE('../libcli/smb')
79 bld.RECURSE('../libcli/cldap')
80 bld.RECURSE('../lib/subunit/c')
81 bld.RECURSE('kdc')
82 bld.RECURSE('../lib/smbconf')
83 bld.RECURSE('../lib/async_req')
84 bld.RECURSE('../libcli/security')
85 bld.RECURSE('../libcli/ldap')
86 bld.RECURSE('../libcli/nbt')
87 bld.RECURSE('../libcli/auth')
88 bld.RECURSE('../libcli/drsuapi')
89 bld.RECURSE('../libcli/samsync')
90 bld.RECURSE('lib/policy')
91 bld.RECURSE('../libcli/named_pipe_auth')
92 bld.RECURSE('heimdal_build')
93 bld.RECURSE('../libcli/smbreadline')
94 bld.RECURSE('../codepages')
95 bld.RECURSE('setup')
96 bld.RECURSE('scripting')
97 bld.RECURSE('../pidl')
98 bld.RECURSE('../lib')
100 # install some extra empty directories
101 bld.INSTALL_DIRS("", "${LOCKDIR} ${SYSCONFDIR} ${LOCKDIR} ${PIDDIR} ${LOCALSTATEDIR}/lib ${PRIVATEDIR}/smbd.tmp/messaging")
103 bld.SYMBOL_CHECK()