2010-03-28 09:48:49 +11:00
#!/usr/bin/env python
2010-03-17 22:07:42 +11:00
bld.SAMBA_SUBSYSTEM('service',
source='service.c service_stream.c service_named_pipe.c service_task.c',
autoproto='service_proto.h',
2010-10-10 19:14:20 +02:00
deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi CREDENTIALS LIBTSOCKET LIBSAMBA_TSOCKET process_model'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_SUBSYSTEM('PIDFILE',
source='pidfile.c',
2010-03-28 17:46:25 +11: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
2010-10-11 02:05:03 +02:00
popt gensec registry ntptr ntvfs share CLUSTER DCESRV COMMON_SCHANNELDB 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',
source='process_single.c',
subsystem='process_model',
init_function='process_model_single_init',
2010-03-17 20:12:16 +11:00
internal_module=True
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('process_model_standard',
source='process_standard.c',
subsystem='process_model',
init_function='process_model_standard_init',
2010-10-23 18:41:59 -07:00
deps='events LDBSAMBA'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('process_model_thread',
source='process_thread.c',
subsystem='process_model',
init_function='process_model_thread_init',
2010-06-15 01:24:20 +02:00
enabled=False,
2010-03-17 20:12:16 +11:00
deps='pthread'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('process_model_prefork',
source='process_prefork.c',
subsystem='process_model',
init_function='process_model_prefork_init',
2010-10-23 18:41:59 -07:00
deps='events'
2010-03-17 22:07:42 +11:00
)
2010-05-10 13:47:42 +10:00
bld.SAMBA_MODULE('process_model_onefork',
source='process_onefork.c',
subsystem='process_model',
init_function='process_model_onefork_init',
2010-10-23 18:41:59 -07:00
deps='events'
2010-05-10 13:47:42 +10:00
)
2010-03-17 22:07:42 +11:00
bld.SAMBA_SUBSYSTEM('process_model',
source='process_model.c',
autoproto='process_model_proto.h',
2010-10-24 10:42:58 -07:00
deps='samba-util samba-hostconfig'
2010-03-17 22:07:42 +11:00
)