5 config_h
= "../include/config.h"
7 bld
.SAMBA_BLDOPTIONS('smbd/build_options.c')
9 bld
.SETUP_BUILD_GROUPS()
11 ######################## SUBSYSTEMS #################################
13 bld
.SAMBA3_LIBRARY('netapi',
14 source
='''lib/netapi/netapi.c
16 lib/netapi/libnetapi.c
17 lib/netapi/joindomain.c
18 lib/netapi/serverinfo.c
19 lib/netapi/wkstainfo.c
23 lib/netapi/localgroup.c
29 lib/netapi/netlogon.c''',
43 public_headers
='../source3/lib/netapi/netapi.h',
44 pc_files
='libnet/netapi.pc',
47 bld
.SAMBA3_LIBRARY('gse',
48 source
='librpc/crypto/gse_krb5.c librpc/crypto/gse.c',
49 deps
='krb5samba gensec smbconf KRBCLIENT secrets3',
52 bld
.SAMBA3_LIBRARY('msrpc3',
55 rpc_client/rpc_transport_np.c
56 rpc_client/rpc_transport_sock.c
57 rpc_client/rpc_transport_tstream.c
58 librpc/rpc/dcerpc_helpers.c
76 bld
.SAMBA3_SUBSYSTEM('AVAHI',
85 enabled
=bld
.env
.with_avahi
)
87 bld
.SAMBA3_SUBSYSTEM('GROUPDB',
94 bld
.SAMBA3_SUBSYSTEM('TLDAP',
98 lib/tldap_gensec_bind.c
106 bld
.SAMBA3_BINARY('test_tldap',
107 source
='lib/test_tldap.c',
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 private_pdb_match
= []
124 private_pdb_match
.append('!idmap_init')
125 private_pdb_match
.append('!idmap_sids_to_xids')
126 private_pdb_match
.append('!idmap_xids_to_sids')
128 ldapsam_pdb_match
= ['!priv2ld', '!smbldap_search_domain_info',
129 '!ldapsam_*', '!groupmap_attr_list*', '!get_userattr_list',
130 '!dominfo_attr_list', '!get_attr_key2string',
131 '!sidmap_attr_list', '!attrib_map_*', '!idpool_attr_list',
133 private_pdb_match
.append('!pdb_nds_*')
134 private_pdb_match
.append('!pdb_ldapsam_init*')
135 private_pdb_match
.append('!pdb_*_init')
136 private_pdb_match
= private_pdb_match
+ ldapsam_pdb_match
138 bld
.SAMBA3_LIBRARY('samba-passdb',
141 private_library
=False,
142 grouping_library
=True,
144 public_headers_install
=True,
150 abi_match
=private_pdb_match
,
151 abi_directory
='passdb/ABI',
154 bld
.SAMBA3_SUBSYSTEM('pdb',
161 lib/util_sid_passdb.c
170 passdb/pdb_interface.c
171 passdb/pdb_secrets.c''',
184 bld
.SAMBA3_LIBRARY('smbldaphelper',
186 passdb/pdb_ldap_schema.c
187 passdb/pdb_ldap_util.c
189 deps
='smbldap secrets3',
190 allow_undefined_symbols
=True,
191 enabled
=bld
.CONFIG_SET('HAVE_LDAP'),
192 private_library
=True)
194 bld
.SAMBA3_SUBSYSTEM('SERVER_MUTEX',
195 source
='lib/server_mutex.c',
198 # this includes only the low level parse code, not stuff
199 # that requires knowledge of security contexts
200 bld
.SAMBA3_SUBSYSTEM('REG_PARSE_PRS',
201 source
='registry/reg_parse_prs.c')
203 bld
.SAMBA3_SUBSYSTEM('REGFIO',
204 source
='registry/regfio.c',
205 deps
='samba-util REG_PARSE_PRS')
207 bld
.SAMBA_BINARY('test_registry_regfio',
208 source
='registry/tests/test_regfio.c',
209 deps
='cmocka samba3-util smbconf REGFIO',
213 # Do not link against this use 'smbconf'
214 bld
.SAMBA3_SUBSYSTEM('SMBREGISTRY',
217 registry/reg_dispatcher.c
218 registry/reg_cachehook.c
219 registry/reg_objects.c
220 registry/reg_util_internal.c
222 registry/reg_backend_db.c
223 registry/reg_parse_internal.c
226 registry/reg_init_basic.c
243 # Do not link against this use 'smbconf'
244 bld
.SAMBA3_SUBSYSTEM('REG_SMBCONF',
246 registry/reg_backend_smbconf.c
247 registry/reg_init_smbconf.c
248 registry/reg_util_token.c
249 registry/reg_api_util.c
253 bld
.SAMBA3_SUBSYSTEM('REG_FULL',
255 registry/reg_backend_printing.c
256 registry/reg_backend_shares.c
257 registry/reg_backend_netlogon_params.c
258 registry/reg_backend_prod_options.c
259 registry/reg_backend_tcpip_params.c
260 registry/reg_backend_hkpt_params.c
261 registry/reg_backend_current_version.c
262 registry/reg_backend_perflib.c
263 registry/reg_init_full.c
264 registry/reg_perfcount.c''',
270 bld
.SAMBA3_LIBRARY('popt_samba3',
271 source
='lib/popt_common.c',
272 deps
='popt samba-util smbconf',
273 private_library
=True)
275 bld
.SAMBA3_LIBRARY('popt_samba3_cmdline',
276 source
='lib/popt_common_cmdline.c',
277 deps
='popt_samba3 util_cmdline cmdline_contexts',
278 private_library
=True)
280 bld
.SAMBA3_LIBRARY('util_cmdline',
281 source
='lib/util_cmdline.c',
282 deps
='secrets3 samba-credentials cli_smb_common',
283 private_library
=True)
285 bld
.SAMBA3_LIBRARY('cmdline_contexts',
286 source
='lib/cmdline_contexts.c',
288 private_library
=True)
290 bld
.SAMBA3_SUBSYSTEM('KRBCLIENT',
291 source
='libads/kerberos.c libads/ads_status.c',
292 public_deps
='krb5samba asn1util k5crypto gssapi LIBTSOCKET CLDAP LIBNMB')
294 bld
.SAMBA3_SUBSYSTEM('samba3util',
301 lib/util_specialsids.c
308 lib/util_transfer_file.c
309 lib/util_macstreams.c
323 if bld
.env
.with_ctdb
:
324 SAMBA_CLUSTER_SUPPORT_SOURCES
='''
325 lib/cluster_support.c
326 lib/dbwrap/dbwrap_ctdb.c
328 lib/messages_ctdb_ref.c
331 SAMBA_CLUSTER_SUPPORT_DEPS
='''
337 SAMBA_CLUSTER_SUPPORT_SOURCES
='''
338 lib/cluster_support.c
341 SAMBA_CLUSTER_SUPPORT_DEPS
='''
346 bld
.SAMBA3_LIBRARY('samba-cluster-support',
347 source
=SAMBA_CLUSTER_SUPPORT_SOURCES
,
348 deps
=SAMBA_CLUSTER_SUPPORT_DEPS
,
349 allow_undefined_symbols
=True,
350 private_library
=True)
352 bld
.SAMBA3_SUBSYSTEM('TDB_LIB',
354 lib/dbwrap/dbwrap_open.c
355 lib/dbwrap/dbwrap_watch.c
360 samba-cluster-support
363 bld
.SAMBA3_LIBRARY('messages_util',
364 source
='''lib/messages_util.c''',
366 private_library
=True)
368 bld
.SAMBA3_SUBSYSTEM('samba3core',
374 lib/server_id_watch.c
375 lib/server_id_db_util.c
377 ../lib/util/debug_s3.c
384 lib/substitute_generic.c
390 lib/global_contexts.c
392 lib/server_prefork_util.c
423 bld
.SAMBA3_LIBRARY('smbd_shim',
424 source
='''lib/smbd_shim.c''',
426 private_library
=True)
428 bld
.SAMBA3_SUBSYSTEM('auth_generic',
429 source
='libsmb/auth_generic.c',
432 bld
.SAMBA3_LIBRARY('libsmb',
441 libsmb/clireadwrite.c
452 libsmb/reparse_symlink.c
454 libsmb/smbsock_connect.c
455 libsmb/cli_smb2_fnum.c
470 private_library
=True)
472 bld
.SAMBA3_SUBSYSTEM('CLDAP',
473 source
='libads/cldap.c',
474 deps
='cli-ldap-common cli_cldap LIBTSOCKET')
476 # NOTE: The secrets3 library is a low level library used by several subsystems.
477 # PLEASE DO NOT make it depend on high level libraries like PDB, if you are
478 # doing that your design is wrong and needs changing. -SSS
479 bld
.SAMBA3_LIBRARY('secrets3',
482 passdb/machine_account_secrets.c
494 private_library
=True)
496 bld
.SAMBA3_LIBRARY('smbldap',
497 source
='lib/smbldap.c',
498 deps
='ldap lber samba-util smbconf',
499 enabled
=bld
.CONFIG_SET("HAVE_LDAP"),
500 private_library
=False,
501 abi_directory
='lib/ABI',
502 abi_match
='smbldap_*',
505 public_headers
='include/smbldap.h include/smb_ldap.h')
507 bld
.SAMBA3_LIBRARY('ads',
511 libads/sasl_wrapping.c
513 libads/kerberos_util.c
516 libads/kerberos_keytab.c
522 libads/net_ads_setspn.c
537 private_library
=True)
539 bld
.SAMBA3_SUBSYSTEM('LIBADS_SERVER',
540 source
='libads/authdata.c',
541 deps
='SERVER_MUTEX ndr-krb5pac krb5samba gssapi')
543 bld
.SAMBA3_SUBSYSTEM('LIBADS_PRINTER',
544 source
='libads/ldap_printer.c',
545 deps
='samba-util krb5samba')
547 # Only smbconf should link against this subsystem, else we will create
548 # a circular dependency.
549 bld
.SAMBA3_SUBSYSTEM('SMBCONF_PARAM',
553 lib/ldap_debug_handler.c
568 bld
.SAMBA3_LIBRARY('smbconf',
570 lib/smbconf/smbconf_init.c
571 lib/smbconf/smbconf_reg.c
586 public_headers
='../lib/smbconf/smbconf.h',
590 bld
.SAMBA3_SUBSYSTEM('sysquotas',
593 lib/sysquotas_linux.c
601 deps
='samba3-util samba-util tirpc')
606 if bld
.CONFIG_SET("HAVE_INOTIFY"):
607 NOTIFY_SOURCES
+= ' smbd/notify_inotify.c'
609 if bld
.CONFIG_SET('SAMBA_FAM_LIBS'):
610 NOTIFY_SOURCES
+= ' smbd/notify_fam.c'
611 NOTIFY_DEPS
+= ' ' + bld
.CONFIG_GET('SAMBA_FAM_LIBS')
613 bld
.SAMBA3_LIBRARY('smbd_base',
653 printing/printspoolss.c
660 smbd/aio.c smbd/statvfs.c
664 smbd/dnsregister.c smbd/globals.c
668 smbd/smb2_sesssetup.c
677 smbd/smb2_ioctl_dfs.c
678 smbd/smb2_ioctl_filesys.c
679 smbd/smb2_ioctl_named_pipe.c
680 smbd/smb2_ioctl_network_fs.c
681 smbd/smb2_keepalive.c
682 smbd/smb2_query_directory.c
687 smbd/smbXsrv_version.c
688 smbd/smbXsrv_client.c
689 smbd/smbXsrv_session.c
705 ''' + NOTIFY_SOURCES
,
738 bld
.env
['dmapi_lib'] +
739 bld
.env
['legacy_quota_libs'] +
741 private_library
=True)
743 bld
.SAMBA3_SUBSYSTEM('LOCKING',
748 locking/share_mode_lock.c
760 bld
.SAMBA3_SUBSYSTEM('LEASES_DB',
761 source
='locking/leases_db.c',
762 deps
='NDR_LEASES_DB')
764 bld
.SAMBA3_SUBSYSTEM('LEASES_UTIL',
765 source
='locking/leases_util.c',
766 deps
='NDR_OPEN_FILES')
768 if bld
.CONFIG_GET("WITH_PROFILE"):
769 bld
.SAMBA3_SUBSYSTEM('PROFILE',
770 source
='profile/profile.c',
776 bld
.SAMBA3_SUBSYSTEM('PROFILE',
777 source
='profile/profile_dummy.c',
780 bld
.SAMBA3_SUBSYSTEM('PRINTBASE',
783 printing/printing_db.c
790 bld
.SAMBA3_SUBSYSTEM('PRINTBACKEND',
793 printing/nt_printing.c
794 printing/nt_printing_tdb.c
795 printing/nt_printing_migrate_internal.c
796 printing/nt_printing_ads.c
797 printing/queue_process.c
807 bld
.SAMBA3_LIBRARY('printing_migrate',
809 printing/nt_printing_migrate.c
810 rpc_client/cli_winreg_spoolss.c
811 printing/nt_printing_os2.c
820 private_library
=True)
822 bld
.SAMBA3_SUBSYSTEM('PRINTING',
825 printing/print_svid.c
827 printing/print_cups.c
828 printing/print_generic.c
831 printing/print_standard.c
832 printing/print_iprint.c
833 printing/printer_list.c
841 bld
.SAMBA3_SUBSYSTEM('FNAME_UTIL',
842 source
='lib/filename_util.c',
845 bld
.SAMBA3_SUBSYSTEM('LIBNET',
846 source
='libnet/libnet_join.c',
847 deps
='NDR_LIBNET_JOIN INIT_SAMR net_keytab pdb')
849 bld
.SAMBA3_LIBRARY('net_keytab',
850 source
='libnet/libnet_keytab.c',
851 deps
='krb5samba ads',
852 private_library
=True)
855 bld
.SAMBA3_SUBSYSTEM('LIBNET_DSSYNC',
857 libnet/libnet_dssync.c
858 libnet/libnet_dssync_passdb.c
859 libnet/libnet_dssync_keytab.c
866 bld
.SAMBA3_SUBSYSTEM('LIBEVENTLOG',
867 source
='lib/eventlog/eventlog.c',
868 deps
='NDR_EVENTLOG tdb')
870 bld
.SAMBA3_SUBSYSTEM('LIBNMB',
878 libads/sitename_cache.c
889 bld
.SAMBA3_SUBSYSTEM('SERVICES',
891 services/svc_spoolss.c
892 services/svc_rcinit.c
893 services/svc_winreg_glue.c
894 services/svc_netlogon.c
895 services/svc_winreg.c
900 bld
.SAMBA3_SUBSYSTEM('PLAINTEXT_AUTH',
911 bld
.SAMBA3_SUBSYSTEM('PASSCHANGE',
912 source
='libsmb/passchange.c',
920 bld
.SAMBA3_SUBSYSTEM('SAMBA_VERSION',
921 source
='lib/version.c',
924 bld
.SAMBA3_SUBSYSTEM('SLCACHE',
925 source
='libsmb/samlogon_cache.c',
931 bld
.SAMBA3_SUBSYSTEM('dsgetdcname',
940 bld
.SAMBA3_SUBSYSTEM('DCUTIL',
942 libsmb/namequery_dc.c
951 bld
.SAMBA3_LIBRARY('trusts_util',
952 source
='libsmb/trusts_util.c',
958 private_library
=True)
960 bld
.SAMBA3_SUBSYSTEM('tdb-wrap3',
961 source
='lib/util_tdb.c',
962 deps
='talloc samba3-util')
964 bld
.SAMBA3_LIBRARY('samba3-util',
979 private_library
=True)
981 bld
.SAMBA_LIBRARY('xattr_tdb',
982 source
='lib/xattr_tdb.c',
983 deps
='NDR_XATTR dbwrap samba3-util',
984 private_library
=True)
986 bld
.SAMBA3_LIBRARY('CHARSET3',
999 private_library
=True)
1001 bld
.SAMBA3_SUBSYSTEM('errors3',
1007 deps
='samba-errors')
1009 bld
.SAMBA3_SUBSYSTEM('LIBCLI_SAMR',
1010 source
='rpc_client/cli_samr.c',
1011 deps
='RPC_NDR_SAMR INIT_SAMR')
1013 bld
.SAMBA3_LIBRARY('libcli_lsa3',
1014 source
='rpc_client/cli_lsarpc.c',
1015 deps
='RPC_NDR_LSA INIT_LSA',
1016 private_library
=True)
1018 bld
.SAMBA3_LIBRARY('libcli_netlogon3',
1020 rpc_client/cli_netlogon.c
1021 rpc_client/util_netlogon.c
1028 NETLOGON_CREDS_CLI''',
1029 private_library
=True)
1031 bld
.SAMBA3_LIBRARY('cli_spoolss',
1033 rpc_client/cli_spoolss.c
1034 rpc_client/init_spoolss.c
1040 private_library
=True)
1042 bld
.SAMBA3_SUBSYSTEM('LIBCLI_WINREG',
1043 source
='rpc_client/cli_winreg.c',
1044 deps
='RPC_NDR_WINREG')
1046 bld
.SAMBA3_SUBSYSTEM('LIBCLI_WINREG_INTERNAL',
1047 source
='rpc_client/cli_winreg_int.c',
1048 deps
='LIBCLI_WINREG RPC_SERVER')
1050 bld
.SAMBA3_SUBSYSTEM('RPC_CLIENT_SCHANNEL',
1051 source
='rpc_client/cli_pipe_schannel.c',
1052 deps
='samba-util krb5samba')
1054 bld
.SAMBA3_SUBSYSTEM('RPCCLI_MDSSVC',
1056 rpc_client/cli_mdssvc.c
1057 rpc_client/cli_mdssvc_util.c
1059 deps
='mdssvc RPC_NDR_MDSSVC')
1061 bld
.SAMBA3_SUBSYSTEM('INIT_LSA',
1062 source
='rpc_client/init_lsa.c',
1065 bld
.SAMBA3_SUBSYSTEM('INIT_SAMR',
1066 source
='rpc_client/init_samr.c',
1067 deps
='samba-util GNUTLS_HELPERS')
1069 bld
.SAMBA3_SUBSYSTEM('LIBLSA',
1072 bld
.SAMBA3_SUBSYSTEM('SPOOLSSD',
1073 source
='printing/spoolssd.c',
1079 bld
.SAMBA3_SUBSYSTEM('tevent-glib-glue',
1080 source
='lib/tevent_glib_glue.c',
1082 enabled
=bld
.CONFIG_SET('WITH_TEVENT_GLIB_GLUE'),
1085 bld
.SAMBA3_SUBSYSTEM('ADOUBLE',
1086 source
='lib/adouble.c',
1087 deps
='STRING_REPLACE')
1089 bld
.SAMBA3_SUBSYSTEM('STRING_REPLACE',
1090 source
='lib/string_replace.c')
1092 bld
.SAMBA3_SUBSYSTEM('fd_handle',
1093 source
='smbd/fd_handle.c')
1095 ########################## BINARIES #################################
1097 bld
.SAMBA3_BINARY('smbd/smbd',
1098 source
='smbd/server.c smbd/smbd_cleanupd.c',
1108 install_path
='${SBINDIR}')
1111 bld
.SAMBA3_SUBSYSTEM('TDB_VALIDATE',
1112 source
='lib/tdb_validate.c',
1116 bld
.SAMBA3_BINARY('client/smbclient',
1135 bld
.SAMBA3_BINARY('smbspool',
1136 source
='client/smbspool.c',
1145 bld
.SAMBA3_BINARY('smbspool_krb5_wrapper',
1146 source
='client/smbspool_krb5_wrapper.c',
1152 install_path
='${LIBEXECDIR}/samba',
1153 enabled
=bld
.CONFIG_SET('HAVE_CUPS'))
1155 bld
.SAMBA3_BINARY('smbspool_argv_wrapper',
1156 source
='script/tests/smbspool_argv_wrapper.c',
1159 bld
.SAMBA3_BINARY('locktest2',
1160 source
='torture/locktest2.c',
1169 TORTURE3_ADDITIONAL_SOURCE
=""
1171 if bld
.env
.with_ctdb
:
1172 TORTURE3_ADDITIONAL_SOURCE
+= ' torture/test_ctdbd_conn.c'
1174 bld
.SAMBA3_BINARY('smbtorture' + bld
.env
.suffix3
,
1181 torture/mangle_test.c
1183 torture/test_async_echo.c
1184 torture/test_addrchange.c
1185 torture/test_posix_append.c
1186 torture/test_posix.c
1187 torture/test_nttrans_create.c
1188 torture/test_nttrans_fsctl.c
1189 torture/test_case_insensitive.c
1190 torture/test_notify_online.c
1191 torture/test_chain3.c
1193 torture/test_authinfo_structs.c
1194 torture/test_smbsock_any_connect.c
1195 torture/test_cleanup.c
1196 torture/test_notify.c
1197 lib/tevent_barrier.c
1198 torture/test_dbwrap_watch.c
1199 torture/test_dbwrap_do_locked.c
1200 torture/test_idmap_tdb_common.c
1201 torture/test_dbwrap_ctdb.c
1202 torture/test_buffersize.c
1203 torture/test_messaging_read.c
1204 torture/test_messaging_fd_passing.c
1205 torture/test_messaging_send_all.c
1206 torture/test_oplock_cancel.c
1207 torture/test_pthreadpool_tevent.c
1208 torture/bench_pthreadpool.c
1210 torture/test_g_lock.c
1211 torture/test_namemap_cache.c
1212 torture/test_idmap_cache.c
1213 torture/test_hidenewfiles.c
1214 torture/test_readdir_timestamp.c
1215 ''' + TORTURE3_ADDITIONAL_SOURCE
,
1228 samba-cluster-support
1230 cflags
='-DWINBINDD_SOCKET_DIR=\"%s\"' % bld
.env
.WINBINDD_SOCKET_DIR
,
1233 bld
.SAMBA3_BINARY('smbconftort',
1234 source
='lib/smbconf/testsuite.c',
1242 bld
.SAMBA3_BINARY('msgtest',
1243 source
='torture/msgtest.c',
1250 bld
.SAMBA3_BINARY('msg_sink',
1251 source
='torture/msg_sink.c',
1258 bld
.SAMBA3_BINARY('msg_source',
1259 source
='torture/msg_source.c',
1266 bld
.SAMBA3_BINARY('test_mdsparser_es',
1268 rpc_server/mdssvc/test_mdsparser_es.c
1269 rpc_server/mdssvc/es_parser.y
1270 rpc_server/mdssvc/es_lexer.l
1271 rpc_server/mdssvc/es_mapping.c
1281 enabled
=bld
.env
.spotlight_backend_es
,
1284 bld
.SAMBA3_BINARY('pdbtest',
1285 source
='torture/pdbtest.c',
1295 bld
.SAMBA3_BINARY('vfstest',
1299 torture/vfstest_chain.c
1309 bld
.SAMBA3_BINARY('versiontest',
1310 source
='lib/version_test.c',
1317 bld
.SAMBA3_BINARY('timelimit',
1318 source
='script/tests/timelimit.c',
1321 bld
.SAMBA3_BINARY('rpc_open_tcp',
1322 source
='torture/rpc_open_tcp.c',
1329 bld
.SAMBA3_BINARY('vlp',
1330 source
='printing/tests/vlp.c',
1338 pyrpc_util
= bld
.pyembed_libname('pyrpc_util')
1339 pytalloc_util
= bld
.pyembed_libname('pytalloc-util')
1340 bld
.SAMBA3_PYTHON('pysmbd',
1341 source
='smbd/pysmbd.c',
1342 deps
=' '.join(['smbd_base', pyrpc_util
, pytalloc_util
]),
1343 realname
='samba/samba3/smbd.so'
1346 pycredentials
= 'pycredentials'
1347 bld
.SAMBA3_PYTHON('pylibsmb',
1348 source
='libsmb/pylibsmb.c',
1349 deps
='smbclient samba-credentials %s' % pycredentials
,
1350 realname
='samba/samba3/libsmb_samba_cwrapper.so'
1353 bld
.SAMBA3_PYTHON('pymdscli',
1354 source
='rpc_client/py_mdscli.c',
1355 deps
=' '.join(['RPCCLI_MDSSVC', pytalloc_util
, pyrpc_util
]),
1356 realname
='samba/samba3/mdscli.so')
1358 bld
.SAMBA3_BINARY('spotlight2sparql',
1360 rpc_server/mdssvc/sparql_parser_test.c
1361 rpc_server/mdssvc/sparql_parser.y
1362 rpc_server/mdssvc/sparql_lexer.l
1363 rpc_server/mdssvc/sparql_mapping.c''',
1364 deps
='samba3-util talloc ' + bld
.env
['libtracker'],
1365 enabled
=bld
.env
.spotlight_backend_tracker
,
1368 bld
.SAMBA3_BINARY('spotlight2es',
1370 rpc_server/mdssvc/es_parser_test.c
1371 rpc_server/mdssvc/es_parser.y
1372 rpc_server/mdssvc/es_lexer.l
1373 rpc_server/mdssvc/es_mapping.c''',
1374 deps
='samba3-util talloc jansson smbconf',
1375 enabled
=bld
.env
.spotlight_backend_es
,
1378 bld
.SAMBA3_BINARY('tevent_glib_glue_test',
1379 source
='lib/tevent_glib_glue_tests.c',
1384 tevent-glib-glue''',
1385 enabled
=bld
.CONFIG_SET('WITH_TEVENT_GLIB_GLUE'),
1388 bld
.SAMBA3_BINARY('tevent_glib_tracker',
1389 source
='utils/async-tracker.c',
1394 tevent-glib-glue ''' + bld
.env
['libtracker'],
1395 enabled
=bld
.CONFIG_SET('HAVE_TRACKER') and bld
.CONFIG_SET('WITH_TEVENT_GLIB_GLUE'),
1398 ########################## INCLUDES #################################
1401 bld
.RECURSE('libgpo/gpext')
1402 bld
.RECURSE('librpc')
1403 bld
.RECURSE('librpc/idl')
1404 bld
.RECURSE('libsmb')
1405 bld
.RECURSE('modules')
1406 bld
.RECURSE('param')
1407 bld
.RECURSE('passdb')
1408 bld
.RECURSE('rpc_server')
1409 bld
.RECURSE('script')
1410 bld
.RECURSE('winbindd')
1411 bld
.RECURSE('../examples/auth')
1412 bld
.RECURSE('../examples/libsmbclient')
1413 bld
.RECURSE('../examples/pdb')
1414 bld
.RECURSE('../examples/VFS')
1415 bld
.RECURSE('../examples/fuse')
1416 bld
.RECURSE('../examples/winexe')
1417 bld
.RECURSE('lib/netapi/tests')
1418 bld
.RECURSE('lib/netapi/examples')
1419 bld
.RECURSE('smbd/notifyd')
1420 bld
.RECURSE('rpcclient')
1421 bld
.RECURSE('utils')
1423 bld
.RECURSE('lib/util')
1425 bld
.ENFORCE_GROUP_ORDERING()
1426 bld
.CHECK_PROJECT_RULES()