1 ndrsrcdir
= $(librpcsrcdir
)/ndr
2 gen_ndrsrcdir
= $(librpcsrcdir
)/gen_ndr
3 dcerpcsrcdir
= $(librpcsrcdir
)/rpc
5 ################################################
6 # Start SUBSYSTEM LIBNDR
8 PUBLIC_DEPENDENCIES
= LIBSAMBA-ERRORS LIBTALLOC LIBSAMBA-UTIL CHARSET \
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
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
27 PRIVATE_DEPENDENCIES
= \
34 # FIXME: ndrdump shouldn't have to depend on RPC...
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
83 PUBLIC_DEPENDENCIES
= LIBNDR NDR_SECURITY NDR_NBT
85 NDR_IRPC_OBJ_FILES
= $(gen_ndrsrcdir
)/ndr_irpc.o
88 PUBLIC_DEPENDENCIES
= LIBNDR NDR_SECURITY NDR_ORPC
90 NDR_DCOM_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_dcom.o
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
103 PUBLIC_DEPENDENCIES
= LIBNDR NDR_SECURITY
105 NDR_EFS_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_efs.o
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_SASL_HELPERS
]
138 PUBLIC_DEPENDENCIES
= LIBNDR
140 NDR_SASL_HELPERS_OBJ_FILES
= $(gen_ndrsrcdir
)/ndr_sasl_helpers.o
142 [SUBSYSTEM
::NDR_POLICYAGENT
]
143 PUBLIC_DEPENDENCIES
= LIBNDR
145 NDR_POLICYAGENT_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_policyagent.o
147 [SUBSYSTEM
::NDR_UNIXINFO
]
148 PUBLIC_DEPENDENCIES
= LIBNDR NDR_SECURITY
150 NDR_UNIXINFO_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_unixinfo.o
152 [SUBSYSTEM
::NDR_NFS4ACL
]
153 PUBLIC_DEPENDENCIES
= LIBNDR NDR_SECURITY
155 NDR_NFS4ACL_OBJ_FILES
= $(gen_ndrsrcdir
)/ndr_nfs4acl.o
157 [SUBSYSTEM
::NDR_SPOOLSS
]
158 PUBLIC_DEPENDENCIES
= LIBNDR NDR_SPOOLSS_BUF NDR_SECURITY
160 NDR_SPOOLSS_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_spoolss.o
162 [SUBSYSTEM
::NDR_SPOOLSS_BUF
]
164 NDR_SPOOLSS_BUF_OBJ_FILES
= ..
/librpc
/ndr
/ndr_spoolss_buf.o
166 [SUBSYSTEM
::NDR_EPMAPPER
]
167 PUBLIC_DEPENDENCIES
= LIBNDR
169 NDR_EPMAPPER_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_epmapper.o
171 [SUBSYSTEM
::NDR_DBGIDL
]
172 PUBLIC_DEPENDENCIES
= LIBNDR
174 NDR_DBGIDL_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_dbgidl.o
176 [SUBSYSTEM
::NDR_DSSETUP
]
177 PUBLIC_DEPENDENCIES
= LIBNDR
179 NDR_DSSETUP_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_dssetup.o
181 [SUBSYSTEM
::NDR_MSGSVC
]
182 PUBLIC_DEPENDENCIES
= LIBNDR
184 NDR_MSGSVC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_msgsvc.o
186 [SUBSYSTEM
::NDR_WINSIF
]
187 PUBLIC_DEPENDENCIES
= LIBNDR
189 NDR_WINSIF_OBJ_FILES
= $(gen_ndrsrcdir
)/ndr_winsif.o
191 [SUBSYSTEM
::NDR_MGMT
]
192 PUBLIC_DEPENDENCIES
= LIBNDR
194 NDR_MGMT_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_mgmt.o
196 [SUBSYSTEM
::NDR_PROTECTED_STORAGE
]
197 PUBLIC_DEPENDENCIES
= LIBNDR
199 NDR_PROTECTED_STORAGE_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_protected_storage.o
201 [SUBSYSTEM
::NDR_ORPC
]
202 PUBLIC_DEPENDENCIES
= LIBNDR
204 NDR_ORPC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_orpc.o ..
/librpc
/ndr
/ndr_orpc.o
206 [SUBSYSTEM
::NDR_OXIDRESOLVER
]
207 PUBLIC_DEPENDENCIES
= LIBNDR NDR_ORPC
209 NDR_OXIDRESOLVER_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_oxidresolver.o
211 [SUBSYSTEM
::NDR_REMACT
]
212 PUBLIC_DEPENDENCIES
= LIBNDR NDR_ORPC
214 NDR_REMACT_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_remact.o
216 [SUBSYSTEM
::NDR_WZCSVC
]
217 PUBLIC_DEPENDENCIES
= LIBNDR
219 NDR_WZCSVC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_wzcsvc.o
221 [SUBSYSTEM
::NDR_BROWSER
]
222 PUBLIC_DEPENDENCIES
= LIBNDR
224 NDR_BROWSER_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_browser.o
226 [SUBSYSTEM
::NDR_W32TIME
]
227 PUBLIC_DEPENDENCIES
= LIBNDR
229 NDR_W32TIME_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_w32time.o
231 [SUBSYSTEM
::NDR_SCERPC
]
232 PUBLIC_DEPENDENCIES
= LIBNDR
234 NDR_SCERPC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_scerpc.o
236 [SUBSYSTEM
::NDR_TRKWKS
]
237 PUBLIC_DEPENDENCIES
= LIBNDR
239 NDR_TRKWKS_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_trkwks.o
241 [SUBSYSTEM
::NDR_KEYSVC
]
242 PUBLIC_DEPENDENCIES
= LIBNDR
244 NDR_KEYSVC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_keysvc.o
246 [SUBSYSTEM
::NDR_KRB5PAC
]
247 PUBLIC_DEPENDENCIES
= LIBNDR NDR_STANDARD NDR_SECURITY
249 NDR_KRB5PAC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_krb5pac.o ..
/librpc
/ndr
/ndr_krb5pac.o
251 [SUBSYSTEM
::NDR_XATTR
]
252 PUBLIC_DEPENDENCIES
= LIBNDR NDR_SECURITY
254 NDR_XATTR_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_xattr.o
256 [SUBSYSTEM
::NDR_OPENDB
]
257 PUBLIC_DEPENDENCIES
= LIBNDR
259 NDR_OPENDB_OBJ_FILES
= $(gen_ndrsrcdir
)/ndr_opendb.o
261 [SUBSYSTEM
::NDR_NOTIFY
]
262 PUBLIC_DEPENDENCIES
= LIBNDR
264 NDR_NOTIFY_OBJ_FILES
= $(gen_ndrsrcdir
)/ndr_notify.o
266 [SUBSYSTEM
::NDR_SCHANNEL
]
267 PUBLIC_DEPENDENCIES
= LIBNDR NDR_NBT
269 NDR_SCHANNEL_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_schannel.o ..
/librpc
/ndr
/ndr_schannel.o
272 PUBLIC_DEPENDENCIES
= LIBNDR NDR_NBT_BUF NDR_SECURITY NDR_STANDARD LIBCLI_NDR_NETLOGON
274 NDR_NBT_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_nbt.o
276 PUBLIC_HEADERS
+= ..
/librpc
/gen_ndr
/nbt.h
278 [SUBSYSTEM
::NDR_NTP_SIGND
]
279 PUBLIC_DEPENDENCIES
= LIBNDR
281 NDR_NTP_SIGND_OBJ_FILES
= $(gen_ndrsrcdir
)/ndr_ntp_signd.o
283 [SUBSYSTEM
::NDR_WINSREPL
]
284 PUBLIC_DEPENDENCIES
= LIBNDR NDR_NBT
286 NDR_WINSREPL_OBJ_FILES
= $(gen_ndrsrcdir
)/ndr_winsrepl.o
288 [SUBSYSTEM
::NDR_WINBIND
]
289 PUBLIC_DEPENDENCIES
= LIBNDR NDR_STANDARD
291 NDR_WINBIND_OBJ_FILES
= $(gen_ndrsrcdir
)/ndr_winbind.o
292 #PUBLIC_HEADERS += $(gen_ndrsrcdir)/winbind.h
294 [SUBSYSTEM
::NDR_NTLMSSP
]
295 PUBLIC_DEPENDENCIES
= LIBNDR NDR_STANDARD
297 NDR_NTLMSSP_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_ntlmssp.o ..
/librpc
/ndr
/ndr_ntlmssp.o
299 $(librpcsrcdir
)/idl-deps
:
300 $(PERL
) $(librpcsrcdir
)/idl-deps.pl
$(wildcard $(librpcsrcdir
)/idl
/*.idl ..
/librpc
/idl
/*.idl
) >$@
303 rm -f
$(librpcsrcdir
)/idl-deps
305 -include $(librpcsrcdir
)/idl-deps
307 $(gen_ndrsrcdir
)/tables.c
: $(IDL_NDR_PARSE_H_FILES
)
309 @
$(PERL
) ..
/librpc
/tables.pl
--output
=$@
$^
> $(gen_ndrsrcdir
)/tables.x
310 @mv
$(gen_ndrsrcdir
)/tables.x
$@
312 [LIBRARY
::NDR_STANDARD
]
313 PUBLIC_DEPENDENCIES
= LIBNDR
314 PRIVATE_DEPENDENCIES
= NDR_SECURITY
316 NDR_STANDARD_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_echo.o \
317 ..
/librpc
/gen_ndr
/ndr_lsa.o \
318 ..
/librpc
/gen_ndr
/ndr_samr.o \
319 ..
/librpc
/gen_ndr
/ndr_netlogon.o \
320 ..
/librpc
/ndr
/ndr_netlogon.o \
321 ..
/librpc
/gen_ndr
/ndr_dfs.o \
322 ..
/librpc
/gen_ndr
/ndr_atsvc.o \
323 ..
/librpc
/gen_ndr
/ndr_wkssvc.o \
324 ..
/librpc
/gen_ndr
/ndr_srvsvc.o \
325 ..
/librpc
/gen_ndr
/ndr_svcctl.o \
326 ..
/librpc
/ndr
/ndr_svcctl.o \
327 ..
/librpc
/gen_ndr
/ndr_winreg.o \
328 ..
/librpc
/gen_ndr
/ndr_initshutdown.o \
329 ..
/librpc
/gen_ndr
/ndr_eventlog.o \
330 ..
/librpc
/gen_ndr
/ndr_ntsvcs.o
332 PC_FILES
+= ..
/librpc
/ndr_standard.
pc
334 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
)
336 NDR_STANDARD_VERSION
= 0.0.1
337 NDR_STANDARD_SOVERSION
= 0
339 [SUBSYSTEM
::NDR_TABLE
]
340 PUBLIC_DEPENDENCIES
= \
343 NDR_DSBACKUP NDR_EFS NDR_DRSUAPI \
344 NDR_POLICYAGENT NDR_UNIXINFO NDR_SPOOLSS \
345 NDR_EPMAPPER NDR_DBGIDL NDR_DSSETUP NDR_MSGSVC NDR_WINSIF \
346 NDR_MGMT NDR_PROTECTED_STORAGE NDR_OXIDRESOLVER \
347 NDR_REMACT NDR_WZCSVC NDR_BROWSER NDR_W32TIME NDR_SCERPC \
348 NDR_TRKWKS NDR_KEYSVC NDR_KRB5PAC NDR_XATTR NDR_SCHANNEL \
349 NDR_ROT NDR_DRSBLOBS NDR_NBT NDR_WINSREPL NDR_SECURITY \
350 NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_OPENDB \
351 NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND \
352 NDR_FRSRPC NDR_FRSAPI NDR_FRSTRANS \
353 NDR_NFS4ACL NDR_NTP_SIGND \
354 NDR_DCOM NDR_WMI NDR_NAMED_PIPE_AUTH \
357 NDR_TABLE_OBJ_FILES
= ..
/librpc
/ndr
/ndr_table.o
$(gen_ndrsrcdir
)/tables.o
359 [SUBSYSTEM
::RPC_NDR_ROT
]
360 PUBLIC_DEPENDENCIES
= NDR_ROT dcerpc
362 RPC_NDR_ROT_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_rot_c.o
364 [SUBSYSTEM
::RPC_NDR_AUDIOSRV
]
365 PUBLIC_DEPENDENCIES
= NDR_AUDIOSRV dcerpc
367 RPC_NDR_AUDIOSRV_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_audiosrv_c.o
369 [SUBSYSTEM
::RPC_NDR_ECHO
]
370 PUBLIC_DEPENDENCIES
= dcerpc NDR_STANDARD
372 RPC_NDR_ECHO_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_echo_c.o
374 [SUBSYSTEM
::RPC_NDR_DSBACKUP
]
375 PUBLIC_DEPENDENCIES
= dcerpc NDR_DSBACKUP
377 RPC_NDR_DSBACKUP_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_dsbackup_c.o
379 [SUBSYSTEM
::RPC_NDR_EFS
]
380 PUBLIC_DEPENDENCIES
= dcerpc NDR_EFS
382 RPC_NDR_EFS_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_efs_c.o
384 [SUBSYSTEM
::RPC_NDR_LSA
]
385 PUBLIC_DEPENDENCIES
= dcerpc NDR_STANDARD
387 RPC_NDR_LSA_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_lsa_c.o
389 [SUBSYSTEM
::RPC_NDR_DFS
]
390 PUBLIC_DEPENDENCIES
= dcerpc NDR_STANDARD
392 RPC_NDR_DFS_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_dfs_c.o
394 [SUBSYSTEM
::RPC_NDR_FRSAPI
]
395 PUBLIC_DEPENDENCIES
= dcerpc NDR_FRSAPI
397 RPC_NDR_FRSAPI_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_frsapi_c.o
399 [SUBSYSTEM
::RPC_NDR_DRSUAPI
]
400 PUBLIC_DEPENDENCIES
= dcerpc NDR_DRSUAPI
402 RPC_NDR_DRSUAPI_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_drsuapi_c.o
404 [SUBSYSTEM
::RPC_NDR_POLICYAGENT
]
405 PUBLIC_DEPENDENCIES
= dcerpc NDR_POLICYAGENT
407 RPC_NDR_POLICYAGENT_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_policyagent_c.o
409 [SUBSYSTEM
::RPC_NDR_UNIXINFO
]
410 PUBLIC_DEPENDENCIES
= dcerpc NDR_UNIXINFO
412 RPC_NDR_UNIXINFO_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_unixinfo_c.o
414 [SUBSYSTEM
::RPC_NDR_BROWSER
]
415 PUBLIC_DEPENDENCIES
= dcerpc NDR_BROWSER
417 RPC_NDR_BROWSER_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_browser_c.o
419 [SUBSYSTEM
::RPC_NDR_IRPC
]
420 PUBLIC_DEPENDENCIES
= dcerpc NDR_IRPC
422 RPC_NDR_IRPC_OBJ_FILES
= $(gen_ndrsrcdir
)/ndr_irpc_c.o
424 [LIBRARY
::dcerpc_samr
]
425 PUBLIC_DEPENDENCIES
= dcerpc NDR_STANDARD
427 PC_FILES
+= $(librpcsrcdir
)/dcerpc_samr.
pc
429 dcerpc_samr_VERSION
= 0.0.1
430 dcerpc_samr_SOVERSION
= 0
431 dcerpc_samr_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_samr_c.o
433 PUBLIC_HEADERS
+= ..
/librpc
/gen_ndr
/ndr_samr_c.h
435 [SUBSYSTEM
::RPC_NDR_SPOOLSS
]
436 PUBLIC_DEPENDENCIES
= dcerpc NDR_SPOOLSS
438 RPC_NDR_SPOOLSS_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_spoolss_c.o
440 [SUBSYSTEM
::RPC_NDR_WKSSVC
]
441 PUBLIC_DEPENDENCIES
= dcerpc NDR_STANDARD
443 RPC_NDR_WKSSVC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_wkssvc_c.o
445 [SUBSYSTEM
::RPC_NDR_SRVSVC
]
446 PUBLIC_DEPENDENCIES
= dcerpc NDR_SRVSVC
448 RPC_NDR_SRVSVC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_srvsvc_c.o
450 [SUBSYSTEM
::RPC_NDR_SVCCTL
]
451 PUBLIC_DEPENDENCIES
= dcerpc NDR_STANDARD
453 RPC_NDR_SVCCTL_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_svcctl_c.o
455 PUBLIC_HEADERS
+= ..
/librpc
/gen_ndr
/ndr_svcctl_c.h
457 [LIBRARY
::dcerpc_atsvc
]
458 PUBLIC_DEPENDENCIES
= dcerpc NDR_STANDARD
460 dcerpc_atsvc_VERSION
= 0.0.1
461 dcerpc_atsvc_SOVERSION
= 0
463 dcerpc_atsvc_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_atsvc_c.o
464 PC_FILES
+= $(librpcsrcdir
)/dcerpc_atsvc.
pc
466 PUBLIC_HEADERS
+= ..
/librpc
/gen_ndr
/ndr_atsvc_c.h
468 [SUBSYSTEM
::RPC_NDR_EVENTLOG
]
469 PUBLIC_DEPENDENCIES
= dcerpc NDR_STANDARD
471 RPC_NDR_EVENTLOG_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_eventlog_c.o
473 [SUBSYSTEM
::RPC_NDR_EPMAPPER
]
474 PUBLIC_DEPENDENCIES
= NDR_EPMAPPER
476 RPC_NDR_EPMAPPER_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_epmapper_c.o
478 [SUBSYSTEM
::RPC_NDR_DBGIDL
]
479 PUBLIC_DEPENDENCIES
= dcerpc NDR_DBGIDL
481 RPC_NDR_DBGIDL_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_dbgidl_c.o
483 [SUBSYSTEM
::RPC_NDR_DSSETUP
]
484 PUBLIC_DEPENDENCIES
= dcerpc NDR_DSSETUP
486 RPC_NDR_DSSETUP_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_dssetup_c.o
488 [SUBSYSTEM
::RPC_NDR_MSGSVC
]
489 PUBLIC_DEPENDENCIES
= dcerpc NDR_MSGSVC
491 RPC_NDR_MSGSVC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_msgsvc_c.o
493 [SUBSYSTEM
::RPC_NDR_WINSIF
]
494 PUBLIC_DEPENDENCIES
= dcerpc NDR_WINSIF
496 RPC_NDR_WINSIF_OBJ_FILES
= $(gen_ndrsrcdir
)/ndr_winsif_c.o
498 [SUBSYSTEM
::RPC_NDR_WINREG
]
499 PUBLIC_DEPENDENCIES
= dcerpc NDR_STANDARD
501 RPC_NDR_WINREG_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_winreg_c.o
503 [SUBSYSTEM
::RPC_NDR_INITSHUTDOWN
]
504 PUBLIC_DEPENDENCIES
= dcerpc NDR_STANDARD
506 RPC_NDR_INITSHUTDOWN_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_initshutdown_c.o
508 [SUBSYSTEM
::RPC_NDR_MGMT
]
509 PRIVATE_DEPENDENCIES
= NDR_MGMT
511 RPC_NDR_MGMT_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_mgmt_c.o
513 [SUBSYSTEM
::RPC_NDR_PROTECTED_STORAGE
]
514 PUBLIC_DEPENDENCIES
= dcerpc NDR_PROTECTED_STORAGE
516 RPC_NDR_PROTECTED_STORAGE_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_protected_storage_c.o
518 [SUBSYSTEM
::RPC_NDR_OXIDRESOLVER
]
519 PUBLIC_DEPENDENCIES
= dcerpc NDR_OXIDRESOLVER
521 RPC_NDR_OXIDRESOLVER_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_oxidresolver_c.o
523 [SUBSYSTEM
::RPC_NDR_REMACT
]
524 PUBLIC_DEPENDENCIES
= dcerpc NDR_REMACT
526 RPC_NDR_REMACT_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_remact_c.o
528 [SUBSYSTEM
::RPC_NDR_WZCSVC
]
529 PUBLIC_DEPENDENCIES
= dcerpc NDR_WZCSVC
531 RPC_NDR_WZCSVC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_wzcsvc_c.o
533 [SUBSYSTEM
::RPC_NDR_W32TIME
]
534 PUBLIC_DEPENDENCIES
= dcerpc NDR_W32TIME
536 RPC_NDR_W32TIME_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_w32time_c.o
538 [SUBSYSTEM
::RPC_NDR_SCERPC
]
539 PUBLIC_DEPENDENCIES
= dcerpc NDR_SCERPC
541 RPC_NDR_SCERPC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_scerpc_c.o
543 [SUBSYSTEM
::RPC_NDR_NTSVCS
]
544 PUBLIC_DEPENDENCIES
= dcerpc NDR_STANDARD
546 RPC_NDR_NTSVCS_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_ntsvcs_c.o
548 [SUBSYSTEM
::RPC_NDR_NETLOGON
]
549 PUBLIC_DEPENDENCIES
= NDR_STANDARD
551 RPC_NDR_NETLOGON_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_netlogon_c.o
553 [SUBSYSTEM
::RPC_NDR_TRKWKS
]
554 PUBLIC_DEPENDENCIES
= dcerpc NDR_TRKWKS
556 RPC_NDR_TRKWKS_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_trkwks_c.o
558 [SUBSYSTEM
::RPC_NDR_KEYSVC
]
559 PUBLIC_DEPENDENCIES
= dcerpc NDR_KEYSVC
561 RPC_NDR_KEYSVC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_keysvc_c.o
563 [SUBSYSTEM
::NDR_DCERPC
]
564 PUBLIC_DEPENDENCIES
= LIBNDR
566 NDR_DCERPC_OBJ_FILES
= ..
/librpc
/gen_ndr
/ndr_dcerpc.o
568 PUBLIC_HEADERS
+= ..
/librpc
/gen_ndr
/dcerpc.h ..
/librpc
/gen_ndr
/ndr_dcerpc.h
570 ################################################
571 # Start SUBSYSTEM dcerpc
573 PRIVATE_DEPENDENCIES
= \
574 samba_socket LIBCLI_RESOLVE LIBCLI_SMB LIBCLI_SMB2 \
575 LIBNDR NDR_DCERPC RPC_NDR_EPMAPPER \
576 NDR_SCHANNEL RPC_NDR_NETLOGON \
578 gensec LIBCLI_AUTH LIBCLI_RAW \
580 PUBLIC_DEPENDENCIES
= CREDENTIALS
581 # End SUBSYSTEM dcerpc
582 ################################################
584 PC_FILES
+= $(librpcsrcdir
)/dcerpc.
pc
585 dcerpc_VERSION
= 0.0.1
588 dcerpc_OBJ_FILES
= $(addprefix $(dcerpcsrcdir
)/, dcerpc.o dcerpc_auth.o dcerpc_schannel.o dcerpc_util.o \
589 dcerpc_smb.o dcerpc_smb2.o dcerpc_sock.o dcerpc_connect.o dcerpc_secondary.o
) \
590 ..
/librpc
/rpc
/binding.o ..
/librpc
/rpc
/dcerpc_error.o
592 $(eval
$(call proto_header_template
,$(dcerpcsrcdir
)/dcerpc_proto.h
,$(dcerpc_OBJ_FILES
:.o
=.c
)))
595 PUBLIC_HEADERS
+= $(addprefix $(librpcsrcdir
)/, rpc
/dcerpc.h
) \
596 $(addprefix ..
/librpc
/gen_ndr
/, mgmt.h ndr_mgmt.h ndr_mgmt_c.h \
597 epmapper.h ndr_epmapper.h ndr_epmapper_c.h
)
600 [PYTHON
::python_dcerpc
]
601 LIBRARY_REALNAME
= samba
/dcerpc
/base.
$(SHLIBEXT
)
602 PUBLIC_DEPENDENCIES
= LIBCLI_SMB LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG dcerpc_samr RPC_NDR_LSA DYNCONFIG pycredentials pyparam_util
604 python_dcerpc_OBJ_FILES
= $(dcerpcsrcdir
)/pyrpc.o
606 $(eval
$(call python_py_module_template
,samba
/dcerpc
/__init__.py
,$(dcerpcsrcdir
)/dcerpc.py
))
609 [PYTHON
::python_echo
]
610 LIBRARY_REALNAME
= samba
/dcerpc
/echo.
$(SHLIBEXT
)
611 PRIVATE_DEPENDENCIES
= RPC_NDR_ECHO PYTALLOC pyparam_util pycredentials python_dcerpc
613 python_echo_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_echo.o
615 [PYTHON
::python_winreg
]
616 LIBRARY_REALNAME
= samba
/dcerpc
/winreg.
$(SHLIBEXT
)
617 PRIVATE_DEPENDENCIES
= RPC_NDR_WINREG PYTALLOC pyparam_util pycredentials python_dcerpc
619 python_winreg_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_winreg.o
621 [PYTHON
::python_dcerpc_misc
]
622 LIBRARY_REALNAME
= samba
/dcerpc
/misc.
$(SHLIBEXT
)
623 PRIVATE_DEPENDENCIES
= PYTALLOC python_dcerpc NDR_MISC NDR_KRB5PAC
625 python_dcerpc_misc_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_misc.o
627 [PYTHON
::python_initshutdown
]
628 LIBRARY_REALNAME
= samba
/dcerpc
/initshutdown.
$(SHLIBEXT
)
629 PRIVATE_DEPENDENCIES
= RPC_NDR_INITSHUTDOWN PYTALLOC pyparam_util pycredentials python_dcerpc
631 python_initshutdown_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_initshutdown.o
633 [PYTHON
::python_epmapper
]
634 LIBRARY_REALNAME
= samba
/dcerpc
/epmapper.
$(SHLIBEXT
)
635 PRIVATE_DEPENDENCIES
= dcerpc PYTALLOC pyparam_util pycredentials python_dcerpc
637 python_epmapper_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_epmapper.o
639 [PYTHON
::python_mgmt
]
640 LIBRARY_REALNAME
= samba
/dcerpc
/mgmt.
$(SHLIBEXT
)
641 PRIVATE_DEPENDENCIES
= PYTALLOC param pycredentials dcerpc python_dcerpc
643 python_mgmt_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_mgmt.o
645 [PYTHON
::python_atsvc
]
646 LIBRARY_REALNAME
= samba
/dcerpc
/atsvc.
$(SHLIBEXT
)
647 PRIVATE_DEPENDENCIES
= dcerpc_atsvc PYTALLOC pyparam_util pycredentials python_dcerpc
649 python_atsvc_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_atsvc.o
651 [PYTHON
::python_dcerpc_nbt
]
652 LIBRARY_REALNAME
= samba
/dcerpc
/nbt.
$(SHLIBEXT
)
653 PRIVATE_DEPENDENCIES
= NDR_NBT PYTALLOC pyparam_util pycredentials python_dcerpc
655 python_dcerpc_nbt_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_nbt.o
657 [PYTHON
::python_samr
]
658 LIBRARY_REALNAME
= samba
/dcerpc
/samr.
$(SHLIBEXT
)
659 PRIVATE_DEPENDENCIES
= dcerpc_samr PYTALLOC pycredentials pyparam_util python_dcerpc
661 python_samr_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_samr.o
663 [PYTHON
::python_svcctl
]
664 LIBRARY_REALNAME
= samba
/dcerpc
/svcctl.
$(SHLIBEXT
)
665 PRIVATE_DEPENDENCIES
= RPC_NDR_SVCCTL PYTALLOC pyparam_util pycredentials python_dcerpc
667 python_svcctl_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_svcctl.o
670 LIBRARY_REALNAME
= samba
/dcerpc
/lsa.
$(SHLIBEXT
)
671 PRIVATE_DEPENDENCIES
= RPC_NDR_LSA PYTALLOC pyparam_util pycredentials python_dcerpc
673 python_lsa_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_lsa.o
675 [PYTHON
::python_wkssvc
]
676 LIBRARY_REALNAME
= samba
/dcerpc
/wkssvc.
$(SHLIBEXT
)
677 PRIVATE_DEPENDENCIES
= RPC_NDR_WKSSVC PYTALLOC pyparam_util pycredentials python_dcerpc
679 python_wkssvc_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_wkssvc.o
682 LIBRARY_REALNAME
= samba
/dcerpc
/dfs.
$(SHLIBEXT
)
683 PRIVATE_DEPENDENCIES
= RPC_NDR_DFS PYTALLOC pyparam_util pycredentials python_dcerpc
685 python_dfs_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_dfs.o
687 [PYTHON
::python_unixinfo
]
688 LIBRARY_REALNAME
= samba
/dcerpc
/unixinfo.
$(SHLIBEXT
)
689 PRIVATE_DEPENDENCIES
= RPC_NDR_UNIXINFO PYTALLOC pyparam_util pycredentials python_dcerpc
691 python_unixinfo_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_unixinfo.o
693 [PYTHON
::python_irpc
]
694 LIBRARY_REALNAME
= samba
/dcerpc
/irpc.
$(SHLIBEXT
)
695 PRIVATE_DEPENDENCIES
= RPC_NDR_IRPC PYTALLOC pyparam_util pycredentials python_dcerpc
697 python_irpc_OBJ_FILES
= $(gen_ndrsrcdir
)/py_irpc.o
699 [PYTHON
::python_drsuapi
]
700 LIBRARY_REALNAME
= samba
/dcerpc
/drsuapi.
$(SHLIBEXT
)
701 PRIVATE_DEPENDENCIES
= RPC_NDR_DRSUAPI PYTALLOC pyparam_util pycredentials python_dcerpc
703 python_drsuapi_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_drsuapi.o
705 [PYTHON
::python_dcerpc_security
]
706 LIBRARY_REALNAME
= samba
/dcerpc
/security.
$(SHLIBEXT
)
707 PRIVATE_DEPENDENCIES
= PYTALLOC python_dcerpc_misc python_dcerpc NDR_SECURITY
709 python_dcerpc_security_OBJ_FILES
= ..
/librpc
/gen_ndr
/py_security.o
711 $(IDL_HEADER_FILES
) $(IDL_NDR_PARSE_H_FILES
) $(IDL_NDR_PARSE_C_FILES
) \
712 $(IDL_NDR_CLIENT_C_FILES
) $(IDL_NDR_CLIENT_H_FILES
) \
713 $(IDL_NDR_SERVER_C_FILES
) $(IDL_SWIG_FILES
) \
714 $(IDL_NDR_PY_C_FILES
) $(IDL_NDR_PY_H_FILES
): idl
716 idl_full
:: $(pidldir
)/lib
/Parse
/Pidl
/IDL.pm
$(pidldir
)/lib
/Parse
/Pidl
/Expr.pm
717 @PIDL_OUTPUTDIR
="../librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" srcdir="$(srcdir)" PIDL
="$(PIDL)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
718 @CPP
="$(CPP)" PIDL
="$(PIDL)" $(librpcsrcdir
)/scripts
/build_idl.sh FULL
$(librpcsrcdir
)/gen_ndr
$(librpcsrcdir
)/idl
/*.idl
720 idl
:: $(pidldir
)/lib
/Parse
/Pidl
/IDL.pm
$(pidldir
)/lib
/Parse
/Pidl
/Expr.pm
721 @PIDL_OUTPUTDIR
="../librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" srcdir="$(srcdir)" PIDL
="$(PIDL)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
722 @CPP
="$(CPP)" PIDL
="$(PIDL)" $(librpcsrcdir
)/scripts
/build_idl.sh PARTIAL
$(librpcsrcdir
)/gen_ndr
$(librpcsrcdir
)/idl
/*.idl
725 @echo
"Remove ../librpc/gen_ndr files which are not commited to git"
726 @cat ..
/.gitignore | grep
"^librpc/gen_ndr" | xargs
rm -f