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