build: fixed location of gen_ndr files
authorAndrew Tridgell <tridge@samba.org>
Fri, 26 Feb 2010 12:01:09 +0000 (23:01 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:39 +0000 (20:26 +1000)
buildtools/wafsamba/samba_patterns.py

index 79aad81e6a78f40bf90ce241e262880975185239..e6c7f4d3d294395a30d1d26b1a076dadbd39f8aa 100644 (file)
@@ -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