summaryrefslogtreecommitdiff
path: root/source4/smbd/wscript_build
blob: 8da2ea12c512a6e7800fb2cdf06b79bce228418e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env python

bld.SAMBA_SUBSYSTEM('service',
	source='service.c service_stream.c service_named_pipe.c service_task.c',
	autoproto='service_proto.h',
	deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi CREDENTIALS LIBTSOCKET LIBSAMBA_TSOCKET process_model'
	)


bld.SAMBA_SUBSYSTEM('PIDFILE',
	source='pidfile.c',
        deps='talloc',
	autoproto='pidfile.h'
	)


bld.SAMBA_BINARY('samba',
	source='server.c',
	manpages='samba.8',
	subsystem_name='service',
	deps='''events process_model service samba-hostconfig samba-util POPT_SAMBA PIDFILE
                popt gensec registry ntptr ntvfs share CLUSTER DCESRV COMMON_SCHANNELDB SECRETS''',
	pyembed=True,
	install_path='${SBINDIR}'
	)




bld.SAMBA_MODULE('process_model_single',
	source='process_single.c',
	subsystem='process_model',
	init_function='process_model_single_init',
	internal_module=True
	)


bld.SAMBA_MODULE('process_model_standard',
	source='process_standard.c',
	subsystem='process_model',
	init_function='process_model_standard_init',
	deps='events LDBSAMBA'
	)


bld.SAMBA_MODULE('process_model_thread',
	source='process_thread.c',
	subsystem='process_model',
	init_function='process_model_thread_init',
	enabled=False,
	deps='pthread'
	)


bld.SAMBA_MODULE('process_model_prefork',
	source='process_prefork.c',
	subsystem='process_model',
	init_function='process_model_prefork_init',
	deps='events'
	)

bld.SAMBA_MODULE('process_model_onefork',
	source='process_onefork.c',
	subsystem='process_model',
	init_function='process_model_onefork_init',
	deps='events'
	)


bld.SAMBA_SUBSYSTEM('process_model',
	source='process_model.c',
	autoproto='process_model_proto.h',
	deps='samba-util samba-hostconfig'
	)