dns/nbt: Fix spelling of the "authoritative" flag.
[Samba.git] / source3 / wscript_build
blob9ee2cbc77ffc00796b44b9336b4550d76f5596f2
1 #!/usr/bin/env python
3 from samba_utils import *
5 TDB_LIB_SRC = '''lib/util_tdb.c ../lib/util/util_tdb.c
6 lib/dbwrap.c lib/dbwrap_tdb.c
7 lib/dbwrap_ctdb.c
8 lib/g_lock.c
9 lib/dbwrap_rbt.c'''
11 TDB_VALIDATE_SRC = '''lib/tdb_validate.c'''
13 SMBLDAP = bld.env.SMBLDAP or ""
14 SMBLDAPUTIL = bld.env.SMBLDAPUTIL or ""
16 SMBLDAP_SRC = '''${SMBLDAP} ${SMBLDAPUTIL}'''
18 VERSION_SRC = '''lib/version.c'''
20 WBCOMMON_SRC = '../nsswitch/wb_common.c'
22 AFS_SRC = 'lib/afs.c'
24 AFS_SETTOKEN_SRC = 'lib/afs_settoken.c'
26 AVAHI_SRC = 'lib/avahi.c smbd/avahi_register.c'
28 SERVER_MUTEX_SRC = 'lib/server_mutex.c'
30 PASSCHANGE_SRC = '''libsmb/passchange.c'''
32 LIBNDR_DRSUAPI_SRC = '''../librpc/ndr/ndr_drsuapi.c
33 ../librpc/ndr/ndr_compression.c
34 ../librpc/gen_ndr/ndr_drsuapi.c
35 ../librpc/ndr/ndr_drsblobs.c
36 ../librpc/gen_ndr/ndr_drsblobs.c'''
38 COMPRESSION_SRC = '../lib/compression/mszip.c ../lib/compression/lzxpress.c'
40 DRSUAPI_SRC = '''${LIBNDR_DRSUAPI_SRC}
41 ${COMPRESSION_SRC}'''
43 LIBNDR_NTLMSSP_SRC = '''../librpc/gen_ndr/ndr_ntlmssp.c
44 ../librpc/ndr/ndr_ntlmssp.c'''
46 LIBNDR_SRC = '''../librpc/ndr/ndr_basic.c
47 ../librpc/ndr/ndr.c
48 ../librpc/ndr/ndr_misc.c
49 ../librpc/gen_ndr/ndr_misc.c
50 ../librpc/ndr/ndr_string.c
51 ../librpc/ndr/uuid.c
52 librpc/ndr/util.c'''
54 LIBNDR_GEN_SRC0 = '''../librpc/gen_ndr/ndr_samr.c'''
56 LIBNDR_NETLOGON_SRC = '''../librpc/gen_ndr/ndr_netlogon.c
57 ../librpc/ndr/ndr_netlogon.c'''
59 LIBNDR_SCHANNEL_SRC = '''../librpc/gen_ndr/ndr_schannel.c
60 ../librpc/ndr/ndr_schannel.c'''
62 LIBNDR_SPOOLSS_SRC = '''../librpc/gen_ndr/ndr_spoolss.c
63 ../librpc/ndr/ndr_spoolss_buf.c'''
65 LIBCLI_SPOOLSS_SRC = '''
66 ../librpc/gen_ndr/cli_spoolss.c
67 ../librpc/gen_ndr/ndr_spoolss_c.c
68 rpc_client/cli_spoolss.c
69 rpc_client/init_spoolss.c'''
71 LIBCLI_EVENTLOG_SRC = '''
72 ../librpc/gen_ndr/cli_eventlog.c
73 ../librpc/gen_ndr/ndr_eventlog_c.c'''
75 LIBCLI_NTSVCS_SRC = '''
76 ../librpc/gen_ndr/cli_ntsvcs.c
77 ../librpc/gen_ndr/ndr_ntsvcs_c.c'''
79 LIBCLI_DRSUAPI_SRC = '''
80 ../librpc/gen_ndr/cli_drsuapi.c
81 ../librpc/gen_ndr/ndr_drsuapi_c.c'''
83 LIBCLI_DFS_SRC = '''
84 ../librpc/gen_ndr/cli_dfs.c
85 ../librpc/gen_ndr/ndr_dfs_c.c'''
87 LIBCLI_INITSHUTDOWN_SRC = '''
88 ../librpc/gen_ndr/cli_initshutdown.c
89 ../librpc/gen_ndr/ndr_initshutdown_c.c'''
91 LIBCLI_DSSETUP_SRC = '''
92 ../librpc/gen_ndr/cli_dssetup.c
93 ../librpc/gen_ndr/ndr_dssetup_c.c'''
95 LIBCLI_SVCCTL_SRC = '''
96 ../librpc/gen_ndr/cli_svcctl.c
97 ../librpc/gen_ndr/ndr_svcctl_c.c'''
99 LIBCLI_WKSSVC_SRC = '''
100 ../librpc/gen_ndr/cli_wkssvc.c
101 ../librpc/gen_ndr/ndr_wkssvc_c.c'''
103 LIBCLI_SRVSVC_SRC = '''
104 ../librpc/gen_ndr/cli_srvsvc.c
105 ../librpc/gen_ndr/ndr_srvsvc_c.c'''
107 LIBCLI_LSA_SRC = '''
108 ../librpc/gen_ndr/cli_lsa.c
109 ../librpc/gen_ndr/ndr_lsa_c.c
110 rpc_client/cli_lsarpc.c
111 rpc_client/init_lsa.c'''
113 LIBCLI_SAMR_SRC = '''
114 ../librpc/gen_ndr/cli_samr.c
115 ../librpc/gen_ndr/ndr_samr_c.c
116 rpc_client/cli_samr.c'''
118 LIBCLI_NETLOGON_SRC = '''
119 ../librpc/gen_ndr/cli_netlogon.c
120 ../librpc/gen_ndr/ndr_netlogon_c.c
121 rpc_client/cli_netlogon.c'''
123 LIBCLI_EPMAPPER_SRC = '''
124 ../librpc/gen_ndr/cli_epmapper.c
125 ../librpc/gen_ndr/ndr_epmapper_c.c'''
127 LIBNDR_GEN_SRC = '''../librpc/gen_ndr/ndr_wkssvc.c
128 ${LIBNDR_GEN_SRC0}
129 ../librpc/gen_ndr/ndr_dfs.c
130 ../librpc/gen_ndr/ndr_winreg.c
131 ../librpc/gen_ndr/ndr_initshutdown.c
132 ../librpc/gen_ndr/ndr_srvsvc.c
133 ${LIBNDR_NETLOGON_SRC}
134 ../librpc/gen_ndr/ndr_dssetup.c
135 ../librpc/gen_ndr/ndr_epmapper.c
136 ../librpc/gen_ndr/ndr_ntsvcs.c
137 ${LIBNDR_SPOOLSS_SRC}'''
139 # this includes only the low level parse code, not stuff
140 # that requires knowledge of security contexts
141 REG_PARSE_PRS_SRC = '''registry/reg_parse_prs.c'''
143 LIBREPLACE_SRC = '''${LIBREPLACE_SRCS}'''
145 LIBSAMBAUTIL_SRC = '''${LIBREPLACE_SRC}'''
147 UTIL_SRC = '''../lib/util/rbtree.c ../lib/util/signal.c ../lib/util/time.c
148 ../lib/util/xfile.c ../lib/util/util_strlist.c
149 ../lib/util/util_file.c ../lib/util/data_blob.c
150 ../lib/util/util.c ../lib/util/fsusage.c
151 ../lib/util/params.c ../lib/util/talloc_stack.c
152 ../lib/util/genrand.c ../lib/util/util_net.c
153 ../lib/util/become_daemon.c ../lib/util/system.c
154 ../lib/util/tevent_unix.c ../lib/util/tevent_ntstatus.c
155 ../lib/util/tevent_werror.c
156 ../lib/util/smb_threads.c ../lib/util/util_id.c
157 ../lib/util/blocking.c ../lib/util/rfc1738.c
158 ../lib/util/select.c'''
160 LIBTEVENT_SRC0 = ''
162 PTHREADPOOL_SRC = ''
164 LIBREPLACE_SRCS = ''
166 ZLIB_SRCS = ''
168 LIB_SRC = '''${LIBSAMBAUTIL_SRC} ${UTIL_SRC}
169 lib/messages.c lib/messages_local.c
170 lib/messages_ctdbd.c lib/packet.c lib/ctdbd_conn.c
171 lib/interfaces.c lib/memcache.c
172 lib/talloc_dict.c
173 lib/util_sconn.c
174 lib/serverid.c
175 lib/util_transfer_file.c ../lib/async_req/async_sock.c
176 ${TDB_LIB_SRC}
177 ${VERSION_SRC} lib/charcnv.c lib/debug.c lib/fault.c
178 lib/interface.c lib/pidfile.c
179 lib/system.c lib/sendfile.c lib/recvfile.c lib/time.c
180 lib/username.c
181 ../libds/common/flag_mapping.c
182 lib/access.c lib/smbrun.c
183 lib/bitmap.c lib/dprintf.c ${UTIL_REG_SRC}
184 lib/wins_srv.c
185 lib/util_str.c lib/clobber.c lib/util_sid.c
186 lib/util_unistr.c lib/util_file.c
187 lib/util.c lib/util_names.c
188 lib/util_sock.c lib/sock_exec.c lib/util_sec.c
189 lib/substitute.c lib/dbwrap_util.c
190 lib/ms_fnmatch.c lib/errmap_unix.c
191 lib/tallocmsg.c lib/dmallocmsg.c
192 libsmb/clisigning.c libsmb/smb_signing.c
193 lib/iconv.c lib/pam_errors.c intl/lang_tdb.c
194 lib/conn_tdb.c lib/adt_tree.c lib/gencache.c
195 lib/sessionid_tdb.c
196 lib/module.c lib/events.c ${LIBTEVENT_SRC0}
197 lib/server_contexts.c
198 lib/ldap_escape.c
199 lib/secdesc.c ${PTHREADPOOL_SRC}
200 lib/fncall.c
201 libads/krb5_errs.c lib/system_smbd.c lib/audit.c
202 lib/file_id.c lib/idmap_cache.c'''
204 LIB_DUMMY_SRC = '''lib/dummysmbd.c lib/dummyroot.c'''
205 LIB_NONSMBD_SRC = '''${LIB_DUMMY_SRC}'''
207 POPT_LIB_SRC = '''lib/popt_common.c'''
209 PARAM_WITHOUT_REG_SRC = '''param/loadparm.c param/util.c param/loadparm_server_role.c
210 lib/sharesec.c lib/ldap_debug_handler.c'''
212 KRBCLIENT_SRC = '''libads/kerberos.c libads/ads_status.c'''
214 LIBADDNS_SRC0 = '''libaddns/dnsrecord.c libaddns/dnsutils.c libaddns/dnssock.c
215 libaddns/dnsgss.c libaddns/dnsmarshall.c'''
216 LIBADDNS_SRC = '''${LIBADDNS_SRC0}'''
218 LIBGPO_SRC0 = '''../libgpo/gpo_ldap.c ../libgpo/gpo_ini.c ../libgpo/gpo_util.c
219 ../libgpo/gpo_fetch.c libgpo/gpo_filesync.c ../libgpo/gpo_sec.c
220 libgpo/gpo_reg.c'''
221 LIBGPO_SRC = '''${LIBGPO_SRC0}'''
223 LIBADS_SRC = '''libads/ldap.c
224 libads/sasl.c libads/sasl_wrapping.c
225 libads/krb5_setpw.c
226 libads/kerberos_util.c
227 libads/ldap_user.c
228 libads/ads_struct.c libads/kerberos_keytab.c
229 libads/disp_sec.c libads/ldap_utils.c
230 libads/ldap_schema.c libads/util.c libads/ndr.c'''
232 LIBADS_SERVER_SRC = '''libads/kerberos_verify.c libads/authdata.c'''
234 LIBADS_PRINTER_SRC = '''libads/ldap_printer.c'''
236 SECRETS_SRC = '''passdb/secrets.c passdb/machine_account_secrets.c
237 passdb/machine_sid.c'''
239 LIBNBT_SRC = '''../libcli/nbt/nbtname.c
240 ../libcli/netlogon.c
241 ../libcli/ndr_netlogon.c
242 ../librpc/gen_ndr/ndr_nbt.c
243 ../librpc/gen_ndr/ndr_svcctl.c
244 ../librpc/ndr/ndr_svcctl.c'''
246 LIBNMB_SRC = '''libsmb/unexpected.c libsmb/namecache.c libsmb/nmblib.c
247 libsmb/namequery.c ../libcli/nbt/lmhosts.c libsmb/conncache.c
248 libads/dns.c libads/sitename_cache.c'''
250 NTERR_SRC = '''libsmb/nterr.c libsmb/smberr.c'''
251 DOSERR_SRC = '../libcli/util/doserr.c'
252 ERRORMAP_SRC = 'libsmb/errormap.c'
253 DCE_RPC_ERR_SRC = '../librpc/rpc/dcerpc_error.c'
255 LIBSMB_ERR_SRC0 = '''${NTERR_SRC} ${DOSERR_SRC} ${ERRORMAP_SRC} ${DCE_RPC_ERR_SRC}'''
257 LIBSMB_ERR_SRC1 = '''../libcli/auth/smbdes.c ../libcli/auth/smbencrypt.c ../libcli/auth/msrpc_parse.c ../libcli/auth/session.c'''
259 LIBSMB_ERR_SRC = '${LIBSMB_ERR_SRC0} ${LIBSMB_ERR_SRC1}'
261 LIBSMB_SRC0 = '''
262 ../libcli/auth/ntlm_check.c
263 libsmb/ntlmssp.c
264 libsmb/ntlmssp_wrap.c
265 ../libcli/auth/ntlmssp.c
266 ../libcli/auth/ntlmssp_sign.c
267 ${LIBNDR_NTLMSSP_SRC}
268 ../libcli/auth/ntlmssp_ndr.c
269 ../libcli/auth/ntlmssp_server.c'''
271 LIBSAMBA_SRC = '${LIBSMB_SRC0}'
273 LIBCLI_LDAP_MESSAGE_SRC = '''../libcli/ldap/ldap_message.c'''
274 LIBCLI_LDAP_NDR_SRC = '''../libcli/ldap/ldap_ndr.c lib/ldb_compat.c'''
276 CLDAP_SRC = '''libads/cldap.c
277 ../libcli/cldap/cldap.c
278 ../lib/util/idtree.c'''
280 TLDAP_SRC = '''lib/tldap.c lib/tldap_util.c lib/util_tsock.c'''
282 SCHANNEL_SRC = '''../libcli/auth/credentials.c
283 ../libcli/auth/schannel_sign.c
284 ../libcli/auth/schannel_state_tdb.c
285 ${LIBNDR_SCHANNEL_SRC}'''
287 LIBSMB_SRC = '''libsmb/clientgen.c libsmb/cliconnect.c libsmb/clifile.c
288 libsmb/clikrb5.c libsmb/clispnego.c
289 ../libcli/auth/spnego_parse.c
290 libsmb/clirap.c libsmb/clierror.c libsmb/climessage.c
291 libsmb/clireadwrite.c libsmb/clilist.c libsmb/cliprint.c
292 libsmb/clitrans.c libsmb/clisecdesc.c libsmb/clidgram.c
293 libsmb/clistr.c libsmb/cliquota.c libsmb/clifsinfo.c libsmb/clidfs.c
294 libsmb/clioplock.c libsmb/clirap2.c
295 libsmb/smb_seal.c libsmb/async_smb.c
296 ${LIBNMB_SRC}
297 ${LIBNBT_SRC}
298 ${DRSUAPI_SRC}'''
300 LIBMSRPC_SRC = '''
301 ${SCHANNEL_SRC}
302 rpc_client/cli_pipe.c
303 librpc/crypto/gse_krb5.c
304 librpc/crypto/gse.c
305 librpc/crypto/cli_spnego.c
306 librpc/rpc/rpc_common.c
307 rpc_client/rpc_transport_np.c
308 rpc_client/rpc_transport_sock.c
309 rpc_client/rpc_transport_tstream.c
310 ../librpc/rpc/binding.c
311 ../librpc/rpc/dcerpc_util.c
312 librpc/rpc/dcerpc_helpers.c
313 ../librpc/rpc/binding_handle.c
314 ${LIBCLI_EPMAPPER_SRC}'''
317 # registry-related objects
319 UTIL_REG_SRC = '''../libcli/registry/util_reg.c'''
321 REG_INIT_BASIC_SRC = '''registry/reg_init_basic.c'''
322 REG_INIT_SMBCONF_SRC = '''registry/reg_init_smbconf.c'''
323 REG_INIT_FULL_SRC = '''registry/reg_init_full.c'''
325 REGFIO_SRC = '''registry/regfio.c ${REG_PARSE_PRS_SRC}'''
327 REG_API_REGF_SRC = '''registry/reg_api_regf.c'''
329 REGSRCS_SRC = '''registry/reg_objects.c'''
331 REG_BACKENDS_BASE_SRC = '''registry/reg_backend_db.c'''
333 REG_BACKENDS_SMBCONF_SRC = '''registry/reg_backend_smbconf.c'''
335 REG_BACKENDS_EXTRA_SRC = '''registry/reg_backend_printing.c
336 registry/reg_backend_shares.c
337 registry/reg_backend_netlogon_params.c
338 registry/reg_backend_prod_options.c
339 registry/reg_backend_tcpip_params.c
340 registry/reg_backend_hkpt_params.c
341 registry/reg_backend_current_version.c
342 registry/reg_backend_perflib.c'''
344 REG_BASE_SRC = '''registry/reg_api.c
345 registry/reg_dispatcher.c
346 registry/reg_cachehook.c
347 ${REGSRCS_SRC}
348 registry/reg_util_internal.c
349 lib/util_nttoken.c
350 ${REG_BACKENDS_BASE_SRC}
351 ${REG_INIT_BASIC_SRC}'''
353 REG_SMBCONF_SRC = '''
354 ${REG_BACKENDS_SMBCONF_SRC}
355 ${REG_INIT_SMBCONF_SRC}
356 registry/reg_util_token.c
357 registry/reg_api_util.c'''
359 REG_FULL_SRC = '''
360 ${REG_BACKENDS_EXTRA_SRC}
361 ${REG_INIT_FULL_SRC}
362 registry/reg_eventlog.c
363 registry/reg_perfcount.c'''
365 SERVICES_SRC = '''services/svc_spoolss.c
366 services/svc_rcinit.c
367 services/services_db.c
368 services/svc_netlogon.c
369 services/svc_winreg.c
370 services/svc_wins.c'''
372 LIB_EVENTLOG_SRC = '''lib/eventlog/eventlog.c'''
374 NPA_TSTREAM_SRC = '''../libcli/named_pipe_auth/npa_tstream.c
375 ../librpc/gen_ndr/ndr_named_pipe_auth.c'''
377 RPC_NCACN_NP = '''rpc_server/rpc_ncacn_np.c
378 rpc_server/rpc_handles.c'''
380 RPC_SERVICE = '''rpc_server/rpc_server.c'''
382 RPC_CRYPTO = '''rpc_server/dcesrv_ntlmssp.c
383 rpc_server/dcesrv_gssapi.c
384 rpc_server/dcesrv_spnego.c'''
386 RPC_PIPE_SRC = '''rpc_server/srv_pipe_hnd.c rpc_server/srv_pipe.c
387 ${RPC_NCACN_NP} ${RPC_SERVICE} ${RPC_CRYPTO}'''
389 RPC_SERVER_SRC = '''${RPC_PIPE_SRC} ${NPA_TSTREAM_SRC}'''
391 RPC_CLIENT_SCHANNEL_SRC = '''rpc_client/cli_pipe_schannel.c'''
393 LOCKING_SRC = '''locking/locking.c locking/brlock.c locking/posix.c'''
395 PRIVILEGES_SRC = '''lib/privileges.c'''
397 PASSDB_GET_SET_SRC = '''passdb/pdb_get_set.c'''
399 PASSDB_SRC = '''${PASSDB_GET_SET_SRC} passdb/passdb.c
400 passdb/util_wellknown.c passdb/util_builtin.c passdb/pdb_compat.c
401 passdb/util_unixsids.c passdb/lookup_sid.c
402 passdb/login_cache.c
403 passdb/account_pol.c ${PRIVILEGES_SRC}
404 lib/util_nscd.c lib/winbind_util.c ${SERVER_MUTEX_SRC}'''
405 #FIXME: lib/winbind_util.c probably is not part of PASSDB_SRC
407 GROUPDB_SRC = '''groupdb/mapping.c groupdb/mapping_tdb.c'''
409 PROFILE_SRC = '''profile/profile.c'''
410 PROFILES_SRC = '''utils/profiles.c'''
412 OPLOCK_SRC = '''smbd/oplock.c smbd/oplock_irix.c smbd/oplock_linux.c
413 smbd/oplock_onefs.c'''
415 NOTIFY_SRC = '''smbd/notify.c smbd/notify_inotify.c smbd/notify_internal.c
416 librpc/gen_ndr/ndr_notify.c'''
418 FNAME_UTIL_SRC = '''smbd/filename_util.c'''
421 PLAINTEXT_AUTH_SRC = '''auth/pampass.c auth/pass_check.c'''
423 SLCACHE_SRC = '''libsmb/samlogon_cache.c'''
425 DCUTIL_SRC = '''libsmb/namequery_dc.c libsmb/trustdom_cache.c libsmb/trusts_util.c libsmb/dsgetdcname.c'''
427 WINBINDD_SRC1 = '''winbindd/winbindd.c
428 winbindd/winbindd_group.c
429 winbindd/winbindd_util.c
430 winbindd/winbindd_cache.c
431 winbindd/winbindd_pam.c
432 winbindd/winbindd_misc.c
433 winbindd/winbindd_cm.c
434 winbindd/winbindd_wins.c
435 winbindd/winbindd_msrpc.c
436 winbindd/winbindd_rpc.c
437 winbindd/winbindd_reconnect.c
438 winbindd/winbindd_ads.c
439 winbindd/winbindd_samr.c
440 winbindd/winbindd_dual.c
441 winbindd/winbindd_dual_ndr.c
442 winbindd/winbindd_dual_srv.c
443 winbindd/winbindd_async.c
444 winbindd/winbindd_creds.c
445 winbindd/winbindd_cred_cache.c
446 winbindd/winbindd_ccache_access.c
447 winbindd/winbindd_domain.c
448 winbindd/winbindd_idmap.c
449 winbindd/winbindd_locator.c
450 winbindd/winbindd_ndr.c
451 winbindd/wb_ping.c
452 winbindd/wb_lookupsid.c
453 winbindd/wb_lookupname.c
454 winbindd/wb_sid2uid.c
455 winbindd/wb_sid2gid.c
456 winbindd/wb_uid2sid.c
457 winbindd/wb_gid2sid.c
458 winbindd/wb_queryuser.c
459 winbindd/wb_lookupuseraliases.c
460 winbindd/wb_lookupusergroups.c
461 winbindd/wb_getpwsid.c
462 winbindd/wb_gettoken.c
463 winbindd/wb_seqnum.c
464 winbindd/wb_seqnums.c
465 winbindd/wb_group_members.c
466 winbindd/wb_getgrsid.c
467 winbindd/wb_query_user_list.c
468 winbindd/wb_fill_pwent.c
469 winbindd/wb_next_pwent.c
470 winbindd/wb_next_grent.c
471 winbindd/wb_dsgetdcname.c
472 winbindd/winbindd_lookupsid.c
473 winbindd/winbindd_lookupname.c
474 winbindd/winbindd_sid_to_uid.c
475 winbindd/winbindd_sid_to_gid.c
476 winbindd/winbindd_uid_to_sid.c
477 winbindd/winbindd_gid_to_sid.c
478 winbindd/winbindd_allocate_uid.c
479 winbindd/winbindd_allocate_gid.c
480 winbindd/winbindd_getpwsid.c
481 winbindd/winbindd_getpwnam.c
482 winbindd/winbindd_getpwuid.c
483 winbindd/winbindd_getsidaliases.c
484 winbindd/winbindd_getuserdomgroups.c
485 winbindd/winbindd_getgroups.c
486 winbindd/winbindd_show_sequence.c
487 winbindd/winbindd_getgrgid.c
488 winbindd/winbindd_getgrnam.c
489 winbindd/winbindd_getusersids.c
490 winbindd/winbindd_lookuprids.c
491 winbindd/winbindd_setpwent.c
492 winbindd/winbindd_getpwent.c
493 winbindd/winbindd_endpwent.c
494 winbindd/winbindd_setgrent.c
495 winbindd/winbindd_getgrent.c
496 winbindd/winbindd_endgrent.c
497 winbindd/winbindd_dsgetdcname.c
498 winbindd/winbindd_getdcname.c
499 winbindd/winbindd_list_users.c
500 winbindd/winbindd_list_groups.c
501 winbindd/winbindd_check_machine_acct.c
502 winbindd/winbindd_change_machine_acct.c
503 winbindd/winbindd_ping_dc.c
504 winbindd/winbindd_pam_auth.c
505 winbindd/winbindd_pam_logoff.c
506 winbindd/winbindd_pam_chauthtok.c
507 winbindd/winbindd_pam_auth_crap.c
508 winbindd/winbindd_pam_chng_pswd_auth_crap.c
509 auth/auth_util.c
510 auth/token_util.c
511 auth/user_util.c
512 auth/check_samsec.c
513 auth/server_info.c
514 auth/server_info_sam.c
515 auth/user_info.c
516 auth/user_util.c
517 ../nsswitch/libwbclient/wb_reqtrans.c'''
519 WINBINDD_SRC = '''${WINBINDD_SRC1}
520 ${RPC_NCACN_NP} ${NPA_TSTREAM_SRC}
521 ${TDB_VALIDATE_SRC}
522 ${LIBCLI_DSSETUP_SRC}
523 ${LIBCLI_LSA_SRC}
524 ${LIBCLI_SAMR_SRC}
525 ${LIBCLI_NETLOGON_SRC}
526 rpc_client/init_netlogon.c
527 rpc_server/srv_lsa_nt.c ../librpc/gen_ndr/srv_lsa.c
528 rpc_server/srv_samr_nt.c ../librpc/gen_ndr/srv_samr.c
529 rpc_server/srv_samr_util.c
530 rpc_server/srv_samr_chgpasswd.c
531 rpc_server/srv_pipe_register.c'''
533 MANGLE_SRC = '''smbd/mangle.c smbd/mangle_hash.c smbd/mangle_hash2.c'''
535 SMBD_SRC_MAIN = '''smbd/server.c smbd/server_exit.c'''
537 BUILDOPT_SRC = '''smbd/build_options.c'''
539 SMBD_SRC_SRV = '''smbd/server_reload.c smbd/files.c smbd/connection.c
540 smbd/utmp.c smbd/session.c
541 smbd/dfree.c smbd/dir.c smbd/password.c smbd/conn.c
542 smbd/share_access.c smbd/fileio.c
543 smbd/ipc.c smbd/lanman.c smbd/negprot.c
544 smbd/message.c smbd/nttrans.c smbd/pipes.c
545 smbd/reply.c smbd/sesssetup.c smbd/trans2.c smbd/uid.c
546 smbd/dosmode.c smbd/filename.c smbd/open.c smbd/close.c
547 smbd/blocking.c smbd/sec_ctx.c smbd/srvstr.c
548 smbd/vfs.c smbd/perfcount.c smbd/statcache.c smbd/seal.c
549 smbd/posix_acls.c lib/sysacls.c
550 smbd/process.c smbd/service.c smbd/error.c
551 printing/printspoolss.c
552 lib/sysquotas.c lib/sysquotas_linux.c
553 lib/sysquotas_xfs.c lib/sysquotas_4A.c
554 lib/sysquotas_nfs.c
555 smbd/fake_file.c
556 smbd/quotas.c smbd/ntquotas.c smbd/msdfs.c
557 smbd/aio.c smbd/statvfs.c
558 smbd/dmapi.c smbd/signing.c
559 smbd/file_access.c
560 smbd/dnsregister.c smbd/globals.c
561 smbd/smb2_server.c
562 smbd/smb2_signing.c
563 smbd/smb2_glue.c
564 smbd/smb2_negprot.c
565 smbd/smb2_sesssetup.c
566 smbd/smb2_tcon.c
567 smbd/smb2_create.c
568 smbd/smb2_close.c
569 smbd/smb2_flush.c
570 smbd/smb2_read.c
571 smbd/smb2_write.c
572 smbd/smb2_lock.c
573 smbd/smb2_ioctl.c
574 smbd/smb2_keepalive.c
575 smbd/smb2_find.c
576 smbd/smb2_notify.c
577 smbd/smb2_getinfo.c
578 smbd/smb2_setinfo.c
579 smbd/smb2_break.c
580 ../libcli/smb/smb2_create_blob.c
581 ${MANGLE_SRC}'''
583 SMBD_SRC_BASE = '''${SMBD_SRC_SRV}
584 ${RPC_SERVER_SRC}
585 ${OPLOCK_SRC} ${NOTIFY_SRC} ${FNAME_UTIL_SRC}
586 ${BUILDOPT_SRC}
587 ${LIBCLI_SPOOLSS_SRC}
588 ${LIBCLI_SRVSVC_SRC}
589 ${LIBCLI_LSA_SRC}
590 ${LIBCLI_SAMR_SRC}
591 ${LIBCLI_NETLOGON_SRC}
592 rpc_client/init_netlogon.c
593 rpc_client/init_samr.c'''
595 PRINTING_SRC = '''printing/pcap.c printing/print_svid.c printing/print_aix.c
596 printing/print_cups.c printing/print_generic.c
597 printing/lpq_parse.c printing/load.c printing/print_standard.c
598 printing/print_iprint.c printing/printer_list.c'''
600 PRINTBASE_SRC = '''printing/notify.c printing/printing_db.c'''
601 PRINTBACKEND_SRC = '''printing/printing.c
602 printing/nt_printing.c
603 printing/nt_printing_tdb.c
604 printing/nt_printing_migrate.c
605 printing/nt_printing_ads.c'''
607 SMBD_SRC = '''${SMBD_SRC_BASE} ${SMBD_SRC_MAIN}'''
609 NMBD_SRC1 = '''nmbd/asyncdns.c nmbd/nmbd.c nmbd/nmbd_become_dmb.c
610 nmbd/nmbd_become_lmb.c nmbd/nmbd_browserdb.c
611 nmbd/nmbd_browsesync.c nmbd/nmbd_elections.c
612 nmbd/nmbd_incomingdgrams.c nmbd/nmbd_incomingrequests.c
613 nmbd/nmbd_lmhosts.c nmbd/nmbd_logonnames.c nmbd/nmbd_mynames.c
614 nmbd/nmbd_namelistdb.c nmbd/nmbd_namequery.c
615 nmbd/nmbd_nameregister.c nmbd/nmbd_namerelease.c
616 nmbd/nmbd_nodestatus.c nmbd/nmbd_packets.c
617 nmbd/nmbd_processlogon.c nmbd/nmbd_responserecordsdb.c
618 nmbd/nmbd_sendannounce.c nmbd/nmbd_serverlistdb.c
619 nmbd/nmbd_subnetdb.c nmbd/nmbd_winsproxy.c nmbd/nmbd_winsserver.c
620 nmbd/nmbd_workgroupdb.c nmbd/nmbd_synclists.c'''
622 NMBD_SRC = '${NMBD_SRC1}'
624 SWAT_SRC1 = '''web/cgi.c web/diagnose.c web/startstop.c web/statuspage.c
625 web/swat.c web/neg_lang.c'''
627 SWAT_SRC = '''${SWAT_SRC1}
628 ${PASSCHANGE_SRC} ${FNAME_UTIL_SRC}
629 ${LIBCLI_SAMR_SRC}
630 rpc_client/init_lsa.c'''
632 STATUS_SRC = '''utils/status.c utils/status_profile.c
633 ${FNAME_UTIL_SRC}'''
635 SMBCONTROL_SRC = '''utils/smbcontrol.c'''
637 SMBTREE_SRC = '''utils/smbtree.c
638 ${LIBCLI_SRVSVC_SRC}'''
640 TESTPARM_SRC = 'utils/testparm.c'
642 SMBTA_UTIL_SRC = '''utils/smbta-util.c ${FNAME_UTIL_SRC}'''
644 TEST_LP_LOAD_SRC = '''param/test_lp_load.c'''
646 PASSWD_UTIL_SRC = 'utils/passwd_util.c'
648 SMBPASSWD_SRC = '''utils/smbpasswd.c ${PASSCHANGE_SRC}
649 ${LIBCLI_SAMR_SRC}
650 rpc_client/init_lsa.c'''
652 PDBEDIT_SRC = '''utils/pdbedit.c'''
654 SMBGET_SRC = '''utils/smbget.c'''
656 RPCCLIENT_SRC1 = '''rpcclient/rpcclient.c rpcclient/cmd_lsarpc.c
657 rpcclient/cmd_samr.c rpcclient/cmd_spoolss.c
658 rpcclient/cmd_netlogon.c rpcclient/cmd_srvsvc.c
659 rpcclient/cmd_dfs.c rpcclient/cmd_epmapper.c
660 rpcclient/cmd_dssetup.c rpcclient/cmd_echo.c
661 rpcclient/cmd_shutdown.c rpcclient/cmd_test.c
662 rpcclient/cmd_wkssvc.c rpcclient/cmd_ntsvcs.c
663 rpcclient/cmd_drsuapi.c rpcclient/cmd_eventlog.c
664 rpcclient/cmd_winreg.c'''
666 RPCCLIENT_SRC = '''${RPCCLIENT_SRC1}
667 ${LIBCLI_SPOOLSS_SRC}
668 ${LIBCLI_EVENTLOG_SRC}
669 ${LIBCLI_NTSVCS_SRC}
670 ${LIBCLI_DRSUAPI_SRC}
671 ${LIBCLI_DFS_SRC}
672 ${LIBCLI_DSSETUP_SRC}
673 ${LIBCLI_WKSSVC_SRC}
674 ${LIBCLI_SRVSVC_SRC}
675 ${LIBCLI_LSA_SRC}
676 ${LIBCLI_SAMR_SRC}
677 ${LIBCLI_NETLOGON_SRC}
678 rpc_client/init_netlogon.c
679 rpc_client/init_samr.c'''
681 PAM_WINBIND_SRC = '../nsswitch/pam_winbind.c ${WBCOMMON_SRC} ${LIBREPLACE_SRC}'
683 LIBSMBCLIENT_THREAD_SRC = '''libsmb/libsmb_thread_impl.c
684 libsmb/libsmb_thread_posix.c'''
686 LIBSMBCLIENT_SRC0 = '''libsmb/libsmb_cache.c
687 libsmb/libsmb_compat.c
688 libsmb/libsmb_context.c
689 libsmb/libsmb_dir.c
690 libsmb/libsmb_file.c
691 libsmb/libsmb_misc.c
692 libsmb/libsmb_path.c
693 libsmb/libsmb_printjob.c
694 libsmb/libsmb_server.c
695 libsmb/libsmb_stat.c
696 libsmb/libsmb_xattr.c
697 libsmb/libsmb_setget.c'''
699 LIBSMBCLIENT_SRC1 = '''${LIBSMBCLIENT_SRC0}
700 ${LIBCLI_SRVSVC_SRC}
701 ${LIBCLI_LSA_SRC}'''
703 LIBSMBCLIENT_SRC = '${LIBSMBCLIENT_SRC1}'
705 LIBSMBSHAREMODES_SRC0 = 'libsmb/smb_share_modes.c'
707 LIBSMBSHAREMODES_SRC = '${LIBSMBSHAREMODES_SRC0}'
709 LIBNETAPI_SRC0 = '''lib/netapi/netapi.c
710 lib/netapi/cm.c
711 lib/netapi/libnetapi.c
712 lib/netapi/joindomain.c
713 lib/netapi/serverinfo.c
714 lib/netapi/getdc.c
715 lib/netapi/user.c
716 lib/netapi/group.c
717 lib/netapi/localgroup.c
718 lib/netapi/samr.c
719 lib/netapi/sid.c
720 lib/netapi/share.c
721 lib/netapi/file.c
722 lib/netapi/shutdown.c
723 lib/netapi/netlogon.c'''
725 LIBNETAPI_SRC = '''${LIBNETAPI_SRC0}
726 auth/token_util.c
727 ${LIBCLI_INITSHUTDOWN_SRC}
728 ${LIBCLI_WKSSVC_SRC}
729 ${LIBCLI_SRVSVC_SRC}
730 ${LIBCLI_LSA_SRC}
731 ${LIBCLI_SAMR_SRC}
732 ${LIBCLI_NETLOGON_SRC}
733 rpc_client/init_netlogon.c
734 rpc_client/init_samr.c'''
736 # FIXME: bigballofmud
738 CLIENT_SRC1 = '''client/client.c client/clitar.c
739 client/dnsbrowse.c'''
741 CLIENT_SRC = '''${CLIENT_SRC1}
742 ${LIBCLI_SRVSVC_SRC}
743 rpc_client/init_lsa.c'''
745 LIBSMBCONF_SRC = '''../lib/smbconf/smbconf.c ../lib/smbconf/smbconf_util.c
746 ../lib/smbconf/smbconf_txt.c lib/smbconf/smbconf_reg.c
747 lib/smbconf/smbconf_init.c'''
749 SMBCONFTORT_SRC0 = 'lib/smbconf/testsuite.c'
751 SMBCONFTORT_SRC = '''${SMBCONFTORT_SRC0}'''
753 LIBNET_SRC = 'libnet/libnet_join.c libnet/libnet_keytab.c'
756 LIBNET_DSSYNC_SRC = '''libnet/libnet_dssync.c
757 libnet/libnet_dssync_keytab.c
758 ../libcli/drsuapi/repl_decrypt.c'''
760 LIBNET_SAMSYNC_SRC = '''libnet/libnet_samsync.c
761 libnet/libnet_samsync_ldif.c
762 libnet/libnet_samsync_passdb.c
763 libnet/libnet_samsync_display.c
764 libnet/libnet_samsync_keytab.c
765 ../libcli/samsync/decrypt.c'''
767 NET_SRC1 = '''utils/net.c utils/net_ads.c utils/net_help.c
768 utils/net_rap.c utils/net_rpc.c utils/net_rpc_samsync.c
769 utils/net_rpc_join.c utils/net_time.c utils/net_lookup.c
770 utils/net_cache.c utils/net_groupmap.c utils/net_idmap.c
771 utils/net_status.c utils/net_rpc_printer.c utils/net_rpc_rights.c
772 utils/net_rpc_service.c utils/net_rpc_registry.c utils/net_usershare.c
773 utils/netlookup.c utils/net_sam.c utils/net_rpc_shell.c
774 utils/net_util.c utils/net_rpc_sh_acct.c utils/net_rpc_audit.c
775 utils/net_dns.c utils/net_ads_gpo.c
776 utils/net_conf.c utils/net_join.c utils/net_user.c
777 utils/net_group.c utils/net_file.c utils/net_registry.c
778 auth/token_util.c utils/net_dom.c utils/net_share.c
779 utils/net_g_lock.c
780 utils/net_serverid.c
781 utils/net_eventlog.c
782 utils/net_printing.c
783 ${LIBCLI_SPOOLSS_SRC}
784 ${LIBCLI_DRSUAPI_SRC}
785 ${LIBCLI_INITSHUTDOWN_SRC}
786 ${LIBCLI_DSSETUP_SRC}
787 ${LIBCLI_SVCCTL_SRC}
788 ${LIBCLI_WKSSVC_SRC}
789 ${LIBCLI_SRVSVC_SRC}
790 ${LIBCLI_LSA_SRC}
791 ${LIBCLI_SAMR_SRC}
792 ${LIBCLI_NETLOGON_SRC}
793 rpc_client/init_netlogon.c
794 rpc_client/init_samr.c
795 registry/reg_parse.c registry/reg_format.c
796 registry/reg_parse_internal.c registry/reg_import.c
797 lib/cbuf.c lib/srprs.c'''
799 NET_SRC2 = 'utils/net_registry_util.c utils/net_help_common.c'
801 NET_SRC = '''${NET_SRC1}
802 ${NET_SRC2}'''
804 CUPS_SRC = '''client/smbspool.c'''
806 NMBLOOKUP_SRC = '''utils/nmblookup.c ${LIBNMB_SRC}'''
808 SMBTORTURE_SRC1 = '''torture/torture.c torture/nbio.c torture/scanner.c torture/utable.c
809 torture/denytest.c torture/mangle_test.c
810 torture/nbench.c
811 torture/test_async_echo.c
812 torture/test_posix_append.c'''
814 SMBTORTURE_SRC = '''${SMBTORTURE_SRC1} ${TLDAP_SRC}
815 ../nsswitch/libwbclient/wbc_async.c
816 ../nsswitch/libwbclient/wb_reqtrans.c'''
818 MASKTEST_SRC = '''torture/masktest.c'''
820 MSGTEST_SRC = '''torture/msgtest.c'''
822 LOCKTEST_SRC = '''torture/locktest.c ${FNAME_UTIL_SRC}'''
824 NSSTEST_SRC = '''../nsswitch/nsstest.c ${LIBSAMBAUTIL_SRC}'''
826 PDBTEST_SRC = '''torture/pdbtest.c'''
828 VFSTEST_SRC = '''torture/cmd_vfs.c torture/vfstest.c'''
830 SMBICONV_SRC = '''torture/smbiconv.c'''
832 LOG2PCAP_SRC = '''utils/log2pcaphex.c'''
834 LOCKTEST2_SRC = '''torture/locktest2.c ${FNAME_UTIL_SRC}'''
836 SMBCACLS_SRC = '''utils/smbcacls.c
837 ${LIBCLI_LSA_SRC}'''
839 SMBCQUOTAS_SRC = '''utils/smbcquotas.c
840 ${LIBCLI_LSA_SRC}'''
842 EVTLOGADM_SRC0 = 'utils/eventlogadm.c'
844 EVTLOGADM_SRC = '''${EVTLOGADM_SRC0}
845 registry/reg_eventlog.c'''
847 SHARESEC_SRC0 = 'utils/sharesec.c'
848 SHARESEC_SRC = '''${SHARESEC_SRC0}'''
850 DEBUG2HTML_SRC = '''utils/debug2html.c utils/debugparse.c'''
852 SMBFILTER_SRC = '''utils/smbfilter.c'''
854 WINBIND_WINS_NSS_SRC = '''../nsswitch/wins.c ${PARAM_SRC}
855 ${LIB_NONSMBD_SRC} ${LIBSMB_ERR_SRC} ${LIBNMB_SRC}'''
857 WBINFO_SRC = '''../nsswitch/wbinfo.c'''
859 WINBIND_NSS_SRC = '''${WBCOMMON_SRC} ${LIBREPLACE_SRC}'''
861 WINBIND_KRB5_LOCATOR_SRC1 = '../nsswitch/winbind_krb5_locator.c'
862 WINBIND_KRB5_LOCATOR_SRC = '''${WINBIND_KRB5_LOCATOR_SRC1} ${LIBREPLACE_SRC}'''
864 POPT_SRC = '''../lib/popt/findme.c ../lib/popt/popt.c ../lib/popt/poptconfig.c \
865 ../lib/popt/popthelp.c ../lib/popt/poptparse.c'''
867 NTLM_AUTH_SRC1 = '''utils/ntlm_auth.c utils/ntlm_auth_diagnostics.c'''
869 NTLM_AUTH_SRC = '''${NTLM_AUTH_SRC1}
870 ../libcli/auth/spnego_parse.c libsmb/clikrb5.c libads/kerberos.c
871 libsmb/samlogon_cache.c
872 ${LIBNMB_SRC}
873 ${LIBNDR_NETLOGON_SRC}'''
876 VLP_SRC = '''printing/tests/vlp.c
877 ../lib/util/util_tdb.c
878 ${LIBSAMBAUTIL_SRC}
879 param/util.c'''
881 RPC_OPEN_TCP_SRC = 'torture/rpc_open_tcp.c'
883 DBWRAP_TOOL_SRC = 'utils/dbwrap_tool.c'
885 DBWRAP_TORTURE_SRC = 'utils/dbwrap_torture.c'
887 SPLIT_TOKENS_SRC = 'utils/split_tokens.c'
889 LIBS='ICONV'
891 bld.SAMBA_GENERATOR('build_options',
892 source='include/config.h script/mkbuildoptions-waf.awk',
893 target='smbd/build_options.c',
894 rule='${AWK} -f ${SRC[1].abspath(env)} > ${TGT} < ${SRC[0].abspath(env)}')
896 t = bld.SAMBA_GENERATOR('build_env.h',
897 source='script/build_env.sh',
898 target='include/build_env.h',
899 rule='${SRC} ${SRCDIR} ${BUILDDIR} ${CC} > ${TGT}')
900 # todo: work out what is really wanted here
901 t.env.SRCDIR = bld.path.abspath()
902 t.env.BUILDDIR = bld.path.abspath()
905 bld.SETUP_BUILD_GROUPS()
907 bld.RECURSE('../lib/replace')
908 bld.RECURSE('../libcli/smbreadline')
909 print "SBINDIR=%s" % bld.env.SBINDIR
910 bld.RECURSE('build')
912 bld.RECURSE('../librpc')
913 bld.RECURSE('librpc/idl')
914 bld.RECURSE('librpc')
915 bld.RECURSE('../libcli/security')
917 bld.SAMBA_MKVERSION('include/version.h')
919 ######################## SUBSYSTEMS #################################
921 bld.SAMBA_SUBSYSTEM('WBCOMMON',
922 source=WBCOMMON_SRC)
924 bld.SAMBA_LIBRARY('libwbclient',
925 source='''../nsswitch/libwbclient/wbc_guid.c
926 ../nsswitch/libwbclient/wbc_idmap.c
927 ../nsswitch/libwbclient/wbclient.c
928 ../nsswitch/libwbclient/wbc_pam.c
929 ../nsswitch/libwbclient/wbc_pwd.c
930 ../nsswitch/libwbclient/wbc_sid.c
931 ../nsswitch/libwbclient/wbc_util.c''',
932 public_headers='../nsswitch/libwbclient/wbclient.h',
933 private_library=True,
934 public_deps='talloc WBCOMMON')
936 bld.SAMBA_LIBRARY('libnetapi',
937 source=LIBNETAPI_SRC,
938 public_deps='''talloc tdb cap libwbclient LIB_NONSMBD LIBSMB KRBCLIENT
939 PASSDB SMBLDAP GROUPDB PARAM_WITHOUT_REG DYNCONFIG
940 LIBMSRPC_GEN LIBMSRPC LIBADS LIBNET DCUTIL NDR_LIBNETAPI
941 RPC_CLIENT_SCHANNEL LIBSMBCONF REG_SMBCONF''',
942 public_headers='lib/netapi/netapi.h',
943 private_library=True,
944 vars=locals())
946 bld.SAMBA_LIBRARY('libsmbclient',
947 source=LIBSMBCLIENT_SRC,
948 public_deps='''talloc tdb libwbclient cap PARAM LIB_NONSMBD LIBSMB KRBCLIENT PASSDB SMBLDAP GROUPDB
949 LIBMSRPC_GEN LIBMSRPC''',
950 public_headers='include/libsmbclient.h',
951 private_library=True,
952 vars=locals())
954 bld.SAMBA_LIBRARY('libsmbsharemodes',
955 source=LIBSMBSHAREMODES_SRC,
956 public_deps='''talloc tdb''',
957 public_headers='include/smb_share_modes.h',
958 private_library=True,
959 vars=locals())
961 bld.SAMBA_LIBRARY('libaddns',
962 source=LIBADDNS_SRC,
963 public_deps='talloc krb5 k5crypto com_err gssapi gssapi_krb5',
964 private_library=True,
965 vars=locals())
967 bld.SAMBA_SUBSYSTEM('LIBMSRPC',
968 source='${LIBMSRPC_SRC}',
969 deps='LIBNDR NDR_SECURITY NDR_DCERPC',
970 vars=locals())
972 bld.SAMBA_SUBSYSTEM('LIBMSRPC_GEN',
973 source='${LIBNDR_GEN_SRC}',
974 deps='''LIBNDR NDR_SECURITY NDR_DCERPC NDR_EVENTLOG NDR_LSA
975 NDR_ECHO''',
976 vars=locals())
978 bld.SAMBA_SUBSYSTEM('LIBGPO',
979 source='${LIBGPO_SRC}',
980 deps='gpext',
981 vars=locals())
983 bld.SAMBA_SUBSYSTEM('ASN1_UTIL',
984 source='../lib/util/asn1.c',
985 deps='talloc',
986 local_include=False)
988 bld.SAMBA_SUBSYSTEM('LIBCLI_LDAP_MESSAGE',
989 source=LIBCLI_LDAP_MESSAGE_SRC)
991 bld.SAMBA_SUBSYSTEM('LIBCLI_LDAP_NDR',
992 source=LIBCLI_LDAP_NDR_SRC)
994 bld.SAMBA_SUBSYSTEM('AVAHI',
995 source=AVAHI_SRC,
996 deps='avahi-common avahi-client',
997 enabled=bld.env.with_avahi)
999 bld.SAMBA_SUBSYSTEM('GROUPDB',
1000 source=GROUPDB_SRC)
1002 bld.SAMBA_SUBSYSTEM('TLDAP',
1003 source=TLDAP_SRC,
1004 deps='ASN1_UTIL LIBTSOCKET')
1006 bld.SAMBA_SUBSYSTEM('PASSDB',
1007 source=PASSDB_SRC,
1008 deps='''GROUPDB TLDAP SECRETS SMBLDAP pdb''',
1009 vars=locals())
1011 bld.SAMBA_SUBSYSTEM('PARAM_WITHOUT_REG',
1012 source=PARAM_WITHOUT_REG_SRC)
1014 bld.SAMBA_SUBSYSTEM('PARAM',
1015 source='',
1016 deps='PARAM_WITHOUT_REG DYNCONFIG LIBSMBCONF',
1017 vars=locals())
1019 bld.SAMBA_SUBSYSTEM('REGFIO',
1020 source=REGFIO_SRC,
1021 vars=locals())
1023 bld.SAMBA_SUBSYSTEM('REG_API_REGF',
1024 source=REG_API_REGF_SRC,
1025 vars=locals())
1027 bld.SAMBA_SUBSYSTEM('REG_BASE',
1028 source=REG_BASE_SRC,
1029 vars=locals())
1031 bld.SAMBA_SUBSYSTEM('REG_SMBCONF',
1032 source=REG_SMBCONF_SRC,
1033 deps='REG_BASE',
1034 vars=locals())
1036 bld.SAMBA_SUBSYSTEM('REG_FULL',
1037 source=REG_FULL_SRC,
1038 deps='REG_SMBCONF',
1039 vars=locals())
1041 bld.SAMBA_SUBSYSTEM('POPT_SAMBA',
1042 source=POPT_LIB_SRC,
1043 vars=locals())
1045 bld.SAMBA_SUBSYSTEM('KRBCLIENT',
1046 source=KRBCLIENT_SRC,
1047 deps='krb5 k5crypto com_err gssapi gssapi_krb5',
1048 vars=locals())
1050 bld.SAMBA_SUBSYSTEM('LIBS',
1051 source=LIB_SRC,
1052 deps='NSS_WRAPPER iconv LIBCRYPTO LIBNDR LIBSECURITY NDR_SECURITY charset NDR_MESSAGING',
1053 vars=locals())
1055 bld.SAMBA_SUBSYSTEM('LIB_NONSMBD',
1056 source=LIB_NONSMBD_SRC,
1057 deps='LIBS',
1058 vars=locals())
1060 bld.SAMBA_SUBSYSTEM('LIBSMB_ERR',
1061 source=LIBSMB_ERR_SRC,
1062 deps='SECRETS ldap lber',
1063 vars=locals())
1065 bld.SAMBA_SUBSYSTEM('LIBSAMBA',
1066 source=LIBSAMBA_SRC,
1067 deps='LIBSMB_ERR',
1068 vars=locals())
1070 bld.SAMBA_SUBSYSTEM('LIBSMB',
1071 source=LIBSMB_SRC,
1072 deps='LIBSAMBA ZLIB CLDAP',
1073 vars=locals())
1075 bld.SAMBA_SUBSYSTEM('CLDAP',
1076 source=CLDAP_SRC,
1077 deps='LIBCLI_LDAP_MESSAGE LIBCLI_LDAP_NDR',
1078 vars=locals())
1080 bld.SAMBA_SUBSYSTEM('SECRETS',
1081 source=SECRETS_SRC,
1082 deps='NDR_SECRETS',
1083 vars=locals())
1085 bld.SAMBA_SUBSYSTEM('SMBLDAP',
1086 source=SMBLDAP_SRC,
1087 deps='ldap lber',
1088 vars=locals())
1090 bld.SAMBA_SUBSYSTEM('LIBADS',
1091 source=LIBADS_SRC,
1092 deps='LIBCLI_LDAP_NDR',
1093 vars=locals())
1095 bld.SAMBA_SUBSYSTEM('LIBADS_SERVER',
1096 source=LIBADS_SERVER_SRC,
1097 deps='NDR_KRB5PAC',
1098 vars=locals())
1100 bld.SAMBA_SUBSYSTEM('LIBADS_PRINTER',
1101 source=LIBADS_PRINTER_SRC,
1102 vars=locals())
1104 bld.SAMBA_SUBSYSTEM('LIBAFS',
1105 source=AFS_SRC,
1106 vars=locals())
1108 bld.SAMBA_SUBSYSTEM('LIBAFS_SETTOKEN',
1109 source=AFS_SETTOKEN_SRC,
1110 vars=locals())
1112 bld.SAMBA_SUBSYSTEM('LIBSMBCONF',
1113 source=LIBSMBCONF_SRC,
1114 deps='REG_BASE REG_SMBCONF',
1115 vars=locals())
1117 bld.SAMBA_SUBSYSTEM('SMBD_BASE',
1118 source=SMBD_SRC_BASE,
1119 deps='''tdb tevent dl krb5 ldap gssapi gssapi_krb5
1120 NSS_WRAPPER DYNCONFIG libwbclient crypt nsl cups cap resolv ZLIB PASSDB
1121 PARAM_WITHOUT_REG LIBS LIBSMB POPT_SAMBA KRBCLIENT AVAHI
1122 LIBMSRPC_GEN LIBMSRPC LIBADS LIBADS_SERVER LIBADS_PRINTER
1123 vfs vfs_default vfs_posixacl auth rpc LOCKING LIBAFS LIBAFS_SETTOKEN PROFILE
1124 PRINTING PRINTBACKEND NDR_XATTR REGFIO
1125 LIBSMBCONF REG_FULL
1126 ''',
1127 vars=locals())
1129 bld.SAMBA_SUBSYSTEM('LOCKING',
1130 source='${LOCKING_SRC}',
1131 deps='''tdb talloc''',
1132 vars=locals())
1134 bld.SAMBA_SUBSYSTEM('PROFILE',
1135 source='${PROFILE_SRC}',
1136 vars=locals())
1138 bld.SAMBA_SUBSYSTEM('PRINTBASE',
1139 source=PRINTBASE_SRC,
1140 vars=locals())
1142 bld.SAMBA_SUBSYSTEM('PRINTBACKEND',
1143 source=PRINTBACKEND_SRC,
1144 deps='PRINTBASE NDR_NTPRINTING LIBADS_PRINTER',
1145 vars=locals())
1147 bld.SAMBA_SUBSYSTEM('PRINTING',
1148 source=PRINTING_SRC,
1149 vars=locals())
1151 bld.SAMBA_SUBSYSTEM('PASSWD_UTIL',
1152 source=PASSWD_UTIL_SRC,
1153 vars=locals())
1155 bld.SAMBA_SUBSYSTEM('LIBNET',
1156 source=LIBNET_SRC,
1157 deps='NDR_LIBNET_JOIN',
1158 vars=locals())
1160 bld.SAMBA_SUBSYSTEM('LIBNET_DSSYNC',
1161 source=LIBNET_DSSYNC_SRC,
1162 deps='LIBNET',
1163 vars=locals())
1165 bld.SAMBA_SUBSYSTEM('LIBNET_SAMSYNC',
1166 source=LIBNET_SAMSYNC_SRC,
1167 deps='LIBNET',
1168 vars=locals())
1170 bld.SAMBA_SUBSYSTEM('LIBEVENTLOG',
1171 source=LIB_EVENTLOG_SRC,
1172 deps='NDR_EVENTLOG',
1173 vars=locals())
1175 bld.SAMBA_SUBSYSTEM('SERVICES',
1176 source=SERVICES_SRC,
1177 vars=locals())
1179 bld.SAMBA_SUBSYSTEM('PLAINTEXT_AUTH',
1180 source=PLAINTEXT_AUTH_SRC,
1181 vars=locals())
1183 bld.SAMBA_SUBSYSTEM('SLCACHE',
1184 source=SLCACHE_SRC,
1185 vars=locals())
1187 bld.SAMBA_SUBSYSTEM('DCUTIL',
1188 source=DCUTIL_SRC,
1189 vars=locals())
1191 bld.SAMBA_SUBSYSTEM('LIBNDR',
1192 source=LIBNDR_SRC,
1193 vars=locals())
1195 #FIXME
1196 bld.SAMBA_SUBSYSTEM('NDR_STANDARD',
1197 source='',
1198 vars=locals())
1200 #FIXME
1201 bld.SAMBA_SUBSYSTEM('dcerpc', '')
1203 bld.SAMBA_SUBSYSTEM('LZXPRESS',
1204 deps='replace',
1205 source='../lib/compression/lzxpress.c')
1207 bld.SAMBA_SUBSYSTEM('NDR_SECURITY',
1208 source='''../librpc/gen_ndr/ndr_security.c ../librpc/ndr/ndr_sec_helper.c''',
1209 deps='LIBNDR',
1210 vars=locals())
1212 bld.SAMBA_SUBSYSTEM('NDR_DCERPC',
1213 source='../librpc/gen_ndr/ndr_dcerpc.c',
1214 vars=locals())
1216 bld.SAMBA_SUBSYSTEM('LIBSAMBA-ERRORS',
1217 source='../libcli/util/doserr.c libsmb/nterr.c')
1219 bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
1220 source='../libcli/nbt/nbtname.c',
1221 deps='talloc',
1222 autoproto='nbtname.h')
1224 bld.SAMBA_SUBSYSTEM('LIBCLI_NDR_NETLOGON',
1225 source='../libcli/ndr_netlogon.c',
1226 public_deps='LIBNDR NDR_SECURITY')
1228 bld.SAMBA_SUBSYSTEM('RPCCLI_WINREG',
1229 source='../librpc/gen_ndr/cli_winreg.c',
1230 public_deps='RPC_NDR_WINREG')
1232 bld.SAMBA_SUBSYSTEM('RPCCLI_ECHO',
1233 source='../librpc/gen_ndr/cli_echo.c',
1234 public_deps='RPC_NDR_ECHO')
1236 bld.SAMBA_SUBSYSTEM('RPC_CLIENT_SCHANNEL',
1237 source=RPC_CLIENT_SCHANNEL_SRC,
1238 vars=locals())
1241 ########################## BINARIES #################################
1243 bld.SAMBA_BINARY('smbd/smbd',
1244 source='${SMBD_SRC_MAIN}',
1245 deps='''SMBD_BASE''',
1246 install_path='${SBINDIR}',
1247 vars=locals())
1249 bld.SAMBA_BINARY('nmbd/nmbd',
1250 source=NMBD_SRC,
1251 deps='''talloc tdb tevent ZLIB cap resolv libwbclient dl
1252 NSS_WRAPPER PASSDB PARAM ldap LIB_NONSMBD LIBSMB
1253 POPT_SAMBA KRBCLIENT NDR_SAMR NDR_LSA''',
1254 install_path='${SBINDIR}',
1255 vars=locals())
1257 bld.SAMBA_BINARY('winbindd/winbindd',
1258 source=WINBINDD_SRC,
1259 deps='''talloc tdb tevent cap dl ZLIB NSS_WRAPPER
1260 libwbclient PASSDB ldap resolv PARAM LIB_NONSMBD LIBSMB
1261 POPT_SAMBA KRBCLIENT LIBMSRPC_GEN LIBMSRPC LIBADS LIBADS_SERVER
1262 SRV_NDR_WBINT RPCCLI_NDR_WBINT LIBAFS
1263 LIBAFS_SETTOKEN PROFILE SLCACHE DCUTIL idmap nss_info
1264 ''',
1265 enabled=bld.env.build_winbind,
1266 install_path='${SBINDIR}',
1267 vars=locals())
1269 bld.SAMBA_BINARY('web/swat',
1270 source=SWAT_SRC,
1271 deps='''talloc tevent cap LIBS LIBSMB libwbclient PARAM
1272 LIB_NONSMBD resolv PASSDB POPT_SAMBA KRBCLIENT cups
1273 LIBMSRPC_GEN LIBMSRPC LOCKING PLAINTEXT_AUTH PRINTBASE PRINTING''',
1274 enabled=bld.env.build_swat,
1275 install_path='${SBINDIR}',
1276 vars=locals())
1278 bld.SAMBA_BINARY('rpcclient/rpcclient',
1279 source=RPCCLIENT_SRC,
1280 deps='''talloc tdb cap resolv POPT_SAMBA PASSDB LIBSMB LIB_NONSMBD
1281 PARAM_WITHOUT_REG libwbclient PARAM KRBCLIENT LIBMSRPC_GEN LIBMSRPC
1282 LIBADS SMBREADLINE DCUTIL RPCCLI_WINREG RPCCLI_ECHO
1283 RPC_CLIENT_SCHANNEL''',
1284 vars=locals())
1286 bld.SAMBA_BINARY('smbclient',
1287 source=CLIENT_SRC,
1288 deps='''talloc tdb cap resolv POPT_SAMBA PASSDB LIBSMB LIB_NONSMBD
1289 PARAM_WITHOUT_REG libwbclient PARAM KRBCLIENT LIBMSRPC_GEN
1290 LIBMSRPC SMBREADLINE''',
1291 vars=locals())
1293 bld.SAMBA_BINARY('net',
1294 source=NET_SRC,
1295 deps='''talloc tdb libnetapi libaddns cap resolv POPT_SAMBA PASSDB LIBSMB LIB_NONSMBD
1296 PARAM_WITHOUT_REG libwbclient PARAM KRBCLIENT LIBMSRPC_GEN LIBMSRPC LIBGPO LIBADS LIBADS_SERVER LIBADS_PRINTER
1297 LOCALE_DIR LIBAFS LIBAFS_SETTOKEN SMBREADLINE PASSWD_UTIL LIBNET
1298 LIBNET_DSSYNC LIBNET_SAMSYNC LIBEVENTLOG DCUTIL
1299 REGFIO NDR_NTPRINTING RPCCLI_WINREG
1300 RPC_CLIENT_SCHANNEL''',
1301 vars=locals())
1303 bld.SAMBA_BINARY('profiles',
1304 source=PROFILES_SRC,
1305 deps='''talloc tdb cap tevent POPT_SAMBA PARAM LIBS LIBSMB_ERR LIB_NONSMBD REGFIO''',
1306 vars=locals())
1308 bld.SAMBA_BINARY('smbspool',
1309 source=CUPS_SRC,
1310 deps='''talloc tdb tevent resolv cap libwbclient POPT_SAMBA PARAM LIBSMB LIB_NONSMBD LIBS
1311 KRBCLIENT ASN1_UTIL LIBTSOCKET NDR_SAMR NDR_LSA''',
1312 vars=locals())
1314 bld.SAMBA_BINARY('testparm',
1315 source=TESTPARM_SRC,
1316 deps='''talloc tevent ldap cap NSS_WRAPPER
1317 libwbclient ASN1_UTIL LIBTSOCKET PASSDB PARAM LIB_NONSMBD
1318 LIBSMB_ERR POPT_SAMBA''',
1319 vars=locals())
1321 bld.SAMBA_BINARY('smbta-util',
1322 source=SMBTA_UTIL_SRC,
1323 deps='''talloc tdb tevent cap PARAM POPT_SAMBA LIB_NONSMBD
1324 LIBSMB_ERR''',
1325 vars=locals())
1327 bld.SAMBA_BINARY('smbstatus',
1328 source=STATUS_SRC,
1329 deps='''talloc tdb tevent cap PARAM POPT_SAMBA LIB_NONSMBD
1330 LIBSMB_ERR LOCKING PROFILE''',
1331 vars=locals())
1333 bld.SAMBA_BINARY('smbcontrol',
1334 source=SMBCONTROL_SRC,
1335 deps='''talloc tdb tevent cap PARAM LIB_NONSMBD LIBSMB_ERR POPT_SAMBA PRINTBASE''',
1336 vars=locals())
1338 bld.SAMBA_BINARY('smbtree',
1339 source=SMBTREE_SRC,
1340 deps='''talloc tdb tevent cap resolv libwbclient PARAM LIB_NONSMBD
1341 LIBSMB LIBSMB_ERR POPT_SAMBA KRBCLIENT PASSDB SMBLDAP GROUPDB LIBMSRPC_GEN LIBMSRPC PROFILE''',
1342 vars=locals())
1344 bld.SAMBA_BINARY('smbpasswd',
1345 source=SMBPASSWD_SRC,
1346 deps='''talloc tdb tevent cap resolv libwbclient PARAM LIB_NONSMBD
1347 LIBSMB LIBSMB_ERR POPT_SAMBA KRBCLIENT PASSDB SMBLDAP GROUPDB LIBMSRPC_GEN LIBMSRPC PASSWD_UTIL''',
1348 vars=locals())
1350 bld.SAMBA_BINARY('pdbedit',
1351 source=PDBEDIT_SRC,
1352 deps='''talloc tdb tevent cap resolv libwbclient PARAM LIB_NONSMBD
1353 LIBSAMBA LIBSMB_ERR POPT_SAMBA PASSDB SMBLDAP GROUPDB
1354 PASSWD_UTIL LIBCLI_LDAP_NDR''',
1355 vars=locals())
1357 bld.SAMBA_BINARY('smbget',
1358 source=SMBGET_SRC,
1359 deps='''talloc tdb libsmbclient POPT_SAMBA''',
1360 vars=locals())
1362 bld.SAMBA_BINARY('nmblookup',
1363 source=NMBLOOKUP_SRC,
1364 deps='''talloc tdb tevent cap resolv PARAM LIB_NONSMBD POPT_SAMBA LIBSMB_ERR''',
1365 vars=locals())
1367 bld.SAMBA_BINARY('smbtorture',
1368 source=SMBTORTURE_SRC,
1369 deps='''talloc tdb tevent cap resolv libwbclient PARAM LIBSMB KRBCLIENT
1370 LIB_NONSMBD POPT_SAMBA ASN1_UTIL LIBTSOCKET NDR_LSA LIBMSRPC LIBMSRPC_GEN RPCCLI_ECHO''',
1371 vars=locals())
1373 bld.SAMBA_BINARY('smbconftort',
1374 source=SMBCONFTORT_SRC,
1375 deps='''talloc tdb tevent cap resolv libwbclient PARAM LIB_NONSMBD LIBSMB_ERR POPT_SAMBA''',
1376 vars=locals())
1378 bld.SAMBA_BINARY('masktest',
1379 source=MASKTEST_SRC,
1380 deps='''talloc tdb cap resolv libwbclient PARAM LIB_NONSMBD LIBSMB KRBCLIENT
1381 ASN1_UTIL LIBTSOCKET NDR_SAMR NDR_LSA''',
1382 vars=locals())
1384 bld.SAMBA_BINARY('msgtest',
1385 source=MSGTEST_SRC,
1386 deps='''talloc tdb tevent cap resolv PARAM LIBSMB_ERR LIB_NONSMBD''',
1387 vars=locals())
1389 bld.SAMBA_BINARY('smbcacls',
1390 source=SMBCACLS_SRC,
1391 deps='''talloc tdb cap resolv libwbclient PARAM LIBSMB KRBCLIENT
1392 LIB_NONSMBD PASSDB GROUPDB POPT_SAMBA SMBLDAP LIBMSRPC_GEN
1393 LIBMSRPC''',
1394 vars=locals())
1396 bld.SAMBA_BINARY('smbcquotas',
1397 source=SMBCQUOTAS_SRC,
1398 deps='''talloc tdb cap resolv libwbclient PARAM LIB_NONSMBD LIBSMB KRBCLIENT
1399 POPT_SAMBA PASSDB SMBLDAP GROUPDB LIBMSRPC_GEN LIBMSRPC''',
1400 vars=locals())
1402 bld.SAMBA_BINARY('eventlogadm',
1403 source=EVTLOGADM_SRC,
1404 deps='''talloc tevent cap POPT_SAMBA LIBS PARAM
1405 LIB_NONSMBD LIBSMB_ERR PASSDB libwbclient LIBEVENTLOG''',
1406 vars=locals())
1408 bld.SAMBA_BINARY('sharesec',
1409 source=SHARESEC_SRC,
1410 deps='''talloc tdb tevent cap resolv libwbclient PARAM LIB_NONSMBD LIBSMB_ERR POPT_SAMBA''',
1411 vars=locals())
1413 bld.SAMBA_BINARY('locktest',
1414 source=LOCKTEST_SRC,
1415 deps='''talloc tdb tevent cap resolv libwbclient PARAM KRBCLIENT LIBSMB LIB_NONSMBD
1416 ASN1_UTIL LIBTSOCKET NDR_SAMR NDR_LSA LOCKING''',
1417 vars=locals())
1419 bld.SAMBA_BINARY('nsstest',
1420 source=NSSTEST_SRC,
1421 deps='NSS_WRAPPER',
1422 vars=locals())
1424 bld.SAMBA_BINARY('pdbtest',
1425 source=PDBTEST_SRC,
1426 deps='''talloc tdb cap resolv libwbclient PARAM LIBSMB KRBCLIENT LIB_NONSMBD PASSDB GROUPDB
1427 SMBLDAP POPT_SAMBA NDR_SAMR NDR_LSA''',
1428 vars=locals())
1430 bld.SAMBA_BINARY('vfstest',
1431 source=VFSTEST_SRC,
1432 deps='''SMBD_BASE SMBREADLINE''',
1433 vars=locals())
1435 bld.SAMBA_BINARY('smbiconv',
1436 source=SMBICONV_SRC,
1437 deps='''talloc tdb tevent cap PARAM LIB_NONSMBD POPT_SAMBA LIBSMB_ERR''',
1438 vars=locals())
1440 bld.SAMBA_BINARY('log2pcap',
1441 source=LOG2PCAP_SRC,
1442 deps='''talloc popt''',
1443 vars=locals())
1445 bld.SAMBA_BINARY('locktest2',
1446 source=LOCKTEST2_SRC,
1447 deps='''talloc tdb tevent cap resolv libwbclient PARAM KRBCLIENT LIBSMB LIB_NONSMBD
1448 ASN1_UTIL LIBTSOCKET NDR_SAMR NDR_LSA LOCKING''',
1449 vars=locals())
1451 bld.SAMBA_BINARY('debug2html',
1452 source=DEBUG2HTML_SRC,
1453 deps='''talloc popt''',
1454 vars=locals())
1456 bld.SAMBA_BINARY('smbfilter',
1457 source=SMBFILTER_SRC,
1458 deps='''talloc tevent cap resolv libwbclient PARAM LIBSMB LIB_NONSMBD KRBCLIENT ASN1_UTIL LIBTSOCKET
1459 NDR_SAMR NDR_LSA''',
1460 vars=locals())
1462 bld.SAMBA_BINARY('versiontest',
1463 source='lib/version_test.c ${VERSION_SRC}',
1464 vars=locals())
1466 bld.SAMBA_BINARY('wbinfo',
1467 source=WBINFO_SRC,
1468 deps='''talloc libwbclient tevent cap
1469 NSS_WRAPPER ASN1_UTIL LIBTSOCKET PASSDB ldap PARAM LIB_NONSMBD
1470 LIBSAMBA POPT_SAMBA LIBAFS_SETTOKEN''',
1471 vars=locals())
1473 bld.SAMBA_BINARY('ntlm_auth',
1474 source=NTLM_AUTH_SRC,
1475 deps='''tdb talloc cap resolv krb5 k5crypto com_err libwbclient PARAM LIB_NONSMBD
1476 LIBS LIBSAMBA POPT_SAMBA ASN1_UTIL LIBTSOCKET
1477 PASSDB GROUPDB SMBLDAP WBCOMMON LIBINIPARSER LIBADS_SERVER
1478 NDR_SAMR NDR_LSA LIBCLI_LDAP_NDR''',
1479 vars=locals())
1481 bld.SAMBA_BINARY('timelimit',
1482 source='script/tests/timelimit.c',
1483 vars=locals())
1485 bld.SAMBA_BINARY('rpc_open_tcp',
1486 source=RPC_OPEN_TCP_SRC,
1487 deps='''talloc tdb tevent resolv cap libwbclient KRBCLIENT PARAM LIBS LIBSMB LIB_NONSMBD
1488 LIBSMB_ERR ASN1_UTIL LIBTSOCKET LIBMSRPC_GEN LIBMSRPC''',
1489 vars=locals())
1491 bld.SAMBA_BINARY('test_lp_load',
1492 source=TEST_LP_LOAD_SRC,
1493 deps='''talloc tdb tevent cap libwbclient PARAM LIB_NONSMBD POPT_SAMBA LIBSAMBA''',
1494 vars=locals())
1496 bld.SAMBA_BINARY('dbwrap_tool',
1497 source=DBWRAP_TOOL_SRC,
1498 deps='''talloc tdb tevent cap PARAM LIB_NONSMBD LIBSMB_ERR''',
1499 vars=locals())
1501 bld.SAMBA_BINARY('dbwrap_torture',
1502 source=DBWRAP_TORTURE_SRC,
1503 deps='''talloc tdb tevent cap PARAM LIB_NONSMBD LIBSMB_ERR
1504 POPT_SAMBA''',
1505 vars=locals())
1507 bld.SAMBA_BINARY('split_tokens',
1508 source=SPLIT_TOKENS_SRC,
1509 deps='''talloc tdb tevent cap libwbclient PARAM LIB_NONSMBD POPT_SAMBA
1510 LIBSAMBA''',
1511 vars=locals())
1513 bld.SAMBA_BINARY('vlp',
1514 source=VLP_SRC,
1515 deps='''talloc tdb NSS_WRAPPER''',
1516 vars=locals())
1518 swat_files=recursive_dirlist('../swat', '../swat', '*')
1519 bld.INSTALL_FILES('${SWATDIR}', swat_files, base_name='../swat')
1521 ########################## INCLUDES #################################
1523 bld.RECURSE('../lib/socket_wrapper')
1524 bld.RECURSE('../lib/talloc')
1525 bld.RECURSE('../lib/tdb')
1526 bld.RECURSE('../lib/nss_wrapper')
1527 bld.RECURSE('../lib/tevent')
1528 bld.RECURSE('../lib/popt')
1529 bld.RECURSE('../lib/zlib')
1530 bld.RECURSE('../lib/tsocket')
1531 bld.RECURSE('../lib/iniparser/src')
1532 bld.RECURSE('../lib/crypto')
1533 bld.RECURSE('modules')
1534 bld.RECURSE('auth')
1535 bld.RECURSE('passdb')
1536 bld.RECURSE('winbindd')
1537 bld.RECURSE('libgpo/gpext')
1538 bld.RECURSE('pam_smbpass')
1539 bld.RECURSE('rpc_server')
1541 bld.ENFORCE_GROUP_ORDERING()
1542 bld.CHECK_PROJECT_RULES()