python: Fix handling of pointer-less strings in function arguments.
[ira/wip.git] / source / librpc / config.mk
1 ################################################
2 # Start SUBSYSTEM LIBNDR
3 [LIBRARY::LIBNDR]
4 VERSION = 0.0.1
5 SO_VERSION = 0
6 DESCRIPTION = Network Data Representation Core Library
7 PUBLIC_HEADERS = ndr/libndr.h
8 PUBLIC_PROTO_HEADER = ndr/libndr_proto.h
9 OBJ_FILES = \
10                 ndr/ndr.o \
11                 ndr/ndr_basic.o \
12                 ndr/ndr_string.o \
13                 ndr/uuid.o
14 PUBLIC_DEPENDENCIES = LIBSAMBA-ERRORS LIBTALLOC LIBSAMBA-UTIL CHARSET EXT_NSL \
15                                           LIBSAMBA-CONFIG
16 # End SUBSYSTEM LIBNDR
17 ################################################
18
19 #################################
20 # Start BINARY ndrdump
21 [BINARY::ndrdump]
22 INSTALLDIR = BINDIR
23 OBJ_FILES = \
24                 tools/ndrdump.o
25 PRIVATE_DEPENDENCIES = \
26                 LIBSAMBA-CONFIG \
27                 LIBSAMBA-UTIL \
28                 LIBPOPT \
29                 POPT_SAMBA \
30                 NDR_TABLE \
31                 LIBSAMBA-ERRORS
32 MANPAGE = tools/ndrdump.1
33 # FIXME: ndrdump shouldn't have to depend on RPC...
34 # End BINARY ndrdump
35 #################################
36
37 ################################################
38 # Start SUBSYSTEM NDR_COMPRESSION
39 [LIBRARY::NDR_COMPRESSION]
40 VERSION = 0.0.1
41 SO_VERSION = 0
42 DESCRIPTION = NDR support for compressed subcontexts
43 PRIVATE_PROTO_HEADER = ndr/ndr_compression.h
44 OBJ_FILES = \
45                 ndr/ndr_compression.o
46 PUBLIC_DEPENDENCIES = LIBCOMPRESSION LIBSAMBA-ERRORS LIBNDR
47 # End SUBSYSTEM NDR_COMPRESSION
48 ################################################
49
50 [SUBSYSTEM::NDR_SECURITY]
51 OBJ_FILES = gen_ndr/ndr_security.o ndr/ndr_sec_helper.o 
52 PUBLIC_HEADERS = gen_ndr/security.h
53 PUBLIC_DEPENDENCIES = NDR_MISC LIBSECURITY
54
55 [SUBSYSTEM::NDR_AUDIOSRV]
56 OBJ_FILES = gen_ndr/ndr_audiosrv.o
57 PUBLIC_DEPENDENCIES = LIBNDR
58
59 [SUBSYSTEM::NDR_DNSSERVER]
60 OBJ_FILES = gen_ndr/ndr_dnsserver.o
61 PUBLIC_DEPENDENCIES = LIBNDR
62
63 [SUBSYSTEM::NDR_WINSTATION]
64 OBJ_FILES = gen_ndr/ndr_winstation.o
65 PUBLIC_DEPENDENCIES = LIBNDR
66
67 [SUBSYSTEM::NDR_ECHO]
68 OBJ_FILES = gen_ndr/ndr_echo.o
69 PUBLIC_DEPENDENCIES = LIBNDR
70
71 [SUBSYSTEM::NDR_IRPC]
72 OBJ_FILES = gen_ndr/ndr_irpc.o
73 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY NDR_NBT
74
75 [SUBSYSTEM::NDR_DSBACKUP]
76 OBJ_FILES = gen_ndr/ndr_dsbackup.o
77 PUBLIC_DEPENDENCIES = LIBNDR
78
79 [SUBSYSTEM::NDR_EFS]
80 OBJ_FILES = gen_ndr/ndr_efs.o
81 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY
82
83 [SUBSYSTEM::NDR_MISC]
84 OBJ_FILES = gen_ndr/ndr_misc.o ndr/ndr_misc.o
85 PUBLIC_HEADERS = gen_ndr/misc.h gen_ndr/ndr_misc.h
86 PUBLIC_DEPENDENCIES = LIBNDR
87
88 [SUBSYSTEM::NDR_ROT]
89 OBJ_FILES = gen_ndr/ndr_rot.o
90 PUBLIC_DEPENDENCIES = LIBNDR NDR_ORPC
91
92 [SUBSYSTEM::NDR_LSA]
93 OBJ_FILES = gen_ndr/ndr_lsa.o
94 PUBLIC_HEADERS = gen_ndr/lsa.h
95 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY
96
97 [SUBSYSTEM::NDR_DFS]
98 OBJ_FILES = gen_ndr/ndr_dfs.o
99 PUBLIC_DEPENDENCIES = LIBNDR NDR_MISC
100
101 [SUBSYSTEM::NDR_FRSRPC]
102 OBJ_FILES = gen_ndr/ndr_frsrpc.o
103 PUBLIC_DEPENDENCIES = LIBNDR
104
105 [SUBSYSTEM::NDR_FRSAPI]
106 OBJ_FILES = gen_ndr/ndr_frsapi.o
107 PUBLIC_DEPENDENCIES = LIBNDR
108
109 [SUBSYSTEM::NDR_DRSUAPI]
110 OBJ_FILES = gen_ndr/ndr_drsuapi.o ndr/ndr_drsuapi.o
111 PUBLIC_DEPENDENCIES = LIBNDR NDR_COMPRESSION NDR_SECURITY NDR_SAMR ASN1_UTIL
112
113 [SUBSYSTEM::NDR_DRSBLOBS]
114 OBJ_FILES = gen_ndr/ndr_drsblobs.o
115 PUBLIC_DEPENDENCIES = LIBNDR NDR_MISC NDR_DRSUAPI
116
117 [SUBSYSTEM::NDR_SASL_HELPERS]
118 OBJ_FILES = gen_ndr/ndr_sasl_helpers.o
119 PUBLIC_DEPENDENCIES = LIBNDR
120
121 [SUBSYSTEM::NDR_POLICYAGENT]
122 OBJ_FILES = gen_ndr/ndr_policyagent.o
123 PUBLIC_DEPENDENCIES = LIBNDR
124
125 [SUBSYSTEM::NDR_UNIXINFO]
126 OBJ_FILES = gen_ndr/ndr_unixinfo.o
127 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY
128
129 [SUBSYSTEM::NDR_SAMR]
130 OBJ_FILES = gen_ndr/ndr_samr.o
131 PUBLIC_HEADERS = gen_ndr/samr.h gen_ndr/ndr_samr.h gen_ndr/ndr_samr_c.h
132 PUBLIC_DEPENDENCIES = LIBNDR NDR_MISC NDR_LSA NDR_SECURITY
133
134 [SUBSYSTEM::NDR_NFS4ACL]
135 OBJ_FILES = gen_ndr/ndr_nfs4acl.o
136 PUBLIC_DEPENDENCIES = LIBNDR NDR_MISC NDR_SECURITY
137
138 [SUBSYSTEM::NDR_SPOOLSS]
139 OBJ_FILES = gen_ndr/ndr_spoolss.o
140 PUBLIC_DEPENDENCIES = LIBNDR NDR_SPOOLSS_BUF NDR_SECURITY
141
142 [SUBSYSTEM::NDR_SPOOLSS_BUF]
143 PRIVATE_PROTO_HEADER = ndr/ndr_spoolss_buf.h
144 OBJ_FILES = ndr/ndr_spoolss_buf.o
145
146 [SUBSYSTEM::NDR_WKSSVC]
147 OBJ_FILES = gen_ndr/ndr_wkssvc.o
148 PUBLIC_DEPENDENCIES = LIBNDR NDR_SRVSVC NDR_MISC NDR_SECURITY
149
150 [SUBSYSTEM::NDR_SRVSVC]
151 OBJ_FILES = gen_ndr/ndr_srvsvc.o
152 PUBLIC_DEPENDENCIES = LIBNDR NDR_SVCCTL NDR_SECURITY
153
154 [SUBSYSTEM::NDR_SVCCTL]
155 OBJ_FILES = gen_ndr/ndr_svcctl.o
156 PUBLIC_HEADERS = gen_ndr/ndr_svcctl.h gen_ndr/svcctl.h
157 PUBLIC_DEPENDENCIES = LIBNDR NDR_MISC
158
159 [SUBSYSTEM::NDR_ATSVC]
160 OBJ_FILES = gen_ndr/ndr_atsvc.o
161 PUBLIC_HEADERS = gen_ndr/atsvc.h gen_ndr/ndr_atsvc.h
162 PUBLIC_DEPENDENCIES = LIBNDR
163
164 [SUBSYSTEM::NDR_EVENTLOG]
165 OBJ_FILES = gen_ndr/ndr_eventlog.o
166 PUBLIC_DEPENDENCIES = LIBNDR NDR_LSA
167
168 [SUBSYSTEM::NDR_EPMAPPER]
169 OBJ_FILES = gen_ndr/ndr_epmapper.o
170 PUBLIC_DEPENDENCIES = LIBNDR NDR_MISC
171
172 [SUBSYSTEM::NDR_DBGIDL]
173 OBJ_FILES = gen_ndr/ndr_dbgidl.o
174 PUBLIC_DEPENDENCIES = LIBNDR
175
176 [SUBSYSTEM::NDR_DSSETUP]
177 OBJ_FILES = gen_ndr/ndr_dssetup.o
178 PUBLIC_DEPENDENCIES = LIBNDR NDR_MISC
179
180 [SUBSYSTEM::NDR_MSGSVC]
181 OBJ_FILES = gen_ndr/ndr_msgsvc.o
182 PUBLIC_DEPENDENCIES = LIBNDR
183
184 [SUBSYSTEM::NDR_WINS]
185 OBJ_FILES = gen_ndr/ndr_wins.o
186 PUBLIC_DEPENDENCIES = LIBNDR
187
188 [SUBSYSTEM::NDR_WINREG]
189 OBJ_FILES = gen_ndr/ndr_winreg.o
190 PUBLIC_DEPENDENCIES = LIBNDR NDR_INITSHUTDOWN NDR_SECURITY NDR_MISC
191
192 [SUBSYSTEM::NDR_INITSHUTDOWN]
193 OBJ_FILES = gen_ndr/ndr_initshutdown.o
194 PUBLIC_DEPENDENCIES = LIBNDR
195
196 [SUBSYSTEM::NDR_MGMT]
197 OBJ_FILES = gen_ndr/ndr_mgmt.o
198 PUBLIC_DEPENDENCIES = LIBNDR 
199
200 [SUBSYSTEM::NDR_PROTECTED_STORAGE]
201 OBJ_FILES = gen_ndr/ndr_protected_storage.o
202 PUBLIC_DEPENDENCIES = LIBNDR
203
204 [SUBSYSTEM::NDR_ORPC]
205 OBJ_FILES = gen_ndr/ndr_orpc.o ndr/ndr_orpc.o 
206 PUBLIC_DEPENDENCIES = LIBNDR 
207
208 [SUBSYSTEM::NDR_OXIDRESOLVER]
209 OBJ_FILES = gen_ndr/ndr_oxidresolver.o
210 PUBLIC_DEPENDENCIES = LIBNDR NDR_ORPC NDR_MISC
211
212 [SUBSYSTEM::NDR_REMACT]
213 OBJ_FILES = gen_ndr/ndr_remact.o
214 PUBLIC_DEPENDENCIES = LIBNDR NDR_ORPC NDR_MISC
215
216 [SUBSYSTEM::NDR_WZCSVC]
217 OBJ_FILES = gen_ndr/ndr_wzcsvc.o
218 PUBLIC_DEPENDENCIES = LIBNDR
219
220 [SUBSYSTEM::NDR_BROWSER]
221 OBJ_FILES = gen_ndr/ndr_browser.o
222 PUBLIC_DEPENDENCIES = LIBNDR
223
224 [SUBSYSTEM::NDR_W32TIME]
225 OBJ_FILES = gen_ndr/ndr_w32time.o
226 PUBLIC_DEPENDENCIES = LIBNDR
227
228 [SUBSYSTEM::NDR_SCERPC]
229 OBJ_FILES = gen_ndr/ndr_scerpc.o
230 PUBLIC_DEPENDENCIES = LIBNDR
231
232 [SUBSYSTEM::NDR_NTSVCS]
233 OBJ_FILES = gen_ndr/ndr_ntsvcs.o
234 PUBLIC_DEPENDENCIES = LIBNDR
235
236 [SUBSYSTEM::NDR_NETLOGON]
237 OBJ_FILES = gen_ndr/ndr_netlogon.o
238 PUBLIC_HEADERS = gen_ndr/netlogon.h
239 PUBLIC_DEPENDENCIES = LIBNDR NDR_SAMR NDR_LSA NDR_SECURITY
240
241 [SUBSYSTEM::NDR_TRKWKS]
242 OBJ_FILES = gen_ndr/ndr_trkwks.o
243 PUBLIC_DEPENDENCIES = LIBNDR
244
245 [SUBSYSTEM::NDR_KEYSVC]
246 OBJ_FILES = gen_ndr/ndr_keysvc.o
247 PUBLIC_DEPENDENCIES = LIBNDR
248
249 [SUBSYSTEM::NDR_KRB5PAC]
250 OBJ_FILES = gen_ndr/ndr_krb5pac.o ndr/ndr_krb5pac.o
251 PUBLIC_DEPENDENCIES = LIBNDR NDR_NETLOGON NDR_SECURITY
252
253 [SUBSYSTEM::NDR_XATTR]
254 OBJ_FILES = gen_ndr/ndr_xattr.o
255 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY
256
257 [SUBSYSTEM::NDR_OPENDB]
258 OBJ_FILES = gen_ndr/ndr_opendb.o
259 PUBLIC_DEPENDENCIES = LIBNDR
260
261 [SUBSYSTEM::NDR_NOTIFY]
262 OBJ_FILES = gen_ndr/ndr_notify.o
263 PUBLIC_DEPENDENCIES = LIBNDR
264
265 [SUBSYSTEM::NDR_SCHANNEL]
266 OBJ_FILES = gen_ndr/ndr_schannel.o
267 PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT
268
269 [SUBSYSTEM::NDR_NBT]
270 OBJ_FILES = gen_ndr/ndr_nbt.o
271 PUBLIC_HEADERS = gen_ndr/nbt.h
272 PUBLIC_DEPENDENCIES = LIBNDR NDR_MISC NDR_NBT_BUF NDR_SVCCTL NDR_SECURITY
273
274 [SUBSYSTEM::NDR_WINSREPL]
275 OBJ_FILES = gen_ndr/ndr_winsrepl.o
276 PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT
277
278 [SUBSYSTEM::NDR_WINBIND]
279 OBJ_FILES = gen_ndr/ndr_winbind.o
280 PUBLIC_HEADERS = gen_ndr/winbind.h
281 PUBLIC_DEPENDENCIES = LIBNDR NDR_NETLOGON
282
283 include ../heimdal_build/perl_path_wrapper.sh ../librpc/idl-deps.pl librpc/idl/*.idl|
284
285 librpc/gen_ndr/tables.c: $(IDL_NDR_PARSE_H_FILES)
286         @echo Generating librpc/gen_ndr/tables.c
287         @$(PERL) $(srcdir)/librpc/tables.pl --output=librpc/gen_ndr/tables.c $(IDL_NDR_PARSE_H_FILES) > librpc/gen_ndr/tables.x
288         mv librpc/gen_ndr/tables.x librpc/gen_ndr/tables.c
289
290 [SUBSYSTEM::NDR_TABLE]
291 OBJ_FILES = ndr/ndr_table.o gen_ndr/tables.o
292 PRIVATE_PROTO_HEADER = ndr/ndr_table.h
293 PUBLIC_DEPENDENCIES = \
294         NDR_AUDIOSRV NDR_ECHO NDR_DCERPC \
295         NDR_DSBACKUP NDR_EFS NDR_MISC NDR_LSA NDR_DFS NDR_DRSUAPI \
296         NDR_POLICYAGENT NDR_UNIXINFO NDR_SAMR NDR_SPOOLSS NDR_WKSSVC NDR_SRVSVC NDR_ATSVC \
297         NDR_EVENTLOG NDR_EPMAPPER NDR_DBGIDL NDR_DSSETUP NDR_MSGSVC NDR_WINS \
298         NDR_WINREG NDR_MGMT NDR_PROTECTED_STORAGE NDR_OXIDRESOLVER \
299         NDR_REMACT NDR_WZCSVC NDR_BROWSER NDR_W32TIME NDR_SCERPC NDR_NTSVCS \
300         NDR_NETLOGON NDR_TRKWKS NDR_KEYSVC NDR_KRB5PAC NDR_XATTR NDR_SCHANNEL \
301         NDR_ROT NDR_DRSBLOBS NDR_SVCCTL NDR_NBT NDR_WINSREPL NDR_SECURITY \
302         NDR_INITSHUTDOWN NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_OPENDB \
303         NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND NDR_FRSRPC NDR_FRSAPI NDR_NFS4ACL
304
305 [SUBSYSTEM::RPC_NDR_ROT]
306 OBJ_FILES = gen_ndr/ndr_rot_c.o
307 PUBLIC_DEPENDENCIES = NDR_ROT dcerpc
308
309 [SUBSYSTEM::RPC_NDR_AUDIOSRV]
310 OBJ_FILES = gen_ndr/ndr_audiosrv_c.o
311 PUBLIC_DEPENDENCIES = NDR_AUDIOSRV dcerpc
312
313 [SUBSYSTEM::RPC_NDR_ECHO]
314 OBJ_FILES = gen_ndr/ndr_echo_c.o
315 PUBLIC_DEPENDENCIES = dcerpc NDR_ECHO
316
317 [SUBSYSTEM::RPC_NDR_DSBACKUP]
318 OBJ_FILES = gen_ndr/ndr_dsbackup_c.o
319 PUBLIC_DEPENDENCIES = dcerpc NDR_DSBACKUP
320
321 [SUBSYSTEM::RPC_NDR_EFS]
322 OBJ_FILES = gen_ndr/ndr_efs_c.o
323 PUBLIC_DEPENDENCIES = dcerpc NDR_EFS
324
325 [SUBSYSTEM::RPC_NDR_LSA]
326 OBJ_FILES = gen_ndr/ndr_lsa_c.o
327 PUBLIC_DEPENDENCIES = dcerpc NDR_LSA
328
329 [SUBSYSTEM::RPC_NDR_DFS]
330 OBJ_FILES = gen_ndr/ndr_dfs_c.o
331 PUBLIC_DEPENDENCIES = dcerpc NDR_DFS
332
333 [SUBSYSTEM::RPC_NDR_FRSAPI]
334 OBJ_FILES = gen_ndr/ndr_frsapi_c.o
335 PUBLIC_DEPENDENCIES = dcerpc NDR_FRSAPI
336
337 [SUBSYSTEM::RPC_NDR_DRSUAPI]
338 OBJ_FILES = gen_ndr/ndr_drsuapi_c.o
339 PUBLIC_DEPENDENCIES = dcerpc NDR_DRSUAPI
340
341 [SUBSYSTEM::RPC_NDR_POLICYAGENT]
342 OBJ_FILES = gen_ndr/ndr_policyagent_c.o
343 PUBLIC_DEPENDENCIES = dcerpc NDR_POLICYAGENT
344
345 [SUBSYSTEM::RPC_NDR_UNIXINFO]
346 OBJ_FILES = gen_ndr/ndr_unixinfo_c.o
347 PUBLIC_DEPENDENCIES = dcerpc NDR_UNIXINFO
348
349 [LIBRARY::dcerpc_samr]
350 OBJ_FILES = gen_ndr/ndr_samr_c.o
351 PUBLIC_DEPENDENCIES = dcerpc NDR_SAMR 
352 VERSION = 0.0.1
353 SO_VERSION = 0
354 DESCRIPTION = DCE/RPC client library - SAMR
355
356 [SUBSYSTEM::RPC_NDR_SPOOLSS]
357 OBJ_FILES = gen_ndr/ndr_spoolss_c.o
358 PUBLIC_DEPENDENCIES = dcerpc NDR_SPOOLSS
359
360 [SUBSYSTEM::RPC_NDR_WKSSVC]
361 OBJ_FILES = gen_ndr/ndr_wkssvc_c.o
362 PUBLIC_DEPENDENCIES = dcerpc NDR_WKSSVC
363
364 [SUBSYSTEM::RPC_NDR_SRVSVC]
365 OBJ_FILES = gen_ndr/ndr_srvsvc_c.o
366 PUBLIC_DEPENDENCIES = dcerpc NDR_SRVSVC
367
368 [SUBSYSTEM::RPC_NDR_SVCCTL]
369 OBJ_FILES = gen_ndr/ndr_svcctl_c.o
370 PUBLIC_HEADERS = gen_ndr/ndr_svcctl_c.h
371 PUBLIC_DEPENDENCIES = dcerpc NDR_SVCCTL
372
373 [LIBRARY::dcerpc_atsvc]
374 OBJ_FILES = gen_ndr/ndr_atsvc_c.o
375 PUBLIC_HEADERS = gen_ndr/ndr_atsvc_c.h
376 PUBLIC_DEPENDENCIES = dcerpc NDR_ATSVC
377 VERSION = 0.0.1
378 SO_VERSION = 0
379 DESCRIPTION = DCE/RPC client library - ATSVC
380
381 [SUBSYSTEM::RPC_NDR_EVENTLOG]
382 OBJ_FILES = gen_ndr/ndr_eventlog_c.o
383 PUBLIC_DEPENDENCIES = dcerpc NDR_EVENTLOG
384
385 [SUBSYSTEM::RPC_NDR_EPMAPPER]
386 OBJ_FILES = gen_ndr/ndr_epmapper_c.o
387 PUBLIC_DEPENDENCIES = NDR_EPMAPPER 
388
389 [SUBSYSTEM::RPC_NDR_DBGIDL]
390 OBJ_FILES = gen_ndr/ndr_dbgidl_c.o
391 PUBLIC_DEPENDENCIES = dcerpc NDR_DBGIDL
392
393 [SUBSYSTEM::RPC_NDR_DSSETUP]
394 OBJ_FILES = gen_ndr/ndr_dssetup_c.o
395 PUBLIC_DEPENDENCIES = dcerpc NDR_DSSETUP
396
397 [SUBSYSTEM::RPC_NDR_MSGSVC]
398 OBJ_FILES = gen_ndr/ndr_msgsvc_c.o
399 PUBLIC_DEPENDENCIES = dcerpc NDR_MSGSVC
400
401 [SUBSYSTEM::RPC_NDR_WINS]
402 OBJ_FILES = gen_ndr/ndr_wins_c.o
403 PUBLIC_DEPENDENCIES = dcerpc NDR_WINS
404
405 [SUBSYSTEM::RPC_NDR_WINREG]
406 OBJ_FILES = gen_ndr/ndr_winreg_c.o
407 PUBLIC_DEPENDENCIES = dcerpc NDR_WINREG
408
409 [SUBSYSTEM::RPC_NDR_INITSHUTDOWN]
410 OBJ_FILES = gen_ndr/ndr_initshutdown_c.o
411 PUBLIC_DEPENDENCIES = dcerpc NDR_INITSHUTDOWN
412
413 [LIBRARY::dcerpc_mgmt]
414 OBJ_FILES = gen_ndr/ndr_mgmt_c.o
415 PRIVATE_DEPENDENCIES = NDR_MGMT
416 VERSION = 0.0.1
417 SO_VERSION = 0
418 DESCRIPTION = DCE/RPC client library - MGMT
419
420 [SUBSYSTEM::RPC_NDR_PROTECTED_STORAGE]
421 OBJ_FILES = gen_ndr/ndr_protected_storage_c.o
422 PUBLIC_DEPENDENCIES = dcerpc NDR_PROTECTED_STORAGE
423
424 [SUBSYSTEM::RPC_NDR_OXIDRESOLVER]
425 OBJ_FILES = gen_ndr/ndr_oxidresolver_c.o
426 PUBLIC_DEPENDENCIES = dcerpc NDR_OXIDRESOLVER
427
428 [SUBSYSTEM::RPC_NDR_REMACT]
429 OBJ_FILES = gen_ndr/ndr_remact_c.o
430 PUBLIC_DEPENDENCIES = dcerpc NDR_REMACT
431
432 [SUBSYSTEM::RPC_NDR_WZCSVC]
433 OBJ_FILES = gen_ndr/ndr_wzcsvc_c.o
434 PUBLIC_DEPENDENCIES = dcerpc NDR_WZCSVC
435
436 [SUBSYSTEM::RPC_NDR_W32TIME]
437 OBJ_FILES = gen_ndr/ndr_w32time_c.o
438 PUBLIC_DEPENDENCIES = dcerpc NDR_W32TIME
439
440 [SUBSYSTEM::RPC_NDR_SCERPC]
441 OBJ_FILES = gen_ndr/ndr_scerpc_c.o
442 PUBLIC_DEPENDENCIES = dcerpc NDR_SCERPC
443
444 [SUBSYSTEM::RPC_NDR_NTSVCS]
445 OBJ_FILES = gen_ndr/ndr_ntsvcs_c.o
446 PUBLIC_DEPENDENCIES = dcerpc NDR_NTSVCS
447
448 [SUBSYSTEM::RPC_NDR_NETLOGON]
449 OBJ_FILES = gen_ndr/ndr_netlogon_c.o
450 PUBLIC_DEPENDENCIES = NDR_NETLOGON
451
452 [SUBSYSTEM::RPC_NDR_TRKWKS]
453 OBJ_FILES = gen_ndr/ndr_trkwks_c.o
454 PUBLIC_DEPENDENCIES = dcerpc NDR_TRKWKS
455
456 [SUBSYSTEM::RPC_NDR_KEYSVC]
457 OBJ_FILES = gen_ndr/ndr_keysvc_c.o
458 PUBLIC_DEPENDENCIES = dcerpc NDR_KEYSVC
459
460 [SUBSYSTEM::NDR_DCERPC]
461 OBJ_FILES = gen_ndr/ndr_dcerpc.o
462 PUBLIC_DEPENDENCIES = LIBNDR NDR_MISC
463 PUBLIC_HEADERS = gen_ndr/dcerpc.h gen_ndr/ndr_dcerpc.h
464
465 ################################################
466 # Start SUBSYSTEM dcerpc
467 [LIBRARY::dcerpc]
468 VERSION = 0.0.1
469 SO_VERSION = 0
470 DESCRIPTION = DCE/RPC client library
471 PUBLIC_HEADERS = rpc/dcerpc.h \
472                         gen_ndr/mgmt.h gen_ndr/ndr_mgmt.h gen_ndr/ndr_mgmt_c.h \
473                         gen_ndr/epmapper.h gen_ndr/ndr_epmapper.h gen_ndr/ndr_epmapper_c.h
474 PUBLIC_PROTO_HEADER = rpc/dcerpc_proto.h
475 OBJ_FILES = \
476                 rpc/dcerpc.o \
477                 rpc/dcerpc_auth.o \
478                 rpc/dcerpc_schannel.o \
479                 rpc/dcerpc_util.o \
480                 rpc/dcerpc_error.o \
481                 rpc/dcerpc_smb.o \
482                 rpc/dcerpc_smb2.o \
483                 rpc/dcerpc_sock.o \
484                 rpc/dcerpc_connect.o \
485                 rpc/dcerpc_secondary.o
486 PRIVATE_DEPENDENCIES = \
487                 samba-socket LIBCLI_RESOLVE LIBCLI_SMB LIBCLI_SMB2 \
488                 LIBNDR NDR_DCERPC RPC_NDR_EPMAPPER \
489                 NDR_SCHANNEL RPC_NDR_NETLOGON \
490                 gensec LIBCLI_AUTH LIBCLI_RAW \
491                 LP_RESOLVE
492 PUBLIC_DEPENDENCIES = CREDENTIALS 
493 # End SUBSYSTEM dcerpc
494 ################################################
495
496 [MODULE::RPC_EJS_ECHO]
497 INIT_FUNCTION = ejs_init_rpcecho
498 OBJ_FILES = gen_ndr/ndr_echo_ejs.o
499 SUBSYSTEM = smbcalls
500 PRIVATE_DEPENDENCIES = dcerpc NDR_ECHO EJSRPC
501
502 [MODULE::RPC_EJS_MISC]
503 INIT_FUNCTION = ejs_init_misc
504 OBJ_FILES = gen_ndr/ndr_misc_ejs.o
505 SUBSYSTEM = smbcalls
506 PRIVATE_DEPENDENCIES = dcerpc NDR_MISC EJSRPC
507
508 [MODULE::RPC_EJS_SAMR]
509 INIT_FUNCTION = ejs_init_samr
510 OBJ_FILES = gen_ndr/ndr_samr_ejs.o
511 SUBSYSTEM = smbcalls
512 PRIVATE_DEPENDENCIES = dcerpc NDR_SAMR EJSRPC RPC_EJS_LSA RPC_EJS_SECURITY RPC_EJS_MISC
513
514 [MODULE::RPC_EJS_SECURITY]
515 INIT_FUNCTION = ejs_init_security
516 OBJ_FILES = gen_ndr/ndr_security_ejs.o
517 SUBSYSTEM = smbcalls
518 PRIVATE_DEPENDENCIES = dcerpc NDR_SECURITY EJSRPC
519
520 [MODULE::RPC_EJS_LSA]
521 INIT_FUNCTION = ejs_init_lsarpc
522 OBJ_FILES = gen_ndr/ndr_lsa_ejs.o
523 SUBSYSTEM = smbcalls
524 PRIVATE_DEPENDENCIES = dcerpc NDR_LSA EJSRPC RPC_EJS_SECURITY RPC_EJS_MISC
525
526 [MODULE::RPC_EJS_DFS]
527 INIT_FUNCTION = ejs_init_netdfs
528 OBJ_FILES = gen_ndr/ndr_dfs_ejs.o
529 SUBSYSTEM = smbcalls
530 PRIVATE_DEPENDENCIES = dcerpc NDR_DFS EJSRPC
531
532 [MODULE::RPC_EJS_DRSUAPI]
533 INIT_FUNCTION = ejs_init_drsuapi
534 OBJ_FILES = gen_ndr/ndr_drsuapi_ejs.o
535 SUBSYSTEM = smbcalls
536 PRIVATE_DEPENDENCIES = dcerpc NDR_DRSUAPI EJSRPC RPC_EJS_MISC RPC_EJS_SAMR
537
538 [MODULE::RPC_EJS_SPOOLSS]
539 INIT_FUNCTION = ejs_init_spoolss
540 OBJ_FILES = gen_ndr/ndr_spoolss_ejs.o
541 SUBSYSTEM = smbcalls
542 ENABLE = NO
543 PRIVATE_DEPENDENCIES = dcerpc NDR_SPOOLSS EJSRPC
544
545 [MODULE::RPC_EJS_WKSSVC]
546 INIT_FUNCTION = ejs_init_wkssvc
547 OBJ_FILES = gen_ndr/ndr_wkssvc_ejs.o
548 SUBSYSTEM = smbcalls
549 PRIVATE_DEPENDENCIES = dcerpc NDR_WKSSVC EJSRPC RPC_EJS_SRVSVC RPC_EJS_MISC
550
551 [MODULE::RPC_EJS_SRVSVC]
552 INIT_FUNCTION = ejs_init_srvsvc
553 OBJ_FILES = gen_ndr/ndr_srvsvc_ejs.o
554 SUBSYSTEM = smbcalls
555 PRIVATE_DEPENDENCIES = dcerpc NDR_SRVSVC EJSRPC RPC_EJS_MISC RPC_EJS_SVCCTL RPC_EJS_SECURITY
556
557 [MODULE::RPC_EJS_EVENTLOG]
558 INIT_FUNCTION = ejs_init_eventlog
559 OBJ_FILES = gen_ndr/ndr_eventlog_ejs.o
560 SUBSYSTEM = smbcalls
561 PRIVATE_DEPENDENCIES = dcerpc NDR_EVENTLOG EJSRPC RPC_EJS_MISC
562
563 [MODULE::RPC_EJS_WINREG]
564 INIT_FUNCTION = ejs_init_winreg
565 OBJ_FILES = gen_ndr/ndr_winreg_ejs.o
566 SUBSYSTEM = smbcalls
567 PRIVATE_DEPENDENCIES = dcerpc NDR_WINREG EJSRPC RPC_EJS_INITSHUTDOWN \
568                                           RPC_EJS_MISC RPC_EJS_SECURITY
569
570 [MODULE::RPC_EJS_INITSHUTDOWN]
571 INIT_FUNCTION = ejs_init_initshutdown
572 OBJ_FILES = gen_ndr/ndr_initshutdown_ejs.o
573 SUBSYSTEM = smbcalls
574 PRIVATE_DEPENDENCIES = dcerpc NDR_INITSHUTDOWN EJSRPC
575
576 [MODULE::RPC_EJS_NETLOGON]
577 INIT_FUNCTION = ejs_init_netlogon
578 OBJ_FILES = gen_ndr/ndr_netlogon_ejs.o
579 SUBSYSTEM = smbcalls
580 PRIVATE_DEPENDENCIES = dcerpc NDR_NETLOGON EJSRPC RPC_EJS_SAMR RPC_EJS_SECURITY RPC_EJS_MISC
581
582 [MODULE::RPC_EJS_SVCCTL]
583 INIT_FUNCTION = ejs_init_svcctl
584 OBJ_FILES = gen_ndr/ndr_svcctl_ejs.o
585 SUBSYSTEM = smbcalls
586 PRIVATE_DEPENDENCIES = dcerpc NDR_SVCCTL EJSRPC RPC_EJS_MISC
587
588 [MODULE::RPC_EJS_IRPC]
589 INIT_FUNCTION = ejs_init_irpc
590 OBJ_FILES = gen_ndr/ndr_irpc_ejs.o
591 SUBSYSTEM = smbcalls
592 PRIVATE_DEPENDENCIES = dcerpc NDR_IRPC EJSRPC
593
594 [PYTHON::swig_dcerpc]
595 SWIG_FILE = rpc/dcerpc.i
596 PUBLIC_DEPENDENCIES = LIBCLI_SMB NDR_MISC LIBSAMBA-UTIL LIBSAMBA-CONFIG dcerpc_samr RPC_NDR_LSA DYNCONFIG
597
598 [PYTHON::python_echo]
599 OBJ_FILES = gen_ndr/py_echo.o
600 PRIVATE_DEPENDENCIES = RPC_NDR_ECHO
601
602 [PYTHON::python_winreg]
603 OBJ_FILES = gen_ndr/py_winreg.o
604 PRIVATE_DEPENDENCIES = RPC_NDR_WINREG python_misc
605
606 [PYTHON::python_dcerpc_misc]
607 OBJ_FILES = gen_ndr/py_misc.o
608
609 [PYTHON::python_initshutdown]
610 OBJ_FILES = gen_ndr/py_initshutdown.o
611 PRIVATE_DEPENDENCIES = RPC_NDR_INITSHUTDOWN
612
613 [PYTHON::python_epmapper]
614 OBJ_FILES = gen_ndr/py_epmapper.o
615
616 [PYTHON::python_mgmt]
617 OBJ_FILES = gen_ndr/py_mgmt.o
618 PRIVATE_DEPENDENCIES = dcerpc_mgmt
619
620 [PYTHON::python_atsvc]
621 OBJ_FILES = gen_ndr/py_atsvc.o
622 PRIVATE_DEPENDENCIES = dcerpc_atsvc
623
624 [PYTHON::python_samr]
625 OBJ_FILES = gen_ndr/py_samr.o
626 PRIVATE_DEPENDENCIES = dcerpc_samr
627
628 [PYTHON::python_svcctl]
629 OBJ_FILES = gen_ndr/py_svcctl.o
630 PRIVATE_DEPENDENCIES = RPC_NDR_SVCCTL
631
632 [PYTHON::python_lsa]
633 OBJ_FILES = gen_ndr/py_lsa.o
634 PRIVATE_DEPENDENCIES = RPC_NDR_LSA
635
636 [PYTHON::python_dcerpc_security]
637 OBJ_FILES = gen_ndr/py_security.o