use system heimdal headers if possible, fix missing dependencies on hx509 and krb5...
[Samba/gebeck_regimport.git] / source4 / rpc_server / wscript_build
blob127e396f6ca05f1f17ea348912f5a8d29657bed0
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'
9 bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
10 source='common/forward.c common/reply.c dcesrv_auth.c',
11 autoproto='common/proto.h',
12 deps='ldb DCERPC_SHARE samba_server_gensec'
16 bld.SAMBA_MODULE('dcerpc_rpcecho',
17 source='echo/rpc_echo.c',
18 subsystem='dcerpc_server',
19 init_function='dcerpc_server_rpcecho_init',
20 deps='ndr-standard events'
24 bld.SAMBA_MODULE('dcerpc_epmapper',
25 source='epmapper/rpc_epmapper.c',
26 subsystem='dcerpc_server',
27 init_function='dcerpc_server_epmapper_init',
28 deps='NDR_EPMAPPER'
32 bld.SAMBA_MODULE('dcerpc_remote',
33 source='remote/dcesrv_remote.c',
34 subsystem='dcerpc_server',
35 init_function='dcerpc_server_remote_init',
36 deps='LIBCLI_SMB ndr-table'
40 bld.SAMBA_MODULE('dcerpc_srvsvc',
41 source='srvsvc/dcesrv_srvsvc.c srvsvc/srvsvc_ntvfs.c',
42 autoproto='srvsvc/proto.h',
43 subsystem='dcerpc_server',
44 init_function='dcerpc_server_srvsvc_init',
45 deps='DCERPC_COMMON NDR_SRVSVC share ntvfs'
49 bld.SAMBA_MODULE('dcerpc_wkssvc',
50 source='wkssvc/dcesrv_wkssvc.c',
51 subsystem='dcerpc_server',
52 init_function='dcerpc_server_wkssvc_init',
53 deps='DCERPC_COMMON ndr-standard'
57 bld.SAMBA_MODULE('dcerpc_unixinfo',
58 source='unixinfo/dcesrv_unixinfo.c',
59 subsystem='dcerpc_server',
60 init_function='dcerpc_server_unixinfo_init',
61 deps='DCERPC_COMMON samdb NDR_UNIXINFO LIBWBCLIENT_OLD'
65 bld.SAMBA_MODULE('dcesrv_samr',
66 source='samr/dcesrv_samr.c samr/samr_password.c',
67 autoproto='samr/proto.h',
68 subsystem='dcerpc_server',
69 init_function='dcerpc_server_samr_init',
70 deps='samdb DCERPC_COMMON ndr-standard'
74 bld.SAMBA_MODULE('dcerpc_winreg',
75 source='winreg/rpc_winreg.c',
76 subsystem='dcerpc_server',
77 init_function='dcerpc_server_winreg_init',
78 deps='registry ndr-standard',
79 internal_module=True
83 bld.SAMBA_MODULE('dcerpc_netlogon',
84 source='netlogon/dcerpc_netlogon.c',
85 subsystem='dcerpc_server',
86 init_function='dcerpc_server_netlogon_init',
87 deps='DCERPC_COMMON RPC_NDR_IRPC COMMON_SCHANNEL ndr-standard auth4_sam samba-hostconfig CLDAPD'
91 bld.SAMBA_MODULE('dcerpc_lsarpc',
92 source='lsa/dcesrv_lsa.c lsa/lsa_init.c lsa/lsa_lookup.c',
93 autoproto='lsa/proto.h',
94 subsystem='dcerpc_server',
95 init_function='dcerpc_server_lsa_init',
96 deps='samdb DCERPC_COMMON ndr-standard LIBCLI_AUTH NDR_DSSETUP com_err security kdc-policy'
100 bld.SAMBA_MODULE('dcerpc_backupkey',
101 source='backupkey/dcesrv_backupkey.c ',
102 autoproto='backupkey/proto.h',
103 subsystem='dcerpc_server',
104 init_function='dcerpc_server_backupkey_init',
105 deps='samdb DCERPC_COMMON NDR_BACKUPKEY RPC_NDR_BACKUPKEY krb5 hx509 hcrypto'
109 bld.SAMBA_MODULE('dcerpc_spoolss',
110 source='spoolss/dcesrv_spoolss.c',
111 subsystem='dcerpc_server',
112 init_function='dcerpc_server_spoolss_init',
113 deps='DCERPC_COMMON NDR_SPOOLSS ntptr RPC_NDR_SPOOLSS',
114 internal_module=True
118 bld.SAMBA_MODULE('dcerpc_drsuapi',
119 source='drsuapi/dcesrv_drsuapi.c drsuapi/updaterefs.c drsuapi/getncchanges.c drsuapi/addentry.c drsuapi/writespn.c drsuapi/drsutil.c',
120 subsystem='dcerpc_server',
121 init_function='dcerpc_server_drsuapi_init',
122 deps='samdb DCERPC_COMMON NDR_DRSUAPI security'
126 bld.SAMBA_MODULE('dcerpc_browser',
127 source='browser/dcesrv_browser.c',
128 subsystem='dcerpc_server',
129 init_function='dcerpc_server_browser_init',
130 deps='DCERPC_COMMON NDR_BROWSER'
133 bld.SAMBA_MODULE('dcerpc_eventlog',
134 source='eventlog/dcesrv_eventlog6.c',
135 subsystem='dcerpc_server',
136 init_function='dcerpc_server_eventlog6_init',
137 deps='DCERPC_COMMON'
140 bld.SAMBA_LIBRARY('dcerpc_server',
141 source='dcerpc_server.c dcesrv_mgmt.c handles.c',
142 pc_files='dcerpc_server.pc',
143 deps='LIBCLI_AUTH ndr samba_server_gensec dcerpc_remote service',
144 public_deps='dcerpc',
145 autoproto='dcerpc_server_proto.h',
146 public_headers='dcerpc_server.h',
147 vnum='0.0.1'
150 bld.SAMBA_MODULE('service_dcerpc',
151 source='service_rpc.c',
152 autoproto='service_rpc.h',
153 subsystem='service',
154 init_function='server_service_rpc_init',
155 internal_module=False,
156 deps='dcerpc_server'