summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-26 23:01:09 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:39 +1000
commitbd54d2a87dcabe1ff520662780673a7aaf52cc3f (patch)
treee2a0492058d9ae065d2d2a606de15098aa420477
parent481fde53478052136a9f060d79d505fd176b7c8b (diff)
downloadsamba-bd54d2a87dcabe1ff520662780673a7aaf52cc3f.tar.gz
samba-bd54d2a87dcabe1ff520662780673a7aaf52cc3f.tar.bz2
samba-bd54d2a87dcabe1ff520662780673a7aaf52cc3f.zip
build: fixed location of gen_ndr files
-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