docs: update idmap cache time to be consistent with testparm
[Samba.git] / source3 / wscript_build
blob54f8c144b37e4f5d9282567fdd913bf7bd7bcd65
1 #!/usr/bin/env python
3 from samba_utils import *
4 import samba_version, samba3
6 LIBS='ICONV'
8 config_h = "../include/config.h"
10 bld.SAMBA_BLDOPTIONS('smbd/build_options.c')
12 t = bld.SAMBA_GENERATOR('build_env.h',
13 source='script/build_env.sh',
14 target='include/build_env.h',
15 rule='${SRC} ${SRCDIR} ${BUILDDIR} ${CC} > ${TGT}')
16 # todo: work out what is really wanted here
17 t.env.SRCDIR = bld.path.abspath()
18 t.env.BUILDDIR = bld.path.abspath()
20 bld.SETUP_BUILD_GROUPS()
22 ######################## SUBSYSTEMS #################################
24 bld.SAMBA3_LIBRARY('netapi',
25 source='''lib/netapi/netapi.c
26 lib/netapi/cm.c
27 lib/netapi/libnetapi.c
28 lib/netapi/joindomain.c
29 lib/netapi/serverinfo.c
30 lib/netapi/wkstainfo.c
31 lib/netapi/getdc.c
32 lib/netapi/user.c
33 lib/netapi/group.c
34 lib/netapi/localgroup.c
35 lib/netapi/samr.c
36 lib/netapi/sid.c
37 lib/netapi/share.c
38 lib/netapi/file.c
39 lib/netapi/shutdown.c
40 lib/netapi/netlogon.c''',
41 public_deps='''
42 talloc
43 util_cmdline
44 msrpc3
45 ads
46 NDR_LIBNETAPI
47 LIBNET
48 RPC_CLIENT_SCHANNEL
49 libcli_netlogon3
50 LIBCLI_SAMR
51 INIT_SAMR
52 auth
53 ''',
54 public_headers='../source3/lib/netapi/netapi.h',
55 pc_files='libnet/netapi.pc',
56 vnum='0')
58 bld.SAMBA3_LIBRARY('smbsharemodes',
59 source='libsmb/smb_share_modes.c',
60 public_deps='''talloc tdb_compat''',
61 deps='''ccan-hash''',
62 public_headers='include/smb_share_modes.h',
63 pc_files='libsmb/smbsharemodes.pc',
64 vnum='0')
66 bld.SAMBA3_LIBRARY('nss_wins',
67 source='../nsswitch/wins.c',
68 deps='''param libsmb LIBTSOCKET''',
69 realname='libnss_wins.so.2',
70 soname='libnss_wins.so',
71 vnum='2')
73 bld.SAMBA3_LIBRARY('gse',
74 source='librpc/crypto/gse_krb5.c librpc/crypto/gse.c',
75 deps='krb5samba gensec param KRBCLIENT secrets3',
76 private_library=True)
78 bld.SAMBA3_LIBRARY('msrpc3',
79 source='''rpc_client/cli_pipe.c
80 rpc_client/rpc_transport_np.c
81 rpc_client/rpc_transport_sock.c
82 rpc_client/rpc_transport_tstream.c
83 librpc/rpc/dcerpc_helpers.c''',
84 deps='''ndr ndr-standard
85 RPC_NDR_EPMAPPER NTLMSSP_COMMON COMMON_SCHANNEL LIBCLI_AUTH
86 LIBTSOCKET gse dcerpc-binding
87 libsmb ndr-table NETLOGON_CREDS_CLI
88 ''',
89 private_library=True)
91 bld.SAMBA3_LIBRARY('gpo',
92 source='''../libgpo/gpo_ldap.c
93 ../libgpo/gpo_ini.c
94 ../libgpo/gpo_util.c
95 ../libgpo/gpo_fetch.c
96 libgpo/gpo_filesync.c
97 ../libgpo/gpo_sec.c
98 libgpo/gpo_reg.c''',
99 deps='talloc ads TOKEN_UTIL gpext auth',
100 private_library=True)
102 bld.SAMBA3_SUBSYSTEM('AVAHI',
103 source='lib/avahi.c smbd/avahi_register.c',
104 deps='avahi-common avahi-client',
105 enabled=bld.env.with_avahi)
107 bld.SAMBA3_SUBSYSTEM('GROUPDB',
108 source='groupdb/mapping.c groupdb/mapping_tdb.c',
109 deps='tdb_compat')
111 bld.SAMBA3_SUBSYSTEM('TLDAP',
112 source='''lib/tldap.c
113 lib/tldap_util.c
114 lib/util_tsock.c''',
115 deps='asn1util LIBTSOCKET')
117 # libpdb.so should not expose internal symbols that are only usable
118 # to the statically linked modules that are merged into libpdb.
119 # Note that we always filter these symbols out in libpdb, even
120 # when modules are not linked statically. In the latter case
121 # symbols will not be present in the libpdb anyway so no hurt is
122 # done to the version script.
123 static_pdb_match = ['tdbsam', 'smbpasswd', 'wbc_sam']
124 private_pdb_match = []
126 # AD DC module when linked statically will pull in few source4/winbind
127 # dependencies which are not used outside AD DC module
128 static_pdb_match.append('samba_dsdb')
129 private_pdb_match.append('!idmap_init')
130 private_pdb_match.append('!idmap_sids_to_xids')
131 private_pdb_match.append('!idmap_xids_to_sids')
133 # ldap module is actually three modules merged together: ldapsam, ipa, and nds
134 static_pdb_match = static_pdb_match + ['ldap', 'ipa', 'nds']
135 ldapsam_pdb_match = ['!priv2ld', '!smbldap_search_domain_info',
136 '!ldapsam_*', '!groupmap_attr_list*', '!get_userattr_list',
137 '!dominfo_attr_list', '!get_attr_key2string',
138 '!sidmap_attr_list', '!attrib_map_*', '!idpool_attr_list',
139 '!get_attr_list']
140 private_pdb_match.append('!pdb_nds_*')
141 private_pdb_match.append('!pdb_init_ldapsam')
142 private_pdb_match.append('!pdb_ldapsam_init*')
143 private_pdb_match = private_pdb_match + ldapsam_pdb_match
145 private_pdb_match = private_pdb_match + map(lambda x: '!pdb_%s_init' % x, static_pdb_match)
147 bld.SAMBA3_LIBRARY('pdb',
148 source='''passdb/pdb_get_set.c
149 passdb/passdb.c
150 lib/util_wellknown.c
151 lib/util_builtin.c
152 passdb/pdb_compat.c
153 lib/util_sid_passdb.c
154 lib/util_unixsids.c
155 passdb/lookup_sid.c
156 passdb/login_cache.c
157 passdb/account_pol.c
158 lib/privileges.c
159 lib/util_nscd.c
160 lib/winbind_util.c
161 passdb/pdb_util.c
162 passdb/pdb_interface.c
163 passdb/pdb_secrets.c
164 passdb/pdb_unixid.c''',
165 deps='secrets3 GROUPDB SERVER_MUTEX wbclient LIBCLI_AUTH flag_mapping',
166 private_library=False,
167 pc_files=[],
168 public_headers_install=True,
169 public_headers='''
170 include/passdb.h
171 passdb/machine_sid.h
172 passdb/lookup_sid.h''',
173 abi_match=private_pdb_match,
174 abi_directory='passdb/ABI',
175 vnum='0')
177 bld.SAMBA3_LIBRARY('smbldaphelper',
178 source='passdb/pdb_ldap_schema.c passdb/pdb_ldap_util.c',
179 deps='smbldap secrets3',
180 allow_undefined_symbols=True,
181 enabled=bld.CONFIG_SET('HAVE_LDAP'),
182 private_library=True)
184 bld.SAMBA3_SUBSYSTEM('SERVER_MUTEX',
185 source='lib/server_mutex.c',
186 deps='talloc')
188 bld.SAMBA3_SUBSYSTEM('param',
189 source='''param/loadparm.c
190 lib/sharesec.c
191 lib/ldap_debug_handler.c
192 lib/util_names.c''',
193 deps='samba-util PARAM_UTIL ldap lber LOADPARM_CTX samba3core smbconf param_local_h s3_param_global_h cups''')
195 # this includes only the low level parse code, not stuff
196 # that requires knowledge of security contexts
197 bld.SAMBA3_SUBSYSTEM('REG_PARSE_PRS',
198 source='registry/reg_parse_prs.c')
200 bld.SAMBA3_SUBSYSTEM('REGFIO',
201 source='registry/regfio.c',
202 deps='samba-util REG_PARSE_PRS')
204 bld.SAMBA3_SUBSYSTEM('REG_API_REGF',
205 source='registry/reg_api_regf.c',
206 deps='samba-util')
208 bld.SAMBA3_LIBRARY('smbregistry',
209 source='''registry/reg_api.c
210 registry/reg_dispatcher.c
211 registry/reg_cachehook.c
212 registry/reg_objects.c
213 registry/reg_util_internal.c
214 lib/util_nttoken.c
215 registry/reg_backend_db.c
216 registry/reg_parse_internal.c
217 lib/cbuf.c
218 lib/srprs.c
219 registry/reg_init_basic.c''',
220 deps='''smbd_shim tdb-wrap3 NDR_SECURITY util_tdb talloc
221 replace util_reg samba-util samba-security
222 errors3 dbwrap samba3-util''',
223 allow_undefined_symbols=True,
224 private_library=True)
226 bld.SAMBA3_SUBSYSTEM('REG_SMBCONF',
227 source='''registry/reg_backend_smbconf.c
228 registry/reg_init_smbconf.c
229 registry/reg_util_token.c
230 registry/reg_api_util.c''',
231 deps='smbregistry')
233 bld.SAMBA3_SUBSYSTEM('REG_FULL',
234 source='''registry/reg_backend_printing.c
235 registry/reg_backend_shares.c
236 registry/reg_backend_netlogon_params.c
237 registry/reg_backend_prod_options.c
238 registry/reg_backend_tcpip_params.c
239 registry/reg_backend_hkpt_params.c
240 registry/reg_backend_current_version.c
241 registry/reg_backend_perflib.c
242 registry/reg_init_full.c
243 registry/reg_perfcount.c''',
244 deps='REG_SMBCONF tdb-wrap3')
246 bld.SAMBA3_LIBRARY('popt_samba3',
247 source='lib/popt_common.c',
248 deps='popt samba-util util_cmdline',
249 private_library=True)
251 bld.SAMBA3_LIBRARY('util_cmdline',
252 source='lib/util_cmdline.c',
253 deps='secrets3',
254 private_library=True)
256 bld.SAMBA3_SUBSYSTEM('KRBCLIENT',
257 source='libads/kerberos.c libads/ads_status.c',
258 public_deps='krb5samba k5crypto gssapi LIBTSOCKET CLDAP LIBNMB')
260 bld.SAMBA3_SUBSYSTEM('samba3util',
261 source='''lib/system.c
262 lib/sendfile.c
263 lib/recvfile.c
264 lib/time.c
265 lib/util_sid.c
266 lib/util_file.c
267 lib/util.c
268 lib/util_sock.c
269 lib/util_transfer_file.c
270 lib/sock_exec.c''',
271 deps='ndr samba-security NDR_SECURITY samba-util util_tdb ccan-hash')
274 bld.SAMBA3_SUBSYSTEM('TDB_LIB',
275 source='''lib/dbwrap/dbwrap_open.c
276 lib/dbwrap/dbwrap_ctdb.c
277 lib/dbwrap/dbwrap_watch.c
278 lib/g_lock.c''',
279 deps='dbwrap')
281 bld.SAMBA3_SUBSYSTEM('samba3core',
282 source='''lib/messages.c
283 lib/messages_local.c
284 lib/messages_ctdbd.c
285 lib/ctdb_packet.c
286 lib/ctdbd_conn.c
287 lib/ctdb_conn.c
288 lib/util_cluster.c
289 lib/id_cache.c
290 lib/talloc_dict.c
291 lib/serverid.c
292 lib/addrchange.c
293 ../lib/util/debug_s3.c
294 lib/dumpcore.c
295 lib/interface.c
296 lib/username.c
297 lib/access.c lib/smbrun.c
298 lib/wins_srv.c
299 lib/substitute.c
300 lib/substitute_generic.c
301 lib/ms_fnmatch.c
302 lib/tallocmsg.c
303 lib/dmallocmsg.c
304 intl/lang_tdb.c
305 lib/gencache.c
306 lib/events.c
307 lib/server_contexts.c
308 lib/server_prefork.c
309 lib/server_prefork_util.c
310 lib/ldap_escape.c
311 lib/fncall.c
312 libads/krb5_errs.c
313 lib/system_smbd.c
314 lib/audit.c
315 lib/tevent_wait.c
316 lib/idmap_cache.c
317 lib/util_ea.c''',
318 deps='''
319 samba3util
320 LIBTSOCKET
321 NDR_MESSAGING
322 LIBASYNC_REQ
323 UTIL_PW
324 SAMBA_VERSION
325 PTHREADPOOL
326 interfaces
327 param
328 dbwrap
329 samba3-util
330 errors3
331 TDB_LIB''')
333 bld.SAMBA3_LIBRARY('smbd_shim',
334 source='''lib/smbd_shim.c''',
335 deps='talloc',
336 private_library=True)
338 bld.SAMBA3_SUBSYSTEM('LIBNTLMSSP',
339 source='''libsmb/ntlmssp.c
340 libsmb/ntlmssp_wrap.c''',
341 deps='NDR_NTLMSSP NTLMSSP_COMMON wbclient')
343 bld.SAMBA3_SUBSYSTEM('auth_generic',
344 source='libsmb/auth_generic.c',
345 deps='LIBNTLMSSP gse gensec')
347 bld.SAMBA3_LIBRARY('libsmb',
348 source='''libsmb/clientgen.c
349 libsmb/cliconnect.c
350 libsmb/clifile.c
351 libsmb/clispnego.c
352 libsmb/clirap.c
353 libsmb/clierror.c
354 libsmb/climessage.c
355 libsmb/clireadwrite.c
356 libsmb/clilist.c
357 libsmb/cliprint.c
358 libsmb/clitrans.c
359 libsmb/clisecdesc.c
360 libsmb/clidgram.c
361 libsmb/clistr.c
362 libsmb/cliquota.c
363 libsmb/clifsinfo.c
364 libsmb/clidfs.c
365 libsmb/clioplock.c
366 libsmb/clirap2.c
367 libsmb/async_smb.c
368 libsmb/smb2cli_tcon.c
369 libsmb/reparse_symlink.c
370 libsmb/clisymlink.c
371 libsmb/smbsock_connect.c
372 libsmb/cli_smb2_fnum.c''',
373 deps='''
374 LIBNTLMSSP
375 auth_generic
376 CLDAP
377 LIBNMB
378 SPNEGO_PARSE
379 LIBTSOCKET
380 KRBCLIENT
381 cli_smb_common
382 util_cmdline
383 tevent''',
384 private_library=True)
386 bld.SAMBA3_SUBSYSTEM('CLDAP',
387 source='libads/cldap.c',
388 deps='cli-ldap-common cli_cldap LIBTSOCKET')
390 # NOTE: The secrets3 library is a low level library used by several subsystems.
391 # PLEASE DO NOT make it depend on high level libraries like PDB, if you are
392 # doing that your design is wrong and needs changing. -SSS
393 bld.SAMBA3_LIBRARY('secrets3',
394 source='''passdb/secrets.c
395 passdb/machine_account_secrets.c
396 passdb/machine_sid.c
397 passdb/secrets_lsa.c''',
398 deps='NDR_SECRETS param samba3util dbwrap',
399 private_library=True)
401 bld.SAMBA3_LIBRARY('smbldap',
402 source='lib/smbldap.c',
403 deps='ldap lber samba-util param',
404 enabled=bld.CONFIG_SET("HAVE_LDAP"),
405 private_library=False,
406 abi_directory='lib/ABI',
407 abi_match='smbldap_*',
408 pc_files=[],
409 vnum='0',
410 public_headers='include/smbldap.h include/smb_ldap.h')
412 bld.SAMBA3_LIBRARY('ads',
413 source='''libads/ldap.c
414 libads/sasl.c
415 libads/sasl_wrapping.c
416 libads/krb5_setpw.c
417 libads/kerberos_util.c
418 libads/ldap_user.c
419 libads/ads_struct.c
420 libads/kerberos_keytab.c
421 libads/disp_sec.c
422 libads/ldap_utils.c
423 libads/ldap_schema.c
424 libads/util.c
425 libads/ndr.c''',
426 deps='cli-ldap-common krb5samba ldap lber KRBCLIENT param LIBNMB libsmb DCUTIL smbldap',
427 private_library=True)
429 bld.SAMBA3_SUBSYSTEM('LIBADS_SERVER',
430 source='libads/authdata.c',
431 deps='SERVER_MUTEX ndr-krb5pac krb5samba gssapi')
433 bld.SAMBA3_SUBSYSTEM('LIBADS_PRINTER',
434 source='libads/ldap_printer.c',
435 deps='samba-util krb5samba')
437 bld.SAMBA3_SUBSYSTEM('LIBAFS_SETTOKEN',
438 source='lib/afs_settoken.c',
439 deps='samba-util')
441 bld.SAMBA3_SUBSYSTEM('LIBAFS',
442 source='lib/afs.c',
443 deps='samba-util LIBAFS_SETTOKEN')
445 bld.SAMBA3_LIBRARY('smbconf',
446 source='''lib/smbconf/smbconf_init.c
447 lib/smbconf/smbconf_reg.c''',
448 deps='''
449 CHARSET3
450 LIBSMBCONF
451 REG_SMBCONF
452 SAMBA_VERSION
454 charset
455 cli_smb_common
456 errors3
457 param
458 samba-util
459 smbregistry
460 talloc
461 util_reg''',
462 public_headers='../lib/smbconf/smbconf.h',
463 pc_files=[],
464 vnum='0')
466 bld.SAMBA3_LIBRARY('smbd_conn',
467 source='smbd/conn.c',
468 deps='samba3-util samba-util',
469 private_library=True)
471 bld.SAMBA3_LIBRARY('smbd_base',
472 source='''
473 smbd/server_reload.c
474 smbd/files.c
475 smbd/connection.c
476 smbd/utmp.c
477 smbd/session.c
478 smbd/dfree.c
479 smbd/dir.c
480 smbd/password.c
481 smbd/conn_msg.c
482 smbd/conn_idle.c
483 smbd/share_access.c
484 smbd/fileio.c
485 smbd/ipc.c
486 smbd/lanman.c
487 smbd/negprot.c
488 smbd/message.c
489 smbd/nttrans.c
490 smbd/pipes.c
491 smbd/reply.c
492 smbd/sesssetup.c
493 smbd/trans2.c
494 smbd/uid.c
495 smbd/dosmode.c
496 smbd/filename.c
497 smbd/open.c
498 smbd/close.c
499 smbd/blocking.c
500 smbd/sec_ctx.c
501 smbd/srvstr.c
502 smbd/vfs.c
503 smbd/perfcount.c
504 smbd/statcache.c
505 smbd/seal.c
506 smbd/posix_acls.c
507 lib/sysacls.c
508 smbd/process.c
509 smbd/service.c
510 smbd/error.c
511 printing/printspoolss.c
512 printing/spoolssd.c
513 lib/sysquotas.c
514 lib/sysquotas_linux.c
515 lib/sysquotas_xfs.c
516 lib/sysquotas_4A.c
517 lib/sysquotas_4B.c
518 lib/sysquotas_nfs.c
519 lib/background.c
520 lib/sessionid_tdb.c
521 lib/conn_tdb.c
522 smbd/fake_file.c
523 smbd/quotas.c
524 smbd/ntquotas.c
525 smbd/msdfs.c
526 smbd/aio.c smbd/statvfs.c
527 smbd/dmapi.c
528 smbd/signing.c
529 smbd/file_access.c
530 smbd/dnsregister.c smbd/globals.c
531 smbd/smb2_server.c
532 smbd/smb2_glue.c
533 smbd/smb2_negprot.c
534 smbd/smb2_sesssetup.c
535 smbd/smb2_tcon.c
536 smbd/smb2_create.c
537 smbd/smb2_close.c
538 smbd/smb2_flush.c
539 smbd/smb2_read.c
540 smbd/smb2_write.c
541 smbd/smb2_lock.c
542 smbd/smb2_ioctl.c
543 smbd/smb2_ioctl_dfs.c
544 smbd/smb2_ioctl_filesys.c
545 smbd/smb2_ioctl_named_pipe.c
546 smbd/smb2_ioctl_network_fs.c
547 smbd/smb2_keepalive.c
548 smbd/smb2_find.c
549 smbd/smb2_notify.c
550 smbd/smb2_getinfo.c
551 smbd/smb2_setinfo.c
552 smbd/smb2_break.c
553 smbd/smbXsrv_version.c
554 smbd/smbXsrv_session.c
555 smbd/smbXsrv_tcon.c
556 smbd/smbXsrv_open.c
557 smbd/server_exit.c
558 smbd/durable.c
559 smbd/scavenger.c
560 smbd/mangle.c
561 smbd/mangle_hash.c
562 smbd/mangle_hash2.c
563 smbd/oplock.c
564 smbd/oplock_irix.c
565 smbd/oplock_linux.c
566 smbd/notify.c
567 smbd/notify_inotify.c
568 smbd/notify_internal.c
569 smbd/build_options.c''',
570 deps='''
571 talloc
572 tevent
574 libsmb
575 msrpc3
577 vfs_default
578 vfs_posixacl
579 inotify
580 popt_samba3
581 samba3core
582 smbd_conn
583 param_service
584 AVAHI
585 PRINTBASE
586 PROFILE
587 LOCKING
588 LIBADS_SERVER
589 LIBAFS
590 RPC_SERVICE
591 NDR_SMBXSRV
592 LIBASYS
593 ccan-hash
594 NDR_SMB_ACL
595 netapi
596 NDR_IOCTL
597 ''' + bld.env['dmapi_lib'],
598 private_library=True)
600 bld.SAMBA3_SUBSYSTEM('LOCKING',
601 source='''locking/locking.c
602 locking/brlock.c
603 locking/posix.c
604 locking/share_mode_lock.c''',
605 deps='''
606 tdb_compat
607 talloc
608 NDR_OPEN_FILES
609 FNAME_UTIL''')
611 bld.SAMBA3_SUBSYSTEM('PROFILE',
612 source='profile/profile.c',
613 deps='samba-util')
615 bld.SAMBA3_SUBSYSTEM('PRINTBASE',
616 source='''printing/notify.c printing/printing_db.c''',
617 deps='samba-util tdb_compat')
619 bld.SAMBA3_SUBSYSTEM('PRINTBACKEND',
620 source='''printing/printing.c
621 printing/nt_printing.c
622 printing/nt_printing_tdb.c
623 printing/nt_printing_migrate_internal.c
624 printing/nt_printing_ads.c
625 printing/queue_process.c''',
626 deps='PRINTBASE LIBADS_PRINTER tdb_compat printing_migrate')
628 bld.SAMBA3_LIBRARY('printing_migrate',
629 source='printing/nt_printing_migrate.c rpc_client/cli_winreg_spoolss.c printing/nt_printing_os2.c',
630 deps='NDR_NTPRINTING cli_spoolss RPC_NDR_WINREG LIBCLI_WINREG param',
631 private_library=True)
633 bld.SAMBA3_SUBSYSTEM('PRINTING',
634 source='''printing/pcap.c
635 printing/print_svid.c
636 printing/print_aix.c
637 printing/print_cups.c
638 printing/print_generic.c
639 printing/lpq_parse.c
640 printing/load.c
641 printing/print_standard.c
642 printing/print_iprint.c
643 printing/printer_list.c''',
644 deps='NDR_PRINTCAP tdb_compat cups')
646 bld.SAMBA3_SUBSYSTEM('PASSWD_UTIL',
647 source='utils/passwd_util.c',
648 deps='samba-util')
650 bld.SAMBA3_SUBSYSTEM('FNAME_UTIL',
651 source='lib/filename_util.c',
652 deps='samba-util')
654 bld.SAMBA3_SUBSYSTEM('LIBNET',
655 source='libnet/libnet_join.c',
656 deps='NDR_LIBNET_JOIN INIT_SAMR net_keytab pdb')
658 bld.SAMBA3_LIBRARY('net_keytab',
659 source='libnet/libnet_keytab.c',
660 deps='krb5samba ads',
661 private_library=True)
664 bld.SAMBA3_SUBSYSTEM('LIBNET_DSSYNC',
665 source='''libnet/libnet_dssync.c
666 libnet/libnet_dssync_passdb.c
667 libnet/libnet_dssync_keytab.c''',
668 deps='LIBNET RPC_NDR_DRSUAPI')
670 bld.SAMBA3_SUBSYSTEM('LIBNET_SAMSYNC',
671 source='''libnet/libnet_samsync.c
672 libnet/libnet_samsync_ldif.c
673 libnet/libnet_samsync_passdb.c
674 libnet/libnet_samsync_display.c
675 libnet/libnet_samsync_keytab.c''',
676 deps='LIBNET LIBCLI_SAMSYNC')
678 bld.SAMBA3_SUBSYSTEM('LIBEVENTLOG',
679 source='lib/eventlog/eventlog.c',
680 deps='NDR_EVENTLOG tdb_compat')
682 bld.SAMBA3_SUBSYSTEM('LIBNMB',
683 source='''libsmb/unexpected.c
684 libsmb/namecache.c
685 libsmb/nmblib.c
686 libsmb/namequery.c
687 libsmb/conncache.c
688 libads/sitename_cache.c''',
689 deps='addns lmhosts resolv')
691 bld.SAMBA3_SUBSYSTEM('SERVICES',
692 source='''services/svc_spoolss.c
693 services/svc_rcinit.c
694 services/svc_winreg_glue.c
695 services/svc_netlogon.c
696 services/svc_winreg.c
697 services/svc_wins.c''',
698 deps='samba-util')
700 bld.SAMBA3_SUBSYSTEM('PLAINTEXT_AUTH',
701 source='''auth/pampass.c auth/pass_check.c''',
702 deps='pam PAM_ERRORS')
704 bld.SAMBA3_SUBSYSTEM('PASSCHANGE',
705 source='libsmb/passchange.c',
706 deps='''LIBCLI_SAMR
707 INIT_LSA
708 msrpc3
709 krb5samba''')
711 bld.SAMBA3_SUBSYSTEM('SAMBA_VERSION',
712 source='lib/version.c',
713 deps='samba-util')
715 bld.SAMBA3_SUBSYSTEM('SLCACHE',
716 source='libsmb/samlogon_cache.c',
717 deps='samba-util tdb_compat')
719 bld.SAMBA3_SUBSYSTEM('DCUTIL',
720 source='''libsmb/namequery_dc.c
721 libsmb/trustdom_cache.c
722 libsmb/dsgetdcname.c''',
723 deps='ads msrpc3 libcli_lsa3')
725 bld.SAMBA3_LIBRARY('trusts_util',
726 source='libsmb/trusts_util.c',
727 deps='libcli_netlogon3 msrpc3 pdb',
728 private_library=True)
730 bld.SAMBA3_SUBSYSTEM('tdb-wrap3',
731 source='lib/util_tdb.c',
732 deps='talloc samba3-util')
734 bld.SAMBA3_LIBRARY('samba3-util',
735 source='''lib/util_sec.c lib/util_str.c lib/adt_tree.c lib/util_malloc.c lib/memcache.c lib/namearray.c lib/file_id.c''',
736 deps='samba-util charset',
737 private_library=True)
739 bld.SAMBA_LIBRARY('xattr_tdb',
740 source='lib/xattr_tdb.c',
741 deps='NDR_XATTR dbwrap samba3-util',
742 private_library=True)
744 bld.SAMBA3_LIBRARY('CHARSET3',
745 source='''lib/charcnv.c lib/fstring.c''',
746 public_deps='ICONV_WRAPPER charset',
747 deps='samba-util samba3-util',
748 private_library=True)
750 bld.SAMBA3_SUBSYSTEM('errors3',
751 source='libsmb/errormap.c libsmb/smberr.c lib/errmap_unix.c',
752 deps='errors')
754 bld.SAMBA3_SUBSYSTEM('LIBCLI_SAMR',
755 source='rpc_client/cli_samr.c',
756 deps='RPC_NDR_SAMR')
758 bld.SAMBA3_LIBRARY('libcli_lsa3',
759 source='rpc_client/cli_lsarpc.c',
760 deps='RPC_NDR_LSA INIT_LSA',
761 private_library=True)
763 bld.SAMBA3_LIBRARY('libcli_netlogon3',
764 source='rpc_client/cli_netlogon.c rpc_client/util_netlogon.c',
765 deps='msrpc3 RPC_NDR_NETLOGON INIT_NETLOGON cliauth param NETLOGON_CREDS_CLI',
766 private_library=True)
768 bld.SAMBA3_LIBRARY('cli_spoolss',
769 source='''rpc_client/cli_spoolss.c
770 rpc_client/init_spoolss.c''',
771 deps='RPC_NDR_SPOOLSS param secrets3',
772 private_library=True)
774 bld.SAMBA3_SUBSYSTEM('LIBCLI_WINREG',
775 source='rpc_client/cli_winreg.c',
776 deps='RPC_NDR_WINREG')
778 bld.SAMBA3_SUBSYSTEM('LIBCLI_WINREG_INTERNAL',
779 source='rpc_client/cli_winreg_int.c',
780 deps='LIBCLI_WINREG RPC_SERVER')
782 bld.SAMBA3_SUBSYSTEM('RPC_CLIENT_SCHANNEL',
783 source='rpc_client/cli_pipe_schannel.c',
784 deps='samba-util krb5samba')
786 bld.SAMBA3_SUBSYSTEM('INIT_LSA',
787 source='rpc_client/init_lsa.c',
788 deps='samba-util')
790 bld.SAMBA3_SUBSYSTEM('INIT_NETLOGON',
791 source='rpc_client/init_netlogon.c',
792 deps='samba-util')
794 bld.SAMBA3_SUBSYSTEM('INIT_SAMR',
795 source='rpc_client/init_samr.c',
796 deps='samba-util')
798 ########################## BINARIES #################################
800 bld.SAMBA3_BINARY('smbd/smbd',
801 source='smbd/server.c',
802 deps='smbd_base EPMD LSASD',
803 install_path='${SBINDIR}')
805 bld.SAMBA3_BINARY('nmbd/nmbd',
806 source='''nmbd/asyncdns.c nmbd/nmbd.c nmbd/nmbd_become_dmb.c
807 nmbd/nmbd_become_lmb.c nmbd/nmbd_browserdb.c
808 nmbd/nmbd_browsesync.c nmbd/nmbd_elections.c
809 nmbd/nmbd_incomingdgrams.c nmbd/nmbd_incomingrequests.c
810 nmbd/nmbd_lmhosts.c nmbd/nmbd_logonnames.c nmbd/nmbd_mynames.c
811 nmbd/nmbd_namelistdb.c nmbd/nmbd_namequery.c
812 nmbd/nmbd_nameregister.c nmbd/nmbd_namerelease.c
813 nmbd/nmbd_nodestatus.c nmbd/nmbd_packets.c
814 nmbd/nmbd_processlogon.c nmbd/nmbd_responserecordsdb.c
815 nmbd/nmbd_sendannounce.c nmbd/nmbd_serverlistdb.c
816 nmbd/nmbd_subnetdb.c nmbd/nmbd_winsproxy.c nmbd/nmbd_winsserver.c
817 nmbd/nmbd_workgroupdb.c nmbd/nmbd_synclists.c''',
818 deps='''
819 talloc
820 tevent
821 param
822 libsmb
823 popt_samba3
824 PROFILE''',
825 install_path='${SBINDIR}')
828 bld.SAMBA3_SUBSYSTEM('TDB_VALIDATE',
829 source='lib/tdb_validate.c',
830 deps='samba-util')
833 bld.SAMBA3_BINARY('winbindd/winbindd',
834 source='''winbindd/winbindd.c
835 winbindd/winbindd_group.c
836 winbindd/winbindd_util.c
837 winbindd/winbindd_cache.c
838 winbindd/winbindd_pam.c
839 winbindd/winbindd_misc.c
840 winbindd/winbindd_cm.c
841 winbindd/winbindd_wins_byip.c
842 winbindd/winbindd_wins_byname.c
843 winbindd/winbindd_msrpc.c
844 winbindd/winbindd_rpc.c
845 winbindd/winbindd_reconnect.c
846 winbindd/winbindd_ads.c
847 winbindd/winbindd_samr.c
848 winbindd/winbindd_dual.c
849 winbindd/winbindd_dual_ndr.c
850 winbindd/winbindd_dual_srv.c
851 winbindd/winbindd_async.c
852 winbindd/winbindd_creds.c
853 winbindd/winbindd_cred_cache.c
854 winbindd/winbindd_ccache_access.c
855 winbindd/winbindd_domain.c
856 winbindd/winbindd_idmap.c
857 winbindd/winbindd_locator.c
858 winbindd/winbindd_ndr.c
859 winbindd/wb_ping.c
860 winbindd/wb_lookupsid.c
861 winbindd/wb_lookupsids.c
862 winbindd/wb_lookupname.c
863 winbindd/wb_uid2sid.c
864 winbindd/wb_gid2sid.c
865 winbindd/wb_sids2xids.c
866 winbindd/wb_queryuser.c
867 winbindd/wb_lookupuseraliases.c
868 winbindd/wb_lookupusergroups.c
869 winbindd/wb_getpwsid.c
870 winbindd/wb_gettoken.c
871 winbindd/wb_seqnum.c
872 winbindd/wb_seqnums.c
873 winbindd/wb_group_members.c
874 winbindd/wb_getgrsid.c
875 winbindd/wb_query_user_list.c
876 winbindd/wb_fill_pwent.c
877 winbindd/wb_next_pwent.c
878 winbindd/wb_next_grent.c
879 winbindd/wb_dsgetdcname.c
880 winbindd/winbindd_lookupsid.c
881 winbindd/winbindd_lookupsids.c
882 winbindd/winbindd_lookupname.c
883 winbindd/winbindd_sid_to_uid.c
884 winbindd/winbindd_sid_to_gid.c
885 winbindd/winbindd_uid_to_sid.c
886 winbindd/winbindd_gid_to_sid.c
887 winbindd/winbindd_sids_to_xids.c
888 winbindd/winbindd_allocate_uid.c
889 winbindd/winbindd_allocate_gid.c
890 winbindd/winbindd_getpwsid.c
891 winbindd/winbindd_getpwnam.c
892 winbindd/winbindd_getpwuid.c
893 winbindd/winbindd_getsidaliases.c
894 winbindd/winbindd_getuserdomgroups.c
895 winbindd/winbindd_getgroups.c
896 winbindd/winbindd_show_sequence.c
897 winbindd/winbindd_getgrgid.c
898 winbindd/winbindd_getgrnam.c
899 winbindd/winbindd_getusersids.c
900 winbindd/winbindd_lookuprids.c
901 winbindd/winbindd_setpwent.c
902 winbindd/winbindd_getpwent.c
903 winbindd/winbindd_endpwent.c
904 winbindd/winbindd_setgrent.c
905 winbindd/winbindd_getgrent.c
906 winbindd/winbindd_endgrent.c
907 winbindd/winbindd_dsgetdcname.c
908 winbindd/winbindd_getdcname.c
909 winbindd/winbindd_list_users.c
910 winbindd/winbindd_list_groups.c
911 winbindd/winbindd_check_machine_acct.c
912 winbindd/winbindd_change_machine_acct.c
913 winbindd/winbindd_ping_dc.c
914 winbindd/winbindd_pam_auth.c
915 winbindd/winbindd_pam_logoff.c
916 winbindd/winbindd_pam_chauthtok.c
917 winbindd/winbindd_pam_auth_crap.c
918 winbindd/winbindd_pam_chng_pswd_auth_crap.c''',
919 deps='''
920 talloc
921 tevent
923 popt_samba3
924 idmap
926 msrpc3
927 nss_info
928 LIBAFS
929 LIBADS_SERVER
930 LIBCLI_SAMR
931 SLCACHE
932 RPC_NDR_DSSETUP
933 RPC_NDR_WBINT
934 SRV_NDR_WBINT
935 RPC_SAMR
936 RPC_LSARPC
937 RPC_SERVER
938 WB_REQTRANS
939 TDB_VALIDATE
940 ''',
941 enabled=bld.env.build_winbind,
942 install_path='${SBINDIR}')
944 bld.SAMBA3_BINARY('rpcclient/rpcclient',
945 source='''rpcclient/rpcclient.c
946 rpcclient/cmd_lsarpc.c
947 rpcclient/cmd_samr.c
948 rpcclient/cmd_spoolss.c
949 rpcclient/cmd_netlogon.c
950 rpcclient/cmd_srvsvc.c
951 rpcclient/cmd_dfs.c
952 rpcclient/cmd_epmapper.c
953 rpcclient/cmd_dssetup.c
954 rpcclient/cmd_echo.c
955 rpcclient/cmd_shutdown.c
956 rpcclient/cmd_test.c
957 rpcclient/cmd_wkssvc.c
958 rpcclient/cmd_ntsvcs.c
959 rpcclient/cmd_drsuapi.c
960 rpcclient/cmd_eventlog.c
961 rpcclient/cmd_winreg.c
962 rpcclient/cmd_fss.c''',
963 deps='''
964 talloc
965 popt_samba3
967 libsmb
968 param
969 ndr-standard
970 msrpc3
971 SMBREADLINE
972 trusts_util
973 RPC_NDR_WINREG
974 RPC_NDR_ECHO
975 RPC_CLIENT_SCHANNEL
976 DCUTIL
977 LIBCLI_SAMR
978 libcli_lsa3
979 libcli_netlogon3
980 cli_spoolss
981 RPC_NDR_SRVSVC
982 RPC_NDR_WKSSVC
983 RPC_NDR_DSSETUP
984 RPC_NDR_DFS
985 RPC_NDR_DRSUAPI
986 RPC_NDR_NTSVCS
987 RPC_NDR_EVENTLOG
988 INIT_SAMR
989 RPC_NDR_FSRVP
990 ''')
992 bld.SAMBA3_BINARY('client/smbclient',
993 source='''client/client.c
994 client/clitar.c
995 client/dnsbrowse.c''',
996 deps='''
997 talloc
998 popt_samba3
999 param
1000 ndr-standard
1001 SMBREADLINE
1002 libsmb
1003 msrpc3
1004 RPC_NDR_SRVSVC
1005 cli_smb_common''')
1007 bld.SAMBA3_BINARY('net',
1008 source='''utils/net.c
1009 utils/net_ads.c
1010 utils/net_help.c
1011 utils/net_rap.c
1012 utils/net_rpc.c
1013 utils/net_rpc_samsync.c
1014 utils/net_time.c
1015 utils/net_lookup.c
1016 utils/net_cache.c
1017 utils/net_groupmap.c
1018 utils/net_idmap.c
1019 utils/net_idmap_check.c
1020 utils/interact.c
1021 utils/net_status.c
1022 utils/net_rpc_printer.c
1023 utils/net_rpc_rights.c
1024 utils/net_rpc_service.c
1025 utils/net_rpc_registry.c
1026 utils/net_usershare.c
1027 utils/netlookup.c
1028 utils/net_sam.c
1029 utils/net_rpc_shell.c
1030 utils/net_util.c
1031 utils/net_rpc_sh_acct.c
1032 utils/net_rpc_audit.c
1033 utils/net_dns.c
1034 utils/net_ads_gpo.c
1035 utils/net_conf.c
1036 utils/net_conf_util.c
1037 utils/net_join.c
1038 utils/net_user.c
1039 utils/net_group.c
1040 utils/net_file.c
1041 utils/net_registry.c
1042 utils/net_registry_check.c
1043 utils/net_dom.c
1044 utils/net_share.c
1045 utils/net_g_lock.c
1046 utils/net_serverid.c
1047 utils/net_eventlog.c
1048 utils/net_printing.c
1049 utils/net_rpc_trust.c
1050 utils/net_rpc_conf.c
1051 registry/reg_parse.c
1052 registry/reg_format.c
1053 registry/reg_import.c
1054 utils/net_registry_util.c
1055 utils/net_help_common.c''',
1056 deps='''
1057 talloc
1058 netapi
1059 addns
1060 samba_intl
1061 popt_samba3
1063 libsmb
1064 param
1065 KRBCLIENT
1066 ndr-standard
1067 msrpc3
1070 smbd_base
1071 LIBADS_SERVER
1072 LIBADS_PRINTER
1073 SMBREADLINE
1074 PASSWD_UTIL
1075 LIBNET
1076 LIBNET_DSSYNC
1077 LIBNET_SAMSYNC
1078 LIBEVENTLOG
1079 REGFIO
1080 NDR_NTPRINTING
1081 RPC_NDR_WINREG
1082 RPC_CLIENT_SCHANNEL
1083 LIBCLI_SAMR
1084 libcli_lsa3
1085 libcli_netlogon3
1086 cli_spoolss
1087 RPC_NDR_SRVSVC
1088 RPC_NDR_SVCCTL
1089 RPC_NDR_DSSETUP
1090 RPC_NDR_INITSHUTDOWN
1091 printing_migrate
1092 trusts_util
1093 IDMAP_AUTORID_TDB''')
1095 bld.SAMBA3_BINARY('profiles',
1096 source='utils/profiles.c',
1097 deps='''
1098 talloc
1099 popt_samba3
1100 param
1101 REGFIO''')
1103 bld.SAMBA3_BINARY('smbspool',
1104 source='client/smbspool.c',
1105 deps='''
1106 talloc
1107 popt_samba3
1108 param
1109 libsmb
1110 samba3core''')
1112 bld.SAMBA3_BINARY('testparm',
1113 source='utils/testparm.c',
1114 deps='''
1115 talloc
1116 param
1117 popt_samba3''')
1119 bld.SAMBA3_BINARY('smbta-util',
1120 source='utils/smbta-util.c',
1121 deps='''
1122 talloc
1123 secrets3
1124 param''')
1126 bld.SAMBA3_BINARY('smbstatus',
1127 source='''utils/status.c
1128 utils/status_profile.c
1129 smbd/notify_internal.c''',
1130 deps='''
1131 talloc
1132 param
1133 popt_samba3
1134 smbd_base
1135 LOCKING
1136 PROFILE''')
1138 bld.SAMBA3_BINARY('smbcontrol',
1139 source='utils/smbcontrol.c',
1140 deps='''
1141 talloc
1142 param
1143 popt_samba3
1144 PRINTBASE''')
1146 bld.SAMBA3_BINARY('smbtree',
1147 source='utils/smbtree.c',
1148 deps='''
1149 talloc
1150 param
1151 libsmb
1152 msrpc3
1153 popt_samba3
1154 PROFILE
1155 RPC_NDR_SRVSVC''')
1157 bld.SAMBA3_BINARY('smbpasswd',
1158 source='utils/smbpasswd.c',
1159 deps='''
1160 talloc
1161 param
1163 PASSWD_UTIL
1164 PASSCHANGE''')
1166 bld.SAMBA3_BINARY('pdbedit',
1167 source='utils/pdbedit.c',
1168 deps='''
1169 talloc
1170 param
1171 popt_samba3
1173 PASSWD_UTIL''')
1175 bld.SAMBA3_BINARY('smbget',
1176 source='utils/smbget.c',
1177 deps='''
1178 talloc
1179 popt_samba3
1180 smbclient''')
1182 bld.SAMBA3_BINARY('nmblookup',
1183 source='utils/nmblookup.c',
1184 deps='''
1185 talloc
1186 param
1187 popt_samba3
1188 LIBNMB''')
1190 bld.SAMBA3_BINARY('smbtorture' + bld.env.suffix3,
1191 source='''torture/torture.c
1192 torture/nbio.c
1193 torture/scanner.c
1194 torture/utable.c
1195 torture/denytest.c
1196 torture/mangle_test.c
1197 torture/nbench.c
1198 torture/test_async_echo.c
1199 torture/test_addrchange.c
1200 torture/test_posix_append.c
1201 torture/test_nttrans_create.c
1202 torture/test_nttrans_fsctl.c
1203 torture/test_case_insensitive.c
1204 torture/test_notify_online.c
1205 torture/test_chain3.c
1206 torture/test_smb2.c
1207 torture/test_authinfo_structs.c
1208 torture/test_smbsock_any_connect.c
1209 torture/test_cleanup.c
1210 torture/test_ctdbconn.c
1211 torture/test_notify.c
1212 lib/tevent_barrier.c
1213 torture/test_dbwrap_watch.c
1214 torture/test_idmap_tdb_common.c
1215 torture/test_dbwrap_ctdb.c
1216 torture/test_buffersize.c
1217 torture/t_strappend.c
1218 torture/wbc_async.c''',
1219 deps='''
1220 talloc
1221 param
1222 libsmb
1223 msrpc3
1224 TLDAP
1225 RPC_NDR_ECHO
1226 WB_REQTRANS
1227 LOCKING
1228 NDR_OPEN_FILES
1229 idmap
1230 ''',
1231 install=False)
1233 bld.SAMBA3_BINARY('smbconftort',
1234 source='lib/smbconf/testsuite.c',
1235 deps='''
1236 talloc
1237 param
1238 popt_samba3''',
1239 install=False)
1241 bld.SAMBA3_BINARY('replacetort',
1242 source='../lib/replace/test/main.c',
1243 deps='replace replace-test',
1244 install=False)
1246 bld.SAMBA3_BINARY('msgtest',
1247 source='torture/msgtest.c',
1248 deps='''
1249 talloc
1250 param''',
1251 install=False)
1253 bld.SAMBA3_BINARY('smbcacls',
1254 source='utils/smbcacls.c',
1255 deps='''
1256 talloc
1257 popt_samba3
1258 msrpc3
1259 libcli_lsa3
1260 krb5samba''')
1262 bld.SAMBA3_BINARY('smbcquotas',
1263 source='utils/smbcquotas.c',
1264 deps='''
1265 talloc
1266 popt_samba3
1267 libsmb
1268 msrpc3
1269 libcli_lsa3''')
1271 bld.SAMBA3_BINARY('eventlogadm',
1272 source='utils/eventlogadm.c',
1273 deps='''
1274 talloc
1275 param
1276 LIBEVENTLOG''')
1278 bld.SAMBA3_BINARY('sharesec',
1279 source='utils/sharesec.c',
1280 deps='''
1281 talloc
1282 popt_samba3''')
1284 bld.SAMBA3_BINARY('pdbtest',
1285 source='torture/pdbtest.c',
1286 deps='''
1287 talloc
1289 popt_samba3
1290 AUTH_COMMON
1291 auth''',
1292 install=False)
1294 bld.SAMBA3_BINARY('vfstest',
1295 source='''torture/cmd_vfs.c
1296 torture/vfstest.c
1297 torture/vfstest_chain.c''',
1298 deps='''
1300 popt_samba3
1301 SMBREADLINE''',
1302 install=False)
1304 bld.SAMBA3_BINARY('log2pcap',
1305 source='utils/log2pcaphex.c',
1306 deps='''talloc popt''',
1307 install=False)
1309 bld.SAMBA3_BINARY('locktest2',
1310 source='torture/locktest2.c',
1311 deps='''
1312 talloc
1313 param
1314 libsmb
1315 LOCKING''',
1316 install=False)
1318 bld.SAMBA3_BINARY('debug2html',
1319 source='''utils/debug2html.c utils/debugparse.c''',
1320 deps='''talloc popt''',
1321 install=False)
1323 bld.SAMBA3_BINARY('smbfilter',
1324 source='utils/smbfilter.c',
1325 deps='''
1326 talloc
1327 param
1328 LIBNMB''',
1329 install=False)
1331 bld.SAMBA3_BINARY('versiontest',
1332 source='lib/version_test.c',
1333 deps='''
1334 SAMBA_VERSION
1335 param''',
1336 install=False)
1338 bld.SAMBA3_BINARY('ntlm_auth',
1339 source='''utils/ntlm_auth.c utils/ntlm_auth_diagnostics.c''',
1340 deps='''
1341 talloc
1342 krb5samba
1343 iniparser
1344 libsmb
1345 popt_samba3
1346 LIBNTLMSSP gse gensec''')
1348 bld.SAMBA3_BINARY('timelimit',
1349 source='script/tests/timelimit.c',
1350 install=False)
1352 bld.SAMBA3_BINARY('rpc_open_tcp',
1353 source='torture/rpc_open_tcp.c',
1354 deps='''
1355 talloc
1356 msrpc3''',
1357 install=False)
1359 bld.SAMBA3_BINARY('dbwrap_tool',
1360 source='utils/dbwrap_tool.c',
1361 deps='''
1362 talloc
1363 popt_samba3''')
1365 bld.SAMBA3_BINARY('dbwrap_torture',
1366 source='utils/dbwrap_torture.c',
1367 deps='''
1368 talloc
1369 popt_samba3''',
1370 install=False)
1372 bld.SAMBA3_BINARY('split_tokens',
1373 source='utils/split_tokens.c',
1374 deps='''
1375 talloc
1376 popt_samba3''',
1377 install=False)
1379 bld.SAMBA3_BINARY('vlp',
1380 source='printing/tests/vlp.c',
1381 deps='''
1382 talloc
1383 param''',
1384 install=False)
1386 bld.SAMBA3_PYTHON('pysmbd',
1387 source='smbd/pysmbd.c',
1388 deps='smbd_base pyrpc_util',
1389 realname='samba/samba3/smbd.so'
1392 bld.SAMBA3_PYTHON('pylibsmb',
1393 source='libsmb/pylibsmb.c',
1394 deps='smbclient samba-credentials',
1395 realname='samba/samba3/libsmb_samba_internal.so'
1398 bld.SAMBA3_BINARY('samba-regedit',
1399 source="""utils/regedit.c utils/regedit_samba3.c
1400 utils/regedit_wrap.c utils/regedit_treeview.c
1401 utils/regedit_valuelist.c utils/regedit_dialog.c
1402 utils/regedit_hexedit.c""",
1403 deps='ncurses menu panel form registry param popt_samba3 smbregistry',
1404 enabled=bld.env.build_regedit)
1406 ########################## INCLUDES #################################
1408 bld.RECURSE('auth')
1409 bld.RECURSE('libgpo/gpext')
1410 bld.RECURSE('lib/pthreadpool')
1411 bld.RECURSE('lib/asys')
1412 bld.RECURSE('librpc')
1413 bld.RECURSE('librpc/idl')
1414 bld.RECURSE('libsmb')
1415 bld.RECURSE('modules')
1416 bld.RECURSE('pam_smbpass')
1417 bld.RECURSE('param')
1418 bld.RECURSE('passdb')
1419 bld.RECURSE('rpc_server')
1420 bld.RECURSE('script')
1421 bld.RECURSE('winbindd')
1422 bld.RECURSE('../examples/auth')
1423 bld.RECURSE('../examples/libsmbclient')
1424 bld.RECURSE('../examples/pdb')
1425 bld.RECURSE('../examples/VFS')
1426 bld.RECURSE('lib/netapi/tests')
1427 bld.RECURSE('lib/netapi/examples')
1429 bld.ENFORCE_GROUP_ORDERING()
1430 bld.CHECK_PROJECT_RULES()