build: install samba in sbin
[kai/samba.git] / source4 / smbd / wscript_build
1 # AUTOGENERATED by mktowscript.pl from ../../source4/smbd/config.mk
2 # Please remove this notice if hand editing
3
4
5 bld.SAMBA_SUBSYSTEM('service',
6         source='service.c service_stream.c service_named_pipe.c service_task.c',
7         autoproto='service_proto.h',
8         deps='tevent MESSAGING samba_socket NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM HEIMDAL_GSSAPI CREDENTIALS LIBTSOCKET LIBSAMBA_TSOCKET'
9         )
10
11
12 bld.SAMBA_SUBSYSTEM('PIDFILE',
13         source='pidfile.c',
14         autoproto='pidfile.h'
15         )
16
17
18 bld.SAMBA_BINARY('samba',
19         source='server.c',
20         manpages='samba.8',
21         installdir='SBINDIR',
22         subsystem_name='service',
23         deps='''LIBEVENTS process_model service LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL POPT_SAMBA PIDFILE
24                 LIBPOPT gensec registry ntptr ntvfs share CLUSTER DCESRV''',
25         needs_python=True,
26         install_path='${SBINDIR}'
27         )
28
29
30
31
32 # AUTOGENERATED by mktowscript.pl from ../../source4/smbd/process_model.mk
33 # Please remove this notice if hand editing
34
35
36 bld.SAMBA_MODULE('process_model_single',
37         source='process_single.c',
38         subsystem='process_model',
39         init_function='process_model_single_init',
40         internal_module=True
41         )
42
43
44 bld.SAMBA_MODULE('process_model_standard',
45         source='process_standard.c',
46         subsystem='process_model',
47         init_function='process_model_standard_init',
48         deps='LIBEVENTS SETPROCTITLE'
49         )
50
51
52 bld.SAMBA_MODULE('process_model_thread',
53         source='process_thread.c',
54         subsystem='process_model',
55         init_function='process_model_thread_init',
56         enabled=False,
57         deps='pthread'
58         )
59
60
61 bld.SAMBA_MODULE('process_model_prefork',
62         source='process_prefork.c',
63         subsystem='process_model',
64         init_function='process_model_prefork_init',
65         deps='LIBEVENTS SETPROCTITLE'
66         )
67
68
69 bld.SAMBA_SUBSYSTEM('process_model',
70         source='process_model.c',
71         autoproto='process_model_proto.h',
72         deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG'
73         )
74