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