summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_pidl.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-17 22:17:15 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:52 +1000
commitb7cc6d48d5664aa83951c31fbdaabfb839f1b420 (patch)
tree68e8f7e91b74a463a16d2b86992b034a9af9856b /buildtools/wafsamba/samba_pidl.py
parent365f29136fa0410ca92f17b4595cd5c51b38697c (diff)
downloadsamba-b7cc6d48d5664aa83951c31fbdaabfb839f1b420.tar.gz
samba-b7cc6d48d5664aa83951c31fbdaabfb839f1b420.tar.bz2
samba-b7cc6d48d5664aa83951c31fbdaabfb839f1b420.zip
build: teach samba_pild.py about the --com-header and --dcom-proxy options
Diffstat (limited to 'buildtools/wafsamba/samba_pidl.py')
-rw-r--r--buildtools/wafsamba/samba_pidl.py15
1 files changed, 9 insertions, 6 deletions
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