3 from samba_utils
import *
4 import samba_version
, samba3
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
27 lib/netapi/libnetapi.c
28 lib/netapi/joindomain.c
29 lib/netapi/serverinfo.c
30 lib/netapi/wkstainfo.c
34 lib/netapi/localgroup.c
40 lib/netapi/netlogon.c''',
54 public_headers
='../source3/lib/netapi/netapi.h',
55 pc_files
='libnet/netapi.pc',
58 bld
.SAMBA3_LIBRARY('gse',
59 source
='librpc/crypto/gse_krb5.c librpc/crypto/gse.c',
60 deps
='krb5samba gensec param KRBCLIENT secrets3',
63 bld
.SAMBA3_LIBRARY('msrpc3',
64 source
='''rpc_client/cli_pipe.c
65 rpc_client/rpc_transport_np.c
66 rpc_client/rpc_transport_sock.c
67 rpc_client/rpc_transport_tstream.c
68 librpc/rpc/dcerpc_helpers.c''',
69 deps
='''ndr ndr-standard
70 RPC_NDR_EPMAPPER NTLMSSP_COMMON COMMON_SCHANNEL LIBCLI_AUTH
71 LIBTSOCKET gse dcerpc-binding
72 libsmb ndr-table NETLOGON_CREDS_CLI
76 bld
.SAMBA3_LIBRARY('gpo',
77 source
='''../libgpo/gpo_ldap.c
84 deps
='talloc ads TOKEN_UTIL gpext auth',
87 bld
.SAMBA3_SUBSYSTEM('AVAHI',
88 source
='lib/avahi.c smbd/avahi_register.c',
89 deps
='avahi-common avahi-client',
90 enabled
=bld
.env
.with_avahi
)
92 bld
.SAMBA3_SUBSYSTEM('GROUPDB',
93 source
='groupdb/mapping.c groupdb/mapping_tdb.c',
96 bld
.SAMBA3_SUBSYSTEM('TLDAP',
99 lib/tldap_gensec_bind.c
101 deps
='asn1util LIBTSOCKET samba3util')
103 # libpdb.so should not expose internal symbols that are only usable
104 # to the statically linked modules that are merged into libpdb.
105 # Note that we always filter these symbols out in libpdb, even
106 # when modules are not linked statically. In the latter case
107 # symbols will not be present in the libpdb anyway so no hurt is
108 # done to the version script.
109 private_pdb_match
= []
110 private_pdb_match
.append('!idmap_init')
111 private_pdb_match
.append('!idmap_sids_to_xids')
112 private_pdb_match
.append('!idmap_xids_to_sids')
114 ldapsam_pdb_match
= ['!priv2ld', '!smbldap_search_domain_info',
115 '!ldapsam_*', '!groupmap_attr_list*', '!get_userattr_list',
116 '!dominfo_attr_list', '!get_attr_key2string',
117 '!sidmap_attr_list', '!attrib_map_*', '!idpool_attr_list',
119 private_pdb_match
.append('!pdb_nds_*')
120 private_pdb_match
.append('!pdb_ldapsam_init*')
121 private_pdb_match
.append('!pdb_*_init')
122 private_pdb_match
= private_pdb_match
+ ldapsam_pdb_match
124 bld
.SAMBA3_LIBRARY('samba-passdb',
127 private_library
=False,
128 grouping_library
=True,
130 public_headers_install
=True,
134 passdb/lookup_sid.h''',
135 abi_match
=private_pdb_match
,
136 abi_directory
='passdb/ABI',
139 bld
.SAMBA3_SUBSYSTEM('pdb',
140 source
='''passdb/pdb_get_set.c
145 lib/util_sid_passdb.c
154 passdb/pdb_interface.c
156 passdb/pdb_unixid.c''',
157 deps
='secrets3 GROUPDB SERVER_MUTEX wbclient LIBCLI_AUTH flag_mapping samba-credentials')
159 bld
.SAMBA3_LIBRARY('smbldaphelper',
160 source
='passdb/pdb_ldap_schema.c passdb/pdb_ldap_util.c',
161 deps
='smbldap secrets3',
162 allow_undefined_symbols
=True,
163 enabled
=bld
.CONFIG_SET('HAVE_LDAP'),
164 private_library
=True)
166 bld
.SAMBA3_SUBSYSTEM('SERVER_MUTEX',
167 source
='lib/server_mutex.c',
170 bld
.SAMBA3_SUBSYSTEM('param',
171 source
='''param/loadparm.c
173 lib/ldap_debug_handler.c
186 # this includes only the low level parse code, not stuff
187 # that requires knowledge of security contexts
188 bld
.SAMBA3_SUBSYSTEM('REG_PARSE_PRS',
189 source
='registry/reg_parse_prs.c')
191 bld
.SAMBA3_SUBSYSTEM('REGFIO',
192 source
='registry/regfio.c',
193 deps
='samba-util REG_PARSE_PRS')
195 bld
.SAMBA3_SUBSYSTEM('REG_API_REGF',
196 source
='registry/reg_api_regf.c',
199 bld
.SAMBA3_LIBRARY('smbregistry',
200 source
='''registry/reg_api.c
201 registry/reg_dispatcher.c
202 registry/reg_cachehook.c
203 registry/reg_objects.c
204 registry/reg_util_internal.c
206 registry/reg_backend_db.c
207 registry/reg_parse_internal.c
210 registry/reg_init_basic.c''',
225 allow_undefined_symbols
=True,
226 private_library
=True)
228 bld
.SAMBA3_SUBSYSTEM('REG_SMBCONF',
229 source
='''registry/reg_backend_smbconf.c
230 registry/reg_init_smbconf.c
231 registry/reg_util_token.c
232 registry/reg_api_util.c''',
235 bld
.SAMBA3_SUBSYSTEM('REG_FULL',
236 source
='''registry/reg_backend_printing.c
237 registry/reg_backend_shares.c
238 registry/reg_backend_netlogon_params.c
239 registry/reg_backend_prod_options.c
240 registry/reg_backend_tcpip_params.c
241 registry/reg_backend_hkpt_params.c
242 registry/reg_backend_current_version.c
243 registry/reg_backend_perflib.c
244 registry/reg_init_full.c
245 registry/reg_perfcount.c''',
246 deps
='REG_SMBCONF tdb-wrap3')
248 bld
.SAMBA3_LIBRARY('popt_samba3',
249 source
='lib/popt_common.c',
250 deps
='popt samba-util util_cmdline',
251 private_library
=True)
253 bld
.SAMBA3_LIBRARY('util_cmdline',
254 source
='lib/util_cmdline.c',
256 private_library
=True)
258 bld
.SAMBA3_SUBSYSTEM('KRBCLIENT',
259 source
='libads/kerberos.c libads/ads_status.c',
260 public_deps
='krb5samba asn1util k5crypto gssapi LIBTSOCKET CLDAP LIBNMB')
262 bld
.SAMBA3_SUBSYSTEM('samba3util',
263 source
='''lib/system.c
268 lib/util_specialsids.c
275 lib/util_transfer_file.c
278 deps
='ndr LIBTSOCKET samba-security NDR_SECURITY samba-util util_tdb sys_rw iov_buf')
280 if bld
.env
.with_ctdb
:
281 SAMBA_CLUSTER_SUPPORT_SOURCES
='''
282 lib/cluster_support.c
283 lib/dbwrap/dbwrap_ctdb.c
287 SAMBA_CLUSTER_SUPPORT_DEPS
='''
293 SAMBA_CLUSTER_SUPPORT_SOURCES
='''
294 lib/cluster_support.c
297 SAMBA_CLUSTER_SUPPORT_DEPS
='''
302 bld
.SAMBA3_LIBRARY('samba-cluster-support',
303 source
=SAMBA_CLUSTER_SUPPORT_SOURCES
,
304 deps
=SAMBA_CLUSTER_SUPPORT_DEPS
,
305 allow_undefined_symbols
=True,
306 private_library
=True)
308 bld
.SAMBA3_SUBSYSTEM('TDB_LIB',
309 source
='''lib/dbwrap/dbwrap_open.c
310 lib/dbwrap/dbwrap_watch.c
312 deps
='dbwrap samba-cluster-support')
314 bld
.SAMBA3_LIBRARY('messages_dgm',
315 source
='''lib/messages_dgm.c lib/messages_dgm_ref.c''',
316 deps
='''talloc samba-debug PTHREADPOOL msghdr genrand''',
317 private_library
=True)
319 bld
.SAMBA3_LIBRARY('messages_util',
320 source
='''lib/messages_util.c''',
322 private_library
=True)
324 bld
.SAMBA3_SUBSYSTEM('samba3core',
325 source
='''lib/messages.c
330 lib/server_id_watch.c
331 lib/server_id_db_util.c
333 ../lib/util/debug_s3.c
337 lib/access.c lib/smbrun.c
340 lib/substitute_generic.c
347 lib/server_contexts.c
349 lib/server_prefork_util.c
379 bld
.SAMBA3_LIBRARY('smbd_shim',
380 source
='''lib/smbd_shim.c''',
382 private_library
=True)
384 bld
.SAMBA3_SUBSYSTEM('auth_generic',
385 source
='libsmb/auth_generic.c',
388 bld
.SAMBA3_LIBRARY('libsmb',
389 source
='''libsmb/clientgen.c
396 libsmb/clireadwrite.c
409 libsmb/reparse_symlink.c
411 libsmb/smbsock_connect.c
412 libsmb/cli_smb2_fnum.c''',
424 private_library
=True)
426 bld
.SAMBA3_SUBSYSTEM('CLDAP',
427 source
='libads/cldap.c',
428 deps
='cli-ldap-common cli_cldap LIBTSOCKET')
430 # NOTE: The secrets3 library is a low level library used by several subsystems.
431 # PLEASE DO NOT make it depend on high level libraries like PDB, if you are
432 # doing that your design is wrong and needs changing. -SSS
433 bld
.SAMBA3_LIBRARY('secrets3',
434 source
='''passdb/secrets.c
435 passdb/machine_account_secrets.c
437 passdb/secrets_lsa.c''',
438 deps
='NDR_SECRETS param samba3util dbwrap',
439 private_library
=True)
441 bld
.SAMBA3_LIBRARY('smbldap',
442 source
='lib/smbldap.c',
443 deps
='ldap lber samba-util param',
444 enabled
=bld
.CONFIG_SET("HAVE_LDAP"),
445 private_library
=False,
446 abi_directory
='lib/ABI',
447 abi_match
='smbldap_*',
450 public_headers
='include/smbldap.h include/smb_ldap.h')
452 bld
.SAMBA3_LIBRARY('ads',
453 source
='''libads/ldap.c
455 libads/sasl_wrapping.c
457 libads/kerberos_util.c
460 libads/kerberos_keytab.c
466 deps
='cli-ldap-common krb5samba ldap lber KRBCLIENT param LIBNMB libsmb DCUTIL smbldap',
467 private_library
=True)
469 bld
.SAMBA3_SUBSYSTEM('LIBADS_SERVER',
470 source
='libads/authdata.c',
471 deps
='SERVER_MUTEX ndr-krb5pac krb5samba gssapi')
473 bld
.SAMBA3_SUBSYSTEM('LIBADS_PRINTER',
474 source
='libads/ldap_printer.c',
475 deps
='samba-util krb5samba')
477 bld
.SAMBA3_LIBRARY('smbconf',
478 source
='''lib/smbconf/smbconf_init.c
479 lib/smbconf/smbconf_reg.c''',
494 public_headers
='../lib/smbconf/smbconf.h',
498 bld
.SAMBA3_LIBRARY('smbd_conn',
499 source
='smbd/conn.c',
500 deps
='samba3-util samba-util',
501 private_library
=True)
503 bld
.SAMBA3_SUBSYSTEM('sysquotas',
506 lib/sysquotas_linux.c
513 deps
='samba3-util samba-util')
518 if bld
.CONFIG_SET("HAVE_INOTIFY"):
519 NOTIFY_SOURCES
+= ' smbd/notify_inotify.c'
521 if bld
.CONFIG_SET('SAMBA_FAM_LIBS'):
522 NOTIFY_SOURCES
+= ' smbd/notify_fam.c'
523 NOTIFY_DEPS
+= ' ' + bld
.CONFIG_GET('SAMBA_FAM_LIBS')
525 bld
.SAMBA3_LIBRARY('smbd_base',
565 printing/printspoolss.c
572 smbd/aio.c smbd/statvfs.c
576 smbd/dnsregister.c smbd/globals.c
580 smbd/smb2_sesssetup.c
589 smbd/smb2_ioctl_dfs.c
590 smbd/smb2_ioctl_filesys.c
591 smbd/smb2_ioctl_named_pipe.c
592 smbd/smb2_ioctl_network_fs.c
593 smbd/smb2_keepalive.c
594 smbd/smb2_query_directory.c
599 smbd/smbXsrv_version.c
600 smbd/smbXsrv_client.c
601 smbd/smbXsrv_session.c
615 smbd/build_options.c''' + NOTIFY_SOURCES
,
645 bld
.env
['dmapi_lib'] +
646 bld
.env
['legacy_quota_libs'] +
648 private_library
=True)
650 bld
.SAMBA3_SUBSYSTEM('LOCKING',
651 source
='''locking/locking.c
654 locking/share_mode_lock.c''',
662 bld
.SAMBA3_SUBSYSTEM('LEASES_DB',
663 source
='locking/leases_db.c',
664 deps
='NDR_LEASES_DB')
666 if bld
.CONFIG_GET("WITH_PROFILE"):
667 bld
.SAMBA3_SUBSYSTEM('PROFILE',
668 source
='profile/profile.c',
671 bld
.SAMBA3_SUBSYSTEM('PROFILE',
672 source
='profile/profile_dummy.c',
675 bld
.SAMBA3_SUBSYSTEM('PRINTBASE',
676 source
='''printing/notify.c printing/printing_db.c''',
677 deps
='samba-util tdb')
679 bld
.SAMBA3_SUBSYSTEM('PRINTBACKEND',
680 source
='''printing/printing.c
681 printing/nt_printing.c
682 printing/nt_printing_tdb.c
683 printing/nt_printing_migrate_internal.c
684 printing/nt_printing_ads.c
685 printing/queue_process.c''',
686 deps
='PRINTBASE LIBADS_PRINTER tdb printing_migrate SPOOLSSD')
688 bld
.SAMBA3_LIBRARY('printing_migrate',
689 source
='printing/nt_printing_migrate.c rpc_client/cli_winreg_spoolss.c printing/nt_printing_os2.c',
690 deps
='NDR_NTPRINTING cli_spoolss RPC_NDR_WINREG LIBCLI_WINREG param',
691 private_library
=True)
693 bld
.SAMBA3_SUBSYSTEM('PRINTING',
694 source
='''printing/pcap.c
695 printing/print_svid.c
697 printing/print_cups.c
698 printing/print_generic.c
701 printing/print_standard.c
702 printing/print_iprint.c
703 printing/printer_list.c''',
704 deps
='NDR_PRINTCAP tdb cups')
706 bld
.SAMBA3_SUBSYSTEM('FNAME_UTIL',
707 source
='lib/filename_util.c',
710 bld
.SAMBA3_SUBSYSTEM('LIBNET',
711 source
='libnet/libnet_join.c',
712 deps
='NDR_LIBNET_JOIN INIT_SAMR net_keytab pdb')
714 bld
.SAMBA3_LIBRARY('net_keytab',
715 source
='libnet/libnet_keytab.c',
716 deps
='krb5samba ads',
717 private_library
=True)
720 bld
.SAMBA3_SUBSYSTEM('LIBNET_DSSYNC',
721 source
='''libnet/libnet_dssync.c
722 libnet/libnet_dssync_passdb.c
723 libnet/libnet_dssync_keytab.c''',
724 deps
='LIBNET RPC_NDR_DRSUAPI')
726 bld
.SAMBA3_SUBSYSTEM('LIBNET_SAMSYNC',
727 source
='''libnet/libnet_samsync.c
728 libnet/libnet_samsync_ldif.c
729 libnet/libnet_samsync_passdb.c
730 libnet/libnet_samsync_display.c
731 libnet/libnet_samsync_keytab.c''',
732 deps
='LIBNET LIBCLI_SAMSYNC')
734 bld
.SAMBA3_SUBSYSTEM('LIBEVENTLOG',
735 source
='lib/eventlog/eventlog.c',
736 deps
='NDR_EVENTLOG tdb')
738 bld
.SAMBA3_SUBSYSTEM('LIBNMB',
739 source
='''libsmb/unexpected.c
744 libads/sitename_cache.c''',
745 deps
='LIBTSOCKET samba3util addns lmhosts resolv')
747 bld
.SAMBA3_SUBSYSTEM('SERVICES',
748 source
='''services/svc_spoolss.c
749 services/svc_rcinit.c
750 services/svc_winreg_glue.c
751 services/svc_netlogon.c
752 services/svc_winreg.c
753 services/svc_wins.c''',
756 bld
.SAMBA3_SUBSYSTEM('PLAINTEXT_AUTH',
757 source
='''auth/pampass.c auth/pass_check.c''',
758 deps
='pam PAM_ERRORS')
760 bld
.SAMBA3_SUBSYSTEM('PASSCHANGE',
761 source
='libsmb/passchange.c',
767 bld
.SAMBA3_SUBSYSTEM('SAMBA_VERSION',
768 source
='lib/version.c',
771 bld
.SAMBA3_SUBSYSTEM('SLCACHE',
772 source
='libsmb/samlogon_cache.c',
773 deps
='samba-util tdb')
775 bld
.SAMBA3_SUBSYSTEM('DCUTIL',
776 source
='''libsmb/namequery_dc.c
777 libsmb/trustdom_cache.c
778 libsmb/dsgetdcname.c''',
779 deps
='ads msrpc3 libcli_lsa3')
781 bld
.SAMBA3_LIBRARY('trusts_util',
782 source
='libsmb/trusts_util.c',
783 deps
='libcli_netlogon3 msrpc3 samba-passdb',
784 private_library
=True)
786 bld
.SAMBA3_SUBSYSTEM('tdb-wrap3',
787 source
='lib/util_tdb.c',
788 deps
='talloc samba3-util')
790 bld
.SAMBA3_LIBRARY('samba3-util',
791 source
='''lib/util_sec.c lib/util_str.c lib/adt_tree.c lib/util_malloc.c lib/namearray.c lib/file_id.c''',
792 deps
='samba-util charset',
793 private_library
=True)
795 bld
.SAMBA_LIBRARY('xattr_tdb',
796 source
='lib/xattr_tdb.c',
797 deps
='NDR_XATTR dbwrap samba3-util',
798 private_library
=True)
800 bld
.SAMBA3_LIBRARY('CHARSET3',
801 source
='''lib/charcnv.c lib/fstring.c''',
802 public_deps
='ICONV_WRAPPER charset',
803 deps
='samba-util samba3-util',
804 private_library
=True)
806 bld
.SAMBA3_SUBSYSTEM('errors3',
807 source
='libsmb/errormap.c libsmb/smberr.c lib/errmap_unix.c',
810 bld
.SAMBA3_SUBSYSTEM('LIBCLI_SAMR',
811 source
='rpc_client/cli_samr.c',
814 bld
.SAMBA3_LIBRARY('libcli_lsa3',
815 source
='rpc_client/cli_lsarpc.c',
816 deps
='RPC_NDR_LSA INIT_LSA',
817 private_library
=True)
819 bld
.SAMBA3_LIBRARY('libcli_netlogon3',
820 source
='rpc_client/cli_netlogon.c rpc_client/util_netlogon.c',
821 deps
='msrpc3 RPC_NDR_NETLOGON INIT_NETLOGON cliauth param NETLOGON_CREDS_CLI',
822 private_library
=True)
824 bld
.SAMBA3_LIBRARY('cli_spoolss',
825 source
='''rpc_client/cli_spoolss.c
826 rpc_client/init_spoolss.c''',
827 deps
='RPC_NDR_SPOOLSS param secrets3',
828 private_library
=True)
830 bld
.SAMBA3_SUBSYSTEM('LIBCLI_WINREG',
831 source
='rpc_client/cli_winreg.c',
832 deps
='RPC_NDR_WINREG')
834 bld
.SAMBA3_SUBSYSTEM('LIBCLI_WINREG_INTERNAL',
835 source
='rpc_client/cli_winreg_int.c',
836 deps
='LIBCLI_WINREG RPC_SERVER')
838 bld
.SAMBA3_SUBSYSTEM('RPC_CLIENT_SCHANNEL',
839 source
='rpc_client/cli_pipe_schannel.c',
840 deps
='samba-util krb5samba')
842 bld
.SAMBA3_SUBSYSTEM('INIT_LSA',
843 source
='rpc_client/init_lsa.c',
846 bld
.SAMBA3_SUBSYSTEM('INIT_NETLOGON',
847 source
='rpc_client/init_netlogon.c',
850 bld
.SAMBA3_SUBSYSTEM('INIT_SAMR',
851 source
='rpc_client/init_samr.c',
854 bld
.SAMBA3_SUBSYSTEM('LIBLSA',
857 bld
.SAMBA3_SUBSYSTEM('SPOOLSSD',
858 source
='printing/spoolssd.c',
864 ########################## BINARIES #################################
866 bld
.SAMBA3_BINARY('smbd/smbd',
867 source
='smbd/server.c smbd/smbd_cleanupd.c',
876 install_path
='${SBINDIR}')
879 bld
.SAMBA3_SUBSYSTEM('TDB_VALIDATE',
880 source
='lib/tdb_validate.c',
884 bld
.SAMBA3_BINARY('client/smbclient',
885 source
='''client/client.c
887 client/dnsbrowse.c''',
901 bld
.SAMBA3_BINARY('smbspool',
902 source
='client/smbspool.c',
910 bld
.SAMBA3_BINARY('smbspool_krb5_wrapper',
911 source
='client/smbspool_krb5_wrapper.c',
916 install_path
='${LIBEXECDIR}/samba',
917 enabled
=bld
.CONFIG_SET('HAVE_CUPS'))
919 bld
.SAMBA3_BINARY('locktest2',
920 source
='torture/locktest2.c',
928 smbstatus_source
= 'utils/status.c smbd/notify_msg.c'
930 if bld
.CONFIG_GET("WITH_PROFILE"):
931 smbstatus_source
+= ' utils/status_profile.c'
933 smbstatus_source
+= ' utils/status_profile_dummy.c'
935 bld
.SAMBA3_BINARY('smbstatus',
936 source
=smbstatus_source
,
945 bld
.SAMBA3_BINARY('smbtorture' + bld
.env
.suffix3
,
946 source
='''torture/torture.c
951 torture/mangle_test.c
953 torture/test_async_echo.c
954 torture/test_addrchange.c
955 torture/test_posix_append.c
956 torture/test_nttrans_create.c
957 torture/test_nttrans_fsctl.c
958 torture/test_case_insensitive.c
959 torture/test_notify_online.c
960 torture/test_chain3.c
962 torture/test_authinfo_structs.c
963 torture/test_smbsock_any_connect.c
964 torture/test_cleanup.c
965 torture/test_notify.c
967 torture/test_dbwrap_watch.c
968 torture/test_idmap_tdb_common.c
969 torture/test_dbwrap_ctdb.c
970 torture/test_buffersize.c
971 torture/test_messaging_read.c
972 torture/test_messaging_fd_passing.c
973 torture/test_oplock_cancel.c
974 torture/test_pthreadpool_tevent.c
975 torture/bench_pthreadpool.c
976 torture/wbc_async.c''',
989 samba-cluster-support
991 cflags
='-DWINBINDD_SOCKET_DIR=\"%s\"' % bld
.env
.WINBINDD_SOCKET_DIR
,
994 bld
.SAMBA3_BINARY('smbconftort',
995 source
='lib/smbconf/testsuite.c',
1002 bld
.SAMBA3_BINARY('replacetort',
1003 source
='../lib/replace/test/main.c',
1004 deps
='replace replace-test',
1007 bld
.SAMBA3_BINARY('msgtest',
1008 source
='torture/msgtest.c',
1014 bld
.SAMBA3_BINARY('msg_sink',
1015 source
='torture/msg_sink.c',
1021 bld
.SAMBA3_BINARY('msg_source',
1022 source
='torture/msg_source.c',
1028 bld
.SAMBA3_BINARY('pdbtest',
1029 source
='torture/pdbtest.c',
1038 bld
.SAMBA3_BINARY('vfstest',
1039 source
='''torture/cmd_vfs.c
1041 torture/vfstest_chain.c''',
1048 bld
.SAMBA3_BINARY('versiontest',
1049 source
='lib/version_test.c',
1055 bld
.SAMBA3_BINARY('timelimit',
1056 source
='script/tests/timelimit.c',
1059 bld
.SAMBA3_BINARY('rpc_open_tcp',
1060 source
='torture/rpc_open_tcp.c',
1066 bld
.SAMBA3_BINARY('vlp',
1067 source
='printing/tests/vlp.c',
1073 bld
.SAMBA3_PYTHON('pysmbd',
1074 source
='smbd/pysmbd.c',
1075 deps
='smbd_base pyrpc_util pytalloc-util',
1076 realname
='samba/samba3/smbd.so'
1079 bld
.SAMBA3_PYTHON('pylibsmb',
1080 source
='libsmb/pylibsmb.c',
1081 deps
='smbclient samba-credentials pycredentials',
1082 realname
='samba/samba3/libsmb_samba_internal.so'
1085 bld
.SAMBA3_BINARY('spotlight2sparql',
1087 rpc_server/mdssvc/sparql_parser_test.c
1088 rpc_server/mdssvc/sparql_parser.c
1089 rpc_server/mdssvc/sparql_lexer.c
1090 rpc_server/mdssvc/sparql_mapping.c''',
1091 deps
='samba3-util talloc ' + bld
.env
['libtracker'],
1092 enabled
=bld
.env
.with_spotlight
,
1095 ########################## INCLUDES #################################
1098 bld
.RECURSE('libgpo/gpext')
1099 bld
.RECURSE('lib/pthreadpool')
1100 bld
.RECURSE('librpc')
1101 bld
.RECURSE('librpc/idl')
1102 bld
.RECURSE('libsmb')
1103 bld
.RECURSE('modules')
1104 bld
.RECURSE('param')
1105 bld
.RECURSE('passdb')
1106 bld
.RECURSE('rpc_server')
1107 bld
.RECURSE('script')
1108 bld
.RECURSE('winbindd')
1109 bld
.RECURSE('../examples/auth')
1110 bld
.RECURSE('../examples/libsmbclient')
1111 bld
.RECURSE('../examples/pdb')
1112 bld
.RECURSE('../examples/VFS')
1113 bld
.RECURSE('../examples/fuse')
1114 bld
.RECURSE('lib/netapi/tests')
1115 bld
.RECURSE('lib/netapi/examples')
1116 bld
.RECURSE('smbd/notifyd')
1117 bld
.RECURSE('rpcclient')
1118 bld
.RECURSE('utils')
1121 bld
.ENFORCE_GROUP_ORDERING()
1122 bld
.CHECK_PROJECT_RULES()