########################################################################
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
#
# Module name   : INTELLECT.PL
# Module type   : JATS TOOLSET
# Compiler(s)   : Perl
# Environment(s): JATS
#
# Description   : INTELLECT
#
# Notes         : This toolset doesn't really do very much
#                 The bulk of the work is performed with a JATS
#                 plugin provided by a suitable package:
#                 Possibly IntellectBuilder
#
#......................................................................#

use strict;
use warnings;

my $toolset_name = 'INTELLECT';               # Toolset name : Error reporting

##############################################################################
#   ToolsetInit()
#       Runtime initialisation
#
##############################################################################

ToolsetInit();

sub ToolsetInit
{

#.. Parse arguments (Toolset arguments)
#
    Debug( "$toolset_name(@::ScmToolsetArgs)" );

    foreach $_ ( @::ScmToolsetArgs ) {
        Message( "$toolset_name toolset: unknown option $_ -- ignored\n" );
    }

#.. Parse arguments (platform arguments)
#
    Debug( "$toolset_name(@::ScmPlatformArgs)" );

    foreach $_ ( @::ScmPlatformArgs ) {
        Message( "$toolset_name toolset: unknown platform argument $_ -- ignored\n" );
    }

#.. Standard.rul requirements
#   Not used, but some bits get upset without them
#
    $::s    = 'asm';
    $::o    = 'obj';
    $::a    = 'lib';
    $::so   = 'dll';
    $::exe  = '.pax';

#.. Toolset configuration
#
    $::ScmToolsetVersion = "1.0.0";             # Our version
    $::ScmToolsetGenerate = 0;                  # Generate optional
    $::ScmToolsetProgDependancies = 0;          # Handle Prog dependancies myself
    $::ScmNoToolsTest = 1;                      # No compilation
    $::ScmToolsetSingleType = 'P';              # Does not handle Prod and Debug, Only Prod

#.. define INTELLECT environment
#    Init( "INTELLECT" );
#    ToolsetRules( "INTELLECT.rul" );
    ToolsetRules( "standard.rul" );
}

#.. Successful termination
1;

