diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-09-20 11:59:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:30 -0500 |
commit | 6812c73534001d2dd05a9a74358d2b6d0029f1a7 (patch) | |
tree | 3212e91d9cbe6b2f2ce2bc36d211ee06bb220072 /source4/build/scons/et.py | |
parent | b7545608ad0cbcc017219cd4b2d699a25500c5f1 (diff) | |
download | samba-6812c73534001d2dd05a9a74358d2b6d0029f1a7.tar.gz samba-6812c73534001d2dd05a9a74358d2b6d0029f1a7.tar.bz2 samba-6812c73534001d2dd05a9a74358d2b6d0029f1a7.zip |
r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
but final linking still fails (as does generating files asn1, et, idl and proto
files)
(This used to be commit 4f0d7f75b99c7f4388d8acb0838577d86baf68b5)
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') + + |