2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-03-24 03:28:03 +03:00
from samba_utils import *
2010-12-08 06:58:12 +03:00
import samba_version
2010-03-24 03:28:03 +03:00
2010-12-14 15:27:24 +03:00
TDB_LIB_SRC = '''../lib/util/util_tdb.c
2010-04-18 11:30:59 +04:00
lib/dbwrap.c lib/dbwrap_tdb.c
lib/dbwrap_ctdb.c
lib/g_lock.c
lib/dbwrap_rbt.c'''
2010-03-24 03:28:03 +03:00
TDB_VALIDATE_SRC = '''lib/tdb_validate.c'''
2010-04-30 13:25:52 +04:00
SMBLDAP = bld.env.SMBLDAP or ""
SMBLDAPUTIL = bld.env.SMBLDAPUTIL or ""
2010-04-30 12:07:28 +04:00
2010-03-24 03:28:03 +03:00
SMBLDAP_SRC = '''${SMBLDAP} ${SMBLDAPUTIL}'''
VERSION_SRC = '''lib/version.c'''
WBCOMMON_SRC = '../nsswitch/wb_common.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-10-27 18:31:05 +04:00
COMPRESSION_SRC = '../lib/compression/mszip.c'
2010-03-24 03:28:03 +03:00
2010-11-30 21:05:36 +03:00
DRSUAPI_SRC = '''${COMPRESSION_SRC}'''
2010-03-24 03:28:03 +03:00
LIBNDR_SRC = '''../librpc/ndr/ndr_basic.c
2010-04-18 11:30:59 +04:00
../librpc/ndr/ndr.c
../librpc/ndr/ndr_misc.c
../librpc/gen_ndr/ndr_misc.c
2010-05-21 00:30:24 +04:00
../librpc/ndr/ndr_string.c
2010-04-18 11:30:59 +04:00
../librpc/ndr/uuid.c
2010-09-23 18:58:33 +04:00
librpc/ndr/util.c'''
2010-03-24 03:28:03 +03:00
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'''
2010-12-01 00:34:54 +03: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
2010-11-30 19:27:37 +03:00
LIBCLI_NETLOGON_SRC = 'rpc_client/cli_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
LIBREPLACE_SRC = '''${LIBREPLACE_SRCS}'''
2010-09-29 10:49:39 +04:00
LIBSAMBAUTIL_SRC = '''${LIBREPLACE_SRC}'''
2010-03-24 03:28:03 +03:00
UTIL_SRC = '''../lib/util/rbtree.c ../lib/util/signal.c ../lib/util/time.c
2010-04-18 11:30:59 +04:00
../lib/util/xfile.c ../lib/util/util_strlist.c
../lib/util/util_file.c ../lib/util/data_blob.c
../lib/util/util.c ../lib/util/fsusage.c
../lib/util/params.c ../lib/util/talloc_stack.c
../lib/util/genrand.c ../lib/util/util_net.c
../lib/util/become_daemon.c ../lib/util/system.c
../lib/util/tevent_unix.c ../lib/util/tevent_ntstatus.c
2010-10-22 18:40:38 +04:00
../lib/util/tevent_werror.c
2010-04-18 11:30:59 +04:00
../lib/util/smb_threads.c ../lib/util/util_id.c
2010-10-01 12:08:15 +04:00
../lib/util/blocking.c ../lib/util/rfc1738.c
../lib/util/select.c'''
2010-03-24 03:28:03 +03:00
2010-04-05 11:34:43 +04:00
LIBTEVENT_SRC0 = ''
PTHREADPOOL_SRC = ''
LIBREPLACE_SRCS = ''
2010-12-14 15:50:30 +03:00
LIB_SRC = '''${LIBSAMBAUTIL_SRC}
2010-10-05 19:01:14 +04:00
lib/messages.c lib/messages_local.c
2010-04-18 11:30:59 +04:00
lib/messages_ctdbd.c lib/packet.c lib/ctdbd_conn.c
lib/interfaces.c lib/memcache.c
lib/talloc_dict.c
2010-07-05 19:38:16 +04:00
lib/util_sconn.c
2010-04-18 11:30:59 +04:00
lib/serverid.c
2010-12-14 15:14:00 +03:00
lib/util_transfer_file.c
2010-04-18 11:30:59 +04:00
${TDB_LIB_SRC}
2010-12-14 18:47:35 +03:00
${VERSION_SRC} lib/debug.c lib/fault.c
2010-04-18 11:30:59 +04:00
lib/interface.c lib/pidfile.c
lib/system.c lib/sendfile.c lib/recvfile.c lib/time.c
lib/username.c
../libds/common/flag_mapping.c
2010-10-20 19:16:23 +04:00
lib/access.c lib/smbrun.c
2010-04-18 11:30:59 +04:00
lib/bitmap.c lib/dprintf.c ${UTIL_REG_SRC}
lib/wins_srv.c
2010-12-14 18:47:35 +03:00
lib/clobber.c lib/util_sid.c
lib/util_file.c
2010-09-23 04:15:15 +04:00
lib/util.c lib/util_names.c
lib/util_sock.c lib/sock_exec.c lib/util_sec.c
2010-04-18 11:30:59 +04:00
lib/substitute.c lib/dbwrap_util.c
2010-10-01 12:08:15 +04:00
lib/ms_fnmatch.c lib/errmap_unix.c
2010-04-18 11:30:59 +04:00
lib/tallocmsg.c lib/dmallocmsg.c
libsmb/clisigning.c libsmb/smb_signing.c
2010-12-14 18:47:35 +03:00
lib/pam_errors.c intl/lang_tdb.c
2010-04-18 11:30:59 +04:00
lib/conn_tdb.c lib/adt_tree.c lib/gencache.c
lib/sessionid_tdb.c
lib/module.c lib/events.c ${LIBTEVENT_SRC0}
2010-06-15 13:43:30 +04:00
lib/server_contexts.c
2010-09-26 22:07:03 +04:00
lib/ldap_escape.c
2010-10-20 00:52:14 +04:00
lib/secdesc.c ${PTHREADPOOL_SRC}
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
2010-10-20 00:52:14 +04:00
lib/file_id.c lib/idmap_cache.c'''
2010-03-24 03:28:03 +03:00
LIB_DUMMY_SRC = '''lib/dummysmbd.c lib/dummyroot.c'''
2010-04-23 01:33:38 +04:00
LIB_NONSMBD_SRC = '''${LIB_DUMMY_SRC}'''
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'''
PARAM_WITHOUT_REG_SRC = '''param/loadparm.c param/loadparm_server_role.c
2010-06-01 17:37:40 +04:00
lib/sharesec.c lib/ldap_debug_handler.c'''
2010-03-24 03:28:03 +03:00
KRBCLIENT_SRC = '''libads/kerberos.c libads/ads_status.c'''
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
2010-10-05 19:01:14 +04:00
LIBADS_SERVER_SRC = '''libads/kerberos_verify.c 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
2010-10-05 19:01:14 +04:00
passdb/machine_sid.c'''
2010-09-23 04:15:15 +04:00
2010-11-30 21:00:09 +03:00
LIBNBT_SRC = '''../libcli/netlogon.c'''
2010-03-24 03:28:03 +03:00
LIBNMB_SRC = '''libsmb/unexpected.c libsmb/namecache.c libsmb/nmblib.c
2010-04-18 11:30:59 +04:00
libsmb/namequery.c ../libcli/nbt/lmhosts.c libsmb/conncache.c
libads/dns.c libads/sitename_cache.c'''
2010-03-24 03:28:03 +03:00
2010-12-15 00:09:44 +03:00
NTERR_SRC = '''libsmb/smberr.c'''
2010-03-24 03:28:03 +03:00
ERRORMAP_SRC = 'libsmb/errormap.c'
DCE_RPC_ERR_SRC = '../librpc/rpc/dcerpc_error.c'
2010-12-15 00:09:44 +03:00
LIBSMB_ERR_SRC = '''${NTERR_SRC} ${ERRORMAP_SRC} ${DCE_RPC_ERR_SRC}'''
2010-03-24 03:28:03 +03:00
LIBSMB_SRC0 = '''
2010-04-18 11:30:59 +04:00
libsmb/ntlmssp.c
2010-08-04 16:55:10 +04:00
libsmb/ntlmssp_wrap.c
2010-05-31 17:56:30 +04:00
../libcli/auth/ntlmssp.c
../libcli/auth/ntlmssp_sign.c
2010-08-10 13:39:04 +04:00
../libcli/auth/ntlmssp_ndr.c
2010-09-23 11:13:34 +04:00
../libcli/auth/ntlmssp_server.c'''
2010-03-24 03:28:03 +03:00
2010-04-23 01:33:38 +04:00
LIBSAMBA_SRC = '${LIBSMB_SRC0}'
2010-03-24 03:28:03 +03:00
CLDAP_SRC = '''libads/cldap.c
2010-09-17 06:33:44 +04:00
../libcli/cldap/cldap.c
2010-09-26 23:58:58 +04:00
../lib/util/idtree.c'''
2010-03-24 03:28:03 +03:00
TLDAP_SRC = '''lib/tldap.c lib/tldap_util.c lib/util_tsock.c'''
2010-12-14 16:03:22 +03:00
SCHANNEL_SRC = '''../libcli/auth/schannel_sign.c'''
2010-03-24 03:28:03 +03:00
LIBSMB_SRC = '''libsmb/clientgen.c libsmb/cliconnect.c libsmb/clifile.c
2010-04-18 11:30:59 +04:00
libsmb/clikrb5.c libsmb/clispnego.c
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
2010-11-30 20:56:26 +03:00
libsmb/smb_seal.c libsmb/async_smb.c'''
2010-03-24 03:28:03 +03:00
2010-08-13 14:27:20 +04:00
LIBMSRPC_SRC = '''
2010-08-26 02:05:16 +04:00
${SCHANNEL_SRC}
2010-08-26 02:13:00 +04:00
rpc_client/cli_pipe.c
2010-09-23 22:05:56 +04:00
librpc/crypto/gse_krb5.c
librpc/crypto/gse.c
librpc/crypto/cli_spnego.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/binding.c
../librpc/rpc/dcerpc_util.c
librpc/rpc/dcerpc_helpers.c
2010-11-30 19:46:56 +03:00
../librpc/rpc/binding_handle.c'''
2010-03-24 03:28:03 +03:00
#
# registry-related objects
#
2010-05-12 14:32:30 +04:00
UTIL_REG_SRC = '''../libcli/registry/util_reg.c'''
2010-03-24 03:28:03 +03:00
REG_INIT_BASIC_SRC = '''registry/reg_init_basic.c'''
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
REGSRCS_SRC = '''registry/reg_objects.c'''
REG_BACKENDS_BASE_SRC = '''registry/reg_backend_db.c'''
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
${REGSRCS_SRC}
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
${REG_BACKENDS_BASE_SRC}
${REG_INIT_BASIC_SRC}'''
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-11-30 17:12:52 +03:00
REG_EVENTLOG_SRC = '''registry/reg_eventlog.c'''
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
services/services_db.c
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-09-28 20:55:55 +04:00
RPC_NCACN_NP = '''rpc_server/rpc_ncacn_np.c
2010-09-15 16:31:39 +04:00
rpc_server/rpc_handles.c'''
RPC_SERVICE = '''rpc_server/rpc_server.c'''
2010-06-04 00:04:08 +04:00
2010-09-23 22:05:56 +04:00
RPC_CRYPTO = '''rpc_server/dcesrv_ntlmssp.c
rpc_server/dcesrv_gssapi.c
rpc_server/dcesrv_spnego.c'''
2010-06-04 00:04:08 +04:00
RPC_PIPE_SRC = '''rpc_server/srv_pipe_hnd.c rpc_server/srv_pipe.c
2010-09-23 22:05:56 +04:00
${RPC_NCACN_NP} ${RPC_SERVICE} ${RPC_CRYPTO}'''
2010-03-24 03:28:03 +03:00
2010-11-30 20:17:40 +03:00
RPC_SERVER_SRC = '''${RPC_PIPE_SRC}'''
2010-03-24 03:28:03 +03:00
2010-08-17 02:46:25 +04:00
RPC_CLIENT_SCHANNEL_SRC = '''rpc_client/cli_pipe_schannel.c'''
2010-03-24 03:28:03 +03:00
LOCKING_SRC = '''locking/locking.c locking/brlock.c locking/posix.c'''
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
2010-04-18 11:30:59 +04:00
passdb/util_wellknown.c passdb/util_builtin.c passdb/pdb_compat.c
passdb/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}
2010-04-18 11:30:59 +04:00
lib/util_nscd.c lib/winbind_util.c ${SERVER_MUTEX_SRC}'''
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
OPLOCK_SRC = '''smbd/oplock.c smbd/oplock_irix.c smbd/oplock_linux.c
2010-04-18 11:30:59 +04:00
smbd/oplock_onefs.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
FNAME_UTIL_SRC = '''smbd/filename_util.c'''
PLAINTEXT_AUTH_SRC = '''auth/pampass.c auth/pass_check.c'''
SLCACHE_SRC = '''libsmb/samlogon_cache.c'''
DCUTIL_SRC = '''libsmb/namequery_dc.c libsmb/trustdom_cache.c libsmb/trusts_util.c libsmb/dsgetdcname.c'''
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
winbindd/winbindd_wins.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
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
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
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
2010-05-12 15:39:00 +04:00
winbindd/winbindd_pam_chng_pswd_auth_crap.c
2010-05-27 14:06:24 +04:00
auth/auth_util.c
2010-06-07 12:18:01 +04:00
auth/user_util.c
2010-04-18 11:30:59 +04:00
auth/check_samsec.c
auth/server_info.c
auth/server_info_sam.c
auth/user_info.c
2010-06-08 12:56:41 +04:00
auth/user_util.c
2010-04-18 11:30:59 +04:00
../nsswitch/libwbclient/wb_reqtrans.c'''
WINBINDD_SRC = '''${WINBINDD_SRC1}
2010-11-30 20:17:40 +03:00
${RPC_NCACN_NP}
2010-08-12 20:36:06 +04:00
${TDB_VALIDATE_SRC}
2010-12-01 01:06:53 +03:00
../librpc/gen_ndr/srv_lsa.c
2010-12-01 01:04:23 +03:00
../librpc/gen_ndr/srv_samr.c
2010-09-28 20:55:55 +04:00
rpc_server/srv_pipe_register.c'''
2010-03-24 03:28:03 +03:00
MANGLE_SRC = '''smbd/mangle.c smbd/mangle_hash.c smbd/mangle_hash2.c'''
2010-05-31 01:27:08 +04:00
SMBD_SRC_MAIN = '''smbd/server.c smbd/server_exit.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
2010-03-24 03:28:03 +03:00
smbd/dfree.c smbd/dir.c smbd/password.c smbd/conn.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
2010-05-07 15:45:25 +04:00
printing/printspoolss.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
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_signing.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
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-08-19 18:25:55 +04:00
${RPC_SERVER_SRC}
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
printing/nt_printing_migrate.c
2010-09-27 05:39:41 +04:00
printing/nt_printing_ads.c'''
2010-03-24 03:28:03 +03:00
SMBD_SRC = '''${SMBD_SRC_BASE} ${SMBD_SRC_MAIN}'''
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'''
2010-09-27 05:39:41 +04:00
SWAT_SRC = '''${SWAT_SRC1}
2010-12-01 00:34:54 +03:00
${PASSCHANGE_SRC}'''
2010-04-30 16:18:20 +04:00
2010-11-30 16:29:31 +03:00
STATUS_SRC = '''utils/status.c utils/status_profile.c'''
2010-09-23 04:15:15 +04:00
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
2010-12-01 00:34:54 +03:00
SMBPASSWD_SRC = '''utils/smbpasswd.c ${PASSCHANGE_SRC}'''
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
2010-09-25 09:14:22 +04:00
rpcclient/cmd_winreg.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-12-14 19:14:58 +03:00
PAM_WINBIND_SRC = '../nsswitch/pam_winbind.c'
2010-09-23 04:15:15 +04:00
LIBSMBCLIENT_THREAD_SRC = '''libsmb/libsmb_thread_impl.c
libsmb/libsmb_thread_posix.c'''
LIBSMBCLIENT_SRC0 = '''libsmb/libsmb_cache.c
libsmb/libsmb_compat.c
libsmb/libsmb_context.c
libsmb/libsmb_dir.c
libsmb/libsmb_file.c
libsmb/libsmb_misc.c
libsmb/libsmb_path.c
libsmb/libsmb_printjob.c
libsmb/libsmb_server.c
libsmb/libsmb_stat.c
libsmb/libsmb_xattr.c
libsmb/libsmb_setget.c'''
2010-11-30 19:15:43 +03:00
LIBSMBCLIENT_SRC1 = '''${LIBSMBCLIENT_SRC0}'''
2010-09-23 04:15:15 +04:00
LIBSMBCLIENT_SRC = '${LIBSMBCLIENT_SRC1}'
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
# FIXME: bigballofmud
CLIENT_SRC1 = '''client/client.c client/clitar.c
2010-09-23 22:14:00 +04:00
client/dnsbrowse.c'''
2010-09-23 04:15:15 +04:00
2010-12-01 00:34:54 +03:00
CLIENT_SRC = '''${CLIENT_SRC1}'''
2010-09-23 04:15:15 +04:00
LIBSMBCONF_SRC = '''../lib/smbconf/smbconf.c ../lib/smbconf/smbconf_util.c
../lib/smbconf/smbconf_txt.c lib/smbconf/smbconf_reg.c
lib/smbconf/smbconf_init.c'''
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
2010-09-25 03:45:41 +04:00
LIBNET_SRC = 'libnet/libnet_join.c libnet/libnet_keytab.c'
2010-09-23 04:15:15 +04:00
2010-09-20 00:35:26 +04:00
LIBNET_DSSYNC_SRC = '''libnet/libnet_dssync.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
utils/net_cache.c utils/net_groupmap.c utils/net_idmap.c
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
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
2010-09-22 22:28:45 +04:00
registry/reg_parse.c registry/reg_format.c
registry/reg_parse_internal.c registry/reg_import.c
lib/cbuf.c lib/srprs.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
2010-09-23 04:15:15 +04:00
torture/test_posix_append.c'''
2010-11-30 20:40:30 +03:00
SMBTORTURE_SRC = '''${SMBTORTURE_SRC1}
2010-09-23 04:15:15 +04:00
../nsswitch/libwbclient/wbc_async.c
2010-09-23 18:58:33 +04:00
../nsswitch/libwbclient/wb_reqtrans.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-10-20 16:52:30 +04:00
NSSTEST_SRC = '''../nsswitch/nsstest.c ${LIBSAMBAUTIL_SRC}'''
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
2010-09-24 23:42:05 +04:00
VFSTEST_SRC = '''torture/cmd_vfs.c torture/vfstest.c'''
2010-09-23 04:15:15 +04:00
2010-09-23 11:13:34 +04:00
SMBICONV_SRC = '''torture/smbiconv.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
2010-09-24 23:13:27 +04:00
WBINFO_SRC = '''../nsswitch/wbinfo.c'''
2010-09-23 04:15:15 +04:00
WINBIND_NSS_SRC = '''${WBCOMMON_SRC} ${LIBREPLACE_SRC}'''
WINBIND_KRB5_LOCATOR_SRC1 = '../nsswitch/winbind_krb5_locator.c'
WINBIND_KRB5_LOCATOR_SRC = '''${WINBIND_KRB5_LOCATOR_SRC1} ${LIBREPLACE_SRC}'''
POPT_SRC = '''../lib/popt/findme.c ../lib/popt/popt.c ../lib/popt/poptconfig.c \
../lib/popt/popthelp.c ../lib/popt/poptparse.c'''
NTLM_AUTH_SRC1 = '''utils/ntlm_auth.c utils/ntlm_auth_diagnostics.c'''
2010-09-23 11:13:34 +04:00
NTLM_AUTH_SRC = '''${NTLM_AUTH_SRC1}
2010-11-30 20:52:21 +03:00
libsmb/clikrb5.c libads/kerberos.c'''
2010-09-23 04:15:15 +04:00
VLP_SRC = '''printing/tests/vlp.c
../lib/util/util_tdb.c
2010-11-30 18:25:37 +03:00
${LIBSAMBAUTIL_SRC}'''
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
bld.SAMBA_GENERATOR('build_options',
2010-10-05 20:08:51 +04:00
source='include/config.h script/mkbuildoptions-waf.awk',
2010-03-24 03:28:03 +03:00
target='smbd/build_options.c',
rule='${AWK} -f ${SRC[1].abspath(env)} > ${TGT} < ${SRC[0].abspath(env)}')
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-12-08 06:58:12 +03:00
samba_version.load_version(bld.env)
2010-10-25 10:33:39 +04:00
bld.SAMBA_MKVERSION('include/version.h')
2010-04-04 07:08:05 +04:00
bld.RECURSE('../lib/replace')
2010-10-01 12:34:14 +04:00
bld.RECURSE('../libcli/smbreadline')
2010-03-24 03:28:03 +03:00
print "SBINDIR=%s" % bld.env.SBINDIR
2010-04-04 07:08:05 +04:00
bld.RECURSE('build')
2010-03-24 03:28:03 +03:00
2010-09-21 12:24:13 +04:00
bld.RECURSE('../librpc')
2010-05-12 14:31:27 +04:00
bld.RECURSE('librpc/idl')
2010-09-24 22:12:39 +04:00
bld.RECURSE('librpc')
2010-10-20 00:52:14 +04:00
bld.RECURSE('../libcli/security')
2010-05-12 14:31:27 +04:00
2010-04-18 11:30:59 +04:00
######################## SUBSYSTEMS #################################
bld.SAMBA_SUBSYSTEM('WBCOMMON',
source=WBCOMMON_SRC)
2010-12-07 14:04:11 +03:00
bld.SAMBA_LIBRARY('wbclient',
2010-04-12 00:05:10 +04:00
source='''../nsswitch/libwbclient/wbc_guid.c
../nsswitch/libwbclient/wbc_idmap.c
../nsswitch/libwbclient/wbclient.c
../nsswitch/libwbclient/wbc_pam.c
../nsswitch/libwbclient/wbc_pwd.c
../nsswitch/libwbclient/wbc_sid.c
../nsswitch/libwbclient/wbc_util.c''',
2010-09-25 08:46:39 +04:00
public_headers='../nsswitch/libwbclient/wbclient.h',
2010-10-21 07:56:36 +04:00
private_library=True,
2010-04-18 11:30:59 +04:00
public_deps='talloc WBCOMMON')
2010-04-12 00:05:10 +04:00
2010-12-07 14:04:11 +03:00
bld.SAMBA_LIBRARY('netapi',
2010-09-23 11:48:16 +04:00
source=LIBNETAPI_SRC,
2010-12-07 14:04:11 +03:00
public_deps='''talloc tdb cap wbclient LIB_NONSMBD LIBSMB KRBCLIENT
2010-09-23 13:14:23 +04:00
PASSDB SMBLDAP GROUPDB PARAM_WITHOUT_REG DYNCONFIG
2010-10-08 15:17:21 +04:00
LIBMSRPC_GEN LIBMSRPC LIBADS LIBNET DCUTIL NDR_LIBNETAPI
2010-11-30 18:43:34 +03:00
RPC_CLIENT_SCHANNEL LIBSMBCONF REG_SMBCONF TOKEN_UTIL
2010-11-30 19:15:43 +03:00
LIBCLI_SAMR LIBCLI_LSA LIBCLI_NETLOGON
2010-12-01 00:37:37 +03:00
RPCCLI_SRVSVC RPCCLI_WKSSVC RPCCLI_INITSHUTDOWN
2010-12-01 00:41:41 +03:00
INIT_NETLOGON INIT_SAMR''',
2010-09-25 08:46:39 +04:00
public_headers='lib/netapi/netapi.h',
2010-10-21 07:56:36 +04:00
private_library=True,
2010-09-23 11:48:16 +04:00
vars=locals())
2010-05-11 12:30:25 +04:00
2010-12-07 14:04:11 +03:00
bld.SAMBA_LIBRARY('smbclient',
2010-09-23 11:13:34 +04:00
source=LIBSMBCLIENT_SRC,
2010-12-07 14:04:11 +03:00
public_deps='''talloc tdb wbclient cap PARAM LIB_NONSMBD LIBSMB KRBCLIENT PASSDB SMBLDAP GROUPDB
2010-11-30 19:15:43 +03:00
LIBMSRPC_GEN LIBMSRPC LIBCLI_LSA RPCCLI_SRVSVC''',
2010-09-25 08:46:39 +04:00
public_headers='include/libsmbclient.h',
2010-10-21 07:56:36 +04:00
private_library=True,
2010-09-23 11:13:34 +04:00
vars=locals())
2010-09-23 01:22:09 +04:00
2010-10-24 21:42:58 +04:00
bld.SAMBA_LIBRARY('smbsharemodes',
2010-09-23 11:27:34 +04:00
source=LIBSMBSHAREMODES_SRC,
public_deps='''talloc tdb''',
2010-09-25 08:46:39 +04:00
public_headers='include/smb_share_modes.h',
2010-10-21 07:56:36 +04:00
private_library=True,
2010-09-23 11:27:34 +04:00
vars=locals())
2010-12-14 19:14:58 +03:00
bld.SAMBA_LIBRARY('nss_winbind',
source='../nsswitch/winbind_nss_linux.c',
deps='WBCOMMON',
realname='libnss_winbind.so.2',
vnum='2')
2010-12-15 00:18:43 +03:00
bld.SAMBA_LIBRARY('nss_wins',
source=WINBIND_WINS_NSS_SRC,
deps='''WBCOMMON PARAM LIBSMB LIB_NONSMBD LIBTSOCKET KRBCLIENT
cap wbclient''',
realname='libnss_wins.so.2',
vnum='2')
2010-12-14 19:14:58 +03:00
if bld.CONFIG_SET('WITH_PAM_MODULES'):
bld.SAMBA_LIBRARY('pamwinbind',
source=PAM_WINBIND_SRC,
deps='intl talloc wbclient WBCOMMON LIBINIPARSER pam',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_winbind.so')
2010-09-23 22:14:00 +04:00
bld.SAMBA_SUBSYSTEM('LIBMSRPC',
source='${LIBMSRPC_SRC}',
2010-11-30 19:46:56 +03:00
deps='''ndr NDR_SECURITY NDR_DCERPC NDR_SCHANNEL
2010-12-14 16:03:22 +03:00
RPCCLI_EPMAPPER COMMON_SCHANNELDB LIBCLI_AUTH''',
2010-09-23 22:14:00 +04:00
vars=locals())
2010-09-23 13:14:23 +04:00
bld.SAMBA_SUBSYSTEM('LIBMSRPC_GEN',
2010-10-25 10:07:46 +04:00
source='',
2010-10-27 03:38:50 +04:00
deps='''ndr-standard NDR_DSSETUP NDR_SPOOLSS''',
2010-09-23 13:14:23 +04:00
vars=locals())
2010-09-26 22:25:15 +04:00
bld.SAMBA_SUBSYSTEM('LIBGPO',
source='${LIBGPO_SRC}',
2010-10-07 23:28:04 +04:00
deps='gpext',
2010-09-26 22:25:15 +04:00
vars=locals())
2010-04-12 01:01:29 +04:00
bld.SAMBA_SUBSYSTEM('ASN1_UTIL',
source='../lib/util/asn1.c',
2010-05-11 17:24:13 +04:00
deps='talloc',
2010-04-12 01:01:29 +04:00
local_include=False)
2010-05-28 17:56:32 +04:00
bld.SAMBA_SUBSYSTEM('AVAHI',
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)
2010-04-18 11:30:59 +04:00
bld.SAMBA_SUBSYSTEM('GROUPDB',
2010-05-11 17:24:13 +04:00
source=GROUPDB_SRC)
2010-04-18 11:30:59 +04:00
bld.SAMBA_SUBSYSTEM('TLDAP',
source=TLDAP_SRC,
2010-05-11 17:24:13 +04:00
deps='ASN1_UTIL LIBTSOCKET')
2010-04-18 11:30:59 +04:00
bld.SAMBA_SUBSYSTEM('PASSDB',
source=PASSDB_SRC,
2010-10-12 02:26:03 +04:00
deps='''GROUPDB TLDAP SECRETS SMBLDAP pdb''',
2010-04-18 11:30:59 +04:00
vars=locals())
2010-11-30 18:25:37 +03:00
bld.SAMBA_SUBSYSTEM('PARAM_UTIL',
source=PARAM_UTIL_SRC)
2010-04-23 01:33:38 +04:00
bld.SAMBA_SUBSYSTEM('PARAM_WITHOUT_REG',
2010-11-30 18:25:37 +03:00
source=PARAM_WITHOUT_REG_SRC,
deps='''PARAM_UTIL''',
vars=locals())
2010-04-23 01:33:38 +04:00
bld.SAMBA_SUBSYSTEM('PARAM',
2010-10-20 04:17:41 +04:00
source='',
2010-10-20 03:54:12 +04:00
deps='PARAM_WITHOUT_REG DYNCONFIG LIBSMBCONF',
2010-04-23 01:33:38 +04:00
vars=locals())
2010-09-27 05:31:19 +04:00
bld.SAMBA_SUBSYSTEM('REGFIO',
source=REGFIO_SRC,
vars=locals())
bld.SAMBA_SUBSYSTEM('REG_API_REGF',
source=REG_API_REGF_SRC,
vars=locals())
2010-10-20 04:17:41 +04:00
bld.SAMBA_SUBSYSTEM('REG_BASE',
source=REG_BASE_SRC,
vars=locals())
bld.SAMBA_SUBSYSTEM('REG_SMBCONF',
source=REG_SMBCONF_SRC,
deps='REG_BASE',
vars=locals())
bld.SAMBA_SUBSYSTEM('REG_FULL',
source=REG_FULL_SRC,
2010-11-30 17:12:52 +03:00
deps='REG_SMBCONF REG_EVENTLOG',
vars=locals())
bld.SAMBA_SUBSYSTEM('REG_EVENTLOG',
source=REG_EVENTLOG_SRC,
2010-10-20 04:17:41 +04:00
vars=locals())
2010-04-30 16:33:49 +04:00
bld.SAMBA_SUBSYSTEM('POPT_SAMBA',
source=POPT_LIB_SRC,
vars=locals())
2010-04-30 16:43:57 +04:00
bld.SAMBA_SUBSYSTEM('KRBCLIENT',
source=KRBCLIENT_SRC,
2010-08-11 14:45:51 +04:00
deps='krb5 k5crypto com_err gssapi gssapi_krb5',
2010-04-30 16:43:57 +04:00
vars=locals())
2010-04-23 01:33:38 +04:00
bld.SAMBA_SUBSYSTEM('LIBS',
source=LIB_SRC,
2010-12-14 18:47:35 +03:00
deps='LIBCRYPTO ndr security NDR_SECURITY charset NDR_MESSAGING LIBASYNC_REQ tdb-wrap samba-util CHARSET',
2010-04-23 01:33:38 +04:00
vars=locals())
bld.SAMBA_SUBSYSTEM('LIB_NONSMBD',
source=LIB_NONSMBD_SRC,
deps='LIBS',
vars=locals())
bld.SAMBA_SUBSYSTEM('LIBSMB_ERR',
source=LIBSMB_ERR_SRC,
2010-12-15 00:09:44 +03:00
deps='errors SECRETS ldap lber MSRPC_PARSE LIBCLI_AUTH',
2010-04-23 01:33:38 +04:00
vars=locals())
bld.SAMBA_SUBSYSTEM('LIBSAMBA',
source=LIBSAMBA_SRC,
2010-12-14 16:03:22 +03:00
deps='LIBSMB_ERR NDR_NTLMSSP ntlm_check',
2010-04-23 01:33:38 +04:00
vars=locals())
bld.SAMBA_SUBSYSTEM('LIBSMB',
source=LIBSMB_SRC,
2010-11-30 20:56:26 +03:00
deps='LIBSAMBA CLDAP LIBNMB LIBNBT LIBDRSUAPI SPNEGO_PARSE',
2010-11-30 20:07:21 +03:00
vars=locals())
bld.SAMBA_SUBSYSTEM('LIBDRSUAPI',
source=DRSUAPI_SRC,
2010-11-30 23:50:56 +03:00
deps='z LZXPRESS NDR_DRSUAPI NDR_DRSBLOBS',
2010-09-26 23:58:58 +04:00
vars=locals())
bld.SAMBA_SUBSYSTEM('CLDAP',
source=CLDAP_SRC,
deps='LIBCLI_LDAP_MESSAGE LIBCLI_LDAP_NDR',
2010-04-23 01:33:38 +04:00
vars=locals())
2010-05-11 19:11:41 +04:00
bld.SAMBA_SUBSYSTEM('SECRETS',
source=SECRETS_SRC,
2010-10-05 19:01:14 +04:00
deps='NDR_SECRETS',
2010-05-11 19:11:41 +04:00
vars=locals())
2010-05-13 00:43:18 +04:00
bld.SAMBA_SUBSYSTEM('SMBLDAP',
source=SMBLDAP_SRC,
deps='ldap lber',
vars=locals())
2010-09-23 17:56:36 +04:00
bld.SAMBA_SUBSYSTEM('LIBADS',
source=LIBADS_SRC,
2010-09-26 23:58:58 +04:00
deps='LIBCLI_LDAP_NDR',
2010-09-23 17:56:36 +04:00
vars=locals())
2010-09-23 18:01:52 +04:00
bld.SAMBA_SUBSYSTEM('LIBADS_SERVER',
source=LIBADS_SERVER_SRC,
2010-10-05 19:01:14 +04:00
deps='NDR_KRB5PAC',
2010-09-23 18:01:52 +04:00
vars=locals())
2010-09-23 18:05:11 +04:00
bld.SAMBA_SUBSYSTEM('LIBADS_PRINTER',
source=LIBADS_PRINTER_SRC,
vars=locals())
2010-09-24 23:13:27 +04:00
bld.SAMBA_SUBSYSTEM('LIBAFS',
source=AFS_SRC,
vars=locals())
bld.SAMBA_SUBSYSTEM('LIBAFS_SETTOKEN',
source=AFS_SETTOKEN_SRC,
vars=locals())
2010-10-20 03:54:12 +04:00
bld.SAMBA_SUBSYSTEM('LIBSMBCONF',
source=LIBSMBCONF_SRC,
2010-10-20 04:17:41 +04:00
deps='REG_BASE REG_SMBCONF',
2010-10-20 03:54:12 +04:00
vars=locals())
2010-09-23 17:45:56 +04:00
bld.SAMBA_SUBSYSTEM('SMBD_BASE',
source=SMBD_SRC_BASE,
deps='''tdb tevent dl krb5 ldap gssapi gssapi_krb5
2010-12-07 14:04:11 +03:00
DYNCONFIG wbclient crypt nsl cups cap resolv z PASSDB
2010-09-23 17:45:56 +04:00
PARAM_WITHOUT_REG LIBS LIBSMB POPT_SAMBA KRBCLIENT AVAHI
2010-09-24 03:29:06 +04:00
LIBMSRPC_GEN LIBMSRPC LIBADS LIBADS_SERVER LIBADS_PRINTER
2010-09-28 20:55:55 +04:00
vfs vfs_default vfs_posixacl auth rpc LOCKING LIBAFS LIBAFS_SETTOKEN PROFILE
2010-11-30 20:01:13 +03:00
PRINTING PRINTBACKEND NDR_XATTR NDR_NOTIFY REGFIO
2010-11-30 16:29:31 +03:00
LIBSMBCONF REG_FULL FNAME_UTIL
2010-11-30 19:50:32 +03:00
LIBCLI_SAMR LIBCLI_LSA LIBCLI_NETLOGON LIBCLI_SPOOLSS
2010-12-14 19:36:06 +03:00
RPCCLI_SRVSVC NAMED_PIPE_AUTH_TSTREAM INIT_NETLOGON INIT_SAMR
2010-12-14 19:47:46 +03:00
LIBCLI_SMB_COMMON
2010-09-28 20:55:55 +04:00
''',
2010-09-23 17:45:56 +04:00
vars=locals())
2010-09-24 22:43:40 +04:00
bld.SAMBA_SUBSYSTEM('LOCKING',
source='${LOCKING_SRC}',
deps='''tdb talloc''',
vars=locals())
2010-09-24 23:27:57 +04:00
bld.SAMBA_SUBSYSTEM('PROFILE',
source='${PROFILE_SRC}',
vars=locals())
2010-09-27 05:39:41 +04:00
bld.SAMBA_SUBSYSTEM('PRINTBASE',
source=PRINTBASE_SRC,
vars=locals())
bld.SAMBA_SUBSYSTEM('PRINTBACKEND',
source=PRINTBACKEND_SRC,
deps='PRINTBASE NDR_NTPRINTING LIBADS_PRINTER',
vars=locals())
bld.SAMBA_SUBSYSTEM('PRINTING',
source=PRINTING_SRC,
vars=locals())
2010-09-25 03:13:55 +04:00
bld.SAMBA_SUBSYSTEM('PASSWD_UTIL',
source=PASSWD_UTIL_SRC,
vars=locals())
2010-11-30 16:29:31 +03:00
bld.SAMBA_SUBSYSTEM('FNAME_UTIL',
source=FNAME_UTIL_SRC,
vars=locals())
2010-09-25 03:45:41 +04:00
bld.SAMBA_SUBSYSTEM('LIBNET',
source=LIBNET_SRC,
deps='NDR_LIBNET_JOIN',
vars=locals())
bld.SAMBA_SUBSYSTEM('LIBNET_DSSYNC',
source=LIBNET_DSSYNC_SRC,
2010-12-14 19:33:49 +03:00
deps='LIBNET LIBCLI_DRSUAPI',
2010-09-25 03:45:41 +04:00
vars=locals())
bld.SAMBA_SUBSYSTEM('LIBNET_SAMSYNC',
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())
2010-09-25 04:06:16 +04:00
bld.SAMBA_SUBSYSTEM('LIBEVENTLOG',
source=LIB_EVENTLOG_SRC,
deps='NDR_EVENTLOG',
vars=locals())
2010-11-30 16:56:26 +03:00
bld.SAMBA_SUBSYSTEM('LIBNMB',
source=LIBNMB_SRC,
vars=locals())
2010-11-30 20:56:26 +03:00
bld.SAMBA_SUBSYSTEM('LIBNBT',
source=LIBNBT_SRC,
2010-11-30 23:50:56 +03:00
deps='NDR_SVCCTL NDR_NBT NDR_NBT_BUF LIBCLI_NDR_NETLOGON',
2010-11-30 20:56:26 +03:00
vars=locals())
2010-09-27 05:47:15 +04:00
bld.SAMBA_SUBSYSTEM('SERVICES',
source=SERVICES_SRC,
vars=locals())
2010-09-26 21:44:53 +04:00
bld.SAMBA_SUBSYSTEM('PLAINTEXT_AUTH',
source=PLAINTEXT_AUTH_SRC,
2010-12-07 13:49:57 +03:00
deps='pam',
2010-09-26 21:44:53 +04:00
vars=locals())
bld.SAMBA_SUBSYSTEM('SLCACHE',
source=SLCACHE_SRC,
vars=locals())
2010-11-30 20:52:21 +03:00
bld.SAMBA_SUBSYSTEM('SPNEGO_PARSE',
source='../libcli/auth/spnego_parse.c',
vars=locals())
2010-09-26 21:44:53 +04:00
bld.SAMBA_SUBSYSTEM('DCUTIL',
source=DCUTIL_SRC,
vars=locals())
2010-10-24 21:42:58 +04:00
bld.SAMBA_SUBSYSTEM('ndr',
2010-09-21 12:24:13 +04:00
source=LIBNDR_SRC,
vars=locals())
2010-12-14 15:27:24 +03:00
bld.SAMBA_SUBSYSTEM('tdb-wrap',
source='lib/util_tdb.c',
vars=locals())
2010-12-14 15:50:30 +03:00
2010-12-14 18:47:35 +03:00
bld.SAMBA_SUBSYSTEM('CHARSET',
source='''lib/util_str.c lib/util_unistr.c lib/charcnv.c lib/iconv.c''',
public_deps='iconv',
deps='DYNCONFIG')
2010-12-14 15:50:30 +03:00
bld.SAMBA_SUBSYSTEM('samba-util',
source=UTIL_SRC,
2010-12-14 18:47:35 +03:00
deps='talloc CHARSET LIBCRYPTO',
2010-12-14 15:50:30 +03:00
vars=locals())
2010-09-21 12:24:13 +04:00
#FIXME
2010-10-24 21:49:13 +04:00
bld.SAMBA_SUBSYSTEM('ndr-standard',
2010-09-27 09:30:41 +04:00
source='',
2010-10-25 09:47:35 +04:00
deps='''
NDR_SECURITY NDR_LSA NDR_SAMR NDR_NETLOGON NDR_EVENTLOG NDR_DFS
NDR_NTSVCS NDR_SVCCTL NDR_INITSHUTDOWN NDR_WKSSVC NDR_SRVSVC NDR_WINREG
2010-10-27 03:38:50 +04:00
NDR_ECHO security NDR_DNS
2010-10-25 09:47:35 +04:00
''',
2010-09-21 12:24:13 +04:00
vars=locals())
2010-09-24 03:40:43 +04:00
#FIXME
bld.SAMBA_SUBSYSTEM('dcerpc', '')
2010-12-15 00:09:44 +03:00
bld.SAMBA_SUBSYSTEM('ldb',
source='lib/ldb_compat.c')
2010-09-21 12:24:13 +04:00
bld.SAMBA_SUBSYSTEM('LZXPRESS',
deps='replace',
source='../lib/compression/lzxpress.c')
bld.SAMBA_SUBSYSTEM('NDR_SECURITY',
2010-09-23 18:58:33 +04:00
source='''../librpc/gen_ndr/ndr_security.c ../librpc/ndr/ndr_sec_helper.c''',
2010-10-24 21:42:58 +04:00
deps='ndr',
2010-09-23 18:58:33 +04:00
vars=locals())
bld.SAMBA_SUBSYSTEM('NDR_DCERPC',
source='../librpc/gen_ndr/ndr_dcerpc.c',
2010-09-24 03:40:43 +04:00
vars=locals())
2010-10-27 03:38:50 +04:00
bld.SAMBA_SUBSYSTEM('errors',
2010-10-24 03:05:50 +04:00
source='../libcli/util/doserr.c libsmb/nterr.c')
2010-09-21 12:24:13 +04:00
bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
2010-10-24 03:05:50 +04:00
source='../libcli/nbt/nbtname.c',
deps='talloc',
autoproto='nbtname.h')
2010-09-21 12:24:13 +04:00
bld.SAMBA_SUBSYSTEM('LIBCLI_NDR_NETLOGON',
2010-10-24 03:05:50 +04:00
source='../libcli/ndr_netlogon.c',
2010-10-24 21:42:58 +04:00
public_deps='ndr NDR_SECURITY')
2010-09-21 12:24:13 +04:00
2010-09-27 09:30:41 +04:00
bld.SAMBA_SUBSYSTEM('RPCCLI_WINREG',
2010-10-24 03:05:50 +04:00
source='../librpc/gen_ndr/cli_winreg.c',
public_deps='RPC_NDR_WINREG')
2010-09-27 09:30:41 +04:00
2010-10-12 02:46:53 +04:00
bld.SAMBA_SUBSYSTEM('RPCCLI_ECHO',
2010-10-24 03:05:50 +04:00
source='../librpc/gen_ndr/cli_echo.c',
public_deps='RPC_NDR_ECHO')
2010-10-12 02:46:53 +04:00
2010-11-30 18:43:34 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_SAMR',
source='../librpc/gen_ndr/cli_samr.c',
public_deps='RPC_NDR_SAMR')
2010-11-30 19:09:34 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_LSA',
source='../librpc/gen_ndr/cli_lsa.c',
public_deps='RPC_NDR_LSA')
2010-11-30 19:27:37 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_NETLOGON',
source='../librpc/gen_ndr/cli_netlogon.c',
public_deps='RPC_NDR_NETLOGON')
2010-11-30 19:15:43 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_SRVSVC',
source='../librpc/gen_ndr/cli_srvsvc.c',
public_deps='RPC_NDR_SRVSVC')
2010-11-30 19:38:44 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_INITSHUTDOWN',
source='../librpc/gen_ndr/cli_initshutdown.c',
public_deps='RPC_NDR_INITSHUTDOWN')
2010-11-30 19:19:12 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_WKSSVC',
source='../librpc/gen_ndr/cli_wkssvc.c',
public_deps='RPC_NDR_WKSSVC')
2010-11-30 19:21:38 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_SVCCTL',
source='../librpc/gen_ndr/cli_svcctl.c',
public_deps='RPC_NDR_SVCCTL')
2010-11-30 19:36:13 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_DSSETUP',
source='../librpc/gen_ndr/cli_dssetup.c',
public_deps='RPC_NDR_DSSETUP')
2010-11-30 19:40:38 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_DFS',
source='../librpc/gen_ndr/cli_dfs.c',
public_deps='RPC_NDR_DFS')
2010-11-30 19:43:09 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_DRSUAPI',
source='../librpc/gen_ndr/cli_drsuapi.c',
public_deps='RPC_NDR_DRSUAPI')
2010-11-30 19:44:25 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_NTSVCS',
source='../librpc/gen_ndr/cli_ntsvcs.c',
public_deps='RPC_NDR_NTSVCS')
2010-11-30 19:45:25 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_EVENTLOG',
source='../librpc/gen_ndr/cli_eventlog.c',
public_deps='RPC_NDR_EVENTLOG')
2010-11-30 19:46:56 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_EPMAPPER',
source='../librpc/gen_ndr/cli_epmapper.c',
public_deps='RPC_NDR_EPMAPPER')
2010-11-30 19:50:32 +03:00
bld.SAMBA_SUBSYSTEM('RPCCLI_SPOOLSS',
source='../librpc/gen_ndr/cli_spoolss.c',
public_deps='RPC_NDR_SPOOLSS')
2010-11-30 18:43:34 +03:00
bld.SAMBA_SUBSYSTEM('LIBCLI_SAMR',
source=LIBCLI_SAMR_SRC,
deps='RPCCLI_SAMR')
2010-11-30 19:09:34 +03:00
bld.SAMBA_SUBSYSTEM('LIBCLI_LSA',
source=LIBCLI_LSA_SRC,
2010-12-01 00:34:54 +03:00
deps='RPCCLI_LSA INIT_LSA')
2010-11-30 19:09:34 +03:00
2010-11-30 19:27:37 +03:00
bld.SAMBA_SUBSYSTEM('LIBCLI_NETLOGON',
source=LIBCLI_NETLOGON_SRC,
deps='RPCCLI_NETLOGON')
2010-11-30 19:50:32 +03:00
bld.SAMBA_SUBSYSTEM('LIBCLI_SPOOLSS',
source=LIBCLI_SPOOLSS_SRC,
deps='RPCCLI_SPOOLSS')
2010-10-08 15:17:21 +04:00
bld.SAMBA_SUBSYSTEM('RPC_CLIENT_SCHANNEL',
2010-10-24 03:05:50 +04:00
source=RPC_CLIENT_SCHANNEL_SRC,
vars=locals())
2010-10-08 15:17:21 +04:00
2010-12-01 00:34:54 +03:00
bld.SAMBA_SUBSYSTEM('INIT_LSA',
source='rpc_client/init_lsa.c')
2010-10-08 15:17:21 +04:00
2010-12-01 00:37:37 +03:00
bld.SAMBA_SUBSYSTEM('INIT_NETLOGON',
source='rpc_client/init_netlogon.c')
2010-12-01 00:41:41 +03:00
bld.SAMBA_SUBSYSTEM('INIT_SAMR',
source='rpc_client/init_samr.c')
2010-04-18 11:30:59 +04:00
########################## BINARIES #################################
2010-03-24 03:28:03 +03:00
bld.SAMBA_BINARY('smbd/smbd',
2010-09-23 17:45:56 +04:00
source='${SMBD_SRC_MAIN}',
deps='''SMBD_BASE''',
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
2010-04-12 00:05:50 +04:00
bld.SAMBA_BINARY('nmbd/nmbd',
source=NMBD_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent z cap resolv wbclient dl
2010-10-24 02:19:49 +04:00
PASSDB PARAM ldap LIB_NONSMBD LIBSMB
2010-09-25 04:18:03 +04:00
POPT_SAMBA KRBCLIENT NDR_SAMR NDR_LSA''',
2010-04-18 16:42:49 +04:00
install_path='${SBINDIR}',
2010-04-12 00:05:50 +04:00
vars=locals())
2010-04-18 11:30:59 +04:00
bld.SAMBA_BINARY('winbindd/winbindd',
source=WINBINDD_SRC,
2010-10-30 04:37:42 +04:00
deps='''talloc tdb tevent cap dl z
2010-12-07 14:04:11 +03:00
wbclient PASSDB ldap resolv PARAM LIB_NONSMBD LIBSMB
2010-09-24 03:29:06 +04:00
POPT_SAMBA KRBCLIENT LIBMSRPC_GEN LIBMSRPC LIBADS LIBADS_SERVER
2010-10-05 13:38:45 +04:00
SRV_NDR_WBINT RPCCLI_NDR_WBINT LIBAFS
2010-10-07 23:28:04 +04:00
LIBAFS_SETTOKEN PROFILE SLCACHE DCUTIL idmap nss_info
2010-11-30 18:16:22 +03:00
TOKEN_UTIL
2010-11-30 19:27:37 +03:00
LIBCLI_SAMR LIBCLI_LSA LIBCLI_NETLOGON
2010-12-14 19:36:06 +03:00
RPCCLI_DSSETUP NAMED_PIPE_AUTH_TSTREAM INIT_NETLOGON
2010-12-01 01:06:53 +03:00
RPC_SAMR RPC_LSARPC
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())
2010-04-30 16:18:20 +04:00
bld.SAMBA_BINARY('web/swat',
source=SWAT_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tevent cap LIBS LIBSMB wbclient PARAM
2010-09-23 13:14:23 +04:00
LIB_NONSMBD resolv PASSDB POPT_SAMBA KRBCLIENT cups
2010-11-30 18:43:34 +03:00
LIBMSRPC_GEN LIBMSRPC LOCKING PLAINTEXT_AUTH PRINTBASE PRINTING FNAME_UTIL
2010-12-01 00:34:54 +03:00
LIBCLI_SAMR INIT_LSA''',
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())
2010-09-23 11:13:34 +04:00
bld.SAMBA_BINARY('rpcclient/rpcclient',
source=RPCCLIENT_SRC,
deps='''talloc tdb cap resolv POPT_SAMBA PASSDB LIBSMB LIB_NONSMBD
2010-12-07 14:04:11 +03:00
PARAM_WITHOUT_REG wbclient PARAM KRBCLIENT LIBMSRPC_GEN LIBMSRPC
2010-10-08 15:17:21 +04:00
LIBADS SMBREADLINE DCUTIL RPCCLI_WINREG RPCCLI_ECHO
2010-11-30 18:43:34 +03:00
RPC_CLIENT_SCHANNEL
2010-11-30 19:50:32 +03:00
LIBCLI_SAMR LIBCLI_LSA LIBCLI_NETLOGON LIBCLI_SPOOLSS
2010-11-30 19:40:38 +03:00
RPCCLI_SRVSVC RPCCLI_WKSSVC RPCCLI_DSSETUP RPCCLI_DFS
2010-12-01 00:37:37 +03:00
RPCCLI_DRSUAPI RPCCLI_NTSVCS RPCCLI_EVENTLOG INIT_NETLOGON
2010-12-01 00:41:41 +03:00
INIT_SAMR
2010-11-30 19:15:43 +03:00
''',
2010-09-23 11:13:34 +04:00
vars=locals())
2010-12-07 14:04:11 +03:00
bld.SAMBA_BINARY('client/smbclient',
2010-05-26 16:09:39 +04:00
source=CLIENT_SRC,
2010-06-17 10:09:41 +04:00
deps='''talloc tdb cap resolv POPT_SAMBA PASSDB LIBSMB LIB_NONSMBD
2010-12-07 14:04:11 +03:00
PARAM_WITHOUT_REG wbclient PARAM KRBCLIENT LIBMSRPC_GEN
LIBMSRPC SMBREADLINE smbclient RPCCLI_SRVSVC INIT_LSA''',
2010-05-26 16:09:39 +04:00
vars=locals())
2010-09-23 11:13:34 +04:00
bld.SAMBA_BINARY('net',
source=NET_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb netapi addns cap resolv POPT_SAMBA PASSDB LIBSMB LIB_NONSMBD
PARAM_WITHOUT_REG wbclient PARAM KRBCLIENT LIBMSRPC_GEN LIBMSRPC LIBGPO LIBADS LIBADS_SERVER LIBADS_PRINTER
2010-10-01 12:34:14 +04:00
LOCALE_DIR LIBAFS LIBAFS_SETTOKEN SMBREADLINE PASSWD_UTIL LIBNET
2010-10-20 00:52:14 +04:00
LIBNET_DSSYNC LIBNET_SAMSYNC LIBEVENTLOG DCUTIL
2010-10-08 15:17:21 +04:00
REGFIO NDR_NTPRINTING RPCCLI_WINREG
2010-11-30 18:43:34 +03:00
RPC_CLIENT_SCHANNEL TOKEN_UTIL
2010-11-30 19:50:32 +03:00
LIBCLI_SAMR LIBCLI_LSA LIBCLI_NETLOGON LIBCLI_SPOOLSS
2010-11-30 19:36:13 +03:00
RPCCLI_SRVSVC RPCCLI_WKSSVC RPCCLI_SVCCTL RPCCLI_DSSETUP
2010-12-01 00:41:41 +03:00
RPCCLI_INITSHUTDOWN RPCCLI_DRSUAPI INIT_NETLOGON INIT_SAMR
2010-11-30 19:15:43 +03:00
''',
2010-08-12 17:42:16 +04:00
vars=locals())
2010-09-23 11:13:34 +04:00
bld.SAMBA_BINARY('profiles',
source=PROFILES_SRC,
2010-09-27 05:31:19 +04:00
deps='''talloc tdb cap tevent POPT_SAMBA PARAM LIBS LIBSMB_ERR LIB_NONSMBD REGFIO''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('smbspool',
source=CUPS_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent resolv cap wbclient POPT_SAMBA PARAM LIBSMB LIB_NONSMBD LIBS
2010-09-25 04:18:03 +04:00
KRBCLIENT ASN1_UTIL LIBTSOCKET NDR_SAMR NDR_LSA''',
2010-04-12 01:01:29 +04:00
vars=locals())
2010-04-18 12:08:25 +04:00
bld.SAMBA_BINARY('testparm',
2010-04-18 11:30:59 +04:00
source=TESTPARM_SRC,
2010-10-24 02:19:49 +04:00
deps='''talloc tevent ldap cap
2010-12-07 14:04:11 +03:00
wbclient ASN1_UTIL LIBTSOCKET PASSDB PARAM LIB_NONSMBD
2010-04-30 16:33:49 +04:00
LIBSMB_ERR POPT_SAMBA''',
2010-04-18 11:30:59 +04:00
vars=locals())
2010-09-23 11:13:34 +04:00
bld.SAMBA_BINARY('smbta-util',
source=SMBTA_UTIL_SRC,
deps='''talloc tdb tevent cap PARAM POPT_SAMBA LIB_NONSMBD
LIBSMB_ERR''',
vars=locals())
bld.SAMBA_BINARY('smbstatus',
source=STATUS_SRC,
deps='''talloc tdb tevent cap PARAM POPT_SAMBA LIB_NONSMBD
2010-11-30 16:29:31 +03:00
LIBSMB_ERR LOCKING PROFILE FNAME_UTIL''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('smbcontrol',
source=SMBCONTROL_SRC,
2010-09-27 05:39:41 +04:00
deps='''talloc tdb tevent cap PARAM LIB_NONSMBD LIBSMB_ERR POPT_SAMBA PRINTBASE''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('smbtree',
source=SMBTREE_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent cap resolv wbclient PARAM LIB_NONSMBD
2010-11-30 19:15:43 +03:00
LIBSMB LIBSMB_ERR POPT_SAMBA KRBCLIENT PASSDB SMBLDAP GROUPDB LIBMSRPC_GEN LIBMSRPC PROFILE
RPCCLI_SRVSVC''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('smbpasswd',
source=SMBPASSWD_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent cap resolv wbclient PARAM LIB_NONSMBD
2010-11-30 18:43:34 +03:00
LIBSMB LIBSMB_ERR POPT_SAMBA KRBCLIENT PASSDB SMBLDAP GROUPDB LIBMSRPC_GEN LIBMSRPC PASSWD_UTIL
2010-12-01 00:34:54 +03:00
LIBCLI_SAMR INIT_LSA''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('pdbedit',
source=PDBEDIT_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent cap resolv wbclient PARAM LIB_NONSMBD
2010-09-25 03:13:55 +04:00
LIBSAMBA LIBSMB_ERR POPT_SAMBA PASSDB SMBLDAP GROUPDB
2010-09-26 23:58:58 +04:00
PASSWD_UTIL LIBCLI_LDAP_NDR''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('smbget',
source=SMBGET_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb smbclient POPT_SAMBA''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('nmblookup',
source=NMBLOOKUP_SRC,
2010-11-30 16:56:26 +03:00
deps='''talloc tdb tevent cap resolv PARAM LIB_NONSMBD POPT_SAMBA LIBSMB_ERR LIBNMB''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('smbtorture',
source=SMBTORTURE_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent cap resolv wbclient PARAM LIBSMB KRBCLIENT TLDAP
2010-10-12 02:46:53 +04:00
LIB_NONSMBD POPT_SAMBA ASN1_UTIL LIBTSOCKET NDR_LSA LIBMSRPC LIBMSRPC_GEN RPCCLI_ECHO''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('smbconftort',
source=SMBCONFTORT_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent cap resolv wbclient PARAM LIB_NONSMBD LIBSMB_ERR POPT_SAMBA''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('masktest',
source=MASKTEST_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb cap resolv wbclient PARAM LIB_NONSMBD LIBSMB KRBCLIENT
2010-09-25 04:18:03 +04:00
ASN1_UTIL LIBTSOCKET NDR_SAMR NDR_LSA''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('msgtest',
source=MSGTEST_SRC,
deps='''talloc tdb tevent cap resolv PARAM LIBSMB_ERR LIB_NONSMBD''',
vars=locals())
bld.SAMBA_BINARY('smbcacls',
source=SMBCACLS_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb cap resolv wbclient PARAM LIBSMB KRBCLIENT
2010-09-23 22:14:00 +04:00
LIB_NONSMBD PASSDB GROUPDB POPT_SAMBA SMBLDAP LIBMSRPC_GEN
2010-11-30 19:09:34 +03:00
LIBMSRPC LIBCLI_LSA''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('smbcquotas',
source=SMBCQUOTAS_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb cap resolv wbclient PARAM LIB_NONSMBD LIBSMB KRBCLIENT
2010-11-30 19:09:34 +03:00
POPT_SAMBA PASSDB SMBLDAP GROUPDB LIBMSRPC_GEN LIBMSRPC
LIBCLI_LSA''',
2010-09-23 11:13:34 +04:00
vars=locals())
2010-04-30 21:45:06 +04:00
bld.SAMBA_BINARY('eventlogadm',
source=EVTLOGADM_SRC,
2010-09-23 11:13:34 +04:00
deps='''talloc tevent cap POPT_SAMBA LIBS PARAM
2010-12-07 14:04:11 +03:00
LIB_NONSMBD LIBSMB_ERR PASSDB wbclient LIBEVENTLOG REG_EVENTLOG''',
2010-04-30 21:45:06 +04:00
vars=locals())
2010-09-23 11:13:34 +04:00
bld.SAMBA_BINARY('sharesec',
source=SHARESEC_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent cap resolv wbclient PARAM LIB_NONSMBD LIBSMB_ERR POPT_SAMBA''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('locktest',
source=LOCKTEST_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent cap resolv wbclient PARAM KRBCLIENT LIBSMB LIB_NONSMBD
2010-11-30 16:29:31 +03:00
ASN1_UTIL LIBTSOCKET NDR_SAMR NDR_LSA LOCKING FNAME_UTIL''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('nsstest',
source=NSSTEST_SRC,
2010-12-07 14:04:35 +03:00
deps='dl',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('pdbtest',
source=PDBTEST_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb cap resolv wbclient PARAM LIBSMB KRBCLIENT LIB_NONSMBD PASSDB GROUPDB
2010-09-25 04:18:03 +04:00
SMBLDAP POPT_SAMBA NDR_SAMR NDR_LSA''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('vfstest',
source=VFSTEST_SRC,
2010-10-01 12:34:14 +04:00
deps='''SMBD_BASE SMBREADLINE''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('smbiconv',
source=SMBICONV_SRC,
deps='''talloc tdb tevent cap PARAM LIB_NONSMBD POPT_SAMBA LIBSMB_ERR''',
vars=locals())
bld.SAMBA_BINARY('log2pcap',
source=LOG2PCAP_SRC,
deps='''talloc popt''',
vars=locals())
bld.SAMBA_BINARY('locktest2',
source=LOCKTEST2_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent cap resolv wbclient PARAM KRBCLIENT LIBSMB LIB_NONSMBD
2010-11-30 16:29:31 +03:00
ASN1_UTIL LIBTSOCKET NDR_SAMR NDR_LSA LOCKING FNAME_UTIL''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_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())
bld.SAMBA_BINARY('smbfilter',
source=SMBFILTER_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tevent cap resolv wbclient PARAM LIBSMB LIB_NONSMBD KRBCLIENT ASN1_UTIL LIBTSOCKET
2010-09-25 04:18:03 +04:00
NDR_SAMR NDR_LSA''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('versiontest',
source='lib/version_test.c ${VERSION_SRC}',
vars=locals())
bld.SAMBA_BINARY('wbinfo',
source=WBINFO_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc wbclient tevent cap
2010-10-24 02:19:49 +04:00
ASN1_UTIL LIBTSOCKET PASSDB ldap PARAM LIB_NONSMBD
2010-09-24 23:13:27 +04:00
LIBSAMBA POPT_SAMBA LIBAFS_SETTOKEN''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('ntlm_auth',
source=NTLM_AUTH_SRC,
2010-12-07 14:04:11 +03:00
deps='''tdb talloc cap resolv krb5 k5crypto com_err wbclient PARAM LIB_NONSMBD
2010-09-23 11:13:34 +04:00
LIBS LIBSAMBA POPT_SAMBA ASN1_UTIL LIBTSOCKET
2010-09-23 18:58:33 +04:00
PASSDB GROUPDB SMBLDAP WBCOMMON LIBINIPARSER LIBADS_SERVER
2010-11-30 20:52:21 +03:00
NDR_SAMR NDR_LSA NDR_NETLOGON LIBCLI_LDAP_NDR LIBNMB SLCACHE SPNEGO_PARSE''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('timelimit',
source='script/tests/timelimit.c',
vars=locals())
bld.SAMBA_BINARY('rpc_open_tcp',
source=RPC_OPEN_TCP_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent resolv cap wbclient KRBCLIENT PARAM LIBS LIBSMB LIB_NONSMBD
2010-09-23 22:14:00 +04:00
LIBSMB_ERR ASN1_UTIL LIBTSOCKET LIBMSRPC_GEN LIBMSRPC''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('test_lp_load',
source=TEST_LP_LOAD_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent cap wbclient PARAM LIB_NONSMBD POPT_SAMBA LIBSAMBA''',
2010-09-23 11:13:34 +04:00
vars=locals())
bld.SAMBA_BINARY('dbwrap_tool',
source=DBWRAP_TOOL_SRC,
deps='''talloc tdb tevent cap PARAM LIB_NONSMBD LIBSMB_ERR''',
vars=locals())
bld.SAMBA_BINARY('dbwrap_torture',
source=DBWRAP_TORTURE_SRC,
deps='''talloc tdb tevent cap PARAM LIB_NONSMBD LIBSMB_ERR
POPT_SAMBA''',
vars=locals())
bld.SAMBA_BINARY('split_tokens',
source=SPLIT_TOKENS_SRC,
2010-12-07 14:04:11 +03:00
deps='''talloc tdb tevent cap wbclient PARAM LIB_NONSMBD POPT_SAMBA
2010-09-23 11:13:34 +04:00
LIBSAMBA''',
2010-09-20 00:35:26 +04:00
vars=locals())
2010-09-29 10:48:49 +04:00
bld.SAMBA_BINARY('vlp',
source=VLP_SRC,
2010-11-30 18:25:37 +03:00
deps='''talloc tdb PARAM_UTIL''',
2010-09-29 10:48:49 +04:00
vars=locals())
2010-04-18 16:43:01 +04:00
swat_files=recursive_dirlist('../swat', '../swat', '*')
bld.INSTALL_FILES('${SWATDIR}', swat_files, base_name='../swat')
########################## INCLUDES #################################
2010-04-18 11:30:59 +04:00
2010-04-04 07:08:05 +04:00
bld.RECURSE('../lib/socket_wrapper')
bld.RECURSE('../lib/talloc')
bld.RECURSE('../lib/tdb')
bld.RECURSE('../lib/nss_wrapper')
2010-04-07 17:34:12 +04:00
bld.RECURSE('../lib/tevent')
bld.RECURSE('../lib/popt')
2010-04-12 00:05:10 +04:00
bld.RECURSE('../lib/zlib')
2010-04-12 01:01:29 +04:00
bld.RECURSE('../lib/tsocket')
2010-09-23 11:13:34 +04:00
bld.RECURSE('../lib/iniparser/src')
2010-09-23 17:15:13 +04:00
bld.RECURSE('../lib/crypto')
2010-12-14 15:14:00 +03:00
bld.RECURSE('../lib/async_req')
2010-12-14 16:03:22 +03:00
bld.RECURSE('../libcli/auth')
2010-12-14 19:33:49 +03:00
bld.RECURSE('../libcli/drsuapi')
2010-12-14 19:45:33 +03:00
bld.RECURSE('../libcli/samsync')
2010-12-14 19:36:06 +03:00
bld.RECURSE('../libcli/named_pipe_auth')
2010-12-14 19:47:46 +03:00
bld.RECURSE('../libcli/smb')
2010-12-15 00:09:44 +03:00
bld.RECURSE('../libcli/ldap')
2010-09-26 05:11:01 +04:00
bld.RECURSE('modules')
2010-09-26 21:43:43 +04:00
bld.RECURSE('auth')
2010-09-26 21:51:40 +04:00
bld.RECURSE('passdb')
2010-09-26 21:59:18 +04:00
bld.RECURSE('winbindd')
2010-09-26 22:30:36 +04:00
bld.RECURSE('libgpo/gpext')
2010-09-28 10:54:39 +04:00
bld.RECURSE('pam_smbpass')
2010-09-28 20:55:55 +04:00
bld.RECURSE('rpc_server')
2010-11-19 15:33:06 +03:00
bld.RECURSE('libaddns')
2010-03-24 03:28:03 +03:00
bld.ENFORCE_GROUP_ORDERING()
bld.CHECK_PROJECT_RULES()