2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-10-30 04:27:33 +04:00
bld.SAMBA_LIBRARY('service',
source='service.c service_stream.c service_named_pipe.c service_task.c',
autoproto='service_proto.h',
deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi CREDENTIALS LIBTSOCKET LIBSAMBA_TSOCKET process_model',
private_library=True
)
2010-03-17 14:07:42 +03:00
bld.SAMBA_SUBSYSTEM('PIDFILE',
source='pidfile.c',
2010-03-28 10:46:25 +04: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
2010-10-30 07:16:35 +04:00
popt gensec registry ntptr ntvfs share cluster COMMON_SCHANNELDB 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-10-30 07:16:35 +04: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-10-30 07:16:35 +04: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-10-30 07:16:35 +04: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