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