smbd: Invalidate the session correctly.
[Samba/wip.git] / source3 / wscript_build
blobd3eed3c164714961b87d694e1e0a940b3d87cc02
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
88 ndr-table''',
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/msg_channel.c
290 lib/id_cache.c
291 lib/talloc_dict.c
292 lib/serverid.c
293 lib/addrchange.c
294 ../lib/util/debug_s3.c
295 lib/dumpcore.c
296 lib/interface.c
297 lib/username.c
298 lib/access.c lib/smbrun.c
299 lib/wins_srv.c
300 lib/substitute.c
301 lib/substitute_generic.c
302 lib/ms_fnmatch.c
303 lib/tallocmsg.c
304 lib/dmallocmsg.c
305 intl/lang_tdb.c
306 lib/gencache.c
307 lib/events.c
308 lib/server_contexts.c
309 lib/server_prefork.c
310 lib/server_prefork_util.c
311 lib/ldap_escape.c
312 lib/fncall.c
313 libads/krb5_errs.c
314 lib/system_smbd.c
315 lib/audit.c
316 lib/tevent_wait.c
317 lib/idmap_cache.c
318 lib/util_ea.c''',
319 deps='''
320 samba3util
321 LIBTSOCKET
322 NDR_MESSAGING
323 LIBASYNC_REQ
324 UTIL_PW
325 SAMBA_VERSION
326 PTHREADPOOL
327 interfaces
328 param
329 dbwrap
330 samba3-util
331 errors3
332 TDB_LIB''')
334 bld.SAMBA3_LIBRARY('smbd_shim',
335 source='''lib/smbd_shim.c''',
336 deps='talloc',
337 private_library=True)
339 bld.SAMBA3_SUBSYSTEM('LIBNTLMSSP',
340 source='''libsmb/ntlmssp.c
341 libsmb/ntlmssp_wrap.c''',
342 deps='NDR_NTLMSSP NTLMSSP_COMMON wbclient')
344 bld.SAMBA3_SUBSYSTEM('auth_generic',
345 source='libsmb/auth_generic.c',
346 deps='LIBNTLMSSP gse gensec')
348 bld.SAMBA3_LIBRARY('libsmb',
349 source='''libsmb/clientgen.c
350 libsmb/cliconnect.c
351 libsmb/clifile.c
352 libsmb/clispnego.c
353 libsmb/clirap.c
354 libsmb/clierror.c
355 libsmb/climessage.c
356 libsmb/clireadwrite.c
357 libsmb/clilist.c
358 libsmb/cliprint.c
359 libsmb/clitrans.c
360 libsmb/clisecdesc.c
361 libsmb/clidgram.c
362 libsmb/clistr.c
363 libsmb/cliquota.c
364 libsmb/clifsinfo.c
365 libsmb/clidfs.c
366 libsmb/clioplock.c
367 libsmb/clirap2.c
368 libsmb/async_smb.c
369 libsmb/smb2cli_tcon.c
370 libsmb/cli_np_tstream.c
371 libsmb/reparse_symlink.c
372 libsmb/clisymlink.c
373 libsmb/smbsock_connect.c
374 libsmb/cli_smb2_fnum.c''',
375 deps='''
376 LIBNTLMSSP
377 auth_generic
378 CLDAP
379 LIBNMB
380 SPNEGO_PARSE
381 LIBTSOCKET
382 KRBCLIENT
383 cli_smb_common
384 util_cmdline
385 tevent''',
386 private_library=True)
388 bld.SAMBA3_SUBSYSTEM('CLDAP',
389 source='libads/cldap.c',
390 deps='cli-ldap-common cli_cldap LIBTSOCKET')
392 # NOTE: The secrets3 library is a low level library used by several subsystems.
393 # PLEASE DO NOT make it depend on high level libraries like PDB, if you are
394 # doing that your design is wrong and needs changing. -SSS
395 bld.SAMBA3_LIBRARY('secrets3',
396 source='''passdb/secrets.c
397 passdb/machine_account_secrets.c
398 passdb/machine_sid.c
399 passdb/secrets_lsa.c''',
400 deps='NDR_SECRETS param samba3util dbwrap',
401 private_library=True)
403 bld.SAMBA3_LIBRARY('smbldap',
404 source='lib/smbldap.c',
405 deps='ldap lber samba-util param',
406 enabled=bld.CONFIG_SET("HAVE_LDAP"),
407 private_library=False,
408 abi_directory='lib/ABI',
409 abi_match='smbldap_*',
410 pc_files=[],
411 vnum='0',
412 public_headers='include/smbldap.h include/smb_ldap.h')
414 bld.SAMBA3_LIBRARY('ads',
415 source='''libads/ldap.c
416 libads/sasl.c
417 libads/sasl_wrapping.c
418 libads/krb5_setpw.c
419 libads/kerberos_util.c
420 libads/ldap_user.c
421 libads/ads_struct.c
422 libads/kerberos_keytab.c
423 libads/disp_sec.c
424 libads/ldap_utils.c
425 libads/ldap_schema.c
426 libads/util.c
427 libads/ndr.c''',
428 deps='cli-ldap-common krb5samba ldap lber KRBCLIENT param LIBNMB libsmb DCUTIL smbldap',
429 private_library=True)
431 bld.SAMBA3_SUBSYSTEM('LIBADS_SERVER',
432 source='libads/authdata.c',
433 deps='SERVER_MUTEX ndr-krb5pac krb5samba gssapi')
435 bld.SAMBA3_SUBSYSTEM('LIBADS_PRINTER',
436 source='libads/ldap_printer.c',
437 deps='samba-util krb5samba')
439 bld.SAMBA3_SUBSYSTEM('LIBAFS_SETTOKEN',
440 source='lib/afs_settoken.c',
441 deps='samba-util')
443 bld.SAMBA3_SUBSYSTEM('LIBAFS',
444 source='lib/afs.c',
445 deps='samba-util LIBAFS_SETTOKEN')
447 bld.SAMBA3_LIBRARY('smbconf',
448 source='''lib/smbconf/smbconf_init.c
449 lib/smbconf/smbconf_reg.c''',
450 deps='''
451 CHARSET3
452 LIBSMBCONF
453 REG_SMBCONF
454 SAMBA_VERSION
456 charset
457 cli_smb_common
458 errors3
459 param
460 samba-util
461 smbregistry
462 talloc
463 util_reg''',
464 public_headers='../lib/smbconf/smbconf.h',
465 pc_files=[],
466 vnum='0')
468 bld.SAMBA3_LIBRARY('smbd_conn',
469 source='smbd/conn.c',
470 deps='samba3-util samba-util',
471 private_library=True)
473 bld.SAMBA3_LIBRARY('smbd_base',
474 source='''
475 smbd/server_reload.c
476 smbd/files.c
477 smbd/connection.c
478 smbd/utmp.c
479 smbd/session.c
480 smbd/dfree.c
481 smbd/dir.c
482 smbd/password.c
483 smbd/conn_msg.c
484 smbd/conn_idle.c
485 smbd/share_access.c
486 smbd/fileio.c
487 smbd/ipc.c
488 smbd/lanman.c
489 smbd/negprot.c
490 smbd/message.c
491 smbd/nttrans.c
492 smbd/pipes.c
493 smbd/reply.c
494 smbd/sesssetup.c
495 smbd/trans2.c
496 smbd/uid.c
497 smbd/dosmode.c
498 smbd/filename.c
499 smbd/open.c
500 smbd/close.c
501 smbd/blocking.c
502 smbd/sec_ctx.c
503 smbd/srvstr.c
504 smbd/vfs.c
505 smbd/perfcount.c
506 smbd/statcache.c
507 smbd/seal.c
508 smbd/posix_acls.c
509 lib/sysacls.c
510 smbd/process.c
511 smbd/service.c
512 smbd/error.c
513 printing/printspoolss.c
514 printing/spoolssd.c
515 lib/sysquotas.c
516 lib/sysquotas_linux.c
517 lib/sysquotas_xfs.c
518 lib/sysquotas_4A.c
519 lib/sysquotas_4B.c
520 lib/sysquotas_nfs.c
521 lib/background.c
522 lib/sessionid_tdb.c
523 lib/conn_tdb.c
524 smbd/fake_file.c
525 smbd/quotas.c
526 smbd/ntquotas.c
527 smbd/msdfs.c
528 smbd/aio.c smbd/statvfs.c
529 smbd/dmapi.c
530 smbd/signing.c
531 smbd/file_access.c
532 smbd/dnsregister.c smbd/globals.c
533 smbd/smb2_server.c
534 smbd/smb2_glue.c
535 smbd/smb2_negprot.c
536 smbd/smb2_sesssetup.c
537 smbd/smb2_tcon.c
538 smbd/smb2_create.c
539 smbd/smb2_close.c
540 smbd/smb2_flush.c
541 smbd/smb2_read.c
542 smbd/smb2_write.c
543 smbd/smb2_lock.c
544 smbd/smb2_ioctl.c
545 smbd/smb2_ioctl_dfs.c
546 smbd/smb2_ioctl_filesys.c
547 smbd/smb2_ioctl_named_pipe.c
548 smbd/smb2_ioctl_network_fs.c
549 smbd/smb2_keepalive.c
550 smbd/smb2_find.c
551 smbd/smb2_notify.c
552 smbd/smb2_getinfo.c
553 smbd/smb2_setinfo.c
554 smbd/smb2_break.c
555 smbd/smbXsrv_version.c
556 smbd/smbXsrv_session.c
557 smbd/smbXsrv_tcon.c
558 smbd/smbXsrv_open.c
559 smbd/server_exit.c
560 smbd/durable.c
561 smbd/scavenger.c
562 smbd/mangle.c
563 smbd/mangle_hash.c
564 smbd/mangle_hash2.c
565 smbd/oplock.c
566 smbd/oplock_irix.c
567 smbd/oplock_linux.c
568 smbd/notify.c
569 smbd/notify_inotify.c
570 smbd/notify_internal.c
571 smbd/build_options.c''',
572 deps='''
573 talloc
574 tevent
576 libsmb
577 msrpc3
579 vfs_default
580 vfs_posixacl
581 popt_samba3
582 samba3core
583 smbd_conn
584 param_service
585 AVAHI
586 PRINTBASE
587 PROFILE
588 LOCKING
589 LIBADS_SERVER
590 LIBAFS
591 RPC_SERVICE
592 NDR_SMBXSRV
593 LIBASYS
594 ccan-hash
595 NDR_SMB_ACL
596 netapi
597 NDR_IOCTL
598 ''' + bld.env['dmapi_lib'],
599 private_library=True)
601 bld.SAMBA3_SUBSYSTEM('LOCKING',
602 source='''locking/locking.c
603 locking/brlock.c
604 locking/posix.c
605 locking/share_mode_lock.c''',
606 deps='''
607 tdb_compat
608 talloc
609 NDR_OPEN_FILES
610 FNAME_UTIL''')
612 bld.SAMBA3_SUBSYSTEM('PROFILE',
613 source='profile/profile.c',
614 deps='samba-util')
616 bld.SAMBA3_SUBSYSTEM('PRINTBASE',
617 source='''printing/notify.c printing/printing_db.c''',
618 deps='samba-util tdb_compat')
620 bld.SAMBA3_SUBSYSTEM('PRINTBACKEND',
621 source='''printing/printing.c
622 printing/nt_printing.c
623 printing/nt_printing_tdb.c
624 printing/nt_printing_migrate_internal.c
625 printing/nt_printing_ads.c
626 printing/queue_process.c''',
627 deps='PRINTBASE LIBADS_PRINTER tdb_compat printing_migrate')
629 bld.SAMBA3_LIBRARY('printing_migrate',
630 source='printing/nt_printing_migrate.c rpc_client/cli_winreg_spoolss.c printing/nt_printing_os2.c',
631 deps='NDR_NTPRINTING cli_spoolss RPC_NDR_WINREG LIBCLI_WINREG param',
632 private_library=True)
634 bld.SAMBA3_SUBSYSTEM('PRINTING',
635 source='''printing/pcap.c
636 printing/print_svid.c
637 printing/print_aix.c
638 printing/print_cups.c
639 printing/print_generic.c
640 printing/lpq_parse.c
641 printing/load.c
642 printing/print_standard.c
643 printing/print_iprint.c
644 printing/printer_list.c''',
645 deps='NDR_PRINTCAP tdb_compat cups')
647 bld.SAMBA3_SUBSYSTEM('PASSWD_UTIL',
648 source='utils/passwd_util.c',
649 deps='samba-util')
651 bld.SAMBA3_SUBSYSTEM('FNAME_UTIL',
652 source='lib/filename_util.c',
653 deps='samba-util')
655 bld.SAMBA3_SUBSYSTEM('LIBNET',
656 source='libnet/libnet_join.c',
657 deps='NDR_LIBNET_JOIN INIT_SAMR net_keytab pdb')
659 bld.SAMBA3_LIBRARY('net_keytab',
660 source='libnet/libnet_keytab.c',
661 deps='krb5samba ads',
662 private_library=True)
665 bld.SAMBA3_SUBSYSTEM('LIBNET_DSSYNC',
666 source='''libnet/libnet_dssync.c
667 libnet/libnet_dssync_passdb.c
668 libnet/libnet_dssync_keytab.c''',
669 deps='LIBNET RPC_NDR_DRSUAPI')
671 bld.SAMBA3_SUBSYSTEM('LIBNET_SAMSYNC',
672 source='''libnet/libnet_samsync.c
673 libnet/libnet_samsync_ldif.c
674 libnet/libnet_samsync_passdb.c
675 libnet/libnet_samsync_display.c
676 libnet/libnet_samsync_keytab.c''',
677 deps='LIBNET LIBCLI_SAMSYNC')
679 bld.SAMBA3_SUBSYSTEM('LIBEVENTLOG',
680 source='lib/eventlog/eventlog.c',
681 deps='NDR_EVENTLOG tdb_compat')
683 bld.SAMBA3_SUBSYSTEM('LIBNMB',
684 source='''libsmb/unexpected.c
685 libsmb/namecache.c
686 libsmb/nmblib.c
687 libsmb/namequery.c
688 libsmb/conncache.c
689 libads/sitename_cache.c''',
690 deps='addns lmhosts resolv')
692 bld.SAMBA3_SUBSYSTEM('SERVICES',
693 source='''services/svc_spoolss.c
694 services/svc_rcinit.c
695 services/svc_winreg_glue.c
696 services/svc_netlogon.c
697 services/svc_winreg.c
698 services/svc_wins.c''',
699 deps='samba-util')
701 bld.SAMBA3_SUBSYSTEM('PLAINTEXT_AUTH',
702 source='''auth/pampass.c auth/pass_check.c''',
703 deps='pam PAM_ERRORS')
705 bld.SAMBA3_SUBSYSTEM('PASSCHANGE',
706 source='libsmb/passchange.c',
707 deps='''LIBCLI_SAMR
708 INIT_LSA
709 msrpc3
710 krb5samba''')
712 bld.SAMBA3_SUBSYSTEM('SAMBA_VERSION',
713 source='lib/version.c',
714 deps='samba-util')
716 bld.SAMBA3_SUBSYSTEM('SLCACHE',
717 source='libsmb/samlogon_cache.c',
718 deps='samba-util tdb_compat')
720 bld.SAMBA3_SUBSYSTEM('DCUTIL',
721 source='''libsmb/namequery_dc.c
722 libsmb/trustdom_cache.c
723 libsmb/dsgetdcname.c''',
724 deps='ads msrpc3 libcli_lsa3')
726 bld.SAMBA3_LIBRARY('trusts_util',
727 source='libsmb/trusts_util.c',
728 deps='libcli_netlogon3 msrpc3 pdb',
729 private_library=True)
731 bld.SAMBA3_SUBSYSTEM('tdb-wrap3',
732 source='lib/util_tdb.c',
733 deps='talloc samba3-util')
735 bld.SAMBA3_LIBRARY('samba3-util',
736 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''',
737 deps='samba-util charset',
738 private_library=True)
740 bld.SAMBA_LIBRARY('xattr_tdb',
741 source='lib/xattr_tdb.c',
742 deps='NDR_XATTR dbwrap samba3-util',
743 private_library=True)
745 bld.SAMBA3_LIBRARY('CHARSET3',
746 source='''lib/charcnv.c lib/fstring.c''',
747 public_deps='ICONV_WRAPPER charset',
748 deps='samba-util samba3-util',
749 private_library=True)
751 bld.SAMBA3_SUBSYSTEM('errors3',
752 source='libsmb/errormap.c libsmb/smberr.c lib/errmap_unix.c',
753 deps='errors')
755 bld.SAMBA3_SUBSYSTEM('LIBCLI_SAMR',
756 source='rpc_client/cli_samr.c',
757 deps='RPC_NDR_SAMR')
759 bld.SAMBA3_LIBRARY('libcli_lsa3',
760 source='rpc_client/cli_lsarpc.c',
761 deps='RPC_NDR_LSA INIT_LSA',
762 private_library=True)
764 bld.SAMBA3_LIBRARY('libcli_netlogon3',
765 source='rpc_client/cli_netlogon.c rpc_client/util_netlogon.c',
766 deps='RPC_NDR_NETLOGON INIT_NETLOGON cliauth param',
767 private_library=True)
769 bld.SAMBA3_LIBRARY('cli_spoolss',
770 source='''rpc_client/cli_spoolss.c
771 rpc_client/init_spoolss.c''',
772 deps='RPC_NDR_SPOOLSS param secrets3',
773 private_library=True)
775 bld.SAMBA3_SUBSYSTEM('LIBCLI_WINREG',
776 source='rpc_client/cli_winreg.c',
777 deps='RPC_NDR_WINREG')
779 bld.SAMBA3_SUBSYSTEM('LIBCLI_WINREG_INTERNAL',
780 source='rpc_client/cli_winreg_int.c',
781 deps='LIBCLI_WINREG RPC_SERVER')
783 bld.SAMBA3_SUBSYSTEM('RPC_CLIENT_SCHANNEL',
784 source='rpc_client/cli_pipe_schannel.c',
785 deps='samba-util krb5samba')
787 bld.SAMBA3_SUBSYSTEM('INIT_LSA',
788 source='rpc_client/init_lsa.c',
789 deps='samba-util')
791 bld.SAMBA3_SUBSYSTEM('INIT_NETLOGON',
792 source='rpc_client/init_netlogon.c',
793 deps='samba-util')
795 bld.SAMBA3_SUBSYSTEM('INIT_SAMR',
796 source='rpc_client/init_samr.c',
797 deps='samba-util')
799 ########################## BINARIES #################################
801 bld.SAMBA3_BINARY('smbd/smbd',
802 source='smbd/server.c',
803 deps='smbd_base EPMD LSASD',
804 install_path='${SBINDIR}')
806 bld.SAMBA3_BINARY('nmbd/nmbd',
807 source='''nmbd/asyncdns.c nmbd/nmbd.c nmbd/nmbd_become_dmb.c
808 nmbd/nmbd_become_lmb.c nmbd/nmbd_browserdb.c
809 nmbd/nmbd_browsesync.c nmbd/nmbd_elections.c
810 nmbd/nmbd_incomingdgrams.c nmbd/nmbd_incomingrequests.c
811 nmbd/nmbd_lmhosts.c nmbd/nmbd_logonnames.c nmbd/nmbd_mynames.c
812 nmbd/nmbd_namelistdb.c nmbd/nmbd_namequery.c
813 nmbd/nmbd_nameregister.c nmbd/nmbd_namerelease.c
814 nmbd/nmbd_nodestatus.c nmbd/nmbd_packets.c
815 nmbd/nmbd_processlogon.c nmbd/nmbd_responserecordsdb.c
816 nmbd/nmbd_sendannounce.c nmbd/nmbd_serverlistdb.c
817 nmbd/nmbd_subnetdb.c nmbd/nmbd_winsproxy.c nmbd/nmbd_winsserver.c
818 nmbd/nmbd_workgroupdb.c nmbd/nmbd_synclists.c''',
819 deps='''
820 talloc
821 tevent
822 param
823 libsmb
824 popt_samba3
825 PROFILE''',
826 install_path='${SBINDIR}')
829 bld.SAMBA3_SUBSYSTEM('TDB_VALIDATE',
830 source='lib/tdb_validate.c',
831 deps='samba-util')
834 bld.SAMBA3_BINARY('winbindd/winbindd',
835 source='''winbindd/winbindd.c
836 winbindd/winbindd_group.c
837 winbindd/winbindd_util.c
838 winbindd/winbindd_cache.c
839 winbindd/winbindd_pam.c
840 winbindd/winbindd_misc.c
841 winbindd/winbindd_cm.c
842 winbindd/winbindd_wins_byip.c
843 winbindd/winbindd_wins_byname.c
844 winbindd/winbindd_msrpc.c
845 winbindd/winbindd_rpc.c
846 winbindd/winbindd_reconnect.c
847 winbindd/winbindd_ads.c
848 winbindd/winbindd_samr.c
849 winbindd/winbindd_dual.c
850 winbindd/winbindd_dual_ndr.c
851 winbindd/winbindd_dual_srv.c
852 winbindd/winbindd_async.c
853 winbindd/winbindd_creds.c
854 winbindd/winbindd_cred_cache.c
855 winbindd/winbindd_ccache_access.c
856 winbindd/winbindd_domain.c
857 winbindd/winbindd_idmap.c
858 winbindd/winbindd_locator.c
859 winbindd/winbindd_ndr.c
860 winbindd/wb_ping.c
861 winbindd/wb_lookupsid.c
862 winbindd/wb_lookupsids.c
863 winbindd/wb_lookupname.c
864 winbindd/wb_uid2sid.c
865 winbindd/wb_gid2sid.c
866 winbindd/wb_sids2xids.c
867 winbindd/wb_queryuser.c
868 winbindd/wb_lookupuseraliases.c
869 winbindd/wb_lookupusergroups.c
870 winbindd/wb_getpwsid.c
871 winbindd/wb_gettoken.c
872 winbindd/wb_seqnum.c
873 winbindd/wb_seqnums.c
874 winbindd/wb_group_members.c
875 winbindd/wb_getgrsid.c
876 winbindd/wb_query_user_list.c
877 winbindd/wb_fill_pwent.c
878 winbindd/wb_next_pwent.c
879 winbindd/wb_next_grent.c
880 winbindd/wb_dsgetdcname.c
881 winbindd/winbindd_lookupsid.c
882 winbindd/winbindd_lookupsids.c
883 winbindd/winbindd_lookupname.c
884 winbindd/winbindd_sid_to_uid.c
885 winbindd/winbindd_sid_to_gid.c
886 winbindd/winbindd_uid_to_sid.c
887 winbindd/winbindd_gid_to_sid.c
888 winbindd/winbindd_sids_to_xids.c
889 winbindd/winbindd_allocate_uid.c
890 winbindd/winbindd_allocate_gid.c
891 winbindd/winbindd_getpwsid.c
892 winbindd/winbindd_getpwnam.c
893 winbindd/winbindd_getpwuid.c
894 winbindd/winbindd_getsidaliases.c
895 winbindd/winbindd_getuserdomgroups.c
896 winbindd/winbindd_getgroups.c
897 winbindd/winbindd_show_sequence.c
898 winbindd/winbindd_getgrgid.c
899 winbindd/winbindd_getgrnam.c
900 winbindd/winbindd_getusersids.c
901 winbindd/winbindd_lookuprids.c
902 winbindd/winbindd_setpwent.c
903 winbindd/winbindd_getpwent.c
904 winbindd/winbindd_endpwent.c
905 winbindd/winbindd_setgrent.c
906 winbindd/winbindd_getgrent.c
907 winbindd/winbindd_endgrent.c
908 winbindd/winbindd_dsgetdcname.c
909 winbindd/winbindd_getdcname.c
910 winbindd/winbindd_list_users.c
911 winbindd/winbindd_list_groups.c
912 winbindd/winbindd_check_machine_acct.c
913 winbindd/winbindd_change_machine_acct.c
914 winbindd/winbindd_ping_dc.c
915 winbindd/winbindd_pam_auth.c
916 winbindd/winbindd_pam_logoff.c
917 winbindd/winbindd_pam_chauthtok.c
918 winbindd/winbindd_pam_auth_crap.c
919 winbindd/winbindd_pam_chng_pswd_auth_crap.c''',
920 deps='''
921 talloc
922 tevent
924 popt_samba3
925 idmap
927 msrpc3
928 nss_info
929 LIBAFS
930 LIBADS_SERVER
931 LIBCLI_SAMR
932 SLCACHE
933 RPC_NDR_DSSETUP
934 RPC_NDR_WBINT
935 SRV_NDR_WBINT
936 RPC_SAMR
937 RPC_LSARPC
938 RPC_SERVER
939 WB_REQTRANS
940 TDB_VALIDATE
941 ''',
942 enabled=bld.env.build_winbind,
943 install_path='${SBINDIR}')
945 bld.SAMBA3_BINARY('rpcclient/rpcclient',
946 source='''rpcclient/rpcclient.c
947 rpcclient/cmd_lsarpc.c
948 rpcclient/cmd_samr.c
949 rpcclient/cmd_spoolss.c
950 rpcclient/cmd_netlogon.c
951 rpcclient/cmd_srvsvc.c
952 rpcclient/cmd_dfs.c
953 rpcclient/cmd_epmapper.c
954 rpcclient/cmd_dssetup.c
955 rpcclient/cmd_echo.c
956 rpcclient/cmd_shutdown.c
957 rpcclient/cmd_test.c
958 rpcclient/cmd_wkssvc.c
959 rpcclient/cmd_ntsvcs.c
960 rpcclient/cmd_drsuapi.c
961 rpcclient/cmd_eventlog.c
962 rpcclient/cmd_winreg.c
963 rpcclient/cmd_fss.c''',
964 deps='''
965 talloc
966 popt_samba3
968 libsmb
969 param
970 ndr-standard
971 msrpc3
972 SMBREADLINE
973 trusts_util
974 RPC_NDR_WINREG
975 RPC_NDR_ECHO
976 RPC_CLIENT_SCHANNEL
977 DCUTIL
978 LIBCLI_SAMR
979 libcli_lsa3
980 libcli_netlogon3
981 cli_spoolss
982 RPC_NDR_SRVSVC
983 RPC_NDR_WKSSVC
984 RPC_NDR_DSSETUP
985 RPC_NDR_DFS
986 RPC_NDR_DRSUAPI
987 RPC_NDR_NTSVCS
988 RPC_NDR_EVENTLOG
989 INIT_SAMR
990 RPC_NDR_FSRVP
991 ''')
993 bld.SAMBA3_BINARY('client/smbclient',
994 source='''client/client.c
995 client/clitar.c
996 client/dnsbrowse.c''',
997 deps='''
998 talloc
999 popt_samba3
1000 param
1001 ndr-standard
1002 SMBREADLINE
1003 libsmb
1004 msrpc3
1005 RPC_NDR_SRVSVC
1006 cli_smb_common''')
1008 bld.SAMBA3_BINARY('net',
1009 source='''utils/net.c
1010 utils/net_ads.c
1011 utils/net_help.c
1012 utils/net_rap.c
1013 utils/net_rpc.c
1014 utils/net_rpc_samsync.c
1015 utils/net_time.c
1016 utils/net_lookup.c
1017 utils/net_cache.c
1018 utils/net_groupmap.c
1019 utils/net_idmap.c
1020 utils/net_idmap_check.c
1021 utils/interact.c
1022 utils/net_status.c
1023 utils/net_rpc_printer.c
1024 utils/net_rpc_rights.c
1025 utils/net_rpc_service.c
1026 utils/net_rpc_registry.c
1027 utils/net_usershare.c
1028 utils/netlookup.c
1029 utils/net_sam.c
1030 utils/net_rpc_shell.c
1031 utils/net_util.c
1032 utils/net_rpc_sh_acct.c
1033 utils/net_rpc_audit.c
1034 utils/net_dns.c
1035 utils/net_ads_gpo.c
1036 utils/net_conf.c
1037 utils/net_conf_util.c
1038 utils/net_join.c
1039 utils/net_user.c
1040 utils/net_group.c
1041 utils/net_file.c
1042 utils/net_registry.c
1043 utils/net_registry_check.c
1044 utils/net_dom.c
1045 utils/net_share.c
1046 utils/net_g_lock.c
1047 utils/net_serverid.c
1048 utils/net_eventlog.c
1049 utils/net_printing.c
1050 utils/net_rpc_trust.c
1051 utils/net_rpc_conf.c
1052 registry/reg_parse.c
1053 registry/reg_format.c
1054 registry/reg_import.c
1055 utils/net_registry_util.c
1056 utils/net_help_common.c''',
1057 deps='''
1058 talloc
1059 netapi
1060 addns
1061 samba_intl
1062 popt_samba3
1064 libsmb
1065 param
1066 KRBCLIENT
1067 ndr-standard
1068 msrpc3
1071 smbd_base
1072 LIBADS_SERVER
1073 LIBADS_PRINTER
1074 SMBREADLINE
1075 PASSWD_UTIL
1076 LIBNET
1077 LIBNET_DSSYNC
1078 LIBNET_SAMSYNC
1079 LIBEVENTLOG
1080 REGFIO
1081 NDR_NTPRINTING
1082 RPC_NDR_WINREG
1083 RPC_CLIENT_SCHANNEL
1084 LIBCLI_SAMR
1085 libcli_lsa3
1086 libcli_netlogon3
1087 cli_spoolss
1088 RPC_NDR_SRVSVC
1089 RPC_NDR_SVCCTL
1090 RPC_NDR_DSSETUP
1091 RPC_NDR_INITSHUTDOWN
1092 printing_migrate
1093 trusts_util
1094 IDMAP_AUTORID_TDB''')
1096 bld.SAMBA3_BINARY('profiles',
1097 source='utils/profiles.c',
1098 deps='''
1099 talloc
1100 popt_samba3
1101 param
1102 REGFIO''')
1104 bld.SAMBA3_BINARY('smbspool',
1105 source='client/smbspool.c',
1106 deps='''
1107 talloc
1108 popt_samba3
1109 param
1110 libsmb
1111 samba3core''')
1113 bld.SAMBA3_BINARY('testparm',
1114 source='utils/testparm.c',
1115 deps='''
1116 talloc
1117 param
1118 popt_samba3''')
1120 bld.SAMBA3_BINARY('smbta-util',
1121 source='utils/smbta-util.c',
1122 deps='''
1123 talloc
1124 secrets3
1125 param''')
1127 bld.SAMBA3_BINARY('smbstatus',
1128 source='''utils/status.c
1129 utils/status_profile.c
1130 smbd/notify_internal.c''',
1131 deps='''
1132 talloc
1133 param
1134 popt_samba3
1135 smbd_base
1136 LOCKING
1137 PROFILE''')
1139 bld.SAMBA3_BINARY('smbcontrol',
1140 source='utils/smbcontrol.c',
1141 deps='''
1142 talloc
1143 param
1144 popt_samba3
1145 PRINTBASE''')
1147 bld.SAMBA3_BINARY('smbtree',
1148 source='utils/smbtree.c',
1149 deps='''
1150 talloc
1151 param
1152 libsmb
1153 msrpc3
1154 popt_samba3
1155 PROFILE
1156 RPC_NDR_SRVSVC''')
1158 bld.SAMBA3_BINARY('smbpasswd',
1159 source='utils/smbpasswd.c',
1160 deps='''
1161 talloc
1162 param
1164 PASSWD_UTIL
1165 PASSCHANGE''')
1167 bld.SAMBA3_BINARY('pdbedit',
1168 source='utils/pdbedit.c',
1169 deps='''
1170 talloc
1171 param
1172 popt_samba3
1174 PASSWD_UTIL''')
1176 bld.SAMBA3_BINARY('smbget',
1177 source='utils/smbget.c',
1178 deps='''
1179 talloc
1180 popt_samba3
1181 smbclient''')
1183 bld.SAMBA3_BINARY('nmblookup',
1184 source='utils/nmblookup.c',
1185 deps='''
1186 talloc
1187 param
1188 popt_samba3
1189 LIBNMB''')
1191 bld.SAMBA3_BINARY('smbtorture' + bld.env.suffix3,
1192 source='''torture/torture.c
1193 torture/nbio.c
1194 torture/scanner.c
1195 torture/utable.c
1196 torture/denytest.c
1197 torture/mangle_test.c
1198 torture/nbench.c
1199 torture/test_async_echo.c
1200 torture/test_addrchange.c
1201 torture/test_posix_append.c
1202 torture/test_nttrans_create.c
1203 torture/test_nttrans_fsctl.c
1204 torture/test_case_insensitive.c
1205 torture/test_notify_online.c
1206 torture/test_chain3.c
1207 torture/test_smb2.c
1208 torture/test_authinfo_structs.c
1209 torture/test_smbsock_any_connect.c
1210 torture/test_cleanup.c
1211 torture/test_ctdbconn.c
1212 torture/test_msg.c
1213 torture/test_notify.c
1214 lib/tevent_barrier.c
1215 torture/test_dbwrap_watch.c
1216 torture/test_idmap_tdb_common.c
1217 torture/test_dbwrap_ctdb.c
1218 torture/test_buffersize.c
1219 torture/t_strappend.c
1220 torture/wbc_async.c''',
1221 deps='''
1222 talloc
1223 param
1224 libsmb
1225 msrpc3
1226 TLDAP
1227 RPC_NDR_ECHO
1228 WB_REQTRANS
1229 LOCKING
1230 NDR_OPEN_FILES
1231 idmap
1232 ''',
1233 install=False)
1235 bld.SAMBA3_BINARY('smbconftort',
1236 source='lib/smbconf/testsuite.c',
1237 deps='''
1238 talloc
1239 param
1240 popt_samba3''',
1241 install=False)
1243 bld.SAMBA3_BINARY('replacetort',
1244 source='../lib/replace/test/main.c',
1245 deps='replace replace-test',
1246 install=False)
1248 bld.SAMBA3_BINARY('msgtest',
1249 source='torture/msgtest.c',
1250 deps='''
1251 talloc
1252 param''',
1253 install=False)
1255 bld.SAMBA3_BINARY('smbcacls',
1256 source='utils/smbcacls.c',
1257 deps='''
1258 talloc
1259 popt_samba3
1260 msrpc3
1261 libcli_lsa3
1262 krb5samba''')
1264 bld.SAMBA3_BINARY('smbcquotas',
1265 source='utils/smbcquotas.c',
1266 deps='''
1267 talloc
1268 popt_samba3
1269 libsmb
1270 msrpc3
1271 libcli_lsa3''')
1273 bld.SAMBA3_BINARY('eventlogadm',
1274 source='utils/eventlogadm.c',
1275 deps='''
1276 talloc
1277 param
1278 LIBEVENTLOG''')
1280 bld.SAMBA3_BINARY('sharesec',
1281 source='utils/sharesec.c',
1282 deps='''
1283 talloc
1284 popt_samba3''')
1286 bld.SAMBA3_BINARY('pdbtest',
1287 source='torture/pdbtest.c',
1288 deps='''
1289 talloc
1291 popt_samba3
1292 AUTH_COMMON
1293 auth''',
1294 install=False)
1296 bld.SAMBA3_BINARY('vfstest',
1297 source='''torture/cmd_vfs.c
1298 torture/vfstest.c
1299 torture/vfstest_chain.c''',
1300 deps='''
1302 popt_samba3
1303 SMBREADLINE''',
1304 install=False)
1306 bld.SAMBA3_BINARY('log2pcap',
1307 source='utils/log2pcaphex.c',
1308 deps='''talloc popt''',
1309 install=False)
1311 bld.SAMBA3_BINARY('locktest2',
1312 source='torture/locktest2.c',
1313 deps='''
1314 talloc
1315 param
1316 libsmb
1317 LOCKING''',
1318 install=False)
1320 bld.SAMBA3_BINARY('debug2html',
1321 source='''utils/debug2html.c utils/debugparse.c''',
1322 deps='''talloc popt''',
1323 install=False)
1325 bld.SAMBA3_BINARY('smbfilter',
1326 source='utils/smbfilter.c',
1327 deps='''
1328 talloc
1329 param
1330 LIBNMB''',
1331 install=False)
1333 bld.SAMBA3_BINARY('versiontest',
1334 source='lib/version_test.c',
1335 deps='''
1336 SAMBA_VERSION
1337 param''',
1338 install=False)
1340 bld.SAMBA3_BINARY('ntlm_auth',
1341 source='''utils/ntlm_auth.c utils/ntlm_auth_diagnostics.c''',
1342 deps='''
1343 talloc
1344 krb5samba
1345 iniparser
1346 libsmb
1347 popt_samba3
1348 LIBNTLMSSP gse gensec''')
1350 bld.SAMBA3_BINARY('timelimit',
1351 source='script/tests/timelimit.c',
1352 install=False)
1354 bld.SAMBA3_BINARY('rpc_open_tcp',
1355 source='torture/rpc_open_tcp.c',
1356 deps='''
1357 talloc
1358 msrpc3''',
1359 install=False)
1361 bld.SAMBA3_BINARY('dbwrap_tool',
1362 source='utils/dbwrap_tool.c',
1363 deps='''
1364 talloc
1365 popt_samba3''')
1367 bld.SAMBA3_BINARY('dbwrap_torture',
1368 source='utils/dbwrap_torture.c',
1369 deps='''
1370 talloc
1371 popt_samba3''',
1372 install=False)
1374 bld.SAMBA3_BINARY('split_tokens',
1375 source='utils/split_tokens.c',
1376 deps='''
1377 talloc
1378 popt_samba3''',
1379 install=False)
1381 bld.SAMBA3_BINARY('vlp',
1382 source='printing/tests/vlp.c',
1383 deps='''
1384 talloc
1385 param''',
1386 install=False)
1388 bld.SAMBA3_PYTHON('pysmbd',
1389 source='smbd/pysmbd.c',
1390 deps='smbd_base pyrpc_util',
1391 realname='samba/samba3/smbd.so'
1394 bld.SAMBA3_PYTHON('pylibsmb',
1395 source='libsmb/pylibsmb.c',
1396 deps='smbclient samba-credentials',
1397 realname='samba/samba3/libsmb_samba_internal.so'
1400 bld.SAMBA3_BINARY('samba-regedit',
1401 source="""utils/regedit.c utils/regedit_samba3.c
1402 utils/regedit_wrap.c utils/regedit_treeview.c
1403 utils/regedit_valuelist.c utils/regedit_dialog.c
1404 utils/regedit_hexedit.c""",
1405 deps='ncurses menu panel form registry param popt_samba3 smbregistry',
1406 enabled=bld.env.build_regedit)
1408 ########################## INCLUDES #################################
1410 bld.RECURSE('auth')
1411 bld.RECURSE('libgpo/gpext')
1412 bld.RECURSE('lib/pthreadpool')
1413 bld.RECURSE('lib/asys')
1414 bld.RECURSE('librpc')
1415 bld.RECURSE('librpc/idl')
1416 bld.RECURSE('libsmb')
1417 bld.RECURSE('modules')
1418 bld.RECURSE('pam_smbpass')
1419 bld.RECURSE('param')
1420 bld.RECURSE('passdb')
1421 bld.RECURSE('rpc_server')
1422 bld.RECURSE('script')
1423 bld.RECURSE('winbindd')
1424 bld.RECURSE('../examples/auth')
1425 bld.RECURSE('../examples/libsmbclient')
1426 bld.RECURSE('../examples/pdb')
1427 bld.RECURSE('../examples/VFS')
1428 bld.RECURSE('lib/netapi/tests')
1429 bld.RECURSE('lib/netapi/examples')
1431 bld.ENFORCE_GROUP_ORDERING()
1432 bld.CHECK_PROJECT_RULES()