vfs_aio_fork: Use a shorter random delay
[Samba.git] / source3 / utils / wscript_build
blob04eaf077f67ae47ea66c8cdb28c91305b89d45fa
1 #!/usr/bin/env python
3 bld.SAMBA3_SUBSYSTEM('PASSWD_UTIL',
4 source='passwd_util.c',
5 deps='samba-util')
7 bld.SAMBA3_BINARY('profiles',
8 source='profiles.c',
9 deps='''
10 talloc
11 popt_samba3
12 smbconf
13 REGFIO''')
15 bld.SAMBA3_BINARY('smbcontrol',
16 source='smbcontrol.c',
17 deps='''
18 talloc
19 smbconf
20 popt_samba3
21 PRINTBASE''')
23 bld.SAMBA3_BINARY('smbtree',
24 source='smbtree.c',
25 deps='''
26 talloc
27 smbconf
28 libsmb
29 msrpc3
30 popt_samba3
31 RPC_NDR_SRVSVC''')
33 bld.SAMBA3_BINARY('smbpasswd',
34 source='smbpasswd.c',
35 deps='''
36 talloc
37 smbconf
38 pdb
39 PASSWD_UTIL
40 PASSCHANGE''')
42 bld.SAMBA3_BINARY('pdbedit',
43 source='pdbedit.c',
44 deps='''
45 talloc
46 smbconf
47 popt_samba3
48 pdb
49 PASSWD_UTIL''')
51 bld.SAMBA3_BINARY('smbget',
52 source='smbget.c',
53 deps='''
54 talloc
55 popt_samba3
56 smbclient''')
58 bld.SAMBA3_BINARY('nmblookup',
59 source='nmblookup.c',
60 deps='''
61 talloc
62 smbconf
63 popt_samba3
64 LIBNMB''')
66 bld.SAMBA3_BINARY('smbcacls',
67 source='smbcacls.c ../lib/util_sd.c',
68 deps='''
69 talloc
70 popt_samba3
71 msrpc3
72 libcli_lsa3
73 krb5samba''')
75 bld.SAMBA3_BINARY('smbcquotas',
76 source='smbcquotas.c',
77 deps='''
78 talloc
79 popt_samba3
80 libsmb
81 msrpc3
82 libcli_lsa3''')
84 bld.SAMBA3_BINARY('eventlogadm',
85 source='eventlogadm.c',
86 deps='''
87 talloc
88 smbconf
89 LIBEVENTLOG''')
91 bld.SAMBA3_BINARY('sharesec',
92 source='sharesec.c ../lib/util_sd.c',
93 deps='''
94 talloc
95 msrpc3
96 libcli_lsa3
97 popt_samba3''')
99 bld.SAMBA3_BINARY('log2pcap',
100 source='log2pcaphex.c',
101 deps='''talloc popt''',
102 install=False)
104 bld.SAMBA3_BINARY('debug2html',
105 source='''debug2html.c debugparse.c''',
106 deps='''talloc popt''',
107 install=False)
109 bld.SAMBA3_BINARY('smbfilter',
110 source='smbfilter.c',
111 deps='''
112 talloc
113 smbconf
114 LIBNMB''',
115 install=False)
117 bld.SAMBA3_BINARY('ntlm_auth',
118 source='''ntlm_auth.c ntlm_auth_diagnostics.c''',
119 deps='''
120 talloc
121 krb5samba
122 tiniparser
123 libsmb
124 popt_samba3
125 gse gensec''')
127 bld.SAMBA3_BINARY('dbwrap_tool',
128 source='dbwrap_tool.c',
129 deps='''
130 talloc
131 popt_samba3''')
133 bld.SAMBA3_BINARY('dbwrap_torture',
134 source='dbwrap_torture.c',
135 deps='''
136 talloc
137 popt_samba3''',
138 install=False)
140 bld.SAMBA3_BINARY('split_tokens',
141 source='split_tokens.c',
142 deps='''
143 talloc
144 popt_samba3''',
145 install=False)
147 bld.SAMBA3_BINARY('samba-regedit',
148 source="""regedit.c regedit_samba3.c
149 regedit_wrap.c regedit_treeview.c
150 regedit_valuelist.c regedit_dialog.c
151 regedit_hexedit.c regedit_list.c""",
152 deps='ncurses menu panel form registry smbconf popt_samba3',
153 enabled=bld.env.build_regedit)
155 bld.SAMBA3_BINARY('testparm',
156 source='testparm.c',
157 deps='''
158 talloc
159 smbconf
160 popt_samba3''')
162 bld.SAMBA3_BINARY('net',
163 source='''net.c
164 net_ads.c
165 net_help.c
166 net_rap.c
167 net_rpc.c
168 net_rpc_samsync.c
169 net_time.c
170 net_lookup.c
171 net_cache.c
172 net_groupmap.c
173 net_idmap.c
174 net_idmap_check.c
175 interact.c
176 net_status.c
177 net_rpc_printer.c
178 net_rpc_rights.c
179 net_rpc_service.c
180 net_rpc_registry.c
181 net_usershare.c
182 netlookup.c
183 net_sam.c
184 net_rpc_shell.c
185 net_util.c
186 net_rpc_sh_acct.c
187 net_rpc_audit.c
188 net_dns.c
189 net_ads_gpo.c
190 net_conf.c
191 net_conf_util.c
192 net_join.c
193 net_user.c
194 net_group.c
195 net_file.c
196 net_registry.c
197 net_registry_check.c
198 net_dom.c
199 net_share.c
200 net_g_lock.c
201 net_serverid.c
202 net_eventlog.c
203 net_printing.c
204 net_rpc_trust.c
205 net_rpc_conf.c
206 net_afs.c
207 net_notify.c
208 net_tdb.c
209 ../registry/reg_parse.c
210 ../registry/reg_format.c
211 ../registry/reg_import.c
212 net_registry_util.c
213 net_help_common.c''',
214 deps='''
215 talloc
216 netapi
217 addns
218 samba_intl
219 popt_samba3
221 libsmb
222 smbconf
223 KRBCLIENT
224 ndr-standard
225 msrpc3
226 gpext
228 smbd_base
229 LIBADS_SERVER
230 LIBADS_PRINTER
231 SMBREADLINE
232 PASSWD_UTIL
233 LIBNET
234 LIBNET_DSSYNC
235 LIBEVENTLOG
236 REGFIO
237 NDR_NTPRINTING
238 RPC_NDR_WINREG
239 RPC_CLIENT_SCHANNEL
240 LIBCLI_SAMR
241 libcli_lsa3
242 libcli_netlogon3
243 cli_spoolss
244 RPC_NDR_SRVSVC
245 RPC_NDR_SVCCTL
246 RPC_NDR_DSSETUP
247 RPC_NDR_INITSHUTDOWN
248 printing_migrate
249 trusts_util
250 IDMAP_AUTORID_TDB
251 ''')
253 bld.SAMBA3_BINARY('mvxattr',
254 source='mvxattr.c',
255 deps='''
256 talloc
257 popt_samba3
258 ''',
259 enabled=bld.env.build_mvxattr)