summaryrefslogtreecommitdiff
path: root/source4/rpc_server/wscript_build
blob: ba6d2f575f8e168887d40150dffbe1b63dc9af23 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#!/usr/bin/env python

bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
	source='common/server_info.c common/share_info.c common/forward.c',
	autoproto='common/proto.h',
	public_headers='common/common.h',
        header_path='dcerpc_server',
	deps='ldb'
	)


bld.SAMBA_MODULE('dcerpc_rpcecho',
	source='echo/rpc_echo.c',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_rpcecho_init',
	deps='NDR_STANDARD LIBEVENTS'
	)


bld.SAMBA_MODULE('dcerpc_epmapper',
	source='epmapper/rpc_epmapper.c',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_epmapper_init',
	deps='NDR_EPMAPPER'
	)


bld.SAMBA_MODULE('dcerpc_remote',
	source='remote/dcesrv_remote.c',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_remote_init',
	deps='LIBCLI_SMB NDR_TABLE'
	)


bld.SAMBA_MODULE('dcerpc_srvsvc',
	source='srvsvc/dcesrv_srvsvc.c srvsvc/srvsvc_ntvfs.c',
	autoproto='srvsvc/proto.h',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_srvsvc_init',
	deps='DCERPC_COMMON NDR_SRVSVC share'
	)


bld.SAMBA_MODULE('dcerpc_wkssvc',
	source='wkssvc/dcesrv_wkssvc.c',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_wkssvc_init',
	deps='DCERPC_COMMON NDR_STANDARD'
	)


bld.SAMBA_MODULE('dcerpc_unixinfo',
	source='unixinfo/dcesrv_unixinfo.c',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_unixinfo_init',
	deps='DCERPC_COMMON SAMDB NDR_UNIXINFO NSS_WRAPPER LIBWBCLIENT_OLD'
	)


bld.SAMBA_MODULE('dcesrv_samr',
	source='samr/dcesrv_samr.c samr/samr_password.c',
	autoproto='samr/proto.h',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_samr_init',
	deps='SAMDB DCERPC_COMMON NDR_STANDARD'
	)


bld.SAMBA_MODULE('dcerpc_winreg',
	source='winreg/rpc_winreg.c',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_winreg_init',
	deps='registry NDR_STANDARD',
	internal_module=True
	)


bld.SAMBA_MODULE('dcerpc_netlogon',
	source='netlogon/dcerpc_netlogon.c',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_netlogon_init',
	deps='DCERPC_COMMON SCHANNELDB NDR_STANDARD auth_sam LIBSAMBA-HOSTCONFIG'
	)


bld.SAMBA_MODULE('dcerpc_lsarpc',
	source='lsa/dcesrv_lsa.c lsa/lsa_init.c lsa/lsa_lookup.c',
	autoproto='lsa/proto.h',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_lsa_init',
	deps='SAMDB DCERPC_COMMON NDR_STANDARD LIBCLI_AUTH NDR_DSSETUP'
	)


bld.SAMBA_MODULE('dcerpc_spoolss',
	source='spoolss/dcesrv_spoolss.c',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_spoolss_init',
	deps='DCERPC_COMMON NDR_SPOOLSS ntptr RPC_NDR_SPOOLSS',
	internal_module=True
	)


bld.SAMBA_MODULE('dcerpc_drsuapi',
	source='drsuapi/dcesrv_drsuapi.c drsuapi/updaterefs.c drsuapi/getncchanges.c drsuapi/addentry.c drsuapi/writespn.c drsuapi/drsutil.c',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_drsuapi_init',
	deps='SAMDB DCERPC_COMMON NDR_DRSUAPI'
	)


bld.SAMBA_MODULE('dcerpc_browser',
	source='browser/dcesrv_browser.c',
	subsystem='dcerpc_server',
	init_function='dcerpc_server_browser_init',
	deps='DCERPC_COMMON NDR_BROWSER'
	)


bld.SAMBA_LIBRARY('dcerpc_server',
	source='dcerpc_server.c dcesrv_auth.c dcesrv_mgmt.c handles.c',
	pc_files='dcerpc_server.pc',
	deps='LIBCLI_AUTH LIBNDR samba_server_gensec dcerpc_browser dcerpc_drsuapi dcerpc_spoolss dcerpc_lsarpc dcerpc_netlogon dcerpc_winreg dcerpc_samr dcerpc_srvsvc dcerpc_wkssvc dcerpc_unixinfo dcerpc_rpcecho dcerpc_epmapper dcerpc_remote',
	public_deps='dcerpc',
	autoproto='dcerpc_server_proto.h',
	public_headers='dcerpc_server.h',
	vnum='0.0.1'
	)

bld.SAMBA_MODULE('DCESRV',
	source='service_rpc.c',
	autoproto='service_rpc.h',
	subsystem='service',
	init_function='server_service_rpc_init',
	internal_module=True,
	deps='dcerpc_server'
	)