Add missing dependencies for com_err.
[samba.git] / source4 / rpc_server / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
4         source='common/server_info.c common/share_info.c common/forward.c',
5         autoproto='common/proto.h',
6         public_headers='common/common.h',
7         header_path='dcerpc_server',
8         deps='ldb'
9         )
10
11
12 bld.SAMBA_MODULE('dcerpc_rpcecho',
13         source='echo/rpc_echo.c',
14         subsystem='dcerpc_server',
15         init_function='dcerpc_server_rpcecho_init',
16         deps='NDR_STANDARD LIBEVENTS'
17         )
18
19
20 bld.SAMBA_MODULE('dcerpc_epmapper',
21         source='epmapper/rpc_epmapper.c',
22         subsystem='dcerpc_server',
23         init_function='dcerpc_server_epmapper_init',
24         deps='NDR_EPMAPPER'
25         )
26
27
28 bld.SAMBA_MODULE('dcerpc_remote',
29         source='remote/dcesrv_remote.c',
30         subsystem='dcerpc_server',
31         init_function='dcerpc_server_remote_init',
32         deps='LIBCLI_SMB NDR_TABLE'
33         )
34
35
36 bld.SAMBA_MODULE('dcerpc_srvsvc',
37         source='srvsvc/dcesrv_srvsvc.c srvsvc/srvsvc_ntvfs.c',
38         autoproto='srvsvc/proto.h',
39         subsystem='dcerpc_server',
40         init_function='dcerpc_server_srvsvc_init',
41         deps='DCERPC_COMMON NDR_SRVSVC share'
42         )
43
44
45 bld.SAMBA_MODULE('dcerpc_wkssvc',
46         source='wkssvc/dcesrv_wkssvc.c',
47         subsystem='dcerpc_server',
48         init_function='dcerpc_server_wkssvc_init',
49         deps='DCERPC_COMMON NDR_STANDARD'
50         )
51
52
53 bld.SAMBA_MODULE('dcerpc_unixinfo',
54         source='unixinfo/dcesrv_unixinfo.c',
55         subsystem='dcerpc_server',
56         init_function='dcerpc_server_unixinfo_init',
57         deps='DCERPC_COMMON SAMDB NDR_UNIXINFO NSS_WRAPPER LIBWBCLIENT_OLD'
58         )
59
60
61 bld.SAMBA_MODULE('dcesrv_samr',
62         source='samr/dcesrv_samr.c samr/samr_password.c',
63         autoproto='samr/proto.h',
64         subsystem='dcerpc_server',
65         init_function='dcerpc_server_samr_init',
66         deps='SAMDB DCERPC_COMMON NDR_STANDARD'
67         )
68
69
70 bld.SAMBA_MODULE('dcerpc_winreg',
71         source='winreg/rpc_winreg.c',
72         subsystem='dcerpc_server',
73         init_function='dcerpc_server_winreg_init',
74         deps='registry NDR_STANDARD',
75         internal_module=True
76         )
77
78
79 bld.SAMBA_MODULE('dcerpc_netlogon',
80         source='netlogon/dcerpc_netlogon.c',
81         subsystem='dcerpc_server',
82         init_function='dcerpc_server_netlogon_init',
83         deps='DCERPC_COMMON RPC_NDR_IRPC SCHANNELDB NDR_STANDARD auth_sam LIBSAMBA-HOSTCONFIG'
84         )
85
86
87 bld.SAMBA_MODULE('dcerpc_lsarpc',
88         source='lsa/dcesrv_lsa.c lsa/lsa_init.c lsa/lsa_lookup.c',
89         autoproto='lsa/proto.h',
90         subsystem='dcerpc_server',
91         init_function='dcerpc_server_lsa_init',
92         deps='SAMDB DCERPC_COMMON NDR_STANDARD LIBCLI_AUTH NDR_DSSETUP com_err'
93         )
94
95
96 bld.SAMBA_MODULE('dcerpc_spoolss',
97         source='spoolss/dcesrv_spoolss.c',
98         subsystem='dcerpc_server',
99         init_function='dcerpc_server_spoolss_init',
100         deps='DCERPC_COMMON NDR_SPOOLSS ntptr RPC_NDR_SPOOLSS',
101         internal_module=True
102         )
103
104
105 bld.SAMBA_MODULE('dcerpc_drsuapi',
106         source='drsuapi/dcesrv_drsuapi.c drsuapi/updaterefs.c drsuapi/getncchanges.c drsuapi/addentry.c drsuapi/writespn.c drsuapi/drsutil.c',
107         subsystem='dcerpc_server',
108         init_function='dcerpc_server_drsuapi_init',
109         deps='SAMDB DCERPC_COMMON NDR_DRSUAPI'
110         )
111
112
113 bld.SAMBA_MODULE('dcerpc_browser',
114         source='browser/dcesrv_browser.c',
115         subsystem='dcerpc_server',
116         init_function='dcerpc_server_browser_init',
117         deps='DCERPC_COMMON NDR_BROWSER'
118         )
119
120 bld.SAMBA_MODULE('dcerpc_eventlog',
121         source='eventlog/dcesrv_eventlog6.c',
122         subsystem='dcerpc_server',
123         init_function='dcerpc_server_eventlog6_init',
124         deps='DCERPC_COMMON'
125         )
126
127 bld.SAMBA_LIBRARY('dcerpc_server',
128         source='dcerpc_server.c dcesrv_auth.c dcesrv_mgmt.c handles.c',
129         pc_files='dcerpc_server.pc',
130         deps='LIBCLI_AUTH LIBNDR samba_server_gensec dcerpc_remote',
131         public_deps='dcerpc',
132         autoproto='dcerpc_server_proto.h',
133         public_headers='dcerpc_server.h',
134         vnum='0.0.1'
135         )
136
137 bld.SAMBA_MODULE('DCESRV',
138         source='service_rpc.c',
139         autoproto='service_rpc.h',
140         subsystem='service',
141         init_function='server_service_rpc_init',
142         internal_module=True,
143         deps='dcerpc_server'
144         )
145