s4-smbtorture: remove NotifyChangeKeyValue s3 skip in RPC-WINREG:
[Samba/nascimento.git] / source4 / librpc / config.mk
blobe45e96ccfe0c93f38d8e971a548b0437f5bb866f
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 = $(addprefix $(ndrsrcdir)/, 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 $(librpcsrcdir)/idl-deps:
305 $(PERL) $(librpcsrcdir)/idl-deps.pl $(wildcard $(librpcsrcdir)/idl/*.idl ../librpc/idl/*.idl) >$@
307 clean::
308 rm -f $(librpcsrcdir)/idl-deps
310 -include $(librpcsrcdir)/idl-deps
312 $(gen_ndrsrcdir)/tables.c: $(IDL_NDR_PARSE_H_FILES)
313 @echo Generating $@
314 @$(PERL) ../librpc/tables.pl --output=$@ $^ > $(gen_ndrsrcdir)/tables.x
315 @mv $(gen_ndrsrcdir)/tables.x $@
317 [LIBRARY::NDR_STANDARD]
318 PUBLIC_DEPENDENCIES = LIBNDR
319 PRIVATE_DEPENDENCIES = NDR_SECURITY
321 NDR_STANDARD_OBJ_FILES = ../librpc/gen_ndr/ndr_echo.o \
322 ../librpc/gen_ndr/ndr_lsa.o \
323 ../librpc/gen_ndr/ndr_samr.o \
324 ../librpc/gen_ndr/ndr_netlogon.o \
325 ../librpc/ndr/ndr_netlogon.o \
326 ../librpc/gen_ndr/ndr_dfs.o \
327 ../librpc/gen_ndr/ndr_atsvc.o \
328 ../librpc/gen_ndr/ndr_wkssvc.o \
329 ../librpc/gen_ndr/ndr_srvsvc.o \
330 ../librpc/gen_ndr/ndr_svcctl.o \
331 ../librpc/ndr/ndr_svcctl.o \
332 ../librpc/gen_ndr/ndr_winreg.o \
333 ../librpc/gen_ndr/ndr_initshutdown.o \
334 ../librpc/gen_ndr/ndr_eventlog.o \
335 ../librpc/gen_ndr/ndr_ntsvcs.o
337 PC_FILES += ../librpc/ndr_standard.pc
339 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)
341 NDR_STANDARD_VERSION = 0.0.1
342 NDR_STANDARD_SOVERSION = 0
344 [SUBSYSTEM::NDR_TABLE]
345 PUBLIC_DEPENDENCIES = \
346 NDR_STANDARD \
347 NDR_AUDIOSRV \
348 NDR_DSBACKUP NDR_EFS NDR_DRSUAPI \
349 NDR_POLICYAGENT NDR_UNIXINFO NDR_SPOOLSS \
350 NDR_EPMAPPER NDR_DBGIDL NDR_DSSETUP NDR_MSGSVC NDR_WINSIF \
351 NDR_MGMT NDR_PROTECTED_STORAGE NDR_OXIDRESOLVER \
352 NDR_REMACT NDR_WZCSVC NDR_BROWSER NDR_W32TIME NDR_SCERPC \
353 NDR_TRKWKS NDR_KEYSVC NDR_KRB5PAC NDR_XATTR NDR_SCHANNEL \
354 NDR_ROT NDR_DRSBLOBS NDR_NBT NDR_WINSREPL NDR_SECURITY \
355 NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_OPENDB \
356 NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND \
357 NDR_FRSRPC NDR_FRSAPI NDR_FRSTRANS \
358 NDR_NFS4ACL NDR_NTP_SIGND \
359 NDR_DCOM NDR_WMI NDR_NAMED_PIPE_AUTH \
360 NDR_NTLMSSP NDR_DFSBLOBS
362 NDR_TABLE_OBJ_FILES = ../librpc/ndr/ndr_table.o $(gen_ndrsrcdir)/tables.o
364 [SUBSYSTEM::RPC_NDR_XATTR]
365 PUBLIC_DEPENDENCIES = NDR_XATTR dcerpc
367 RPC_NDR_XATTR_OBJ_FILES = ../librpc/gen_ndr/ndr_xattr_c.o
369 [SUBSYSTEM::RPC_NDR_ROT]
370 PUBLIC_DEPENDENCIES = NDR_ROT dcerpc
372 RPC_NDR_ROT_OBJ_FILES = ../librpc/gen_ndr/ndr_rot_c.o
374 [SUBSYSTEM::RPC_NDR_AUDIOSRV]
375 PUBLIC_DEPENDENCIES = NDR_AUDIOSRV dcerpc
377 RPC_NDR_AUDIOSRV_OBJ_FILES = ../librpc/gen_ndr/ndr_audiosrv_c.o
379 [SUBSYSTEM::RPC_NDR_ECHO]
380 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
382 RPC_NDR_ECHO_OBJ_FILES = ../librpc/gen_ndr/ndr_echo_c.o
384 [SUBSYSTEM::RPC_NDR_DSBACKUP]
385 PUBLIC_DEPENDENCIES = dcerpc NDR_DSBACKUP
387 RPC_NDR_DSBACKUP_OBJ_FILES = ../librpc/gen_ndr/ndr_dsbackup_c.o
389 [SUBSYSTEM::RPC_NDR_EFS]
390 PUBLIC_DEPENDENCIES = dcerpc NDR_EFS
392 RPC_NDR_EFS_OBJ_FILES = ../librpc/gen_ndr/ndr_efs_c.o
394 [SUBSYSTEM::RPC_NDR_LSA]
395 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
397 RPC_NDR_LSA_OBJ_FILES = ../librpc/gen_ndr/ndr_lsa_c.o
399 [SUBSYSTEM::RPC_NDR_DFS]
400 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
402 RPC_NDR_DFS_OBJ_FILES = ../librpc/gen_ndr/ndr_dfs_c.o
404 [SUBSYSTEM::RPC_NDR_FRSAPI]
405 PUBLIC_DEPENDENCIES = dcerpc NDR_FRSAPI
407 RPC_NDR_FRSAPI_OBJ_FILES = ../librpc/gen_ndr/ndr_frsapi_c.o
409 [SUBSYSTEM::RPC_NDR_DRSUAPI]
410 PUBLIC_DEPENDENCIES = dcerpc NDR_DRSUAPI
412 RPC_NDR_DRSUAPI_OBJ_FILES = ../librpc/gen_ndr/ndr_drsuapi_c.o
414 [SUBSYSTEM::RPC_NDR_POLICYAGENT]
415 PUBLIC_DEPENDENCIES = dcerpc NDR_POLICYAGENT
417 RPC_NDR_POLICYAGENT_OBJ_FILES = ../librpc/gen_ndr/ndr_policyagent_c.o
419 [SUBSYSTEM::RPC_NDR_UNIXINFO]
420 PUBLIC_DEPENDENCIES = dcerpc NDR_UNIXINFO
422 RPC_NDR_UNIXINFO_OBJ_FILES = ../librpc/gen_ndr/ndr_unixinfo_c.o
424 [SUBSYSTEM::RPC_NDR_BROWSER]
425 PUBLIC_DEPENDENCIES = dcerpc NDR_BROWSER
427 RPC_NDR_BROWSER_OBJ_FILES = ../librpc/gen_ndr/ndr_browser_c.o
429 [SUBSYSTEM::RPC_NDR_IRPC]
430 PUBLIC_DEPENDENCIES = dcerpc NDR_IRPC
432 RPC_NDR_IRPC_OBJ_FILES = $(gen_ndrsrcdir)/ndr_irpc_c.o
434 [LIBRARY::dcerpc_samr]
435 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
437 PC_FILES += $(librpcsrcdir)/dcerpc_samr.pc
439 dcerpc_samr_VERSION = 0.0.1
440 dcerpc_samr_SOVERSION = 0
441 dcerpc_samr_OBJ_FILES = ../librpc/gen_ndr/ndr_samr_c.o
443 PUBLIC_HEADERS += ../librpc/gen_ndr/ndr_samr_c.h
445 [SUBSYSTEM::RPC_NDR_SPOOLSS]
446 PUBLIC_DEPENDENCIES = dcerpc NDR_SPOOLSS
448 RPC_NDR_SPOOLSS_OBJ_FILES = ../librpc/gen_ndr/ndr_spoolss_c.o
450 [SUBSYSTEM::RPC_NDR_WKSSVC]
451 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
453 RPC_NDR_WKSSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_wkssvc_c.o
455 [SUBSYSTEM::RPC_NDR_SRVSVC]
456 PUBLIC_DEPENDENCIES = dcerpc NDR_SRVSVC
458 RPC_NDR_SRVSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_srvsvc_c.o
460 [SUBSYSTEM::RPC_NDR_SVCCTL]
461 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
463 RPC_NDR_SVCCTL_OBJ_FILES = ../librpc/gen_ndr/ndr_svcctl_c.o
465 PUBLIC_HEADERS += ../librpc/gen_ndr/ndr_svcctl_c.h
467 [LIBRARY::dcerpc_atsvc]
468 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
470 dcerpc_atsvc_VERSION = 0.0.1
471 dcerpc_atsvc_SOVERSION = 0
473 dcerpc_atsvc_OBJ_FILES = ../librpc/gen_ndr/ndr_atsvc_c.o
474 PC_FILES += $(librpcsrcdir)/dcerpc_atsvc.pc
476 PUBLIC_HEADERS += ../librpc/gen_ndr/ndr_atsvc_c.h
478 [SUBSYSTEM::RPC_NDR_EVENTLOG]
479 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
481 RPC_NDR_EVENTLOG_OBJ_FILES = ../librpc/gen_ndr/ndr_eventlog_c.o
483 [SUBSYSTEM::RPC_NDR_EPMAPPER]
484 PUBLIC_DEPENDENCIES = LIBTEVENT NDR_EPMAPPER
486 RPC_NDR_EPMAPPER_OBJ_FILES = ../librpc/gen_ndr/ndr_epmapper_c.o
488 [SUBSYSTEM::RPC_NDR_DBGIDL]
489 PUBLIC_DEPENDENCIES = dcerpc NDR_DBGIDL
491 RPC_NDR_DBGIDL_OBJ_FILES = ../librpc/gen_ndr/ndr_dbgidl_c.o
493 [SUBSYSTEM::RPC_NDR_DSSETUP]
494 PUBLIC_DEPENDENCIES = dcerpc NDR_DSSETUP
496 RPC_NDR_DSSETUP_OBJ_FILES = ../librpc/gen_ndr/ndr_dssetup_c.o
498 [SUBSYSTEM::RPC_NDR_MSGSVC]
499 PUBLIC_DEPENDENCIES = dcerpc NDR_MSGSVC
501 RPC_NDR_MSGSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_msgsvc_c.o
503 [SUBSYSTEM::RPC_NDR_WINSIF]
504 PUBLIC_DEPENDENCIES = dcerpc NDR_WINSIF
506 RPC_NDR_WINSIF_OBJ_FILES = $(gen_ndrsrcdir)/ndr_winsif_c.o
508 [SUBSYSTEM::RPC_NDR_WINREG]
509 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
511 RPC_NDR_WINREG_OBJ_FILES = ../librpc/gen_ndr/ndr_winreg_c.o
513 [SUBSYSTEM::RPC_NDR_INITSHUTDOWN]
514 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
516 RPC_NDR_INITSHUTDOWN_OBJ_FILES = ../librpc/gen_ndr/ndr_initshutdown_c.o
518 [SUBSYSTEM::RPC_NDR_MGMT]
519 PRIVATE_DEPENDENCIES = LIBTEVENT NDR_MGMT
521 RPC_NDR_MGMT_OBJ_FILES = ../librpc/gen_ndr/ndr_mgmt_c.o
523 [SUBSYSTEM::RPC_NDR_PROTECTED_STORAGE]
524 PUBLIC_DEPENDENCIES = dcerpc NDR_PROTECTED_STORAGE
526 RPC_NDR_PROTECTED_STORAGE_OBJ_FILES = ../librpc/gen_ndr/ndr_protected_storage_c.o
528 [SUBSYSTEM::RPC_NDR_OXIDRESOLVER]
529 PUBLIC_DEPENDENCIES = dcerpc NDR_OXIDRESOLVER
531 RPC_NDR_OXIDRESOLVER_OBJ_FILES = ../librpc/gen_ndr/ndr_oxidresolver_c.o
533 [SUBSYSTEM::RPC_NDR_REMACT]
534 PUBLIC_DEPENDENCIES = dcerpc NDR_REMACT
536 RPC_NDR_REMACT_OBJ_FILES = ../librpc/gen_ndr/ndr_remact_c.o
538 [SUBSYSTEM::RPC_NDR_WZCSVC]
539 PUBLIC_DEPENDENCIES = dcerpc NDR_WZCSVC
541 RPC_NDR_WZCSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_wzcsvc_c.o
543 [SUBSYSTEM::RPC_NDR_W32TIME]
544 PUBLIC_DEPENDENCIES = dcerpc NDR_W32TIME
546 RPC_NDR_W32TIME_OBJ_FILES = ../librpc/gen_ndr/ndr_w32time_c.o
548 [SUBSYSTEM::RPC_NDR_SCERPC]
549 PUBLIC_DEPENDENCIES = dcerpc NDR_SCERPC
551 RPC_NDR_SCERPC_OBJ_FILES = ../librpc/gen_ndr/ndr_scerpc_c.o
553 [SUBSYSTEM::RPC_NDR_NTSVCS]
554 PUBLIC_DEPENDENCIES = dcerpc NDR_STANDARD
556 RPC_NDR_NTSVCS_OBJ_FILES = ../librpc/gen_ndr/ndr_ntsvcs_c.o
558 [SUBSYSTEM::RPC_NDR_NETLOGON]
559 PUBLIC_DEPENDENCIES = LIBTEVENT NDR_STANDARD
561 RPC_NDR_NETLOGON_OBJ_FILES = ../librpc/gen_ndr/ndr_netlogon_c.o
563 [SUBSYSTEM::RPC_NDR_TRKWKS]
564 PUBLIC_DEPENDENCIES = dcerpc NDR_TRKWKS
566 RPC_NDR_TRKWKS_OBJ_FILES = ../librpc/gen_ndr/ndr_trkwks_c.o
568 [SUBSYSTEM::RPC_NDR_KEYSVC]
569 PUBLIC_DEPENDENCIES = dcerpc NDR_KEYSVC
571 RPC_NDR_KEYSVC_OBJ_FILES = ../librpc/gen_ndr/ndr_keysvc_c.o
573 [SUBSYSTEM::NDR_DCERPC]
574 PUBLIC_DEPENDENCIES = LIBNDR
576 NDR_DCERPC_OBJ_FILES = ../librpc/gen_ndr/ndr_dcerpc.o
578 PUBLIC_HEADERS += ../librpc/gen_ndr/dcerpc.h ../librpc/gen_ndr/ndr_dcerpc.h
580 ################################################
581 # Start SUBSYSTEM dcerpc
582 [LIBRARY::dcerpc]
583 PRIVATE_DEPENDENCIES = \
584 samba_socket LIBCLI_RESOLVE LIBCLI_SMB LIBCLI_SMB2 \
585 LIBNDR NDR_DCERPC RPC_NDR_EPMAPPER \
586 NDR_SCHANNEL RPC_NDR_NETLOGON \
587 RPC_NDR_MGMT \
588 gensec LIBCLI_AUTH LIBCLI_RAW \
589 LP_RESOLVE UTIL_TEVENT
590 PUBLIC_DEPENDENCIES = CREDENTIALS LIBTEVENT LIBTALLOC
591 # End SUBSYSTEM dcerpc
592 ################################################
594 PC_FILES += $(librpcsrcdir)/dcerpc.pc
595 dcerpc_VERSION = 0.0.1
596 dcerpc_SOVERSION = 0
598 dcerpc_OBJ_FILES = $(addprefix $(dcerpcsrcdir)/, dcerpc.o dcerpc_auth.o dcerpc_schannel.o dcerpc_util.o \
599 dcerpc_smb.o dcerpc_smb2.o dcerpc_sock.o dcerpc_connect.o dcerpc_secondary.o) \
600 ../librpc/rpc/binding.o ../librpc/rpc/dcerpc_error.o
602 $(eval $(call proto_header_template,$(dcerpcsrcdir)/dcerpc_proto.h,$(dcerpc_OBJ_FILES:.o=.c)))
605 PUBLIC_HEADERS += $(addprefix $(librpcsrcdir)/, rpc/dcerpc.h) \
606 $(addprefix ../librpc/gen_ndr/, mgmt.h ndr_mgmt.h ndr_mgmt_c.h \
607 epmapper.h ndr_epmapper.h ndr_epmapper_c.h)
610 [PYTHON::python_dcerpc]
611 LIBRARY_REALNAME = samba/dcerpc/base.$(SHLIBEXT)
612 PUBLIC_DEPENDENCIES = LIBCLI_SMB LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG dcerpc_samr RPC_NDR_LSA DYNCONFIG pycredentials pyparam_util
614 python_dcerpc_OBJ_FILES = $(dcerpcsrcdir)/pyrpc.o
616 $(eval $(call python_py_module_template,samba/dcerpc/__init__.py,$(dcerpcsrcdir)/dcerpc.py))
619 [PYTHON::python_echo]
620 LIBRARY_REALNAME = samba/dcerpc/echo.$(SHLIBEXT)
621 PRIVATE_DEPENDENCIES = RPC_NDR_ECHO PYTALLOC pyparam_util pycredentials python_dcerpc
623 python_echo_OBJ_FILES = ../librpc/gen_ndr/py_echo.o
625 [PYTHON::python_winreg]
626 LIBRARY_REALNAME = samba/dcerpc/winreg.$(SHLIBEXT)
627 PRIVATE_DEPENDENCIES = RPC_NDR_WINREG PYTALLOC pyparam_util pycredentials python_dcerpc
629 python_winreg_OBJ_FILES = ../librpc/gen_ndr/py_winreg.o
631 [PYTHON::python_dcerpc_misc]
632 LIBRARY_REALNAME = samba/dcerpc/misc.$(SHLIBEXT)
633 PRIVATE_DEPENDENCIES = PYTALLOC python_dcerpc NDR_MISC NDR_KRB5PAC
635 python_dcerpc_misc_OBJ_FILES = ../librpc/gen_ndr/py_misc.o
637 [PYTHON::python_initshutdown]
638 LIBRARY_REALNAME = samba/dcerpc/initshutdown.$(SHLIBEXT)
639 PRIVATE_DEPENDENCIES = RPC_NDR_INITSHUTDOWN PYTALLOC pyparam_util pycredentials python_dcerpc
641 python_initshutdown_OBJ_FILES = ../librpc/gen_ndr/py_initshutdown.o
643 [PYTHON::python_epmapper]
644 LIBRARY_REALNAME = samba/dcerpc/epmapper.$(SHLIBEXT)
645 PRIVATE_DEPENDENCIES = dcerpc PYTALLOC pyparam_util pycredentials python_dcerpc
647 python_epmapper_OBJ_FILES = ../librpc/gen_ndr/py_epmapper.o
649 [PYTHON::python_mgmt]
650 LIBRARY_REALNAME = samba/dcerpc/mgmt.$(SHLIBEXT)
651 PRIVATE_DEPENDENCIES = PYTALLOC param pycredentials dcerpc python_dcerpc
653 python_mgmt_OBJ_FILES = ../librpc/gen_ndr/py_mgmt.o
655 [PYTHON::python_atsvc]
656 LIBRARY_REALNAME = samba/dcerpc/atsvc.$(SHLIBEXT)
657 PRIVATE_DEPENDENCIES = dcerpc_atsvc PYTALLOC pyparam_util pycredentials python_dcerpc
659 python_atsvc_OBJ_FILES = ../librpc/gen_ndr/py_atsvc.o
661 [PYTHON::python_dcerpc_nbt]
662 LIBRARY_REALNAME = samba/dcerpc/nbt.$(SHLIBEXT)
663 PRIVATE_DEPENDENCIES = NDR_NBT PYTALLOC pyparam_util pycredentials python_dcerpc
665 python_dcerpc_nbt_OBJ_FILES = ../librpc/gen_ndr/py_nbt.o
667 [PYTHON::python_samr]
668 LIBRARY_REALNAME = samba/dcerpc/samr.$(SHLIBEXT)
669 PRIVATE_DEPENDENCIES = dcerpc_samr PYTALLOC pycredentials pyparam_util python_dcerpc
671 python_samr_OBJ_FILES = ../librpc/gen_ndr/py_samr.o
673 [PYTHON::python_svcctl]
674 LIBRARY_REALNAME = samba/dcerpc/svcctl.$(SHLIBEXT)
675 PRIVATE_DEPENDENCIES = RPC_NDR_SVCCTL PYTALLOC pyparam_util pycredentials python_dcerpc
677 python_svcctl_OBJ_FILES = ../librpc/gen_ndr/py_svcctl.o
679 [PYTHON::python_lsa]
680 LIBRARY_REALNAME = samba/dcerpc/lsa.$(SHLIBEXT)
681 PRIVATE_DEPENDENCIES = RPC_NDR_LSA PYTALLOC pyparam_util pycredentials python_dcerpc
683 python_lsa_OBJ_FILES = ../librpc/gen_ndr/py_lsa.o
685 [PYTHON::python_wkssvc]
686 LIBRARY_REALNAME = samba/dcerpc/wkssvc.$(SHLIBEXT)
687 PRIVATE_DEPENDENCIES = RPC_NDR_WKSSVC PYTALLOC pyparam_util pycredentials python_dcerpc
689 python_wkssvc_OBJ_FILES = ../librpc/gen_ndr/py_wkssvc.o
691 [PYTHON::python_dfs]
692 LIBRARY_REALNAME = samba/dcerpc/dfs.$(SHLIBEXT)
693 PRIVATE_DEPENDENCIES = RPC_NDR_DFS PYTALLOC pyparam_util pycredentials python_dcerpc
695 python_dfs_OBJ_FILES = ../librpc/gen_ndr/py_dfs.o
697 [PYTHON::python_unixinfo]
698 LIBRARY_REALNAME = samba/dcerpc/unixinfo.$(SHLIBEXT)
699 PRIVATE_DEPENDENCIES = RPC_NDR_UNIXINFO PYTALLOC pyparam_util pycredentials python_dcerpc
701 python_unixinfo_OBJ_FILES = ../librpc/gen_ndr/py_unixinfo.o
703 [PYTHON::python_irpc]
704 LIBRARY_REALNAME = samba/dcerpc/irpc.$(SHLIBEXT)
705 PRIVATE_DEPENDENCIES = RPC_NDR_IRPC PYTALLOC pyparam_util pycredentials python_dcerpc
707 python_irpc_OBJ_FILES = $(gen_ndrsrcdir)/py_irpc.o
709 [PYTHON::python_drsuapi]
710 LIBRARY_REALNAME = samba/dcerpc/drsuapi.$(SHLIBEXT)
711 PRIVATE_DEPENDENCIES = RPC_NDR_DRSUAPI PYTALLOC pyparam_util pycredentials python_dcerpc
713 python_drsuapi_OBJ_FILES = ../librpc/gen_ndr/py_drsuapi.o
715 [PYTHON::python_dcerpc_security]
716 LIBRARY_REALNAME = samba/dcerpc/security.$(SHLIBEXT)
717 PRIVATE_DEPENDENCIES = PYTALLOC python_dcerpc_misc python_dcerpc NDR_SECURITY
719 python_dcerpc_security_OBJ_FILES = ../librpc/gen_ndr/py_security.o
721 [PYTHON::python_dcerpc_xattr]
722 LIBRARY_REALNAME = samba/dcerpc/xattr.$(SHLIBEXT)
723 PRIVATE_DEPENDENCIES = PYTALLOC python_dcerpc_misc python_dcerpc python_dcerpc_security NDR_XATTR RPC_NDR_XATTR
725 python_dcerpc_xattr_OBJ_FILES = ../librpc/gen_ndr/py_xattr.o
727 $(IDL_HEADER_FILES) $(IDL_NDR_PARSE_H_FILES) $(IDL_NDR_PARSE_C_FILES) \
728 $(IDL_NDR_CLIENT_C_FILES) $(IDL_NDR_CLIENT_H_FILES) \
729 $(IDL_NDR_SERVER_C_FILES) $(IDL_SWIG_FILES) \
730 $(IDL_NDR_PY_C_FILES) $(IDL_NDR_PY_H_FILES): idl
732 idl_full:: $(pidldir)/lib/Parse/Pidl/IDL.pm $(pidldir)/lib/Parse/Pidl/Expr.pm
733 @PIDL_OUTPUTDIR="../librpc/gen_ndr" PIDL_ARGS="$(PIDL_ARGS)" CPP="$(CPP)" srcdir="$(srcdir)" PIDL="$(PIDL)" ../librpc/build_idl.sh --full ../librpc/idl/*.idl
734 @CPP="$(CPP)" PIDL="$(PIDL)" $(librpcsrcdir)/scripts/build_idl.sh FULL $(librpcsrcdir)/gen_ndr $(librpcsrcdir)/idl/*.idl
736 idl:: $(pidldir)/lib/Parse/Pidl/IDL.pm $(pidldir)/lib/Parse/Pidl/Expr.pm
737 @PIDL_OUTPUTDIR="../librpc/gen_ndr" PIDL_ARGS="$(PIDL_ARGS)" CPP="$(CPP)" srcdir="$(srcdir)" PIDL="$(PIDL)" ../librpc/build_idl.sh ../librpc/idl/*.idl
738 @CPP="$(CPP)" PIDL="$(PIDL)" $(librpcsrcdir)/scripts/build_idl.sh PARTIAL $(librpcsrcdir)/gen_ndr $(librpcsrcdir)/idl/*.idl
740 clean::
741 @echo "Remove ../librpc/gen_ndr files which are not commited to git"
742 @cat ../.gitignore | grep "^librpc/gen_ndr" | xargs rm -f