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