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-04-06 08:29:34 +04:00
deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH npa_tstream gssapi credentials LIBTSOCKET LIBSAMBA_TSOCKET process_model',
2010-11-15 14:23:46 +03:00
private_library=True
)
2010-03-17 14:07:42 +03:00
bld.SAMBA_SUBSYSTEM('PIDFILE',
source='pidfile.c',
2010-11-07 04:05:51 +03:00
deps='talloc',
2010-03-17 14:07:42 +03:00
autoproto='pidfile.h'
)
bld.SAMBA_BINARY('samba',
source='server.c',
manpages='samba.8',
2010-10-10 06:25:50 +04:00
subsystem_name='service',
2010-10-24 21:42:58 +04:00
deps='''events process_model service samba-hostconfig samba-util POPT_SAMBA PIDFILE
2011-02-24 02:36:55 +03:00
popt gensec registry ntptr ntvfs share cluster COMMON_SCHANNEL SECRETS''',
2010-10-10 06:25:50 +04:00
pyembed=True,
install_path='${SBINDIR}'
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',
2010-11-07 03:57:34 +03:00
deps='events ldbsamba process_model samba-sockets cluster',
2010-10-30 04:27:33 +04:00
internal_module=False
)
2010-03-17 14:07:42 +03:00
bld.SAMBA_MODULE('process_model_thread',
2010-10-30 04:27:33 +04:00
source='process_thread.c',
subsystem='process_model',
init_function='process_model_thread_init',
enabled=False,
2010-10-30 07:16:35 +04:00
deps='pthread samba-sockets cluster process_model',
2010-10-30 04:27:33 +04:00
internal_module=False
)
2010-03-17 14:07:42 +03:00
bld.SAMBA_MODULE('process_model_prefork',
2010-10-30 04:27:33 +04:00
source='process_prefork.c',
subsystem='process_model',
init_function='process_model_prefork_init',
2010-11-07 03:57:34 +03:00
deps='events ldbsamba cluster samba-sockets process_model',
2010-10-30 04:27:33 +04:00
internal_module=False
)
2010-03-17 14:07:42 +03:00
2010-05-10 07:47:42 +04:00
bld.SAMBA_MODULE('process_model_onefork',
2010-10-30 04:27:33 +04:00
source='process_onefork.c',
subsystem='process_model',
init_function='process_model_onefork_init',
2010-11-07 03:57:34 +03:00
deps='events ldbsamba process_model cluster samba-sockets',
2010-10-30 04:27:33 +04:00
internal_module=False
)
bld.SAMBA_LIBRARY('process_model',
source='process_model.c',
autoproto='process_model_proto.h',
deps='samba-util samba-hostconfig',
private_library=True
)
2010-03-17 14:07:42 +03:00