service: Add missing dependency on process_model.
[kai/samba.git] / source4 / smbd / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_SUBSYSTEM('service',
4         source='service.c service_stream.c service_named_pipe.c service_task.c',
5         autoproto='service_proto.h',
6         deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi CREDENTIALS LIBTSOCKET LIBSAMBA_TSOCKET process_model'
7         )
8
9
10 bld.SAMBA_SUBSYSTEM('PIDFILE',
11         source='pidfile.c',
12         deps='talloc',
13         autoproto='pidfile.h'
14         )
15
16
17 bld.SAMBA_BINARY('samba',
18         source='server.c',
19         manpages='samba.8',
20         subsystem_name='service',
21         deps='''LIBEVENTS process_model service LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL POPT_SAMBA PIDFILE
22                 popt gensec registry ntptr ntvfs share CLUSTER DCESRV''',
23         pyembed=True,
24         install_path='${SBINDIR}'
25         )
26
27
28
29
30 bld.SAMBA_MODULE('process_model_single',
31         source='process_single.c',
32         subsystem='process_model',
33         init_function='process_model_single_init',
34         internal_module=True
35         )
36
37
38 bld.SAMBA_MODULE('process_model_standard',
39         source='process_standard.c',
40         subsystem='process_model',
41         init_function='process_model_standard_init',
42         deps='LIBEVENTS SETPROCTITLE LDBSAMBA'
43         )
44
45
46 bld.SAMBA_MODULE('process_model_thread',
47         source='process_thread.c',
48         subsystem='process_model',
49         init_function='process_model_thread_init',
50         enabled=False,
51         deps='pthread'
52         )
53
54
55 bld.SAMBA_MODULE('process_model_prefork',
56         source='process_prefork.c',
57         subsystem='process_model',
58         init_function='process_model_prefork_init',
59         deps='LIBEVENTS SETPROCTITLE'
60         )
61
62 bld.SAMBA_MODULE('process_model_onefork',
63         source='process_onefork.c',
64         subsystem='process_model',
65         init_function='process_model_onefork_init',
66         deps='LIBEVENTS SETPROCTITLE'
67         )
68
69
70 bld.SAMBA_SUBSYSTEM('process_model',
71         source='process_model.c',
72         autoproto='process_model_proto.h',
73         deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG'
74         )
75