s3:smbd: change reply.c to use fsp_fnum_dbg() for fsp->fnum logging.
[Samba.git] / source4 / rpc_server / wscript_build
blobe3a863af49750939e0692d96b0d938dc7fff603d
1 #!/usr/bin/env python
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 enabled=bld.AD_DC_BUILD_IS_ENABLED()
10 bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
11 source='common/forward.c common/reply.c dcesrv_auth.c common/loadparm.c',
12 autoproto='common/proto.h',
13 deps='ldb DCERPC_SHARE samba_server_gensec',
14 enabled=bld.AD_DC_BUILD_IS_ENABLED()
17 bld.SAMBA_LIBRARY('dcerpc_server',
18 source='dcerpc_server.c dcesrv_mgmt.c handles.c',
19 pc_files='dcerpc_server.pc',
20 deps='LIBCLI_AUTH ndr samba_server_gensec dcerpc_remote service',
21 public_deps='dcerpc',
22 autoproto='dcerpc_server_proto.h',
23 public_headers='dcerpc_server.h',
24 vnum='0.0.1',
25 enabled=bld.AD_DC_BUILD_IS_ENABLED()
28 bld.SAMBA_MODULE('dcerpc_rpcecho',
29 source='echo/rpc_echo.c',
30 subsystem='dcerpc_server',
31 init_function='dcerpc_server_rpcecho_init',
32 deps='ndr-standard events'
36 bld.SAMBA_MODULE('dcerpc_epmapper',
37 source='epmapper/rpc_epmapper.c',
38 subsystem='dcerpc_server',
39 init_function='dcerpc_server_epmapper_init',
40 deps='NDR_EPMAPPER'
44 bld.SAMBA_MODULE('dcerpc_remote',
45 source='remote/dcesrv_remote.c',
46 subsystem='dcerpc_server',
47 init_function='dcerpc_server_remote_init',
48 deps='LIBCLI_SMB ndr-table'
52 bld.SAMBA_MODULE('dcerpc_srvsvc',
53 source='srvsvc/dcesrv_srvsvc.c srvsvc/srvsvc_ntvfs.c',
54 autoproto='srvsvc/proto.h',
55 subsystem='dcerpc_server',
56 init_function='dcerpc_server_srvsvc_init',
57 deps='DCERPC_COMMON NDR_SRVSVC share ntvfs'
61 bld.SAMBA_MODULE('dcerpc_wkssvc',
62 source='wkssvc/dcesrv_wkssvc.c',
63 subsystem='dcerpc_server',
64 init_function='dcerpc_server_wkssvc_init',
65 deps='DCERPC_COMMON ndr-standard'
69 bld.SAMBA_MODULE('dcerpc_unixinfo',
70 source='unixinfo/dcesrv_unixinfo.c',
71 subsystem='dcerpc_server',
72 init_function='dcerpc_server_unixinfo_init',
73 deps='DCERPC_COMMON samdb NDR_UNIXINFO LIBWBCLIENT_OLD'
77 bld.SAMBA_MODULE('dcesrv_samr',
78 source='samr/dcesrv_samr.c samr/samr_password.c',
79 autoproto='samr/proto.h',
80 subsystem='dcerpc_server',
81 init_function='dcerpc_server_samr_init',
82 deps='samdb DCERPC_COMMON ndr-standard'
86 bld.SAMBA_MODULE('dcerpc_winreg',
87 source='winreg/rpc_winreg.c',
88 subsystem='dcerpc_server',
89 init_function='dcerpc_server_winreg_init',
90 deps='registry ndr-standard',
91 internal_module=True
95 bld.SAMBA_MODULE('dcerpc_netlogon',
96 source='netlogon/dcerpc_netlogon.c',
97 subsystem='dcerpc_server',
98 init_function='dcerpc_server_netlogon_init',
99 deps='DCERPC_COMMON RPC_NDR_IRPC COMMON_SCHANNEL ndr-standard auth4_sam samba-hostconfig CLDAPD'
103 bld.SAMBA_MODULE('dcerpc_lsarpc',
104 source='lsa/dcesrv_lsa.c lsa/lsa_init.c lsa/lsa_lookup.c',
105 autoproto='lsa/proto.h',
106 subsystem='dcerpc_server',
107 init_function='dcerpc_server_lsa_init',
108 deps='samdb DCERPC_COMMON ndr-standard LIBCLI_AUTH NDR_DSSETUP com_err security UTIL_LSARPC'
112 bld.SAMBA_MODULE('dcerpc_backupkey',
113 source='backupkey/dcesrv_backupkey.c ',
114 autoproto='backupkey/proto.h',
115 subsystem='dcerpc_server',
116 init_function='dcerpc_server_backupkey_init',
117 deps='samdb DCERPC_COMMON NDR_BACKUPKEY RPC_NDR_BACKUPKEY krb5 hx509 hcrypto'
121 bld.SAMBA_MODULE('dcerpc_spoolss',
122 source='spoolss/dcesrv_spoolss.c',
123 subsystem='dcerpc_server',
124 init_function='dcerpc_server_spoolss_init',
125 deps='DCERPC_COMMON NDR_SPOOLSS ntptr RPC_NDR_SPOOLSS',
126 internal_module=True
130 bld.SAMBA_MODULE('dcerpc_drsuapi',
131 source='drsuapi/dcesrv_drsuapi.c drsuapi/updaterefs.c drsuapi/getncchanges.c drsuapi/addentry.c drsuapi/writespn.c drsuapi/drsutil.c',
132 subsystem='dcerpc_server',
133 init_function='dcerpc_server_drsuapi_init',
134 deps='samdb DCERPC_COMMON NDR_DRSUAPI security'
138 bld.SAMBA_MODULE('dcerpc_browser',
139 source='browser/dcesrv_browser.c',
140 subsystem='dcerpc_server',
141 init_function='dcerpc_server_browser_init',
142 deps='DCERPC_COMMON NDR_BROWSER'
145 bld.SAMBA_MODULE('dcerpc_eventlog',
146 source='eventlog/dcesrv_eventlog6.c',
147 subsystem='dcerpc_server',
148 init_function='dcerpc_server_eventlog6_init',
149 deps='DCERPC_COMMON'
152 bld.SAMBA_MODULE('dcerpc_dnsserver',
153 source='dnsserver/dcerpc_dnsserver.c dnsserver/dnsutils.c dnsserver/dnsdata.c dnsserver/dnsdb.c',
154 subsystem='dcerpc_server',
155 init_function='dcerpc_server_dnsserver_init',
156 deps='DCERPC_COMMON'
160 bld.SAMBA_MODULE('service_dcerpc',
161 source='service_rpc.c',
162 autoproto='service_rpc.h',
163 subsystem='service',
164 init_function='server_service_rpc_init',
165 internal_module=False,
166 deps='dcerpc_server'