summaryrefslogtreecommitdiff
path: root/source4/build/scons/pidl.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-20 22:10:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:32 -0500
commit8db177b652cdede2f509d6c96d1c99e875c2d284 (patch)
tree1226f1b334f60088a164d985bfc0f72942bb496e /source4/build/scons/pidl.py
parent0e2c62451d4463aecc5ff01d56b48521e9f59ffb (diff)
downloadsamba-8db177b652cdede2f509d6c96d1c99e875c2d284.tar.gz
samba-8db177b652cdede2f509d6c96d1c99e875c2d284.tar.bz2
samba-8db177b652cdede2f509d6c96d1c99e875c2d284.zip
r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of works now
(This used to be commit 22f18a84242e5e68a2d57b6d7ff77c089ee7434a)
Diffstat (limited to 'source4/build/scons/pidl.py')
-rw-r--r--source4/build/scons/pidl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/scons/pidl.py b/source4/build/scons/pidl.py
index 6bddea3ee4..68a2c2040e 100644
--- a/source4/build/scons/pidl.py
+++ b/source4/build/scons/pidl.py
@@ -5,10 +5,10 @@ Tool-specific initialization for pidl (Perl-based IDL compiler)
"""
import SCons.Defaults
-import SCons.Scanner.IDL
import SCons.Util
+import SCons.Scanner
-idl_scanner = SCons.Scanner.IDL.IDLScan()
+idl_scanner = SCons.Scanner.ClassicCPP("PIDLScan", '.idl', 'CPPPATH', r'depends\(([^,]+),+\)', SCons.Node.FS.default_fs)
pidl_builder = SCons.Builder.Builder(action='$PIDLCOM',
src_suffix = '.idl',