815b586d79e7c8c202a55c21e51191450e299469
[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 NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM HEIMDAL_GSSAPI CREDENTIALS LIBTSOCKET LIBSAMBA_TSOCKET'
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         installdir='SBINDIR',
21         subsystem_name='service',
22         deps='''LIBEVENTS process_model service LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL POPT_SAMBA PIDFILE
23                 popt gensec registry ntptr ntvfs share CLUSTER DCESRV''',
24         needs_python=True,
25         install_path='${SBINDIR}'
26         )
27
28
29
30
31 bld.SAMBA_MODULE('process_model_single',
32         source='process_single.c',
33         subsystem='process_model',
34         init_function='process_model_single_init',
35         internal_module=True
36         )
37
38
39 bld.SAMBA_MODULE('process_model_standard',
40         source='process_standard.c',
41         subsystem='process_model',
42         init_function='process_model_standard_init',
43         deps='LIBEVENTS SETPROCTITLE'
44         )
45
46
47 bld.SAMBA_MODULE('process_model_thread',
48         source='process_thread.c',
49         subsystem='process_model',
50         init_function='process_model_thread_init',
51         enabled=False,
52         deps='pthread'
53         )
54
55
56 bld.SAMBA_MODULE('process_model_prefork',
57         source='process_prefork.c',
58         subsystem='process_model',
59         init_function='process_model_prefork_init',
60         deps='LIBEVENTS SETPROCTITLE'
61         )
62
63
64 bld.SAMBA_SUBSYSTEM('process_model',
65         source='process_model.c',
66         autoproto='process_model_proto.h',
67         deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG'
68         )
69