2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-03-24 03:28:03 +03:00
from samba_utils import *
2011-02-09 07:56:20 +03:00
import samba_version, samba3
2010-03-24 03:28:03 +03:00
2011-01-04 14:56:29 +03:00
TDB_LIB_SRC = '''
2011-07-06 18:40:21 +04:00
lib/dbwrap/dbwrap_open.c
2011-07-07 19:42:08 +04:00
lib/dbwrap/dbwrap_ctdb.c
2012-02-15 18:17:33 +04:00
lib/dbwrap/dbwrap_watch.c
2011-05-30 11:39:35 +04:00
lib/g_lock.c'''
2010-03-24 03:28:03 +03:00
TDB_VALIDATE_SRC = '''lib/tdb_validate.c'''
2011-10-17 20:00:01 +04:00
SMBLDAP_SRC = '''lib/smbldap.c'''
2010-03-24 03:28:03 +03:00
VERSION_SRC = '''lib/version.c'''
AFS_SRC = 'lib/afs.c'
AFS_SETTOKEN_SRC = 'lib/afs_settoken.c'
2010-05-28 17:56:32 +04:00
AVAHI_SRC = 'lib/avahi.c smbd/avahi_register.c'
2010-03-24 03:28:03 +03:00
SERVER_MUTEX_SRC = 'lib/server_mutex.c'
PASSCHANGE_SRC = '''libsmb/passchange.c'''
2010-11-30 19:50:32 +03:00
LIBCLI_SPOOLSS_SRC = '''rpc_client/cli_spoolss.c
2010-08-12 19:19:24 +04:00
rpc_client/init_spoolss.c'''
2011-12-07 09:03:04 +04:00
LIBCLI_LSA_SRC = '''rpc_client/cli_lsarpc.c'''
2010-08-12 21:06:57 +04:00
2010-11-30 18:43:34 +03:00
LIBCLI_SAMR_SRC = 'rpc_client/cli_samr.c'
2010-08-13 14:27:20 +04:00
2011-11-02 19:58:53 +04:00
LIBCLI_NETLOGON_SRC = 'rpc_client/cli_netlogon.c rpc_client/util_netlogon.c'
2010-08-26 01:14:33 +04:00
2010-03-24 03:28:03 +03:00
# this includes only the low level parse code, not stuff
# that requires knowledge of security contexts
2010-07-16 04:07:51 +04:00
REG_PARSE_PRS_SRC = '''registry/reg_parse_prs.c'''
2010-03-24 03:28:03 +03:00
2011-02-23 19:00:39 +03:00
LIB_SRC = '''
2010-10-05 19:01:14 +04:00
lib/messages.c lib/messages_local.c
2011-05-02 05:38:41 +04:00
lib/messages_ctdbd.c lib/ctdb_packet.c lib/ctdbd_conn.c
2012-02-15 15:26:59 +04:00
lib/ctdb_conn.c
2012-02-15 16:56:23 +04:00
lib/msg_channel.c
2011-08-19 19:28:37 +04:00
lib/id_cache.c
2010-04-18 11:30:59 +04:00
lib/talloc_dict.c
lib/serverid.c
2011-02-01 21:22:04 +03:00
lib/addrchange.c
2010-04-18 11:30:59 +04:00
${TDB_LIB_SRC}
2011-03-22 08:17:39 +03:00
../lib/util/debug_s3.c
lib/dumpcore.c
2012-04-17 05:25:40 +04:00
lib/interface.c
2010-04-18 11:30:59 +04:00
lib/username.c
2010-10-20 19:16:23 +04:00
lib/access.c lib/smbrun.c
2010-04-18 11:30:59 +04:00
lib/wins_srv.c
2011-05-30 11:27:23 +04:00
lib/substitute.c lib/substitute_generic.c
2011-02-09 00:37:09 +03:00
lib/ms_fnmatch.c
2010-04-18 11:30:59 +04:00
lib/tallocmsg.c lib/dmallocmsg.c
2011-02-08 12:45:39 +03:00
intl/lang_tdb.c
2011-05-30 10:55:30 +04:00
lib/conn_tdb.c lib/gencache.c
2010-04-18 11:30:59 +04:00
lib/sessionid_tdb.c
2011-10-06 11:57:20 +04:00
lib/events.c
2010-06-15 13:43:30 +04:00
lib/server_contexts.c
2011-04-21 00:28:57 +04:00
lib/server_prefork.c
2011-08-12 23:24:17 +04:00
lib/server_prefork_util.c
2010-09-26 22:07:03 +04:00
lib/ldap_escape.c
2010-04-18 11:30:59 +04:00
lib/fncall.c
2010-09-23 18:58:33 +04:00
libads/krb5_errs.c lib/system_smbd.c lib/audit.c
2012-07-18 13:25:42 +04:00
lib/tevent_wait.c
2012-04-16 09:34:40 +04:00
lib/idmap_cache.c'''
2010-03-24 03:28:03 +03:00
2012-01-12 16:39:17 +04:00
LIB_UTIL_SRC = '''
lib/system.c
lib/sendfile.c
lib/recvfile.c
lib/time.c
lib/util_sid.c
lib/util_file.c
lib/util.c
lib/util_sock.c
lib/util_transfer_file.c
lib/sock_exec.c'''
2010-03-24 03:28:03 +03:00
POPT_LIB_SRC = '''lib/popt_common.c'''
2010-11-30 18:25:37 +03:00
PARAM_UTIL_SRC = '''param/util.c'''
2011-11-10 05:45:54 +04:00
PARAM_WITHOUT_REG_SRC = '''param/loadparm.c
2011-05-30 12:39:27 +04:00
lib/sharesec.c lib/ldap_debug_handler.c lib/util_names.c'''
2010-03-24 03:28:03 +03:00
2012-04-22 01:26:18 +04:00
KRBCLIENT_SRC = '''libads/kerberos.c libads/ads_status.c'''
2010-03-24 03:28:03 +03:00
LIBGPO_SRC0 = '''../libgpo/gpo_ldap.c ../libgpo/gpo_ini.c ../libgpo/gpo_util.c
2010-04-18 11:30:59 +04:00
../libgpo/gpo_fetch.c libgpo/gpo_filesync.c ../libgpo/gpo_sec.c
2010-09-26 22:30:36 +04:00
libgpo/gpo_reg.c'''
2010-03-24 03:28:03 +03:00
LIBGPO_SRC = '''${LIBGPO_SRC0}'''
2010-08-12 19:04:12 +04:00
LIBADS_SRC = '''libads/ldap.c
2010-04-18 11:30:59 +04:00
libads/sasl.c libads/sasl_wrapping.c
2010-07-02 02:32:52 +04:00
libads/krb5_setpw.c
libads/kerberos_util.c
libads/ldap_user.c
2010-04-18 11:30:59 +04:00
libads/ads_struct.c libads/kerberos_keytab.c
2010-08-19 17:24:20 +04:00
libads/disp_sec.c libads/ldap_utils.c
2010-04-18 11:30:59 +04:00
libads/ldap_schema.c libads/util.c libads/ndr.c'''
2010-03-24 03:28:03 +03:00
2012-03-12 11:24:25 +04:00
LIBADS_SERVER_SRC = '''libads/authdata.c'''
2010-03-24 03:28:03 +03:00
2010-09-23 04:15:15 +04:00
LIBADS_PRINTER_SRC = '''libads/ldap_printer.c'''
SECRETS_SRC = '''passdb/secrets.c passdb/machine_account_secrets.c
2011-02-17 18:10:28 +03:00
passdb/machine_sid.c passdb/secrets_lsa.c'''
2010-09-23 04:15:15 +04:00
2010-03-24 03:28:03 +03:00
LIBNMB_SRC = '''libsmb/unexpected.c libsmb/namecache.c libsmb/nmblib.c
2011-02-24 03:33:09 +03:00
libsmb/namequery.c libsmb/conncache.c
2012-05-05 00:47:27 +04:00
libads/sitename_cache.c'''
2010-03-24 03:28:03 +03:00
2011-02-23 18:50:57 +03:00
LIBNTLMSSP_SRC = '''
2010-04-18 11:30:59 +04:00
libsmb/ntlmssp.c
2011-02-24 02:28:43 +03:00
libsmb/ntlmssp_wrap.c'''
2010-03-24 03:28:03 +03:00
TLDAP_SRC = '''lib/tldap.c lib/tldap_util.c lib/util_tsock.c'''
LIBSMB_SRC = '''libsmb/clientgen.c libsmb/cliconnect.c libsmb/clifile.c
2011-02-17 02:49:11 +03:00
libsmb/clispnego.c
2010-04-18 11:30:59 +04:00
libsmb/clirap.c libsmb/clierror.c libsmb/climessage.c
libsmb/clireadwrite.c libsmb/clilist.c libsmb/cliprint.c
libsmb/clitrans.c libsmb/clisecdesc.c libsmb/clidgram.c
libsmb/clistr.c libsmb/cliquota.c libsmb/clifsinfo.c libsmb/clidfs.c
libsmb/clioplock.c libsmb/clirap2.c
2011-10-19 15:47:39 +04:00
libsmb/async_smb.c
2011-05-05 20:12:07 +04:00
libsmb/smb2cli_tcon.c
2011-01-03 18:53:00 +03:00
libsmb/cli_np_tstream.c
2011-06-23 17:33:58 +04:00
libsmb/reparse_symlink.c
2011-06-23 18:49:17 +04:00
libsmb/clisymlink.c
2011-01-03 18:53:00 +03:00
libsmb/smbsock_connect.c'''
2010-03-24 03:28:03 +03:00
2010-08-13 14:27:20 +04:00
LIBMSRPC_SRC = '''
2010-08-26 02:13:00 +04:00
rpc_client/cli_pipe.c
2010-09-23 04:15:15 +04:00
librpc/rpc/rpc_common.c
2010-08-26 02:13:00 +04:00
rpc_client/rpc_transport_np.c
rpc_client/rpc_transport_sock.c
2010-09-15 16:31:39 +04:00
rpc_client/rpc_transport_tstream.c
2010-08-26 02:13:00 +04:00
librpc/rpc/dcerpc_helpers.c
2011-02-24 03:55:45 +03:00
'''
2010-03-24 03:28:03 +03:00
#
# registry-related objects
#
REG_INIT_SMBCONF_SRC = '''registry/reg_init_smbconf.c'''
REG_INIT_FULL_SRC = '''registry/reg_init_full.c'''
2010-09-15 10:22:37 +04:00
REGFIO_SRC = '''registry/regfio.c ${REG_PARSE_PRS_SRC}'''
2010-03-24 03:28:03 +03:00
2010-09-20 05:10:43 +04:00
REG_API_REGF_SRC = '''registry/reg_api_regf.c'''
2010-03-24 03:28:03 +03:00
REG_BACKENDS_SMBCONF_SRC = '''registry/reg_backend_smbconf.c'''
REG_BACKENDS_EXTRA_SRC = '''registry/reg_backend_printing.c
2010-04-18 11:30:59 +04:00
registry/reg_backend_shares.c
registry/reg_backend_netlogon_params.c
registry/reg_backend_prod_options.c
registry/reg_backend_tcpip_params.c
registry/reg_backend_hkpt_params.c
registry/reg_backend_current_version.c
registry/reg_backend_perflib.c'''
2010-03-24 03:28:03 +03:00
REG_BASE_SRC = '''registry/reg_api.c
2010-04-18 11:30:59 +04:00
registry/reg_dispatcher.c
registry/reg_cachehook.c
2012-04-25 16:15:42 +04:00
registry/reg_objects.c
2010-05-25 19:28:05 +04:00
registry/reg_util_internal.c
2010-04-18 11:30:59 +04:00
lib/util_nttoken.c
2012-04-25 16:15:42 +04:00
registry/reg_backend_db.c
2011-10-14 12:57:11 +04:00
registry/reg_parse_internal.c
2012-04-25 16:15:42 +04:00
lib/cbuf.c
2011-10-14 12:57:11 +04:00
lib/srprs.c
2012-04-25 16:15:42 +04:00
registry/reg_init_basic.c'''
2010-03-24 03:28:03 +03:00
2010-10-20 04:17:41 +04:00
REG_SMBCONF_SRC = '''
2010-04-18 11:30:59 +04:00
${REG_BACKENDS_SMBCONF_SRC}
2010-05-25 19:28:05 +04:00
${REG_INIT_SMBCONF_SRC}
2010-09-21 00:40:55 +04:00
registry/reg_util_token.c
registry/reg_api_util.c'''
2010-03-24 03:28:03 +03:00
2010-10-20 04:17:41 +04:00
REG_FULL_SRC = '''
2010-04-18 11:30:59 +04:00
${REG_BACKENDS_EXTRA_SRC}
${REG_INIT_FULL_SRC}
2010-09-27 10:10:58 +04:00
registry/reg_perfcount.c'''
2010-03-24 03:28:03 +03:00
2010-09-27 05:47:15 +04:00
SERVICES_SRC = '''services/svc_spoolss.c
services/svc_rcinit.c
2011-02-03 14:25:24 +03:00
services/svc_winreg_glue.c
2010-09-27 05:47:15 +04:00
services/svc_netlogon.c
services/svc_winreg.c
services/svc_wins.c'''
2010-03-24 03:28:03 +03:00
LIB_EVENTLOG_SRC = '''lib/eventlog/eventlog.c'''
2010-08-17 02:46:25 +04:00
RPC_CLIENT_SCHANNEL_SRC = '''rpc_client/cli_pipe_schannel.c'''
2012-01-10 17:13:49 +04:00
LOCKING_SRC = '''locking/locking.c locking/brlock.c locking/posix.c locking/share_mode_lock.c'''
2010-03-24 03:28:03 +03:00
PRIVILEGES_SRC = '''lib/privileges.c'''
PASSDB_GET_SET_SRC = '''passdb/pdb_get_set.c'''
2010-10-12 02:26:03 +04:00
PASSDB_SRC = '''${PASSDB_GET_SET_SRC} passdb/passdb.c
2011-03-23 16:57:08 +03:00
lib/util_wellknown.c lib/util_builtin.c passdb/pdb_compat.c
2011-03-23 01:23:17 +03:00
lib/util_unixsids.c passdb/lookup_sid.c
2010-09-26 21:51:40 +04:00
passdb/login_cache.c
2010-05-12 14:32:30 +04:00
passdb/account_pol.c ${PRIVILEGES_SRC}
2012-01-27 13:40:29 +04:00
lib/util_nscd.c lib/winbind_util.c
2012-01-12 18:06:25 +04:00
passdb/pdb_util.c passdb/pdb_interface.c
2011-10-18 00:00:45 +04:00
passdb/pdb_ldap_schema.c
2012-05-18 11:00:58 +04:00
passdb/pdb_secrets.c
passdb/pdb_unixid.c'''
2010-04-12 01:01:29 +04:00
#FIXME: lib/winbind_util.c probably is not part of PASSDB_SRC
2010-03-24 03:28:03 +03:00
GROUPDB_SRC = '''groupdb/mapping.c groupdb/mapping_tdb.c'''
PROFILE_SRC = '''profile/profile.c'''
2010-09-27 05:31:19 +04:00
PROFILES_SRC = '''utils/profiles.c'''
2010-03-24 03:28:03 +03:00
2012-05-16 11:26:12 +04:00
OPLOCK_SRC = '''smbd/oplock.c smbd/oplock_irix.c smbd/oplock_linux.c'''
2010-03-24 03:28:03 +03:00
2010-11-30 20:01:13 +03:00
NOTIFY_SRC = '''smbd/notify.c smbd/notify_inotify.c smbd/notify_internal.c'''
2010-03-24 03:28:03 +03:00
2011-03-22 23:45:44 +03:00
FNAME_UTIL_SRC = '''lib/filename_util.c'''
2010-03-24 03:28:03 +03:00
PLAINTEXT_AUTH_SRC = '''auth/pampass.c auth/pass_check.c'''
SLCACHE_SRC = '''libsmb/samlogon_cache.c'''
2011-11-02 16:06:45 +04:00
DCUTIL_SRC = '''libsmb/namequery_dc.c libsmb/trustdom_cache.c libsmb/dsgetdcname.c'''
2010-03-24 03:28:03 +03:00
2010-04-18 11:30:59 +04:00
WINBINDD_SRC1 = '''winbindd/winbindd.c
winbindd/winbindd_group.c
winbindd/winbindd_util.c
winbindd/winbindd_cache.c
winbindd/winbindd_pam.c
winbindd/winbindd_misc.c
winbindd/winbindd_cm.c
2011-06-05 13:30:43 +04:00
winbindd/winbindd_wins_byip.c
2011-06-15 01:51:10 +04:00
winbindd/winbindd_wins_byname.c
2010-06-16 19:43:57 +04:00
winbindd/winbindd_msrpc.c
2010-06-16 23:15:54 +04:00
winbindd/winbindd_rpc.c
2010-04-18 11:30:59 +04:00
winbindd/winbindd_reconnect.c
winbindd/winbindd_ads.c
2010-06-07 12:18:01 +04:00
winbindd/winbindd_samr.c
2010-04-18 11:30:59 +04:00
winbindd/winbindd_dual.c
winbindd/winbindd_dual_ndr.c
winbindd/winbindd_dual_srv.c
winbindd/winbindd_async.c
winbindd/winbindd_creds.c
winbindd/winbindd_cred_cache.c
winbindd/winbindd_ccache_access.c
winbindd/winbindd_domain.c
winbindd/winbindd_idmap.c
winbindd/winbindd_locator.c
winbindd/winbindd_ndr.c
winbindd/wb_ping.c
winbindd/wb_lookupsid.c
2012-03-24 19:42:47 +04:00
winbindd/wb_lookupsids.c
2010-04-18 11:30:59 +04:00
winbindd/wb_lookupname.c
winbindd/wb_sid2uid.c
winbindd/wb_sid2gid.c
winbindd/wb_uid2sid.c
winbindd/wb_gid2sid.c
winbindd/wb_queryuser.c
winbindd/wb_lookupuseraliases.c
winbindd/wb_lookupusergroups.c
winbindd/wb_getpwsid.c
winbindd/wb_gettoken.c
winbindd/wb_seqnum.c
winbindd/wb_seqnums.c
winbindd/wb_group_members.c
winbindd/wb_getgrsid.c
winbindd/wb_query_user_list.c
winbindd/wb_fill_pwent.c
winbindd/wb_next_pwent.c
winbindd/wb_next_grent.c
winbindd/wb_dsgetdcname.c
winbindd/winbindd_lookupsid.c
2012-03-24 19:42:47 +04:00
winbindd/winbindd_lookupsids.c
2010-04-18 11:30:59 +04:00
winbindd/winbindd_lookupname.c
winbindd/winbindd_sid_to_uid.c
winbindd/winbindd_sid_to_gid.c
winbindd/winbindd_uid_to_sid.c
winbindd/winbindd_gid_to_sid.c
2012-03-24 19:42:47 +04:00
winbindd/winbindd_sids_to_xids.c
2010-04-18 11:30:59 +04:00
winbindd/winbindd_allocate_uid.c
winbindd/winbindd_allocate_gid.c
winbindd/winbindd_getpwsid.c
winbindd/winbindd_getpwnam.c
winbindd/winbindd_getpwuid.c
winbindd/winbindd_getsidaliases.c
winbindd/winbindd_getuserdomgroups.c
winbindd/winbindd_getgroups.c
winbindd/winbindd_show_sequence.c
winbindd/winbindd_getgrgid.c
winbindd/winbindd_getgrnam.c
winbindd/winbindd_getusersids.c
winbindd/winbindd_lookuprids.c
winbindd/winbindd_setpwent.c
winbindd/winbindd_getpwent.c
winbindd/winbindd_endpwent.c
winbindd/winbindd_setgrent.c
winbindd/winbindd_getgrent.c
winbindd/winbindd_endgrent.c
winbindd/winbindd_dsgetdcname.c
winbindd/winbindd_getdcname.c
winbindd/winbindd_list_users.c
winbindd/winbindd_list_groups.c
winbindd/winbindd_check_machine_acct.c
winbindd/winbindd_change_machine_acct.c
winbindd/winbindd_ping_dc.c
2010-04-21 13:08:37 +04:00
winbindd/winbindd_pam_auth.c
winbindd/winbindd_pam_logoff.c
winbindd/winbindd_pam_chauthtok.c
winbindd/winbindd_pam_auth_crap.c
2011-02-23 02:31:35 +03:00
winbindd/winbindd_pam_chng_pswd_auth_crap.c'''
2010-04-18 11:30:59 +04:00
WINBINDD_SRC = '''${WINBINDD_SRC1}
2010-12-20 16:29:34 +03:00
${TDB_VALIDATE_SRC}'''
2010-03-24 03:28:03 +03:00
MANGLE_SRC = '''smbd/mangle.c smbd/mangle_hash.c smbd/mangle_hash2.c'''
2011-12-14 13:23:30 +04:00
SMBD_SRC_MAIN = '''smbd/server.c'''
2010-03-24 03:28:03 +03:00
BUILDOPT_SRC = '''smbd/build_options.c'''
2010-05-31 01:27:08 +04:00
SMBD_SRC_SRV = '''smbd/server_reload.c smbd/files.c smbd/connection.c
2010-06-08 12:56:41 +04:00
smbd/utmp.c smbd/session.c
2011-05-25 08:58:24 +04:00
smbd/dfree.c smbd/dir.c smbd/password.c smbd/conn_msg.c
smbd/conn_idle.c
2010-04-18 11:30:59 +04:00
smbd/share_access.c smbd/fileio.c
2010-03-24 03:28:03 +03:00
smbd/ipc.c smbd/lanman.c smbd/negprot.c
smbd/message.c smbd/nttrans.c smbd/pipes.c
smbd/reply.c smbd/sesssetup.c smbd/trans2.c smbd/uid.c
2010-04-18 11:30:59 +04:00
smbd/dosmode.c smbd/filename.c smbd/open.c smbd/close.c
smbd/blocking.c smbd/sec_ctx.c smbd/srvstr.c
smbd/vfs.c smbd/perfcount.c smbd/statcache.c smbd/seal.c
2010-03-24 03:28:03 +03:00
smbd/posix_acls.c lib/sysacls.c
2010-04-18 11:30:59 +04:00
smbd/process.c smbd/service.c smbd/error.c
2011-03-28 18:42:21 +04:00
printing/printspoolss.c printing/spoolssd.c
2010-04-29 02:55:20 +04:00
lib/sysquotas.c lib/sysquotas_linux.c
2010-04-18 11:30:59 +04:00
lib/sysquotas_xfs.c lib/sysquotas_4A.c
2010-09-23 04:15:15 +04:00
lib/sysquotas_nfs.c
2012-03-23 16:43:39 +04:00
lib/background.c
2010-07-02 01:15:13 +04:00
smbd/fake_file.c
2010-09-24 23:13:27 +04:00
smbd/quotas.c smbd/ntquotas.c smbd/msdfs.c
smbd/aio.c smbd/statvfs.c
2010-04-18 11:30:59 +04:00
smbd/dmapi.c smbd/signing.c
smbd/file_access.c
smbd/dnsregister.c smbd/globals.c
smbd/smb2_server.c
smbd/smb2_glue.c
smbd/smb2_negprot.c
smbd/smb2_sesssetup.c
smbd/smb2_tcon.c
smbd/smb2_create.c
smbd/smb2_close.c
smbd/smb2_flush.c
smbd/smb2_read.c
smbd/smb2_write.c
smbd/smb2_lock.c
smbd/smb2_ioctl.c
smbd/smb2_keepalive.c
smbd/smb2_find.c
smbd/smb2_notify.c
smbd/smb2_getinfo.c
smbd/smb2_setinfo.c
smbd/smb2_break.c
2012-05-08 18:01:21 +04:00
smbd/smbXsrv_version.c
2011-12-15 17:45:56 +04:00
smbd/smbXsrv_session.c
2012-03-16 19:32:28 +04:00
smbd/smbXsrv_tcon.c
2012-02-07 02:06:41 +04:00
smbd/smbXsrv_open.c
2011-05-03 03:33:17 +04:00
smbd/server_exit.c
2010-09-24 03:29:06 +04:00
${MANGLE_SRC}'''
2010-03-24 03:28:03 +03:00
2010-04-23 01:33:38 +04:00
SMBD_SRC_BASE = '''${SMBD_SRC_SRV}
2010-11-30 16:29:31 +03:00
${OPLOCK_SRC} ${NOTIFY_SRC}
2010-12-01 00:41:41 +03:00
${BUILDOPT_SRC}'''
2010-03-24 03:28:03 +03:00
PRINTING_SRC = '''printing/pcap.c printing/print_svid.c printing/print_aix.c
printing/print_cups.c printing/print_generic.c
2010-05-20 12:24:37 +04:00
printing/lpq_parse.c printing/load.c printing/print_standard.c
2010-09-15 16:31:39 +04:00
printing/print_iprint.c printing/printer_list.c'''
2010-03-24 03:28:03 +03:00
PRINTBASE_SRC = '''printing/notify.c printing/printing_db.c'''
2010-08-04 17:31:08 +04:00
PRINTBACKEND_SRC = '''printing/printing.c
printing/nt_printing.c
printing/nt_printing_tdb.c
2011-07-01 16:57:32 +04:00
printing/nt_printing_migrate_internal.c
2011-08-02 00:50:51 +04:00
printing/nt_printing_ads.c
printing/queue_process.c'''
2010-03-24 03:28:03 +03:00
2010-04-12 00:05:50 +04:00
NMBD_SRC1 = '''nmbd/asyncdns.c nmbd/nmbd.c nmbd/nmbd_become_dmb.c
nmbd/nmbd_become_lmb.c nmbd/nmbd_browserdb.c
nmbd/nmbd_browsesync.c nmbd/nmbd_elections.c
nmbd/nmbd_incomingdgrams.c nmbd/nmbd_incomingrequests.c
nmbd/nmbd_lmhosts.c nmbd/nmbd_logonnames.c nmbd/nmbd_mynames.c
nmbd/nmbd_namelistdb.c nmbd/nmbd_namequery.c
nmbd/nmbd_nameregister.c nmbd/nmbd_namerelease.c
nmbd/nmbd_nodestatus.c nmbd/nmbd_packets.c
nmbd/nmbd_processlogon.c nmbd/nmbd_responserecordsdb.c
nmbd/nmbd_sendannounce.c nmbd/nmbd_serverlistdb.c
nmbd/nmbd_subnetdb.c nmbd/nmbd_winsproxy.c nmbd/nmbd_winsserver.c
nmbd/nmbd_workgroupdb.c nmbd/nmbd_synclists.c'''
2010-09-24 23:27:57 +04:00
NMBD_SRC = '${NMBD_SRC1}'
2010-04-12 00:05:50 +04:00
2010-04-30 16:18:20 +04:00
SWAT_SRC1 = '''web/cgi.c web/diagnose.c web/startstop.c web/statuspage.c
web/swat.c web/neg_lang.c'''
2011-01-04 15:05:51 +03:00
SWAT_SRC = '''${SWAT_SRC1}'''
2010-04-30 16:18:20 +04:00
2012-04-04 16:51:09 +04:00
STATUS_SRC = '''utils/status.c utils/status_profile.c smbd/notify_internal.c'''
2010-09-23 04:15:15 +04:00
2012-06-07 15:34:35 +04:00
CCLEAN_SRC = '''utils/cclean.c utils/interact.c'''
2010-09-27 05:39:41 +04:00
SMBCONTROL_SRC = '''utils/smbcontrol.c'''
2010-09-23 04:15:15 +04:00
2010-11-30 19:15:43 +03:00
SMBTREE_SRC = '''utils/smbtree.c'''
2010-04-18 11:30:59 +04:00
2010-04-30 16:33:49 +04:00
TESTPARM_SRC = 'utils/testparm.c'
2010-04-12 01:01:29 +04:00
2010-11-30 16:29:31 +03:00
SMBTA_UTIL_SRC = '''utils/smbta-util.c'''
2010-04-30 21:45:06 +04:00
2010-09-23 11:13:34 +04:00
TEST_LP_LOAD_SRC = '''param/test_lp_load.c'''
2010-04-30 21:45:06 +04:00
2010-09-23 04:15:15 +04:00
PASSWD_UTIL_SRC = 'utils/passwd_util.c'
2010-05-26 16:09:39 +04:00
2011-01-04 15:05:51 +03:00
SMBPASSWD_SRC = '''utils/smbpasswd.c'''
2010-05-26 16:09:39 +04:00
2010-09-26 23:58:58 +04:00
PDBEDIT_SRC = '''utils/pdbedit.c'''
2010-09-23 04:15:15 +04:00
2010-09-23 11:13:34 +04:00
SMBGET_SRC = '''utils/smbget.c'''
2010-09-23 04:15:15 +04:00
2010-08-12 17:42:16 +04:00
RPCCLIENT_SRC1 = '''rpcclient/rpcclient.c rpcclient/cmd_lsarpc.c
rpcclient/cmd_samr.c rpcclient/cmd_spoolss.c
rpcclient/cmd_netlogon.c rpcclient/cmd_srvsvc.c
rpcclient/cmd_dfs.c rpcclient/cmd_epmapper.c
rpcclient/cmd_dssetup.c rpcclient/cmd_echo.c
rpcclient/cmd_shutdown.c rpcclient/cmd_test.c
rpcclient/cmd_wkssvc.c rpcclient/cmd_ntsvcs.c
rpcclient/cmd_drsuapi.c rpcclient/cmd_eventlog.c
2012-03-26 19:34:52 +04:00
rpcclient/cmd_winreg.c rpcclient/cmd_fss.c'''
2010-08-12 17:42:16 +04:00
2010-12-01 00:41:41 +03:00
RPCCLIENT_SRC = '''${RPCCLIENT_SRC1}'''
2010-05-26 16:09:39 +04:00
2010-09-23 04:15:15 +04:00
LIBSMBCLIENT_THREAD_SRC = '''libsmb/libsmb_thread_impl.c
libsmb/libsmb_thread_posix.c'''
2010-09-23 11:27:34 +04:00
LIBSMBSHAREMODES_SRC0 = 'libsmb/smb_share_modes.c'
LIBSMBSHAREMODES_SRC = '${LIBSMBSHAREMODES_SRC0}'
2010-09-23 11:48:16 +04:00
LIBNETAPI_SRC0 = '''lib/netapi/netapi.c
lib/netapi/cm.c
lib/netapi/libnetapi.c
lib/netapi/joindomain.c
lib/netapi/serverinfo.c
lib/netapi/getdc.c
lib/netapi/user.c
lib/netapi/group.c
lib/netapi/localgroup.c
lib/netapi/samr.c
lib/netapi/sid.c
lib/netapi/share.c
lib/netapi/file.c
lib/netapi/shutdown.c
lib/netapi/netlogon.c'''
2010-12-01 00:41:41 +03:00
LIBNETAPI_SRC = '''${LIBNETAPI_SRC0}'''
2010-09-23 04:15:15 +04:00
2012-04-16 19:07:05 +04:00
CLIENT_SRC = '''
client/client.c
client/clitar.c
client/dnsbrowse.c'''
2010-09-23 04:15:15 +04:00
2011-01-07 13:41:15 +03:00
LIB_SMBCONF_SRC = 'lib/smbconf/smbconf_init.c lib/smbconf/smbconf_reg.c'
2010-09-23 04:15:15 +04:00
SMBCONFTORT_SRC0 = 'lib/smbconf/testsuite.c'
2010-09-23 11:13:34 +04:00
SMBCONFTORT_SRC = '''${SMBCONFTORT_SRC0}'''
2010-09-23 04:15:15 +04:00
2011-11-02 15:04:46 +04:00
LIBNET_SRC = 'libnet/libnet_join.c'
2010-09-23 04:15:15 +04:00
2010-09-20 00:35:26 +04:00
LIBNET_DSSYNC_SRC = '''libnet/libnet_dssync.c
2011-02-02 19:01:08 +03:00
libnet/libnet_dssync_passdb.c
2010-12-14 19:33:49 +03:00
libnet/libnet_dssync_keytab.c'''
2010-09-20 00:35:26 +04:00
LIBNET_SAMSYNC_SRC = '''libnet/libnet_samsync.c
libnet/libnet_samsync_ldif.c
libnet/libnet_samsync_passdb.c
libnet/libnet_samsync_display.c
2010-12-14 19:45:33 +03:00
libnet/libnet_samsync_keytab.c'''
2010-09-20 00:35:26 +04:00
NET_SRC1 = '''utils/net.c utils/net_ads.c utils/net_help.c
utils/net_rap.c utils/net_rpc.c utils/net_rpc_samsync.c
utils/net_rpc_join.c utils/net_time.c utils/net_lookup.c
2011-01-28 12:55:58 +03:00
utils/net_cache.c utils/net_groupmap.c
utils/net_idmap.c utils/net_idmap_check.c
2011-06-30 14:08:16 +04:00
utils/interact.c
2010-09-20 00:35:26 +04:00
utils/net_status.c utils/net_rpc_printer.c utils/net_rpc_rights.c
utils/net_rpc_service.c utils/net_rpc_registry.c utils/net_usershare.c
utils/netlookup.c utils/net_sam.c utils/net_rpc_shell.c
utils/net_util.c utils/net_rpc_sh_acct.c utils/net_rpc_audit.c
2010-09-25 03:13:55 +04:00
utils/net_dns.c utils/net_ads_gpo.c
2010-09-20 00:35:26 +04:00
utils/net_conf.c utils/net_join.c utils/net_user.c
utils/net_group.c utils/net_file.c utils/net_registry.c
2011-06-30 14:08:16 +04:00
utils/net_registry_check.c
2010-11-30 18:16:22 +03:00
utils/net_dom.c utils/net_share.c
2010-09-20 00:35:26 +04:00
utils/net_g_lock.c
utils/net_serverid.c
utils/net_eventlog.c
utils/net_printing.c
2011-03-24 14:10:13 +03:00
utils/net_rpc_trust.c
2012-03-24 19:42:47 +04:00
utils/net_rpc_conf.c
2010-09-22 22:28:45 +04:00
registry/reg_parse.c registry/reg_format.c
2011-10-14 12:57:11 +04:00
registry/reg_import.c
'''
2010-09-20 00:35:26 +04:00
NET_SRC2 = 'utils/net_registry_util.c utils/net_help_common.c'
NET_SRC = '''${NET_SRC1}
2010-09-27 05:31:19 +04:00
${NET_SRC2}'''
2010-09-20 00:35:26 +04:00
2010-09-23 18:58:33 +04:00
CUPS_SRC = '''client/smbspool.c'''
2010-09-23 04:15:15 +04:00
2010-11-30 16:56:26 +03:00
NMBLOOKUP_SRC = '''utils/nmblookup.c'''
2010-09-23 04:15:15 +04:00
SMBTORTURE_SRC1 = '''torture/torture.c torture/nbio.c torture/scanner.c torture/utable.c
torture/denytest.c torture/mangle_test.c
torture/nbench.c
2010-10-12 02:46:53 +04:00
torture/test_async_echo.c
2011-02-01 21:22:04 +03:00
torture/test_addrchange.c
2011-01-03 18:53:00 +03:00
torture/test_posix_append.c
2012-03-24 19:42:47 +04:00
torture/test_nttrans_create.c
torture/test_nttrans_fsctl.c
torture/test_case_insensitive.c
torture/test_notify_online.c
torture/test_chain3.c
torture/test_smb2.c
torture/test_authinfo_structs.c
2011-10-26 10:21:04 +04:00
torture/test_smbsock_any_connect.c
2012-03-24 19:42:47 +04:00
torture/test_cleanup.c
2012-05-18 17:02:31 +04:00
torture/test_ctdbconn.c
torture/test_msg.c
torture/test_notify.c
lib/tevent_barrier.c
torture/test_dbwrap_watch.c
torture/test_idmap_tdb_common.c
2011-10-26 10:21:04 +04:00
torture/t_strappend.c'''
2010-09-23 04:15:15 +04:00
2012-06-28 02:51:45 +04:00
SMBTORTURE_SRC = '''${SMBTORTURE_SRC1}
2011-02-17 02:43:05 +03:00
torture/wbc_async.c'''
2010-09-23 04:15:15 +04:00
2010-09-23 18:58:33 +04:00
MASKTEST_SRC = '''torture/masktest.c'''
2010-09-23 04:15:15 +04:00
2010-09-23 18:58:33 +04:00
MSGTEST_SRC = '''torture/msgtest.c'''
2010-09-23 04:15:15 +04:00
2010-11-30 16:29:31 +03:00
LOCKTEST_SRC = '''torture/locktest.c'''
2010-09-23 04:15:15 +04:00
2010-09-23 18:58:33 +04:00
PDBTEST_SRC = '''torture/pdbtest.c'''
2010-09-23 04:15:15 +04:00
2012-02-28 03:19:48 +04:00
VFSTEST_SRC = '''torture/cmd_vfs.c torture/vfstest.c
torture/vfstest_chain.c'''
2010-09-23 04:15:15 +04:00
LOG2PCAP_SRC = '''utils/log2pcaphex.c'''
2010-11-30 16:29:31 +03:00
LOCKTEST2_SRC = '''torture/locktest2.c'''
2010-09-23 04:15:15 +04:00
2010-11-30 19:09:34 +03:00
SMBCACLS_SRC = '''utils/smbcacls.c'''
2010-09-23 04:15:15 +04:00
2010-11-30 19:09:34 +03:00
SMBCQUOTAS_SRC = '''utils/smbcquotas.c'''
2010-09-23 04:15:15 +04:00
EVTLOGADM_SRC0 = 'utils/eventlogadm.c'
2010-11-30 17:12:52 +03:00
EVTLOGADM_SRC = '''${EVTLOGADM_SRC0}'''
2010-09-23 04:15:15 +04:00
SHARESEC_SRC0 = 'utils/sharesec.c'
2010-09-23 11:13:34 +04:00
SHARESEC_SRC = '''${SHARESEC_SRC0}'''
2010-09-23 04:15:15 +04:00
DEBUG2HTML_SRC = '''utils/debug2html.c utils/debugparse.c'''
2010-09-23 18:58:33 +04:00
SMBFILTER_SRC = '''utils/smbfilter.c'''
2010-09-23 04:15:15 +04:00
2010-12-15 00:18:43 +03:00
WINBIND_WINS_NSS_SRC = '''../nsswitch/wins.c'''
2010-09-23 04:15:15 +04:00
NTLM_AUTH_SRC1 = '''utils/ntlm_auth.c utils/ntlm_auth_diagnostics.c'''
2011-02-17 02:49:11 +03:00
NTLM_AUTH_SRC = '''${NTLM_AUTH_SRC1}'''
2010-09-23 04:15:15 +04:00
2011-01-04 14:56:29 +03:00
VLP_SRC = '''printing/tests/vlp.c'''
2010-09-23 04:15:15 +04:00
2010-09-23 22:14:00 +04:00
RPC_OPEN_TCP_SRC = 'torture/rpc_open_tcp.c'
2010-09-23 04:15:15 +04:00
DBWRAP_TOOL_SRC = 'utils/dbwrap_tool.c'
DBWRAP_TORTURE_SRC = 'utils/dbwrap_torture.c'
SPLIT_TOKENS_SRC = 'utils/split_tokens.c'
2010-03-25 15:58:35 +03:00
LIBS='ICONV'
2010-03-24 03:28:03 +03:00
2011-09-01 06:45:38 +04:00
config_h = "../include/config.h"
2011-02-21 03:09:56 +03:00
2011-09-07 11:22:22 +04:00
bld.SAMBA_BLDOPTIONS('smbd/build_options.c')
2010-03-24 03:28:03 +03:00
2010-04-07 17:34:12 +04:00
t = bld.SAMBA_GENERATOR('build_env.h',
source='script/build_env.sh',
target='include/build_env.h',
rule='${SRC} ${SRCDIR} ${BUILDDIR} ${CC} > ${TGT}')
# todo: work out what is really wanted here
t.env.SRCDIR = bld.path.abspath()
t.env.BUILDDIR = bld.path.abspath()
2010-03-24 03:28:03 +03:00
bld.SETUP_BUILD_GROUPS()
2010-04-18 11:30:59 +04:00
######################## SUBSYSTEMS #################################
2011-02-09 07:56:20 +03:00
bld.SAMBA3_LIBRARY('netapi',
2010-09-23 11:48:16 +04:00
source=LIBNETAPI_SRC,
2012-01-24 20:44:32 +04:00
public_deps='''
talloc
2012-01-30 13:53:18 +04:00
util_cmdline
2012-01-24 20:44:32 +04:00
msrpc3
ads
NDR_LIBNETAPI
LIBNET
RPC_CLIENT_SCHANNEL
libcli_netlogon3
LIBCLI_SAMR
INIT_SAMR
''',
2011-02-09 07:56:20 +03:00
public_headers='../source3/lib/netapi/netapi.h',
2012-05-28 06:50:05 +04:00
pc_files='libnet/netapi.pc',
2011-01-28 20:31:41 +03:00
vnum='0',
2010-09-23 11:48:16 +04:00
vars=locals())
2010-05-11 12:30:25 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_LIBRARY('smbsharemodes',
2010-09-23 11:27:34 +04:00
source=LIBSMBSHAREMODES_SRC,
2011-06-20 13:10:25 +04:00
public_deps='''talloc tdb_compat''',
2012-06-29 06:39:06 +04:00
deps='''ccan-hash''',
2010-09-25 08:46:39 +04:00
public_headers='include/smb_share_modes.h',
2012-05-28 06:50:34 +04:00
pc_files='libsmb/smbsharemodes.pc',
2011-01-28 20:31:41 +03:00
vnum='0',
2010-09-23 11:27:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_LIBRARY('nss_wins',
2010-12-15 00:18:43 +03:00
source=WINBIND_WINS_NSS_SRC,
2012-01-18 14:17:16 +04:00
deps='''param libsmb LIBTSOCKET''',
2010-12-15 00:18:43 +03:00
realname='libnss_wins.so.2',
vnum='2')
2012-01-03 03:52:06 +04:00
bld.SAMBA3_LIBRARY('gse',
source='librpc/crypto/gse_krb5.c librpc/crypto/gse.c',
2012-04-22 01:26:18 +04:00
deps='krb5samba gensec param KRBCLIENT secrets3',
2012-01-03 03:52:06 +04:00
private_library=True)
2011-05-14 23:54:57 +04:00
bld.SAMBA3_LIBRARY('msrpc3',
source='${LIBMSRPC_SRC}',
2011-05-16 15:18:25 +04:00
deps='''ndr ndr-standard
2011-05-13 13:49:49 +04:00
RPC_NDR_EPMAPPER NTLMSSP_COMMON COMMON_SCHANNEL LIBCLI_AUTH
2012-01-03 03:52:06 +04:00
LIBTSOCKET gse dcerpc-binding
2011-06-28 20:03:03 +04:00
libsmb''',
2011-05-14 23:54:57 +04:00
vars=locals(),
private_library=True)
2010-09-23 22:14:00 +04:00
2011-11-02 13:45:33 +04:00
bld.SAMBA3_LIBRARY('gpo',
2011-08-31 20:19:13 +04:00
source='${LIBGPO_SRC}',
deps='talloc ads TOKEN_UTIL gpext',
vars=locals(),
private_library=True)
2010-09-26 22:25:15 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('AVAHI',
2010-05-28 17:56:32 +04:00
source=AVAHI_SRC,
2010-06-02 13:19:36 +04:00
deps='avahi-common avahi-client',
2010-05-28 17:56:32 +04:00
enabled=bld.env.with_avahi)
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('GROUPDB',
2011-05-20 12:12:08 +04:00
source=GROUPDB_SRC,
2011-06-20 13:10:25 +04:00
deps='tdb_compat')
2010-04-18 11:30:59 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('TLDAP',
2010-04-18 11:30:59 +04:00
source=TLDAP_SRC,
2011-04-06 08:28:28 +04:00
deps='asn1util LIBTSOCKET')
2010-04-18 11:30:59 +04:00
2011-07-28 08:41:56 +04:00
bld.SAMBA3_LIBRARY('pdb',
2011-02-21 06:45:37 +03:00
source=PASSDB_SRC,
2012-01-27 00:27:54 +04:00
deps='secrets3 GROUPDB SERVER_MUTEX wbclient LIBCLI_AUTH flag_mapping',
2011-02-21 06:45:37 +03:00
private_library=True,
2011-09-27 20:23:39 +04:00
public_headers='''
include/passdb.h
passdb/machine_sid.h
passdb/lookup_sid.h''',
2011-02-21 06:45:37 +03:00
vars=locals())
2010-04-18 11:30:59 +04:00
2012-01-27 13:40:29 +04:00
bld.SAMBA3_SUBSYSTEM('SERVER_MUTEX',
2012-02-07 22:46:43 +04:00
source=SERVER_MUTEX_SRC,
deps='talloc')
2012-01-27 13:40:29 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('PARAM_UTIL',
2012-02-07 22:46:43 +04:00
source=PARAM_UTIL_SRC,
deps='talloc')
2010-11-30 18:25:37 +03:00
2011-09-01 06:45:38 +04:00
bld.SAMBA3_SUBSYSTEM('LOADPARM_CTX',
source='param/loadparm_ctx.c',
2012-02-07 22:46:43 +04:00
deps='''talloc s3_param_h param''',
2011-09-01 06:45:38 +04:00
vars=locals())
2011-06-01 17:22:24 +04:00
2011-07-01 08:36:25 +04:00
bld.SAMBA_GENERATOR('param/param_global_h',
2012-05-28 11:30:44 +04:00
source= '../script/mkparamdefs.pl param/loadparm.c ../lib/param/param_functions.c',
2011-07-01 08:36:25 +04:00
target='param/param_global.h',
2012-05-28 11:30:44 +04:00
rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT} --generate-scope=GLOBAL')
2011-07-01 08:36:25 +04:00
2011-05-30 10:55:30 +04:00
bld.SAMBA3_SUBSYSTEM('param',
2011-06-24 05:47:45 +04:00
source=PARAM_WITHOUT_REG_SRC,
2012-03-14 15:28:38 +04:00
deps='samba-util PARAM_UTIL ldap lber LOADPARM_CTX samba3core smbconf param_local_h param/param_global_h cups''')
2010-04-23 01:33:38 +04:00
2011-09-01 06:45:38 +04:00
bld.SAMBA3_PYTHON('pys3param',
source='param/pyparam.c',
deps='param',
public_deps='samba-hostconfig pytalloc-util talloc',
realname='samba/samba3/param.so')
2011-08-12 09:48:03 +04:00
2011-05-25 09:01:04 +04:00
bld.SAMBA3_SUBSYSTEM('param_service',
source='param/service.c',
2012-01-18 15:19:15 +04:00
deps = 'USER_UTIL param PRINTING')
2011-05-25 09:01:04 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('REGFIO',
2010-09-27 05:31:19 +04:00
source=REGFIO_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-27 05:31:19 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('REG_API_REGF',
2010-09-27 05:31:19 +04:00
source=REG_API_REGF_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-27 05:31:19 +04:00
vars=locals())
2011-04-12 12:59:20 +04:00
bld.SAMBA3_LIBRARY('smbregistry',
source=REG_BASE_SRC,
2012-05-03 20:26:35 +04:00
deps='''smbd_shim tdb-wrap3 NDR_SECURITY util_tdb talloc
2011-06-20 14:36:46 +04:00
replace util_reg samba-util security
2012-03-24 19:42:47 +04:00
errors3 dbwrap samba3-util''',
2011-06-24 05:47:45 +04:00
allow_undefined_symbols=True,
2011-05-30 10:55:30 +04:00
private_library=True)
2010-10-20 04:17:41 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('REG_SMBCONF',
2010-10-20 04:17:41 +04:00
source=REG_SMBCONF_SRC,
2011-04-12 12:59:20 +04:00
deps='smbregistry',
2010-10-20 04:17:41 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('REG_FULL',
2010-10-20 04:17:41 +04:00
source=REG_FULL_SRC,
2011-09-28 21:33:36 +04:00
deps='REG_SMBCONF tdb-wrap3',
2010-10-20 04:17:41 +04:00
vars=locals())
2011-06-28 19:58:25 +04:00
bld.SAMBA3_LIBRARY('popt_samba3',
2011-05-16 15:20:36 +04:00
source=POPT_LIB_SRC,
2011-06-28 20:00:45 +04:00
deps='popt samba-util util_cmdline',
2011-05-16 15:20:36 +04:00
vars=locals(),
private_library=True)
2010-04-30 16:33:49 +04:00
2011-06-28 20:00:45 +04:00
bld.SAMBA3_LIBRARY('util_cmdline',
2011-06-23 11:33:04 +04:00
source='lib/util_cmdline.c',
2012-01-30 13:53:18 +04:00
deps='secrets3',
2011-06-23 11:33:04 +04:00
private_library=True)
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('KRBCLIENT',
2010-04-30 16:43:57 +04:00
source=KRBCLIENT_SRC,
2012-04-24 20:37:13 +04:00
public_deps='krb5samba k5crypto gssapi LIBTSOCKET CLDAP LIBNMB',
2010-04-30 16:43:57 +04:00
vars=locals())
2012-01-12 16:39:17 +04:00
bld.SAMBA3_SUBSYSTEM('samba3util',
source=LIB_UTIL_SRC,
2012-06-29 06:39:06 +04:00
deps='ndr security NDR_SECURITY samba-util util_tdb ccan-hash',
2012-01-12 16:39:17 +04:00
vars=locals())
2011-05-30 10:55:30 +04:00
bld.SAMBA3_SUBSYSTEM('samba3core',
2011-02-21 06:45:37 +03:00
source=LIB_SRC,
2012-01-18 17:17:40 +04:00
deps='''
samba3util
LIBTSOCKET
NDR_MESSAGING
LIBASYNC_REQ
UTIL_PW
SAMBA_VERSION
PTHREADPOOL
interfaces
param
dbwrap
2012-03-24 19:42:47 +04:00
samba3-util
2012-01-18 17:17:40 +04:00
errors3''',
2011-02-21 06:45:37 +03:00
vars=locals())
2010-04-23 01:33:38 +04:00
2011-05-31 07:18:37 +04:00
bld.SAMBA3_LIBRARY('smbd_shim',
2012-02-07 22:46:43 +04:00
source='''lib/smbd_shim.c''',
deps='talloc',
2011-06-24 05:47:45 +04:00
private_library=True)
2010-04-23 01:33:38 +04:00
2011-02-23 18:50:57 +03:00
bld.SAMBA3_SUBSYSTEM('LIBNTLMSSP',
source=LIBNTLMSSP_SRC,
2012-01-27 13:41:46 +04:00
deps='NDR_NTLMSSP NTLMSSP_COMMON wbclient',
2010-04-23 01:33:38 +04:00
vars=locals())
2012-01-05 20:15:14 +04:00
bld.SAMBA3_SUBSYSTEM('auth_generic',
source='libsmb/auth_generic.c',
2012-01-02 13:22:38 +04:00
deps='LIBNTLMSSP gse gensec',
2012-01-05 20:15:14 +04:00
vars=locals())
2011-06-28 20:03:03 +04:00
bld.SAMBA3_LIBRARY('libsmb',
2011-05-12 22:12:07 +04:00
source=LIBSMB_SRC,
2012-01-19 13:12:18 +04:00
deps='''
LIBNTLMSSP
auth_generic
CLDAP
LIBNMB
SPNEGO_PARSE
LIBTSOCKET
KRBCLIENT
cli_smb_common
util_cmdline
tevent''',
2011-05-12 22:12:07 +04:00
vars=locals(),
private_library=True)
2010-11-30 20:07:21 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('CLDAP',
2011-02-22 11:19:49 +03:00
source='libads/cldap.c',
2011-07-25 23:24:20 +04:00
deps='cli-ldap-common cli_cldap LIBTSOCKET',
2010-04-23 01:33:38 +04:00
vars=locals())
2012-01-27 00:27:54 +04:00
# NOTE: The secrets3 library is a low level library used by several subsystems.
# PLEASE DO NOT make it depend on high level libraries like PDB, if you are
# doing that your design is wrong and needs changing. -SSS
bld.SAMBA3_LIBRARY('secrets3',
2011-05-30 10:55:30 +04:00
source=SECRETS_SRC,
2012-01-27 00:27:54 +04:00
deps='NDR_SECRETS param samba3util dbwrap',
private_library=True,
2011-05-30 10:55:30 +04:00
vars=locals())
2010-05-11 19:11:41 +04:00
2011-10-17 19:19:27 +04:00
bld.SAMBA3_LIBRARY('smbldap',
2010-05-13 00:43:18 +04:00
source=SMBLDAP_SRC,
2011-10-17 19:19:27 +04:00
deps='ldap lber samba-util param',
2011-02-11 14:07:39 +03:00
vars=locals(),
2011-10-17 19:19:27 +04:00
enabled=bld.env.HAVE_LDAP,
private_library=True,
public_headers='include/smbldap.h include/smb_ldap.h')
2010-05-13 00:43:18 +04:00
2011-02-21 06:45:37 +03:00
bld.SAMBA3_LIBRARY('ads',
source=LIBADS_SRC,
2012-04-22 01:26:18 +04:00
deps='cli-ldap-common krb5samba ldap lber KRBCLIENT param LIBNMB libsmb DCUTIL smbldap',
2011-02-21 06:45:37 +03:00
private_library=True,
2011-04-15 14:37:55 +04:00
vars=locals())
2010-09-23 17:56:36 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LIBADS_SERVER',
2010-09-23 18:01:52 +04:00
source=LIBADS_SERVER_SRC,
2012-04-24 20:37:13 +04:00
deps='SERVER_MUTEX ndr-krb5pac krb5samba gssapi',
2010-09-23 18:01:52 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LIBADS_PRINTER',
2010-09-23 18:05:11 +04:00
source=LIBADS_PRINTER_SRC,
2012-05-21 13:45:12 +04:00
deps='samba-util krb5samba',
2010-09-23 18:05:11 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LIBAFS',
2010-09-24 23:13:27 +04:00
source=AFS_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-24 23:13:27 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LIBAFS_SETTOKEN',
2010-09-24 23:13:27 +04:00
source=AFS_SETTOKEN_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-24 23:13:27 +04:00
vars=locals())
2011-04-12 13:02:07 +04:00
bld.SAMBA3_LIBRARY('smbconf',
source=LIB_SMBCONF_SRC,
2012-01-18 17:24:31 +04:00
deps='''
CHARSET3
LIBSMBCONF
REG_SMBCONF
SAMBA_VERSION
cap
charset
cli_smb_common
errors3
param
samba-util
smbregistry
talloc
util_reg''',
2011-04-12 13:02:07 +04:00
public_headers='../lib/smbconf/smbconf.h',
2011-08-21 04:09:14 +04:00
pc_files=[],
2011-04-12 13:02:07 +04:00
vnum='0')
2010-10-20 03:54:12 +04:00
2011-05-25 08:58:24 +04:00
bld.SAMBA3_LIBRARY('smbd_conn',
source='smbd/conn.c',
2012-03-24 19:42:47 +04:00
deps='samba3-util samba-util',
2011-05-25 08:58:24 +04:00
private_library=True)
2011-02-21 06:45:37 +03:00
bld.SAMBA3_LIBRARY('smbd_base',
2010-09-23 17:45:56 +04:00
source=SMBD_SRC_BASE,
2012-01-20 14:48:19 +04:00
deps='''
2012-01-24 21:14:57 +04:00
talloc
2012-01-20 14:48:19 +04:00
tevent
pdb
libsmb
msrpc3
vfs
vfs_default
vfs_posixacl
2012-01-24 21:14:57 +04:00
popt_samba3
samba3core
smbd_conn
param_service
AVAHI
PRINTBASE
PROFILE
2012-01-20 14:48:19 +04:00
LOCKING
2012-01-24 21:14:57 +04:00
LIBADS_SERVER
2012-01-20 14:48:19 +04:00
LIBAFS
LIBAFS_SETTOKEN
RPC_SERVER
2011-12-15 17:45:56 +04:00
NDR_SMBXSRV
2012-07-12 12:32:39 +04:00
LIBASYS
2012-02-07 02:06:41 +04:00
ccan-hash
2010-09-28 20:55:55 +04:00
''',
2011-02-21 06:45:37 +03:00
private_library=True,
2010-09-23 17:45:56 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LOCKING',
2010-09-24 22:43:40 +04:00
source='${LOCKING_SRC}',
2012-01-23 21:41:35 +04:00
deps='''
tdb_compat
talloc
NDR_OPEN_FILES
FNAME_UTIL''',
2010-09-24 22:43:40 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('PROFILE',
2010-09-24 23:27:57 +04:00
source='${PROFILE_SRC}',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-24 23:27:57 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('PRINTBASE',
2010-09-27 05:39:41 +04:00
source=PRINTBASE_SRC,
2012-02-06 15:47:16 +04:00
deps='samba-util tdb_compat',
2010-09-27 05:39:41 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('PRINTBACKEND',
2010-09-27 05:39:41 +04:00
source=PRINTBACKEND_SRC,
2012-02-06 15:47:16 +04:00
deps='PRINTBASE LIBADS_PRINTER tdb_compat printing_migrate',
2010-09-27 05:39:41 +04:00
vars=locals())
2011-07-01 16:57:32 +04:00
bld.SAMBA3_LIBRARY('printing_migrate',
2011-07-04 21:47:29 +04:00
source='printing/nt_printing_migrate.c rpc_client/cli_winreg_spoolss.c printing/nt_printing_os2.c',
2011-07-25 23:23:31 +04:00
deps='NDR_NTPRINTING cli_spoolss RPC_NDR_WINREG LIBCLI_WINREG param',
2011-07-01 16:57:32 +04:00
vars=locals(),
private_library=True)
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('PRINTING',
2010-09-27 05:39:41 +04:00
source=PRINTING_SRC,
2012-02-06 15:47:16 +04:00
deps='NDR_PRINTCAP tdb_compat cups',
2010-09-27 05:39:41 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('PASSWD_UTIL',
2010-09-25 03:13:55 +04:00
source=PASSWD_UTIL_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-25 03:13:55 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('FNAME_UTIL',
2010-11-30 16:29:31 +03:00
source=FNAME_UTIL_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-11-30 16:29:31 +03:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LIBNET',
2010-09-25 03:45:41 +04:00
source=LIBNET_SRC,
2012-01-27 00:27:54 +04:00
deps='NDR_LIBNET_JOIN INIT_SAMR net_keytab pdb',
2010-09-25 03:45:41 +04:00
vars=locals())
2011-11-02 15:04:46 +04:00
bld.SAMBA3_LIBRARY('net_keytab',
source='libnet/libnet_keytab.c',
2012-04-22 01:26:18 +04:00
deps='krb5samba ads',
2011-11-02 15:04:46 +04:00
vars=locals(),
private_library=True)
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LIBNET_DSSYNC',
2010-09-25 03:45:41 +04:00
source=LIBNET_DSSYNC_SRC,
2012-01-20 20:58:46 +04:00
deps='LIBNET RPC_NDR_DRSUAPI',
2010-09-25 03:45:41 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LIBNET_SAMSYNC',
2010-09-25 03:45:41 +04:00
source=LIBNET_SAMSYNC_SRC,
2010-12-14 19:45:33 +03:00
deps='LIBNET LIBCLI_SAMSYNC',
2010-09-25 03:45:41 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LIBEVENTLOG',
2010-09-25 04:06:16 +04:00
source=LIB_EVENTLOG_SRC,
2012-02-06 15:47:16 +04:00
deps='NDR_EVENTLOG tdb_compat',
2010-09-25 04:06:16 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LIBNMB',
2011-02-24 03:33:09 +03:00
source=LIBNMB_SRC,
2012-05-05 07:11:19 +04:00
deps='addns lmhosts resolv',
2011-02-24 03:33:09 +03:00
vars=locals())
2010-11-30 16:56:26 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('SERVICES',
2010-09-27 05:47:15 +04:00
source=SERVICES_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-27 05:47:15 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('PLAINTEXT_AUTH',
2010-09-26 21:44:53 +04:00
source=PLAINTEXT_AUTH_SRC,
2011-02-08 12:45:39 +03:00
deps='pam PAM_ERRORS',
2010-09-26 21:44:53 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('PASSCHANGE',
2011-01-04 15:05:51 +03:00
source=PASSCHANGE_SRC,
2012-01-23 21:42:18 +04:00
deps='''LIBCLI_SAMR
INIT_LSA
2012-05-21 13:45:12 +04:00
msrpc3
krb5samba''',
2011-01-04 15:05:51 +03:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('SAMBA_VERSION',
2011-01-04 15:11:35 +03:00
source=VERSION_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2011-01-04 15:11:35 +03:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('SLCACHE',
2010-09-26 21:44:53 +04:00
source=SLCACHE_SRC,
2012-02-06 15:47:16 +04:00
deps='samba-util tdb_compat',
2010-09-26 21:44:53 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('DCUTIL',
2010-09-26 21:44:53 +04:00
source=DCUTIL_SRC,
2011-11-02 19:58:53 +04:00
deps='ads msrpc3 libcli_lsa3',
2010-09-26 21:44:53 +04:00
vars=locals())
2011-11-02 16:06:45 +04:00
bld.SAMBA3_LIBRARY('trusts_util',
source='libsmb/trusts_util.c',
2012-01-27 00:27:54 +04:00
deps='libcli_netlogon3 msrpc3 pdb',
2011-11-02 16:06:45 +04:00
vars=locals(),
private_library=True)
2011-02-21 02:12:48 +03:00
bld.SAMBA3_SUBSYSTEM('tdb-wrap3',
2010-12-14 15:27:24 +03:00
source='lib/util_tdb.c',
2012-04-16 08:20:46 +04:00
deps='talloc samba3-util',
2010-12-14 15:27:24 +03:00
vars=locals())
2010-12-14 15:50:30 +03:00
2012-03-24 19:42:47 +04:00
bld.SAMBA3_LIBRARY('samba3-util',
2012-07-23 09:21:39 +04:00
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''',
2011-07-22 20:33:31 +04:00
deps='samba-util charset',
2011-06-24 05:47:45 +04:00
private_library=True)
2011-05-30 11:42:06 +04:00
2012-04-16 09:49:13 +04:00
bld.SAMBA_LIBRARY('xattr_tdb',
source='lib/xattr_tdb.c',
deps='NDR_XATTR dbwrap samba3-util',
private_library=True)
2011-05-30 10:55:30 +04:00
bld.SAMBA3_LIBRARY('CHARSET3',
source='''lib/charcnv.c lib/fstring.c''',
2011-07-22 20:33:31 +04:00
public_deps='ICONV_WRAPPER charset',
2012-03-24 19:42:47 +04:00
deps='samba-util samba3-util',
2011-06-24 05:47:45 +04:00
private_library=True)
2010-12-14 18:47:35 +03:00
2011-02-21 02:14:13 +03:00
bld.SAMBA3_SUBSYSTEM('errors3',
2011-06-17 08:40:07 +04:00
source='libsmb/errormap.c libsmb/smberr.c lib/errmap_unix.c',
2012-02-02 00:50:31 +04:00
deps='errors')
2010-09-21 12:24:13 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LIBCLI_SAMR',
2010-11-30 18:43:34 +03:00
source=LIBCLI_SAMR_SRC,
2011-01-18 16:41:22 +03:00
deps='RPC_NDR_SAMR')
2010-11-30 18:43:34 +03:00
2011-06-28 20:15:23 +04:00
bld.SAMBA3_LIBRARY('libcli_lsa3',
2011-06-24 05:47:45 +04:00
source=LIBCLI_LSA_SRC,
2012-01-23 17:46:31 +04:00
deps='RPC_NDR_LSA INIT_LSA',
2011-06-24 05:47:45 +04:00
private_library=True)
2010-11-30 19:09:34 +03:00
2011-11-02 19:58:53 +04:00
bld.SAMBA3_LIBRARY('libcli_netlogon3',
source=LIBCLI_NETLOGON_SRC,
deps='RPC_NDR_NETLOGON INIT_NETLOGON cliauth param',
private_library=True)
2010-11-30 19:27:37 +03:00
2011-07-25 23:23:31 +04:00
bld.SAMBA3_LIBRARY('cli_spoolss',
2011-07-05 13:29:37 +04:00
source=LIBCLI_SPOOLSS_SRC,
2012-01-27 00:27:54 +04:00
deps='RPC_NDR_SPOOLSS param secrets3',
2011-07-05 13:29:37 +04:00
private_library=True)
2010-11-30 19:50:32 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('LIBCLI_WINREG',
2011-07-08 19:17:17 +04:00
source='rpc_client/cli_winreg.c',
deps='RPC_NDR_WINREG')
bld.SAMBA3_SUBSYSTEM('LIBCLI_WINREG_INTERNAL',
source='rpc_client/cli_winreg_int.c',
deps='LIBCLI_WINREG RPC_NCACN_NP')
2011-02-03 14:25:24 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_CLIENT_SCHANNEL',
2011-05-20 12:12:08 +04:00
source=RPC_CLIENT_SCHANNEL_SRC,
2012-05-21 13:45:12 +04:00
deps='samba-util krb5samba',
2011-05-20 12:12:08 +04:00
vars=locals())
2010-10-08 15:17:21 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('INIT_LSA',
2011-05-20 12:12:08 +04:00
source='rpc_client/init_lsa.c',
2011-06-20 14:36:46 +04:00
deps='samba-util')
2010-10-08 15:17:21 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('INIT_NETLOGON',
2011-05-20 12:12:08 +04:00
source='rpc_client/init_netlogon.c',
2011-06-20 14:36:46 +04:00
deps='samba-util')
2010-12-01 00:37:37 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('INIT_SAMR',
2011-05-20 12:12:08 +04:00
source='rpc_client/init_samr.c',
2011-06-20 14:36:46 +04:00
deps='samba-util')
2010-12-01 00:41:41 +03:00
2010-04-18 11:30:59 +04:00
########################## BINARIES #################################
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('smbd/smbd',
2010-09-23 17:45:56 +04:00
source='${SMBD_SRC_MAIN}',
2011-08-15 15:25:37 +04:00
deps='smbd_base EPMD LSASD',
2010-04-18 16:42:49 +04:00
install_path='${SBINDIR}',
2010-03-25 01:25:29 +03:00
vars=locals())
2010-03-24 03:28:03 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('nmbd/nmbd',
2010-04-12 00:05:50 +04:00
source=NMBD_SRC,
2012-01-23 17:46:45 +04:00
deps='''
talloc
tevent
param
libsmb
popt_samba3
PROFILE''',
2010-04-18 16:42:49 +04:00
install_path='${SBINDIR}',
2010-04-12 00:05:50 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('winbindd/winbindd',
2010-04-18 11:30:59 +04:00
source=WINBINDD_SRC,
2012-01-23 18:14:20 +04:00
deps='''
talloc
tevent
pdb
popt_samba3
idmap
2012-01-24 22:03:12 +04:00
ads
msrpc3
2012-01-23 18:14:20 +04:00
nss_info
2012-01-24 22:03:12 +04:00
LIBAFS
LIBADS_SERVER
2012-01-23 18:14:20 +04:00
LIBCLI_SAMR
2012-01-24 22:03:12 +04:00
SLCACHE
2012-01-23 18:14:20 +04:00
RPC_NDR_DSSETUP
2012-01-24 22:03:12 +04:00
RPC_NDR_WBINT
SRV_NDR_WBINT
2012-01-23 18:14:20 +04:00
RPC_SAMR
RPC_LSARPC
2012-01-24 22:03:12 +04:00
RPC_NCACN_NP
RPC_PIPE_REGISTER
2012-01-23 18:14:20 +04:00
WB_REQTRANS
2010-09-24 03:29:06 +04:00
''',
2010-05-21 00:58:59 +04:00
enabled=bld.env.build_winbind,
2010-04-18 16:42:49 +04:00
install_path='${SBINDIR}',
2010-04-18 11:30:59 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('web/swat',
2010-04-30 16:18:20 +04:00
source=SWAT_SRC,
2012-01-23 18:30:23 +04:00
deps='''
talloc
tevent
samba3core
libsmb
param
pdb
popt_samba3
LOCKING
PLAINTEXT_AUTH
PASSCHANGE
PRINTBASE
PRINTING
2012-01-24 21:25:18 +04:00
''',
2010-05-21 01:05:21 +04:00
enabled=bld.env.build_swat,
2010-04-30 16:18:20 +04:00
install_path='${SBINDIR}',
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('rpcclient/rpcclient',
2010-09-23 11:13:34 +04:00
source=RPCCLIENT_SRC,
2012-01-23 21:56:04 +04:00
deps='''
talloc
popt_samba3
pdb
libsmb
param
ndr-standard
msrpc3
SMBREADLINE
trusts_util
RPC_NDR_WINREG
RPC_NDR_ECHO
RPC_CLIENT_SCHANNEL
DCUTIL
LIBCLI_SAMR
libcli_lsa3
libcli_netlogon3
cli_spoolss
RPC_NDR_SRVSVC
RPC_NDR_WKSSVC
RPC_NDR_DSSETUP
RPC_NDR_DFS
RPC_NDR_DRSUAPI
RPC_NDR_NTSVCS
RPC_NDR_EVENTLOG
2010-12-01 00:41:41 +03:00
INIT_SAMR
2012-03-26 19:34:52 +04:00
RPC_NDR_FSRVP
2010-11-30 19:15:43 +03:00
''',
2010-09-23 11:13:34 +04:00
vars=locals())
2012-05-30 15:10:57 +04:00
bld.SAMBA3_BINARY('client/smbclient',
2010-05-26 16:09:39 +04:00
source=CLIENT_SRC,
2012-01-24 14:28:28 +04:00
deps='''
talloc
popt_samba3
param
ndr-standard
SMBREADLINE
2012-04-16 19:07:05 +04:00
libsmb
msrpc3
2012-01-24 14:28:28 +04:00
RPC_NDR_SRVSVC
2012-04-16 19:07:05 +04:00
cli_smb_common''')
2010-05-26 16:09:39 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('net',
2010-09-23 11:13:34 +04:00
source=NET_SRC,
2012-01-24 14:52:20 +04:00
deps='''
talloc
netapi
addns
intl
popt_samba3
pdb
libsmb
param
KRBCLIENT
ndr-standard
msrpc3
gpo
ads
LIBADS_SERVER
LIBADS_PRINTER
SMBREADLINE
PASSWD_UTIL
LIBNET
LIBNET_DSSYNC
LIBNET_SAMSYNC
LIBEVENTLOG
REGFIO
NDR_NTPRINTING
RPC_NDR_WINREG
RPC_CLIENT_SCHANNEL
LIBCLI_SAMR
libcli_lsa3
libcli_netlogon3
cli_spoolss
RPC_NDR_SRVSVC
RPC_NDR_SVCCTL
RPC_NDR_DSSETUP
RPC_NDR_INITSHUTDOWN
printing_migrate
trusts_util''',
2010-08-12 17:42:16 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('profiles',
2010-09-23 11:13:34 +04:00
source=PROFILES_SRC,
2012-01-24 15:35:58 +04:00
deps='''
talloc
popt_samba3
param
REGFIO''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('smbspool',
2010-09-23 11:13:34 +04:00
source=CUPS_SRC,
2012-01-24 15:51:31 +04:00
deps='''
talloc
popt_samba3
param
libsmb
samba3core''',
2010-04-12 01:01:29 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('testparm',
2010-04-18 11:30:59 +04:00
source=TESTPARM_SRC,
2012-01-24 15:54:28 +04:00
deps='''
talloc
param
2012-01-18 17:41:08 +04:00
popt_samba3''',
2010-04-18 11:30:59 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('smbta-util',
2010-09-23 11:13:34 +04:00
source=SMBTA_UTIL_SRC,
2012-01-24 16:01:12 +04:00
deps='''
talloc
2012-01-27 00:27:54 +04:00
secrets3
2012-01-24 16:01:12 +04:00
param''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('smbstatus',
2010-09-23 11:13:34 +04:00
source=STATUS_SRC,
2012-01-24 16:16:55 +04:00
deps='''
talloc
param
popt_samba3
LOCKING
PROFILE''',
2010-09-23 11:13:34 +04:00
vars=locals())
2012-06-07 15:34:35 +04:00
bld.SAMBA3_BINARY('cclean',
source=CCLEAN_SRC,
deps='''
talloc
param
popt_samba3
LOCKING
PROFILE''',
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('smbcontrol',
2010-09-23 11:13:34 +04:00
source=SMBCONTROL_SRC,
2012-01-24 16:46:11 +04:00
deps='''
talloc
param
popt_samba3
PRINTBASE''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('smbtree',
2010-09-23 11:13:34 +04:00
source=SMBTREE_SRC,
2012-01-24 16:46:22 +04:00
deps='''
talloc
param
libsmb
msrpc3
popt_samba3
PROFILE
2011-01-12 15:25:42 +03:00
RPC_NDR_SRVSVC''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-21 07:05:54 +03:00
bld.SAMBA3_BINARY('smbpasswd',
2010-09-23 11:13:34 +04:00
source=SMBPASSWD_SRC,
2012-01-24 17:20:03 +04:00
deps='''
talloc
param
pdb
PASSWD_UTIL
PASSCHANGE''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('pdbedit',
2010-09-23 11:13:34 +04:00
source=PDBEDIT_SRC,
2012-01-24 17:26:38 +04:00
deps='''
talloc
param
popt_samba3
pdb
PASSWD_UTIL''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('smbget',
2010-09-23 11:13:34 +04:00
source=SMBGET_SRC,
2012-01-24 17:28:48 +04:00
deps='''
talloc
2012-01-30 13:53:18 +04:00
popt_samba3
2012-01-24 17:28:48 +04:00
smbclient''',
2010-09-23 11:13:34 +04:00
vars=locals())
2012-05-30 15:09:57 +04:00
bld.SAMBA3_BINARY('nmblookup',
2010-09-23 11:13:34 +04:00
source=NMBLOOKUP_SRC,
2012-01-24 18:38:56 +04:00
deps='''
talloc
param
popt_samba3
LIBNMB''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-21 03:12:22 +03:00
bld.SAMBA3_BINARY('smbtorture' + bld.env.suffix3,
2010-09-23 11:13:34 +04:00
source=SMBTORTURE_SRC,
2012-01-24 18:39:11 +04:00
deps='''
talloc
param
libsmb
msrpc3
TLDAP
RPC_NDR_ECHO
WB_REQTRANS
2012-06-28 02:51:45 +04:00
LOCKING
2012-05-11 16:39:42 +04:00
NDR_OPEN_FILES
2012-02-22 18:44:27 +04:00
idmap
2012-01-24 18:39:11 +04:00
''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('smbconftort',
2010-09-23 11:13:34 +04:00
source=SMBCONFTORT_SRC,
2012-01-24 18:41:07 +04:00
deps='''
talloc
param
popt_samba3''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-22 16:33:10 +03:00
bld.SAMBA3_BINARY('replacetort',
source='../lib/replace/test/main.c',
deps='replace replace-test',
install=False)
2011-02-21 03:12:22 +03:00
bld.SAMBA3_BINARY('masktest' + bld.env.suffix3,
2010-09-23 11:13:34 +04:00
source=MASKTEST_SRC,
2012-01-24 18:49:32 +04:00
deps='''
talloc
param
libsmb''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('msgtest',
2010-09-23 11:13:34 +04:00
source=MSGTEST_SRC,
2012-01-24 18:55:05 +04:00
deps='''
talloc
param''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('smbcacls',
2010-09-23 11:13:34 +04:00
source=SMBCACLS_SRC,
2012-01-24 18:57:15 +04:00
deps='''
talloc
popt_samba3
msrpc3
2012-05-21 13:45:12 +04:00
libcli_lsa3
krb5samba''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('smbcquotas',
2010-09-23 11:13:34 +04:00
source=SMBCQUOTAS_SRC,
2012-01-24 19:03:02 +04:00
deps='''
talloc
popt_samba3
libsmb
msrpc3
2011-06-28 20:15:23 +04:00
libcli_lsa3''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('eventlogadm',
2010-04-30 21:45:06 +04:00
source=EVTLOGADM_SRC,
2012-01-24 19:06:01 +04:00
deps='''
talloc
param
LIBEVENTLOG''',
2010-04-30 21:45:06 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('sharesec',
2010-09-23 11:13:34 +04:00
source=SHARESEC_SRC,
2012-01-24 19:08:59 +04:00
deps='''
talloc
popt_samba3''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-21 03:12:22 +03:00
bld.SAMBA3_BINARY('locktest' + bld.env.suffix3,
2010-09-23 11:13:34 +04:00
source=LOCKTEST_SRC,
2012-01-24 19:12:23 +04:00
deps='''
talloc
param
libsmb
LOCKING''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('pdbtest',
2010-09-23 11:13:34 +04:00
source=PDBTEST_SRC,
2012-01-24 19:15:32 +04:00
deps='''
talloc
pdb
popt_samba3''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('vfstest',
2010-09-23 11:13:34 +04:00
source=VFSTEST_SRC,
2012-01-24 19:23:11 +04:00
deps='''
vfs
popt_samba3
SMBREADLINE''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('log2pcap',
2010-09-23 11:13:34 +04:00
source=LOG2PCAP_SRC,
deps='''talloc popt''',
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('locktest2',
2010-09-23 11:13:34 +04:00
source=LOCKTEST2_SRC,
2012-01-24 19:26:23 +04:00
deps='''
talloc
param
libsmb
LOCKING''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('debug2html',
2010-09-25 10:50:23 +04:00
source=DEBUG2HTML_SRC,
2010-09-23 11:13:34 +04:00
deps='''talloc popt''',
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('smbfilter',
2010-09-23 11:13:34 +04:00
source=SMBFILTER_SRC,
2012-01-24 19:29:34 +04:00
deps='''
talloc
param
LIBNMB''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('versiontest',
2011-01-04 15:11:35 +03:00
source='lib/version_test.c',
2012-01-24 19:30:51 +04:00
deps='''
SAMBA_VERSION
param''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-21 03:12:22 +03:00
bld.SAMBA3_BINARY('ntlm_auth' + bld.env.suffix3,
2010-09-23 11:13:34 +04:00
source=NTLM_AUTH_SRC,
2012-01-24 19:39:01 +04:00
deps='''
talloc
2012-04-22 01:26:18 +04:00
krb5samba
2012-05-09 17:33:04 +04:00
iniparser
2012-01-24 19:39:01 +04:00
libsmb
popt_samba3
2012-03-11 01:11:36 +04:00
LIBNTLMSSP gse gensec''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('timelimit',
2010-09-23 11:13:34 +04:00
source='script/tests/timelimit.c',
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('rpc_open_tcp',
2010-09-23 11:13:34 +04:00
source=RPC_OPEN_TCP_SRC,
2012-01-24 19:46:55 +04:00
deps='''
talloc
msrpc3''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('test_lp_load',
2010-09-23 11:13:34 +04:00
source=TEST_LP_LOAD_SRC,
2012-01-24 19:49:17 +04:00
deps='''
talloc
param
popt_samba3''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('dbwrap_tool',
2010-09-23 11:13:34 +04:00
source=DBWRAP_TOOL_SRC,
2012-01-24 19:51:39 +04:00
deps='''
talloc
popt_samba3''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('dbwrap_torture',
2010-09-23 11:13:34 +04:00
source=DBWRAP_TORTURE_SRC,
2012-01-24 19:54:02 +04:00
deps='''
talloc
popt_samba3''',
2010-09-23 11:13:34 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('split_tokens',
2010-09-23 11:13:34 +04:00
source=SPLIT_TOKENS_SRC,
2012-01-24 19:58:03 +04:00
deps='''
talloc
popt_samba3''',
2010-09-20 00:35:26 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_BINARY('vlp',
2010-09-29 10:48:49 +04:00
source=VLP_SRC,
2012-01-24 20:01:08 +04:00
deps='''
talloc
param''',
2010-09-29 10:48:49 +04:00
vars=locals())
2012-05-07 10:24:03 +04:00
bld.SAMBA3_PYTHON('pysmbd',
source='smbd/pysmbd.c',
2012-08-02 07:35:24 +04:00
deps='smbd_base pyrpc_util',
2012-05-07 10:24:03 +04:00
realname='samba/samba3/smbd.so'
)
2011-02-21 03:14:49 +03:00
swat_dir = os.path.join(bld.curdir, '../swat')
swat_files = recursive_dirlist(swat_dir, swat_dir, '*')
2010-04-18 16:43:01 +04:00
bld.INSTALL_FILES('${SWATDIR}', swat_files, base_name='../swat')
########################## INCLUDES #################################
2010-04-18 11:30:59 +04:00
2010-09-26 21:43:43 +04:00
bld.RECURSE('auth')
2010-09-26 22:30:36 +04:00
bld.RECURSE('libgpo/gpext')
2011-04-27 15:16:59 +04:00
bld.RECURSE('lib/pthreadpool')
2012-06-21 14:51:12 +04:00
bld.RECURSE('lib/asys')
2011-01-07 14:08:54 +03:00
bld.RECURSE('librpc')
bld.RECURSE('librpc/idl')
2012-04-16 19:05:35 +04:00
bld.RECURSE('libsmb')
2011-01-07 14:08:54 +03:00
bld.RECURSE('modules')
2010-09-28 10:54:39 +04:00
bld.RECURSE('pam_smbpass')
2011-01-07 14:08:54 +03:00
bld.RECURSE('passdb')
2010-09-28 20:55:55 +04:00
bld.RECURSE('rpc_server')
2011-01-07 14:08:54 +03:00
bld.RECURSE('winbindd')
2011-10-17 17:54:17 +04:00
bld.RECURSE('../examples/auth')
2011-10-19 15:56:42 +04:00
bld.RECURSE('../examples/libsmbclient')
2011-10-17 18:08:50 +04:00
bld.RECURSE('../examples/pdb')
2011-10-11 21:20:05 +04:00
bld.RECURSE('../examples/VFS')
2011-10-20 06:41:30 +04:00
bld.RECURSE('lib/netapi/tests')
2011-10-21 02:02:23 +04:00
bld.RECURSE('lib/netapi/examples')
2011-02-24 03:23:53 +03:00
2010-03-24 03:28:03 +03:00
bld.ENFORCE_GROUP_ORDERING()
bld.CHECK_PROJECT_RULES()
2011-02-23 02:08:12 +03:00
bld.SYMBOL_CHECK()