From b7cc6d48d5664aa83951c31fbdaabfb839f1b420 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 17 Mar 2010 22:17:15 +1100 Subject: build: teach samba_pild.py about the --com-header and --dcom-proxy options --- buildtools/wafsamba/samba_pidl.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'buildtools/wafsamba/samba_pidl.py') diff --git a/buildtools/wafsamba/samba_pidl.py b/buildtools/wafsamba/samba_pidl.py index b7839bc0ca..6e47686105 100644 --- a/buildtools/wafsamba/samba_pidl.py +++ b/buildtools/wafsamba/samba_pidl.py @@ -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 -- cgit