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 | |
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')
-rw-r--r-- | source4/build/scons/asn1.py | 26 | ||||
-rw-r--r-- | source4/build/scons/et.py | 26 |
2 files changed, 52 insertions, 0 deletions
diff --git a/source4/build/scons/asn1.py b/source4/build/scons/asn1.py new file mode 100644 index 0000000000..078ac74a55 --- /dev/null +++ b/source4/build/scons/asn1.py @@ -0,0 +1,26 @@ +"""SCons.Tool.asn1 + +Tool-specific initialization for ASN1 + +""" + +import SCons.Defaults +import SCons.Scanner.ASN1 +import SCons.Util + +asn1_scanner = SCons.Scanner.ASN1.ASN1Scan() + +asn1_builder = SCons.Builder.Builder(action='$ASN1COM', + src_suffix = '.asn1', + suffix='.c', + scanner = asn1_scanner) + +def generate(env): + env['ASN1'] = 'FIXME' + env['PROTOCOM'] = '$ASN1 $SOURCE' + env['BUILDERS']['ASN1'] = asn1_builder + +def exists(env): + return env.Detect('FIXME') + + 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') + + |