2010-03-28 09:48:49 +11:00
#!/usr/bin/env python
2010-10-30 11:27:33 +11:00
bld.SAMBA_LIBRARY('service',
2010-11-15 12:23:46 +01:00
source='service.c service_stream.c service_named_pipe.c service_task.c',
autoproto='service_proto.h',
2011-08-18 20:43:00 +02: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 12:45:12 +03:00
private_library=True,
2012-06-01 15:38:56 +03:00
enabled=bld.AD_DC_BUILD_IS_ENABLED()
2010-11-15 12:23:46 +01:00
)
2010-03-17 22:07:42 +11:00
2012-05-21 12:45:12 +03: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 15:38:56 +03:00
enabled=bld.AD_DC_BUILD_IS_ENABLED()
2012-05-21 12:45:12 +03:00
)
2010-03-17 22:07:42 +11:00
bld.SAMBA_BINARY('samba',
source='server.c',
2010-10-10 04:25:50 +02:00
subsystem_name='service',
2012-07-19 15:41:52 -07:00
deps='''events process_model service samba-hostconfig samba-util POPT_SAMBA
2016-07-10 21:53:04 +12:00
popt gensec registry ntvfs share cluster COMMON_SCHANNEL SECRETS''',
2010-10-10 04:25:50 +02:00
pyembed=True,
2012-05-21 12:45:12 +03:00
install_path='${SBINDIR}',
enabled=bld.AD_DC_BUILD_IS_ENABLED()
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('process_model_single',
2010-10-30 11:27:33 +11:00
source='process_single.c',
subsystem='process_model',
init_function='process_model_single_init',
2010-10-30 14:16:35 +11:00
deps='cluster process_model samba-sockets',
2010-10-30 21:44:17 +11:00
internal_module=True
2010-10-30 11:27:33 +11:00
)
2010-03-17 22:07:42 +11:00
bld.SAMBA_MODULE('process_model_standard',
2010-10-30 11:27:33 +11:00
source='process_standard.c',
subsystem='process_model',
init_function='process_model_standard_init',
2017-03-28 21:04:23 +13:00
deps='MESSAGING events ldbsamba process_model samba-sockets cluster messages_dgm',
2010-10-30 11:27:33 +11:00
internal_module=False
)
2010-03-17 22:07:42 +11:00
2017-09-07 14:30:15 +12:00
bld.SAMBA_MODULE('process_model_prefork',
source='process_prefork.c',
subsystem='process_model',
init_function='process_model_prefork_init',
deps='MESSAGING events ldbsamba cluster samba-sockets process_model messages_dgm',
internal_module=False
)