diff options
Diffstat (limited to 'source4/build/scons/et.py')
-rw-r--r-- | source4/build/scons/et.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/source4/build/scons/et.py b/source4/build/scons/et.py new file mode 100644 index 0000000000..cba40af92a --- /dev/null +++ b/source4/build/scons/et.py @@ -0,0 +1,26 @@ +"""SCons.Tool.et + +Tool-specific initialization for et + +""" + +import SCons.Defaults +import SCons.Scanner.ET +import SCons.Util + +et_scanner = SCons.Scanner.ET.ETScan() + +et_builder = SCons.Builder.Builder(action='$ETCOM', + src_suffix = '.et', + suffix='.c', + scanner = et_scanner) + +def generate(env): + env['ET'] = 'FIXME' + env['PROTOCOM'] = '$ET $SOURCE' + env['BUILDERS']['ET'] = et_builder + +def exists(env): + return env.Detect('FIXME') + + |