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',
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'
20 bld
.SAMBA_MODULE('dcerpc_epmapper',
21 source
='epmapper/rpc_epmapper.c',
22 subsystem
='dcerpc_server',
23 init_function
='dcerpc_server_epmapper_init',
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'
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'
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'
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'
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'
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',
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 SCHANNELDB NDR_STANDARD auth_sam LIBSAMBA-HOSTCONFIG'
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'
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',
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'
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'
121 bld
.SAMBA_LIBRARY('dcerpc_server',
122 source
='dcerpc_server.c dcesrv_auth.c dcesrv_mgmt.c handles.c',
123 pc_files
='dcerpc_server.pc',
124 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',
125 public_deps
='dcerpc',
126 autoproto
='dcerpc_server_proto.h',
127 public_headers
='dcerpc_server.h',
131 bld
.SAMBA_MODULE('DCESRV',
132 source
='service_rpc.c',
133 autoproto
='service_rpc.h',
135 init_function
='server_service_rpc_init',
136 internal_module
=True,