2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-10-30 04:27:33 +04:00
bld.SAMBA_LIBRARY('service',
2010-11-15 14:23:46 +03:00
source='service.c service_stream.c service_named_pipe.c service_task.c',
autoproto='service_proto.h',
2011-08-18 22:43:00 +04:00
deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH npa_tstream gssapi samba-credentials LIBTSOCKET LIBSAMBA_TSOCKET process_model',
2012-05-21 13:45:12 +04:00
private_library=True,
2012-06-01 16:38:56 +04:00
enabled=bld.AD_DC_BUILD_IS_ENABLED()
2010-11-15 14:23:46 +03:00
)
2010-03-17 14:07:42 +03:00
2012-05-21 13:45:12 +04:00
bld.SAMBA_LIBRARY('process_model',
source='process_model.c',
autoproto='process_model_proto.h',
deps='samba-util samba-hostconfig samba-modules',
private_library=True,
2012-06-01 16:38:56 +04:00
enabled=bld.AD_DC_BUILD_IS_ENABLED()
2012-05-21 13:45:12 +04:00
)
2010-03-17 14:07:42 +03:00
2020-11-23 19:53:57 +03:00
bld.SAMBA_SUBSYSTEM('samba_server_util',
source='server_util.c',
deps='samba-util')
2010-03-17 14:07:42 +03:00
bld.SAMBA_BINARY('samba',
source='server.c',
2010-10-10 06:25:50 +04:00
subsystem_name='service',
2021-01-14 11:50:10 +03:00
deps='''events process_model service samba-hostconfig samba-util CMDLINE_S4
2020-11-26 16:21:58 +03:00
popt gensec registry ntvfs share cluster COMMON_SCHANNEL SECRETS
samba_server_util''',
2010-10-10 06:25:50 +04:00
pyembed=True,
2012-05-21 13:45:12 +04:00
install_path='${SBINDIR}',
enabled=bld.AD_DC_BUILD_IS_ENABLED()
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_MODULE('process_model_single',
2010-10-30 04:27:33 +04:00
source='process_single.c',
subsystem='process_model',
init_function='process_model_single_init',
2010-10-30 07:16:35 +04:00
deps='cluster process_model samba-sockets',
2010-10-30 14:44:17 +04:00
internal_module=True
2010-10-30 04:27:33 +04:00
)
2010-03-17 14:07:42 +03:00
bld.SAMBA_MODULE('process_model_standard',
2010-10-30 04:27:33 +04:00
source='process_standard.c',
subsystem='process_model',
init_function='process_model_standard_init',
2017-03-28 11:04:23 +03:00
deps='MESSAGING events ldbsamba process_model samba-sockets cluster messages_dgm',
2010-10-30 04:27:33 +04:00
internal_module=False
)
2010-03-17 14:07:42 +03:00
2017-09-07 05:30:15 +03:00
bld.SAMBA_MODULE('process_model_prefork',
source='process_prefork.c',
subsystem='process_model',
init_function='process_model_prefork_init',
2020-11-26 16:21:58 +03:00
deps='MESSAGING events ldbsamba cluster samba-sockets process_model messages_dgm samba_server_util',
2017-09-07 05:30:15 +03:00
internal_module=False
)