libwbclient: unimplement wbcSetUidMapping()
[Samba/gebeck_regimport.git] / source4 / librpc / config.mk
blob3c231d6af6ebff47abc39766e80d495a71a1a91f
1 ndrsrcdir = $(librpcsrcdir)/ndr
2 gen_ndrsrcdir = $(librpcsrcdir)/gen_ndr
3 dcerpcsrcdir = $(librpcsrcdir)/rpc
5 ################################################
6 # Start SUBSYSTEM LIBNDR
7 [LIBRARY::LIBNDR]
8 PUBLIC_DEPENDENCIES = LIBSAMBA-ERRORS LIBTALLOC LIBSAMBA-UTIL CHARSET \
9 LIBSAMBA-HOSTCONFIG
11 LIBNDR_OBJ_FILES = ../librpc/ndr/ndr_string.o ../librpc/ndr/ndr_basic.o ../librpc/ndr/uuid.o ../librpc/ndr/ndr.o ../librpc/gen_ndr/ndr_misc.o ../librpc/ndr/ndr_misc.o
13 PC_FILES += ../librpc/ndr.pc
14 LIBNDR_VERSION = 0.0.1
15 LIBNDR_SOVERSION = 0
17 # End SUBSYSTEM LIBNDR
18 ################################################
20 PUBLIC_HEADERS += ../librpc/ndr/libndr.h
21 PUBLIC_HEADERS += ../librpc/gen_ndr/misc.h ../librpc/gen_ndr/ndr_misc.h
23 #################################
24 # Start BINARY ndrdump
25 [BINARY::ndrdump]
26 INSTALLDIR = BINDIR
27 PRIVATE_DEPENDENCIES = \
28 LIBSAMBA-HOSTCONFIG \
29 LIBSAMBA-UTIL \
30 LIBPOPT \
31 POPT_SAMBA \
32 NDR_TABLE \
33 LIBSAMBA-ERRORS
34 # FIXME: ndrdump shouldn't have to depend on RPC...
35 # End BINARY ndrdump
36 #################################
38 ndrdump_OBJ_FILES = ../librpc/tools/ndrdump.o
40 MANPAGES += ../librpc/tools/ndrdump.1
42 ################################################
43 # Start SUBSYSTEM NDR_COMPRESSION
44 [SUBSYSTEM::NDR_COMPRESSION]
45 PRIVATE_DEPENDENCIES = ZLIB LZXPRESS
46 PUBLIC_DEPENDENCIES = LIBSAMBA-ERRORS LIBNDR
47 # End SUBSYSTEM NDR_COMPRESSION
48 ################################################
50 NDR_COMPRESSION_OBJ_FILES = ../librpc/ndr/ndr_compression.o
52 [SUBSYSTEM::NDR_SECURITY]
53 PUBLIC_DEPENDENCIES = LIBNDR LIBSECURITY
55 NDR_SECURITY_OBJ_FILES = ../librpc/gen_ndr/ndr_security.o \
56 ../librpc/ndr/ndr_sec_helper.o \
57 $(gen_ndrsrcdir)/ndr_server_id.o
59 PUBLIC_HEADERS += ../librpc/gen_ndr/security.h
60 PUBLIC_HEADERS += $(gen_ndrsrcdir)/server_id.h
62 [SUBSYSTEM::NDR_AUDIOSRV]
63 PUBLIC_DEPENDENCIES = LIBNDR
65 NDR_AUDIOSRV_OBJ_FILES = ../librpc/gen_ndr/ndr_audiosrv.o
67 [SUBSYSTEM::NDR_NAMED_PIPE_AUTH]
68 PUBLIC_DEPENDENCIES = LIBNDR
70 NDR_NAMED_PIPE_AUTH_OBJ_FILES = ../librpc/gen_ndr/ndr_named_pipe_auth.o
72 [SUBSYSTEM::NDR_DNSSERVER]
73 PUBLIC_DEPENDENCIES = LIBNDR
75 NDR_DNSSERVER_OBJ_FILES = ../librpc/gen_ndr/ndr_dnsserver.o
77 [SUBSYSTEM::NDR_WINSTATION]
78 PUBLIC_DEPENDENCIES = LIBNDR
80 NDR_WINSTATION_OBJ_FILES = $(gen_ndrsrcdir)/ndr_winstation.o
82 [SUBSYSTEM::NDR_IRPC]
83 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY NDR_NBT
85 NDR_IRPC_OBJ_FILES = $(gen_ndrsrcdir)/ndr_irpc.o
87 [SUBSYSTEM::NDR_DCOM]
88 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY NDR_ORPC
90 NDR_DCOM_OBJ_FILES = ../librpc/gen_ndr/ndr_dcom.o
92 [SUBSYSTEM::NDR_WMI]
93 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY NDR_DCOM
95 NDR_WMI_OBJ_FILES = ../librpc/gen_ndr/ndr_wmi.o ../librpc/ndr/ndr_wmi.o
97 [SUBSYSTEM::NDR_DSBACKUP]
98 PUBLIC_DEPENDENCIES = LIBNDR
100 NDR_DSBACKUP_OBJ_FILES = ../librpc/gen_ndr/ndr_dsbackup.o
102 [SUBSYSTEM::NDR_EFS]
103 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY
105 NDR_EFS_OBJ_FILES = ../librpc/gen_ndr/ndr_efs.o
107 [SUBSYSTEM::NDR_ROT]
108 PUBLIC_DEPENDENCIES = LIBNDR NDR_ORPC
110 NDR_ROT_OBJ_FILES = ../librpc/gen_ndr/ndr_rot.o
112 [SUBSYSTEM::NDR_FRSRPC]
113 PUBLIC_DEPENDENCIES = LIBNDR
115 NDR_FRSRPC_OBJ_FILES = ../librpc/gen_ndr/ndr_frsrpc.o ../librpc/ndr/ndr_frsrpc.o
117 [SUBSYSTEM::NDR_FRSAPI]
118 PUBLIC_DEPENDENCIES = LIBNDR
120 NDR_FRSAPI_OBJ_FILES = ../librpc/gen_ndr/ndr_frsapi.o
122 [SUBSYSTEM::NDR_FRSTRANS]
123 PUBLIC_DEPENDENCIES = LIBNDR
125 NDR_FRSTRANS_OBJ_FILES = ../librpc/gen_ndr/ndr_frstrans.o
127 [SUBSYSTEM::NDR_DRSUAPI]
128 PUBLIC_DEPENDENCIES = LIBNDR NDR_COMPRESSION NDR_SECURITY NDR_STANDARD ASN1_UTIL
130 NDR_DRSUAPI_OBJ_FILES = ../librpc/gen_ndr/ndr_drsuapi.o ../librpc/ndr/ndr_drsuapi.o
132 [SUBSYSTEM::NDR_DRSBLOBS]
133 PUBLIC_DEPENDENCIES = LIBNDR NDR_DRSUAPI
135 NDR_DRSBLOBS_OBJ_FILES = ../librpc/gen_ndr/ndr_drsblobs.o ../librpc/ndr/ndr_drsblobs.o
137 [SUBSYSTEM::NDR_DFSBLOBS]
138 PUBLIC_DEPENDENCIES = LIBNDR
140 NDR_DFSBLOBS_OBJ_FILES = ../librpc/gen_ndr/ndr_dfsblobs.o
142 [SUBSYSTEM::NDR_SASL_HELPERS]
143 PUBLIC_DEPENDENCIES = LIBNDR
145 NDR_SASL_HELPERS_OBJ_FILES = $(gen_ndrsrcdir)/ndr_sasl_helpers.o
147 [SUBSYSTEM::NDR_POLICYAGENT]
148 PUBLIC_DEPENDENCIES = LIBNDR
150 NDR_POLICYAGENT_OBJ_FILES = ../librpc/gen_ndr/ndr_policyagent.o
152 [SUBSYSTEM::NDR_UNIXINFO]
153 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY
155 NDR_UNIXINFO_OBJ_FILES = ../librpc/gen_ndr/ndr_unixinfo.o
157 [SUBSYSTEM::NDR_NFS4ACL]
158 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY
160 NDR_NFS4ACL_OBJ_FILES = $(gen_ndrsrcdir)/ndr_nfs4acl.o
162 [SUBSYSTEM::NDR_SPOOLSS]
163 PUBLIC_DEPENDENCIES = LIBNDR NDR_SPOOLSS_BUF NDR_SECURITY
165 NDR_SPOOLSS_OBJ_FILES = ../librpc/gen_ndr/ndr_spoolss.o
167 [SUBSYSTEM::NDR_SPOOLSS_BUF]
169 NDR_SPOOLSS_BUF_OBJ_FILES = ../librpc/ndr/ndr_spoolss_buf.o
171 [SUBSYSTEM::NDR_EPMAPPER]
172 PUBLIC_DEPENDENCIES = LIBNDR
174 NDR_EPMAPPER_OBJ_FILES = ../librpc/gen_ndr/ndr_epmapper.o
176 [SUBSYSTEM::NDR_DBGIDL]
177 PUBLIC_DEPENDENCIES = LIBNDR
179 NDR_DBGIDL_OBJ_FILES = ../librpc/gen_ndr/ndr_dbgidl.o
181 [SUBSYSTEM::NDR_DSSETUP]
182 PUBLIC_DEPENDENCIES = LIBNDR
184 NDR_DSSETUP_OBJ_FILES = ../librpc/gen_ndr/ndr_dssetup.o
186 [SUBSYSTEM::NDR_MSGSVC]
187 PUBLIC_DEPENDENCIES = LIBNDR
189 NDR_MSGSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_msgsvc.o
191 [SUBSYSTEM::NDR_WINSIF]
192 PUBLIC_DEPENDENCIES = LIBNDR
194 NDR_WINSIF_OBJ_FILES = $(gen_ndrsrcdir)/ndr_winsif.o
196 [SUBSYSTEM::NDR_MGMT]
197 PUBLIC_DEPENDENCIES = LIBNDR
199 NDR_MGMT_OBJ_FILES = ../librpc/gen_ndr/ndr_mgmt.o
201 [SUBSYSTEM::NDR_PROTECTED_STORAGE]
202 PUBLIC_DEPENDENCIES = LIBNDR
204 NDR_PROTECTED_STORAGE_OBJ_FILES = ../librpc/gen_ndr/ndr_protected_storage.o
206 [SUBSYSTEM::NDR_ORPC]
207 PUBLIC_DEPENDENCIES = LIBNDR
209 NDR_ORPC_OBJ_FILES = ../librpc/gen_ndr/ndr_orpc.o ../librpc/ndr/ndr_orpc.o
211 [SUBSYSTEM::NDR_OXIDRESOLVER]
212 PUBLIC_DEPENDENCIES = LIBNDR NDR_ORPC
214 NDR_OXIDRESOLVER_OBJ_FILES = ../librpc/gen_ndr/ndr_oxidresolver.o
216 [SUBSYSTEM::NDR_REMACT]
217 PUBLIC_DEPENDENCIES = LIBNDR NDR_ORPC
219 NDR_REMACT_OBJ_FILES = ../librpc/gen_ndr/ndr_remact.o
221 [SUBSYSTEM::NDR_WZCSVC]
222 PUBLIC_DEPENDENCIES = LIBNDR
224 NDR_WZCSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_wzcsvc.o
226 [SUBSYSTEM::NDR_BROWSER]
227 PUBLIC_DEPENDENCIES = LIBNDR
229 NDR_BROWSER_OBJ_FILES = ../librpc/gen_ndr/ndr_browser.o
231 [SUBSYSTEM::NDR_W32TIME]
232 PUBLIC_DEPENDENCIES = LIBNDR
234 NDR_W32TIME_OBJ_FILES = ../librpc/gen_ndr/ndr_w32time.o
236 [SUBSYSTEM::NDR_SCERPC]
237 PUBLIC_DEPENDENCIES = LIBNDR
239 NDR_SCERPC_OBJ_FILES = ../librpc/gen_ndr/ndr_scerpc.o
241 [SUBSYSTEM::NDR_TRKWKS]
242 PUBLIC_DEPENDENCIES = LIBNDR
244 NDR_TRKWKS_OBJ_FILES = ../librpc/gen_ndr/ndr_trkwks.o
246 [SUBSYSTEM::NDR_KEYSVC]
247 PUBLIC_DEPENDENCIES = LIBNDR
249 NDR_KEYSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_keysvc.o
251 [SUBSYSTEM::NDR_KRB5PAC]
252 PUBLIC_DEPENDENCIES = LIBNDR NDR_STANDARD NDR_SECURITY
254 NDR_KRB5PAC_OBJ_FILES = ../librpc/gen_ndr/ndr_krb5pac.o ../librpc/ndr/ndr_krb5pac.o
256 [SUBSYSTEM::NDR_XATTR]
257 PUBLIC_DEPENDENCIES = LIBNDR NDR_SECURITY
259 NDR_XATTR_OBJ_FILES = ../librpc/gen_ndr/ndr_xattr.o ../librpc/ndr/ndr_xattr.o
261 [SUBSYSTEM::NDR_OPENDB]
262 PUBLIC_DEPENDENCIES = LIBNDR
264 NDR_OPENDB_OBJ_FILES = $(gen_ndrsrcdir)/ndr_opendb.o
266 [SUBSYSTEM::NDR_NOTIFY]
267 PUBLIC_DEPENDENCIES = LIBNDR
269 NDR_NOTIFY_OBJ_FILES = $(gen_ndrsrcdir)/ndr_notify.o
271 [SUBSYSTEM::NDR_SCHANNEL]
272 PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT
274 NDR_SCHANNEL_OBJ_FILES = ../librpc/gen_ndr/ndr_schannel.o ../librpc/ndr/ndr_schannel.o
276 [SUBSYSTEM::NDR_NBT]
277 PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT_BUF NDR_SECURITY NDR_STANDARD LIBCLI_NDR_NETLOGON
279 NDR_NBT_OBJ_FILES = ../librpc/gen_ndr/ndr_nbt.o
281 PUBLIC_HEADERS += ../librpc/gen_ndr/nbt.h
283 [SUBSYSTEM::NDR_NTP_SIGND]
284 PUBLIC_DEPENDENCIES = LIBNDR
286 NDR_NTP_SIGND_OBJ_FILES = $(gen_ndrsrcdir)/ndr_ntp_signd.o
288 [SUBSYSTEM::NDR_WINSREPL]
289 PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT
291 NDR_WINSREPL_OBJ_FILES = $(gen_ndrsrcdir)/ndr_winsrepl.o
293 [SUBSYSTEM::NDR_WINBIND]
294 PUBLIC_DEPENDENCIES = LIBNDR NDR_STANDARD
296 NDR_WINBIND_OBJ_FILES = $(gen_ndrsrcdir)/ndr_winbind.o
297 #PUBLIC_HEADERS += $(gen_ndrsrcdir)/winbind.h
299 [SUBSYSTEM::NDR_NTLMSSP]
300 PUBLIC_DEPENDENCIES = LIBNDR NDR_STANDARD
302 NDR_NTLMSSP_OBJ_FILES = ../librpc/gen_ndr/ndr_ntlmssp.o ../librpc/ndr/ndr_ntlmssp.o
304 [SUBSYSTEM::NDR_NTPRINTING]
305 PUBLIC_DEPENDENCIES = LIBNDR NDR_STANDARD
307 NDR_NTPRINTING_OBJ_FILES = ../librpc/gen_ndr/ndr_ntprinting.o ../librpc/ndr/ndr_ntprinting.o
309 [SUBSYSTEM::NDR_DNSP]
310 PUBLIC_DEPENDENCIES = LIBNDR
312 NDR_DNSP_OBJ_FILES = ../librpc/gen_ndr/ndr_dnsp.o ../librpc/ndr/ndr_dnsp.o
314 $(librpcsrcdir)/idl-deps:
315 $(PERL) $(librpcsrcdir)/idl-deps.pl $(wildcard $(librpcsrcdir)/idl/*.idl ../librpc/idl/*.idl) >$@
317 clean::
318 rm -f $(librpcsrcdir)/idl-deps
320 -include $(librpcsrcdir)/idl-deps
322 $(gen_ndrsrcdir)/tables.c: $(IDL_NDR_PARSE_H_FILES)
323 @echo Generating $@
324 @$(PERL) ../librpc/tables.pl --output=$@ $^ > $(gen_ndrsrcdir)/tables.x
325 @mv $(gen_ndrsrcdir)/tables.x $@
327 [LIBRARY::NDR_STANDARD]
328 PUBLIC_DEPENDENCIES = LIBNDR
329 PRIVATE_DEPENDENCIES = NDR_SECURITY
331 NDR_STANDARD_OBJ_FILES = ../librpc/gen_ndr/ndr_echo.o \
332 ../librpc/gen_ndr/ndr_lsa.o \
333 ../librpc/gen_ndr/ndr_samr.o \
334 ../librpc/gen_ndr/ndr_netlogon.o \
335 ../librpc/ndr/ndr_netlogon.o \
336 ../librpc/gen_ndr/ndr_dfs.o \
337 ../librpc/gen_ndr/ndr_atsvc.o \
338 ../librpc/gen_ndr/ndr_wkssvc.o \
339 ../librpc/gen_ndr/ndr_srvsvc.o \
340 ../librpc/gen_ndr/ndr_svcctl.o \
341 ../librpc/ndr/ndr_svcctl.o \
342 ../librpc/gen_ndr/ndr_winreg.o \
343 ../librpc/gen_ndr/ndr_initshutdown.o \
344 ../librpc/gen_ndr/ndr_eventlog.o \
345 ../librpc/gen_ndr/ndr_ntsvcs.o
347 PC_FILES += ../librpc/ndr_standard.pc
349 PUBLIC_HEADERS += $(addprefix ../librpc/gen_ndr/, samr.h ndr_samr.h lsa.h netlogon.h atsvc.h ndr_atsvc.h ndr_svcctl.h svcctl.h)
351 NDR_STANDARD_VERSION = 0.0.1
352 NDR_STANDARD_SOVERSION = 0
354 [SUBSYSTEM::NDR_TABLE]
355 PUBLIC_DEPENDENCIES = \
356 NDR_STANDARD \
357 NDR_AUDIOSRV \
358 NDR_DSBACKUP NDR_EFS NDR_DRSUAPI \
359 NDR_POLICYAGENT NDR_UNIXINFO NDR_SPOOLSS \
360 NDR_EPMAPPER NDR_DBGIDL NDR_DSSETUP NDR_MSGSVC NDR_WINSIF \
361 NDR_MGMT NDR_PROTECTED_STORAGE NDR_OXIDRESOLVER \
362 NDR_REMACT NDR_WZCSVC NDR_BROWSER NDR_W32TIME NDR_SCERPC \
363 NDR_TRKWKS NDR_KEYSVC NDR_KRB5PAC NDR_XATTR NDR_SCHANNEL \
364 NDR_ROT NDR_DRSBLOBS NDR_NBT NDR_WINSREPL NDR_SECURITY \
365 NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_OPENDB \
366 NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND \
367 NDR_FRSRPC NDR_FRSAPI NDR_FRSTRANS \
368 NDR_NFS4ACL NDR_NTP_SIGND \
369 NDR_DCOM NDR_WMI NDR_NAMED_PIPE_AUTH \
370 NDR_NTLMSSP NDR_NTPRINTING NDR_DFSBLOBS NDR_DNSP
372 NDR_TABLE_OBJ_FILES = ../librpc/ndr/ndr_table.o $(gen_ndrsrcdir)/tables.o
374 [SUBSYSTEM::RPC_NDR_XATTR]
375 PUBLIC_DEPENDENCIES = NDR_XATTR dcerpc
377 RPC_NDR_XATTR_OBJ_FILES = ../librpc/gen_ndr/ndr_xattr_c.o
379 [SUBSYSTEM::RPC_NDR_ROT]
380 PUBLIC_DEPENDENCIES = NDR_ROT dcerpc
382 RPC_NDR_ROT_OBJ_FILES = ../librpc/gen_ndr/ndr_rot_c.o
384 [SUBSYSTEM::RPC_NDR_AUDIOSRV]
385 PUBLIC_DEPENDENCIES = NDR_AUDIOSRV dcerpc
387 RPC_NDR_AUDIOSRV_OBJ_FILES = ../librpc/gen_ndr/ndr_audiosrv_c.o
389 [SUBSYSTEM::RPC_NDR_ECHO]
390 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
392 RPC_NDR_ECHO_OBJ_FILES = ../librpc/gen_ndr/ndr_echo_c.o
394 [SUBSYSTEM::RPC_NDR_DSBACKUP]
395 PUBLIC_DEPENDENCIES = dcerpc NDR_DSBACKUP
397 RPC_NDR_DSBACKUP_OBJ_FILES = ../librpc/gen_ndr/ndr_dsbackup_c.o
399 [SUBSYSTEM::RPC_NDR_EFS]
400 PUBLIC_DEPENDENCIES = dcerpc NDR_EFS
402 RPC_NDR_EFS_OBJ_FILES = ../librpc/gen_ndr/ndr_efs_c.o
404 [SUBSYSTEM::RPC_NDR_LSA]
405 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
407 RPC_NDR_LSA_OBJ_FILES = ../librpc/gen_ndr/ndr_lsa_c.o
409 [SUBSYSTEM::RPC_NDR_DFS]
410 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
412 RPC_NDR_DFS_OBJ_FILES = ../librpc/gen_ndr/ndr_dfs_c.o
414 [SUBSYSTEM::RPC_NDR_FRSAPI]
415 PUBLIC_DEPENDENCIES = dcerpc NDR_FRSAPI
417 RPC_NDR_FRSAPI_OBJ_FILES = ../librpc/gen_ndr/ndr_frsapi_c.o
419 [SUBSYSTEM::RPC_NDR_DRSUAPI]
420 PUBLIC_DEPENDENCIES = dcerpc NDR_DRSUAPI
422 RPC_NDR_DRSUAPI_OBJ_FILES = ../librpc/gen_ndr/ndr_drsuapi_c.o
424 [SUBSYSTEM::RPC_NDR_DRSBLOBS]
425 PUBLIC_DEPENDENCIES = dcerpc NDR_DRSBLOBS
427 RPC_NDR_DRSBLOBS_OBJ_FILES = ../librpc/gen_ndr/ndr_drsblobs_c.o
429 [SUBSYSTEM::RPC_NDR_POLICYAGENT]
430 PUBLIC_DEPENDENCIES = dcerpc NDR_POLICYAGENT
432 RPC_NDR_POLICYAGENT_OBJ_FILES = ../librpc/gen_ndr/ndr_policyagent_c.o
434 [SUBSYSTEM::RPC_NDR_UNIXINFO]
435 PUBLIC_DEPENDENCIES = dcerpc NDR_UNIXINFO
437 RPC_NDR_UNIXINFO_OBJ_FILES = ../librpc/gen_ndr/ndr_unixinfo_c.o
439 [SUBSYSTEM::RPC_NDR_BROWSER]
440 PUBLIC_DEPENDENCIES = dcerpc NDR_BROWSER
442 RPC_NDR_BROWSER_OBJ_FILES = ../librpc/gen_ndr/ndr_browser_c.o
444 [SUBSYSTEM::RPC_NDR_IRPC]
445 PUBLIC_DEPENDENCIES = dcerpc NDR_IRPC
447 RPC_NDR_IRPC_OBJ_FILES = $(gen_ndrsrcdir)/ndr_irpc_c.o
449 [LIBRARY::dcerpc_samr]
450 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
452 PC_FILES += $(librpcsrcdir)/dcerpc_samr.pc
454 dcerpc_samr_VERSION = 0.0.1
455 dcerpc_samr_SOVERSION = 0
456 dcerpc_samr_OBJ_FILES = ../librpc/gen_ndr/ndr_samr_c.o
458 PUBLIC_HEADERS += ../librpc/gen_ndr/ndr_samr_c.h
460 [SUBSYSTEM::RPC_NDR_SPOOLSS]
461 PUBLIC_DEPENDENCIES = dcerpc NDR_SPOOLSS
463 RPC_NDR_SPOOLSS_OBJ_FILES = ../librpc/gen_ndr/ndr_spoolss_c.o
465 [SUBSYSTEM::RPC_NDR_WKSSVC]
466 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
468 RPC_NDR_WKSSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_wkssvc_c.o
470 [SUBSYSTEM::RPC_NDR_SRVSVC]
471 PUBLIC_DEPENDENCIES = dcerpc NDR_SRVSVC
473 RPC_NDR_SRVSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_srvsvc_c.o
475 [SUBSYSTEM::RPC_NDR_SVCCTL]
476 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
478 RPC_NDR_SVCCTL_OBJ_FILES = ../librpc/gen_ndr/ndr_svcctl_c.o
480 PUBLIC_HEADERS += ../librpc/gen_ndr/ndr_svcctl_c.h
482 [LIBRARY::dcerpc_atsvc]
483 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
485 dcerpc_atsvc_VERSION = 0.0.1
486 dcerpc_atsvc_SOVERSION = 0
488 dcerpc_atsvc_OBJ_FILES = ../librpc/gen_ndr/ndr_atsvc_c.o
489 PC_FILES += $(librpcsrcdir)/dcerpc_atsvc.pc
491 PUBLIC_HEADERS += ../librpc/gen_ndr/ndr_atsvc_c.h
493 [SUBSYSTEM::RPC_NDR_EVENTLOG]
494 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
496 RPC_NDR_EVENTLOG_OBJ_FILES = ../librpc/gen_ndr/ndr_eventlog_c.o
498 [SUBSYSTEM::RPC_NDR_EPMAPPER]
499 PUBLIC_DEPENDENCIES = LIBTEVENT NDR_EPMAPPER
501 RPC_NDR_EPMAPPER_OBJ_FILES = ../librpc/gen_ndr/ndr_epmapper_c.o
503 [SUBSYSTEM::RPC_NDR_DBGIDL]
504 PUBLIC_DEPENDENCIES = dcerpc NDR_DBGIDL
506 RPC_NDR_DBGIDL_OBJ_FILES = ../librpc/gen_ndr/ndr_dbgidl_c.o
508 [SUBSYSTEM::RPC_NDR_DSSETUP]
509 PUBLIC_DEPENDENCIES = dcerpc NDR_DSSETUP
511 RPC_NDR_DSSETUP_OBJ_FILES = ../librpc/gen_ndr/ndr_dssetup_c.o
513 [SUBSYSTEM::RPC_NDR_MSGSVC]
514 PUBLIC_DEPENDENCIES = dcerpc NDR_MSGSVC
516 RPC_NDR_MSGSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_msgsvc_c.o
518 [SUBSYSTEM::RPC_NDR_WINSIF]
519 PUBLIC_DEPENDENCIES = dcerpc NDR_WINSIF
521 RPC_NDR_WINSIF_OBJ_FILES = $(gen_ndrsrcdir)/ndr_winsif_c.o
523 [SUBSYSTEM::RPC_NDR_WINREG]
524 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
526 RPC_NDR_WINREG_OBJ_FILES = ../librpc/gen_ndr/ndr_winreg_c.o
528 [SUBSYSTEM::RPC_NDR_INITSHUTDOWN]
529 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
531 RPC_NDR_INITSHUTDOWN_OBJ_FILES = ../librpc/gen_ndr/ndr_initshutdown_c.o
533 [SUBSYSTEM::RPC_NDR_MGMT]
534 PRIVATE_DEPENDENCIES = LIBTEVENT NDR_MGMT
536 RPC_NDR_MGMT_OBJ_FILES = ../librpc/gen_ndr/ndr_mgmt_c.o
538 [SUBSYSTEM::RPC_NDR_PROTECTED_STORAGE]
539 PUBLIC_DEPENDENCIES = dcerpc NDR_PROTECTED_STORAGE
541 RPC_NDR_PROTECTED_STORAGE_OBJ_FILES = ../librpc/gen_ndr/ndr_protected_storage_c.o
543 [SUBSYSTEM::RPC_NDR_OXIDRESOLVER]
544 PUBLIC_DEPENDENCIES = dcerpc NDR_OXIDRESOLVER
546 RPC_NDR_OXIDRESOLVER_OBJ_FILES = ../librpc/gen_ndr/ndr_oxidresolver_c.o
548 [SUBSYSTEM::RPC_NDR_REMACT]
549 PUBLIC_DEPENDENCIES = dcerpc NDR_REMACT
551 RPC_NDR_REMACT_OBJ_FILES = ../librpc/gen_ndr/ndr_remact_c.o
553 [SUBSYSTEM::RPC_NDR_WZCSVC]
554 PUBLIC_DEPENDENCIES = dcerpc NDR_WZCSVC
556 RPC_NDR_WZCSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_wzcsvc_c.o
558 [SUBSYSTEM::RPC_NDR_W32TIME]
559 PUBLIC_DEPENDENCIES = dcerpc NDR_W32TIME
561 RPC_NDR_W32TIME_OBJ_FILES = ../librpc/gen_ndr/ndr_w32time_c.o
563 [SUBSYSTEM::RPC_NDR_SCERPC]
564 PUBLIC_DEPENDENCIES = dcerpc NDR_SCERPC
566 RPC_NDR_SCERPC_OBJ_FILES = ../librpc/gen_ndr/ndr_scerpc_c.o
568 [SUBSYSTEM::RPC_NDR_NTSVCS]
569 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
571 RPC_NDR_NTSVCS_OBJ_FILES = ../librpc/gen_ndr/ndr_ntsvcs_c.o
573 [SUBSYSTEM::RPC_NDR_NETLOGON]
574 PUBLIC_DEPENDENCIES = LIBTEVENT NDR_STANDARD
576 RPC_NDR_NETLOGON_OBJ_FILES = ../librpc/gen_ndr/ndr_netlogon_c.o
578 [SUBSYSTEM::RPC_NDR_TRKWKS]
579 PUBLIC_DEPENDENCIES = dcerpc NDR_TRKWKS
581 RPC_NDR_TRKWKS_OBJ_FILES = ../librpc/gen_ndr/ndr_trkwks_c.o
583 [SUBSYSTEM::RPC_NDR_KEYSVC]
584 PUBLIC_DEPENDENCIES = dcerpc NDR_KEYSVC
586 RPC_NDR_KEYSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_keysvc_c.o
588 [SUBSYSTEM::NDR_RAP]
589 PUBLIC_DEPENDENCIES = LIBNDR
591 NDR_RAP_OBJ_FILES = ../librpc/gen_ndr/ndr_rap.o ../librpc/ndr/ndr_rap.o
593 [SUBSYSTEM::NDR_DCERPC]
594 PUBLIC_DEPENDENCIES = LIBNDR
596 NDR_DCERPC_OBJ_FILES = ../librpc/gen_ndr/ndr_dcerpc.o
598 PUBLIC_HEADERS += ../librpc/gen_ndr/dcerpc.h ../librpc/gen_ndr/ndr_dcerpc.h
600 ################################################
601 # Start SUBSYSTEM dcerpc
602 [LIBRARY::dcerpc]
603 PRIVATE_DEPENDENCIES = \
604 samba_socket LIBCLI_RESOLVE LIBCLI_SMB LIBCLI_SMB2 \
605 LIBNDR NDR_DCERPC RPC_NDR_EPMAPPER \
606 NDR_SCHANNEL RPC_NDR_NETLOGON \
607 RPC_NDR_MGMT \
608 gensec LIBCLI_AUTH LIBCLI_RAW \
609 LP_RESOLVE UTIL_TEVENT
610 PUBLIC_DEPENDENCIES = CREDENTIALS LIBTEVENT LIBTALLOC
611 # End SUBSYSTEM dcerpc
612 ################################################
614 PC_FILES += $(librpcsrcdir)/dcerpc.pc
615 dcerpc_VERSION = 0.0.1
616 dcerpc_SOVERSION = 0
618 dcerpc_OBJ_FILES = $(addprefix $(dcerpcsrcdir)/, dcerpc.o dcerpc_auth.o dcerpc_schannel.o dcerpc_util.o \
619 dcerpc_smb.o dcerpc_smb2.o dcerpc_sock.o dcerpc_connect.o dcerpc_secondary.o) \
620 ../librpc/rpc/binding.o ../librpc/rpc/dcerpc_error.o
622 $(eval $(call proto_header_template,$(dcerpcsrcdir)/dcerpc_proto.h,$(dcerpc_OBJ_FILES:.o=.c)))
625 PUBLIC_HEADERS += $(addprefix $(librpcsrcdir)/, rpc/dcerpc.h) \
626 $(addprefix ../librpc/gen_ndr/, mgmt.h ndr_mgmt.h ndr_mgmt_c.h \
627 epmapper.h ndr_epmapper.h ndr_epmapper_c.h)
630 [PYTHON::python_dcerpc]
631 LIBRARY_REALNAME = samba/dcerpc/base.$(SHLIBEXT)
632 PUBLIC_DEPENDENCIES = LIBCLI_SMB LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG dcerpc_samr RPC_NDR_LSA DYNCONFIG pycredentials pyparam_util
634 python_dcerpc_OBJ_FILES = $(dcerpcsrcdir)/pyrpc.o
636 $(eval $(call python_py_module_template,samba/dcerpc/__init__.py,$(dcerpcsrcdir)/dcerpc.py))
639 [PYTHON::python_echo]
640 LIBRARY_REALNAME = samba/dcerpc/echo.$(SHLIBEXT)
641 PRIVATE_DEPENDENCIES = RPC_NDR_ECHO PYTALLOC pyparam_util pycredentials python_dcerpc
643 python_echo_OBJ_FILES = ../librpc/gen_ndr/py_echo.o
645 [PYTHON::python_winreg]
646 LIBRARY_REALNAME = samba/dcerpc/winreg.$(SHLIBEXT)
647 PRIVATE_DEPENDENCIES = RPC_NDR_WINREG PYTALLOC pyparam_util pycredentials python_dcerpc
649 python_winreg_OBJ_FILES = ../librpc/gen_ndr/py_winreg.o
651 [PYTHON::python_dcerpc_misc]
652 LIBRARY_REALNAME = samba/dcerpc/misc.$(SHLIBEXT)
653 PRIVATE_DEPENDENCIES = PYTALLOC python_dcerpc NDR_MISC NDR_KRB5PAC
655 python_dcerpc_misc_OBJ_FILES = ../librpc/gen_ndr/py_misc.o
657 [PYTHON::python_initshutdown]
658 LIBRARY_REALNAME = samba/dcerpc/initshutdown.$(SHLIBEXT)
659 PRIVATE_DEPENDENCIES = RPC_NDR_INITSHUTDOWN PYTALLOC pyparam_util pycredentials python_dcerpc
661 python_initshutdown_OBJ_FILES = ../librpc/gen_ndr/py_initshutdown.o
663 [PYTHON::python_epmapper]
664 LIBRARY_REALNAME = samba/dcerpc/epmapper.$(SHLIBEXT)
665 PRIVATE_DEPENDENCIES = dcerpc PYTALLOC pyparam_util pycredentials python_dcerpc
667 python_epmapper_OBJ_FILES = ../librpc/gen_ndr/py_epmapper.o
669 [PYTHON::python_mgmt]
670 LIBRARY_REALNAME = samba/dcerpc/mgmt.$(SHLIBEXT)
671 PRIVATE_DEPENDENCIES = PYTALLOC param pycredentials dcerpc python_dcerpc
673 python_mgmt_OBJ_FILES = ../librpc/gen_ndr/py_mgmt.o
675 [PYTHON::python_atsvc]
676 LIBRARY_REALNAME = samba/dcerpc/atsvc.$(SHLIBEXT)
677 PRIVATE_DEPENDENCIES = dcerpc_atsvc PYTALLOC pyparam_util pycredentials python_dcerpc
679 python_atsvc_OBJ_FILES = ../librpc/gen_ndr/py_atsvc.o
681 [PYTHON::python_dcerpc_nbt]
682 LIBRARY_REALNAME = samba/dcerpc/nbt.$(SHLIBEXT)
683 PRIVATE_DEPENDENCIES = NDR_NBT PYTALLOC pyparam_util pycredentials python_dcerpc
685 python_dcerpc_nbt_OBJ_FILES = ../librpc/gen_ndr/py_nbt.o
687 [PYTHON::python_samr]
688 LIBRARY_REALNAME = samba/dcerpc/samr.$(SHLIBEXT)
689 PRIVATE_DEPENDENCIES = dcerpc_samr PYTALLOC pycredentials pyparam_util python_dcerpc
691 python_samr_OBJ_FILES = ../librpc/gen_ndr/py_samr.o
693 [PYTHON::python_svcctl]
694 LIBRARY_REALNAME = samba/dcerpc/svcctl.$(SHLIBEXT)
695 PRIVATE_DEPENDENCIES = RPC_NDR_SVCCTL PYTALLOC pyparam_util pycredentials python_dcerpc
697 python_svcctl_OBJ_FILES = ../librpc/gen_ndr/py_svcctl.o
699 [PYTHON::python_lsa]
700 LIBRARY_REALNAME = samba/dcerpc/lsa.$(SHLIBEXT)
701 PRIVATE_DEPENDENCIES = RPC_NDR_LSA PYTALLOC pyparam_util pycredentials python_dcerpc
703 python_lsa_OBJ_FILES = ../librpc/gen_ndr/py_lsa.o
705 [PYTHON::python_wkssvc]
706 LIBRARY_REALNAME = samba/dcerpc/wkssvc.$(SHLIBEXT)
707 PRIVATE_DEPENDENCIES = RPC_NDR_WKSSVC PYTALLOC pyparam_util pycredentials python_dcerpc
709 python_wkssvc_OBJ_FILES = ../librpc/gen_ndr/py_wkssvc.o
711 [PYTHON::python_dfs]
712 LIBRARY_REALNAME = samba/dcerpc/dfs.$(SHLIBEXT)
713 PRIVATE_DEPENDENCIES = RPC_NDR_DFS PYTALLOC pyparam_util pycredentials python_dcerpc
715 python_dfs_OBJ_FILES = ../librpc/gen_ndr/py_dfs.o
717 [PYTHON::python_unixinfo]
718 LIBRARY_REALNAME = samba/dcerpc/unixinfo.$(SHLIBEXT)
719 PRIVATE_DEPENDENCIES = RPC_NDR_UNIXINFO PYTALLOC pyparam_util pycredentials python_dcerpc
721 python_unixinfo_OBJ_FILES = ../librpc/gen_ndr/py_unixinfo.o
723 [PYTHON::python_irpc]
724 LIBRARY_REALNAME = samba/dcerpc/irpc.$(SHLIBEXT)
725 PRIVATE_DEPENDENCIES = RPC_NDR_IRPC PYTALLOC pyparam_util pycredentials python_dcerpc
727 python_irpc_OBJ_FILES = $(gen_ndrsrcdir)/py_irpc.o
729 [PYTHON::python_drsuapi]
730 LIBRARY_REALNAME = samba/dcerpc/drsuapi.$(SHLIBEXT)
731 PRIVATE_DEPENDENCIES = RPC_NDR_DRSUAPI PYTALLOC pyparam_util pycredentials python_dcerpc
733 python_drsuapi_OBJ_FILES = ../librpc/gen_ndr/py_drsuapi.o
735 [PYTHON::python_drsblobs]
736 LIBRARY_REALNAME = samba/dcerpc/drsblobs.$(SHLIBEXT)
737 PRIVATE_DEPENDENCIES = RPC_NDR_DRSBLOBS PYTALLOC pyparam_util pycredentials python_dcerpc
739 python_drsblobs_OBJ_FILES = ../librpc/gen_ndr/py_drsblobs.o
741 [PYTHON::python_dcerpc_security]
742 LIBRARY_REALNAME = samba/dcerpc/security.$(SHLIBEXT)
743 PRIVATE_DEPENDENCIES = PYTALLOC python_dcerpc_misc python_dcerpc NDR_SECURITY
745 python_dcerpc_security_OBJ_FILES = ../librpc/gen_ndr/py_security.o
747 [PYTHON::python_dcerpc_xattr]
748 LIBRARY_REALNAME = samba/dcerpc/xattr.$(SHLIBEXT)
749 PRIVATE_DEPENDENCIES = PYTALLOC python_dcerpc_misc python_dcerpc python_dcerpc_security NDR_XATTR RPC_NDR_XATTR
751 python_dcerpc_xattr_OBJ_FILES = ../librpc/gen_ndr/py_xattr.o
753 $(IDL_HEADER_FILES) $(IDL_NDR_PARSE_H_FILES) $(IDL_NDR_PARSE_C_FILES) \
754 $(IDL_NDR_CLIENT_C_FILES) $(IDL_NDR_CLIENT_H_FILES) \
755 $(IDL_NDR_SERVER_C_FILES) $(IDL_SWIG_FILES) \
756 $(IDL_NDR_PY_C_FILES) $(IDL_NDR_PY_H_FILES): idl
758 idl_full:: $(pidldir)/lib/Parse/Pidl/IDL.pm $(pidldir)/lib/Parse/Pidl/Expr.pm
759 @PIDL_OUTPUTDIR="../librpc/gen_ndr" PIDL_ARGS="$(PIDL_ARGS)" CPP="$(CPP)" srcdir="$(srcdir)" PIDL="$(PIDL)" ../librpc/build_idl.sh --full ../librpc/idl/*.idl
760 @CPP="$(CPP)" PIDL="$(PIDL)" $(librpcsrcdir)/scripts/build_idl.sh FULL $(librpcsrcdir)/gen_ndr $(librpcsrcdir)/idl/*.idl
762 idl:: $(pidldir)/lib/Parse/Pidl/IDL.pm $(pidldir)/lib/Parse/Pidl/Expr.pm
763 @PIDL_OUTPUTDIR="../librpc/gen_ndr" PIDL_ARGS="$(PIDL_ARGS)" CPP="$(CPP)" srcdir="$(srcdir)" PIDL="$(PIDL)" ../librpc/build_idl.sh ../librpc/idl/*.idl
764 @CPP="$(CPP)" PIDL="$(PIDL)" $(librpcsrcdir)/scripts/build_idl.sh PARTIAL $(librpcsrcdir)/gen_ndr $(librpcsrcdir)/idl/*.idl
766 clean::
767 @echo "Remove ../librpc/gen_ndr files which are not commited to git"
768 @cat ../.gitignore | grep "^librpc/gen_ndr" | xargs rm -f