summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/samba_patterns.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/buildtools/wafsamba/samba_patterns.py b/buildtools/wafsamba/samba_patterns.py
index 79aad81e6a..e6c7f4d3d2 100644
--- a/buildtools/wafsamba/samba_patterns.py
+++ b/buildtools/wafsamba/samba_patterns.py
@@ -39,14 +39,14 @@ Task.simple_task_type('idl', '../../pidl/pidl ${TGT[0].options} --header --ndr-p
@extension('.idl')
def process_idl(self, node):
bname = node.file_base()
- c_node = NEW_NODE(node, 'ndr_%s.c' % bname)
- h1_node = NEW_NODE(node, '%s.h' % bname)
- h2_node = NEW_NODE(node, 'ndr_%s.h' % bname)
- s_node = NEW_NODE(node, 'ndr_%s_s.c' % bname)
- cli_node = NEW_NODE(node, 'ndr_%s_c.c' % bname)
- cli_h_node = NEW_NODE(node, 'ndr_%s_c.h' % bname)
- py_node = NEW_NODE(node, 'py_%s.c' % bname)
-
+ gen_ndr = "../gen_ndr/"
+ c_node = NEW_NODE(node, gen_ndr + 'ndr_%s.c' % bname)
+ h1_node = NEW_NODE(node, gen_ndr + '%s.h' % bname)
+ h2_node = NEW_NODE(node, gen_ndr + 'ndr_%s.h' % bname)
+ s_node = NEW_NODE(node, gen_ndr + 'ndr_%s_s.c' % bname)
+ cli_node = NEW_NODE(node, gen_ndr + 'ndr_%s_c.c' % bname)
+ cli_h_node = NEW_NODE(node, gen_ndr + 'ndr_%s_c.h' % bname)
+ py_node = NEW_NODE(node, gen_ndr + 'py_%s.c' % bname)
dname = os.path.dirname(node.bld_dir(self.env)) + "/gen_ndr"
c_node.outputdir = dname