dns: Use new DNS debugclass in DNS server
[kai/samba.git] / source4 / smbd / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_LIBRARY('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 npa_tstream gssapi samba-credentials LIBTSOCKET LIBSAMBA_TSOCKET process_model',
7         private_library=True,
8         enabled=bld.AD_DC_BUILD_IS_ENABLED()
9         )
10
11
12 bld.SAMBA_LIBRARY('process_model',
13                   source='process_model.c',
14                   autoproto='process_model_proto.h',
15                   deps='samba-util samba-hostconfig samba-modules',
16                   private_library=True,
17                   enabled=bld.AD_DC_BUILD_IS_ENABLED()
18                   )
19
20 bld.SAMBA_BINARY('samba',
21         source='server.c',
22         subsystem_name='service',
23         deps='''events process_model service samba-hostconfig samba-util POPT_SAMBA
24                 popt gensec registry ntptr ntvfs share cluster COMMON_SCHANNEL SECRETS''',
25         pyembed=True,
26         install_path='${SBINDIR}',
27         enabled=bld.AD_DC_BUILD_IS_ENABLED()
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                  deps='cluster process_model samba-sockets',
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='events ldbsamba process_model samba-sockets cluster',
44                  internal_module=False
45                  )
46
47
48 bld.SAMBA_MODULE('process_model_thread',
49                  source='process_thread.c',
50                  subsystem='process_model',
51                  init_function='process_model_thread_init',
52                  enabled=False,
53                  deps='pthread samba-sockets cluster process_model',
54                  internal_module=False
55                  )
56
57
58 bld.SAMBA_MODULE('process_model_prefork',
59                  source='process_prefork.c',
60                  subsystem='process_model',
61                  init_function='process_model_prefork_init',
62                  deps='events ldbsamba cluster samba-sockets process_model',
63                  internal_module=False
64                  )
65
66 bld.SAMBA_MODULE('process_model_onefork',
67                  source='process_onefork.c',
68                  subsystem='process_model',
69                  init_function='process_model_onefork_init',
70                  deps='events ldbsamba process_model cluster samba-sockets',
71                  internal_module=False
72                  )
73
74