mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
build: teach samba_pild.py about the --com-header and --dcom-proxy options
This commit is contained in:
parent
365f29136f
commit
b7cc6d48d5
@ -29,6 +29,8 @@ def SAMBA_PIDL(bld, pname, source,
|
||||
'--client' : 'ndr_%s_c.c ndr_%s_c.h',
|
||||
'--python' : 'py_%s.c',
|
||||
'--tdr-parser' : 'tdr_%s.c tdr_%s.h',
|
||||
'--dcom-proxy' : '%s_p.c',
|
||||
'--com-header' : 'com_%s.h'
|
||||
}
|
||||
|
||||
table_header_idx = None
|
||||
@ -53,12 +55,13 @@ def SAMBA_PIDL(bld, pname, source,
|
||||
|
||||
# the cd .. is needed because pidl currently is sensitive to the directory it is run in
|
||||
t = bld(rule='cd .. && ${PIDL} ${OPTIONS} --outputdir ${OUTPUTDIR} -- ${SRC[0].abspath(env)}',
|
||||
ext_out = '.c',
|
||||
before = 'cc',
|
||||
shell = True,
|
||||
source = source,
|
||||
target = out_files,
|
||||
name = name)
|
||||
ext_out = '.c',
|
||||
before = 'cc',
|
||||
shell = True,
|
||||
source = source,
|
||||
target = out_files,
|
||||
name = name,
|
||||
samba_type = 'PIDL')
|
||||
|
||||
# prime the list of nodes we are dependent on with the cached pidl sources
|
||||
t.allnodes = pidl_src_nodes
|
||||
|
@ -6,9 +6,9 @@
|
||||
# object files) in ../gen_ndr in the source tree, but still allow waf to be
|
||||
# happy about all the build files appearing in the expected location in bin/default
|
||||
bld.SAMBA_PIDL_LIST('PIDL',
|
||||
'''atsvc.idl dcom.idl drsuapi.idl epmapper.idl initshutdown.idl
|
||||
'''atsvc.idl drsuapi.idl epmapper.idl initshutdown.idl
|
||||
misc.idl ntlmssp.idl protected_storage.idl schannel.idl trkwks.idl
|
||||
wmi.idl audiosrv.idl dfsblobs.idl dsbackup.idl eventlog.idl keysvc.idl
|
||||
audiosrv.idl dfsblobs.idl dsbackup.idl eventlog.idl keysvc.idl
|
||||
msgsvc.idl ntsvcs.idl remact.idl security.idl unixinfo.idl wzcsvc.idl
|
||||
browser.idl dfs.idl dssetup.idl frsapi.idl krb5pac.idl
|
||||
named_pipe_auth.idl orpc.idl rot.idl spoolss.idl w32time.idl xattr.idl
|
||||
@ -16,6 +16,12 @@ bld.SAMBA_PIDL_LIST('PIDL',
|
||||
oxidresolver.idl samr.idl srvsvc.idl winreg.idl dcerpc.idl
|
||||
drsblobs.idl efs.idl frstrans.idl mgmt.idl netlogon.idl
|
||||
policyagent.idl scerpc.idl svcctl.idl wkssvc.idl''',
|
||||
options='--header --ndr-parser --samba3-ndr-server --samba3-ndr-client --server --client --python',
|
||||
output_dir='../gen_ndr',
|
||||
symlink=True)
|
||||
|
||||
bld.SAMBA_PIDL_LIST('PIDL',
|
||||
'wmi.idl dcom.idl',
|
||||
options='--header --ndr-parser --samba3-ndr-server --samba3-ndr-client --server --client --python --dcom-proxy --com-header',
|
||||
output_dir='../gen_ndr',
|
||||
symlink=True)
|
||||
|
@ -1,6 +1,6 @@
|
||||
bld.SAMBA_SUBSYSTEM('COM',
|
||||
source='tables.c rot.c main.c',
|
||||
deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG LIBEVENTS LIBNDR'
|
||||
deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG LIBEVENTS LIBNDR PIDL_DCOM'
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user