s4:libnet: make use of dcerpc_binding_get_string_option("host")
[Samba.git] / source3 / wscript_build
blob12e473f0f2ae8a56b4fd64914f8c59f1eee0fd99
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.1.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 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 rpcclient/cmd_witness.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 RPC_NDR_WITNESS
992 ''')
994 bld.SAMBA3_BINARY('client/smbclient',
995 source='''client/client.c
996 client/clitar.c
997 client/dnsbrowse.c''',
998 deps='''
999 talloc
1000 popt_samba3
1001 param
1002 ndr-standard
1003 SMBREADLINE
1004 libsmb
1005 msrpc3
1006 RPC_NDR_SRVSVC
1007 cli_smb_common''')
1009 bld.SAMBA3_BINARY('net',
1010 source='''utils/net.c
1011 utils/net_ads.c
1012 utils/net_help.c
1013 utils/net_rap.c
1014 utils/net_rpc.c
1015 utils/net_rpc_samsync.c
1016 utils/net_time.c
1017 utils/net_lookup.c
1018 utils/net_cache.c
1019 utils/net_groupmap.c
1020 utils/net_idmap.c
1021 utils/net_idmap_check.c
1022 utils/interact.c
1023 utils/net_status.c
1024 utils/net_rpc_printer.c
1025 utils/net_rpc_rights.c
1026 utils/net_rpc_service.c
1027 utils/net_rpc_registry.c
1028 utils/net_usershare.c
1029 utils/netlookup.c
1030 utils/net_sam.c
1031 utils/net_rpc_shell.c
1032 utils/net_util.c
1033 utils/net_rpc_sh_acct.c
1034 utils/net_rpc_audit.c
1035 utils/net_dns.c
1036 utils/net_ads_gpo.c
1037 utils/net_conf.c
1038 utils/net_conf_util.c
1039 utils/net_join.c
1040 utils/net_user.c
1041 utils/net_group.c
1042 utils/net_file.c
1043 utils/net_registry.c
1044 utils/net_registry_check.c
1045 utils/net_dom.c
1046 utils/net_share.c
1047 utils/net_g_lock.c
1048 utils/net_serverid.c
1049 utils/net_eventlog.c
1050 utils/net_printing.c
1051 utils/net_rpc_trust.c
1052 utils/net_rpc_conf.c
1053 registry/reg_parse.c
1054 registry/reg_format.c
1055 registry/reg_import.c
1056 utils/net_registry_util.c
1057 utils/net_help_common.c''',
1058 deps='''
1059 talloc
1060 netapi
1061 addns
1062 samba_intl
1063 popt_samba3
1065 libsmb
1066 param
1067 KRBCLIENT
1068 ndr-standard
1069 msrpc3
1072 smbd_base
1073 LIBADS_SERVER
1074 LIBADS_PRINTER
1075 SMBREADLINE
1076 PASSWD_UTIL
1077 LIBNET
1078 LIBNET_DSSYNC
1079 LIBNET_SAMSYNC
1080 LIBEVENTLOG
1081 REGFIO
1082 NDR_NTPRINTING
1083 RPC_NDR_WINREG
1084 RPC_CLIENT_SCHANNEL
1085 LIBCLI_SAMR
1086 libcli_lsa3
1087 libcli_netlogon3
1088 cli_spoolss
1089 RPC_NDR_SRVSVC
1090 RPC_NDR_SVCCTL
1091 RPC_NDR_DSSETUP
1092 RPC_NDR_INITSHUTDOWN
1093 printing_migrate
1094 trusts_util
1095 IDMAP_AUTORID_TDB''')
1097 bld.SAMBA3_BINARY('profiles',
1098 source='utils/profiles.c',
1099 deps='''
1100 talloc
1101 popt_samba3
1102 param
1103 REGFIO''')
1105 bld.SAMBA3_BINARY('smbspool',
1106 source='client/smbspool.c',
1107 deps='''
1108 talloc
1109 popt_samba3
1110 param
1111 libsmb
1112 samba3core''')
1114 bld.SAMBA3_BINARY('testparm',
1115 source='utils/testparm.c',
1116 deps='''
1117 talloc
1118 param
1119 popt_samba3''')
1121 bld.SAMBA3_BINARY('smbta-util',
1122 source='utils/smbta-util.c',
1123 deps='''
1124 talloc
1125 secrets3
1126 param''')
1128 bld.SAMBA3_BINARY('smbstatus',
1129 source='''utils/status.c
1130 utils/status_profile.c
1131 smbd/notify_internal.c''',
1132 deps='''
1133 talloc
1134 param
1135 popt_samba3
1136 smbd_base
1137 LOCKING
1138 PROFILE''')
1140 bld.SAMBA3_BINARY('smbcontrol',
1141 source='utils/smbcontrol.c',
1142 deps='''
1143 talloc
1144 param
1145 popt_samba3
1146 PRINTBASE''')
1148 bld.SAMBA3_BINARY('smbtree',
1149 source='utils/smbtree.c',
1150 deps='''
1151 talloc
1152 param
1153 libsmb
1154 msrpc3
1155 popt_samba3
1156 PROFILE
1157 RPC_NDR_SRVSVC''')
1159 bld.SAMBA3_BINARY('smbpasswd',
1160 source='utils/smbpasswd.c',
1161 deps='''
1162 talloc
1163 param
1165 PASSWD_UTIL
1166 PASSCHANGE''')
1168 bld.SAMBA3_BINARY('pdbedit',
1169 source='utils/pdbedit.c',
1170 deps='''
1171 talloc
1172 param
1173 popt_samba3
1175 PASSWD_UTIL''')
1177 bld.SAMBA3_BINARY('smbget',
1178 source='utils/smbget.c',
1179 deps='''
1180 talloc
1181 popt_samba3
1182 smbclient''')
1184 bld.SAMBA3_BINARY('nmblookup',
1185 source='utils/nmblookup.c',
1186 deps='''
1187 talloc
1188 param
1189 popt_samba3
1190 LIBNMB''')
1192 bld.SAMBA3_BINARY('smbtorture' + bld.env.suffix3,
1193 source='''torture/torture.c
1194 torture/nbio.c
1195 torture/scanner.c
1196 torture/utable.c
1197 torture/denytest.c
1198 torture/mangle_test.c
1199 torture/nbench.c
1200 torture/test_async_echo.c
1201 torture/test_addrchange.c
1202 torture/test_posix_append.c
1203 torture/test_nttrans_create.c
1204 torture/test_nttrans_fsctl.c
1205 torture/test_case_insensitive.c
1206 torture/test_notify_online.c
1207 torture/test_chain3.c
1208 torture/test_smb2.c
1209 torture/test_authinfo_structs.c
1210 torture/test_smbsock_any_connect.c
1211 torture/test_cleanup.c
1212 torture/test_ctdbconn.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()