Subversion Repositories DevTools

Rev

Rev 5709 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
227 dpurdie 1
#..
5709 dpurdie 2
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
227 dpurdie 3
#
6133 dpurdie 4
# Module name   : GENERIC
227 dpurdie 5
# Module type   : Makefile system
6
# Compiler(s)   : None
7
# Environment(s): All
8
#
9
# Description:
10
#       This file provides Toolset initialisation and plugin functions
11
#       to makelib.pl2
12
#
13
# Contents:     Dummy Rules
14
#
15
#............................................................................#
16
 
17
##############################################################################
18
#   ToolsetInit()
19
#       Runtime initialisation
20
#
21
##############################################################################
22
 
23
ToolsetInit();
24
 
25
sub ToolsetInit
26
{
27
    my( @args ) = @ScmToolsetArgs;             # Toolset arguments
28
    my( $version, $product, @defines, @dirs, @flags );
29
 
30
#.. Parse arguments
31
#
32
    Debug( "GENERIC(@args)\n" );
33
 
34
    foreach $_ ( @args ) {
35
        if (/^--Version=(.*)/) {                # Compiler version
36
            $version = "$1";
37
        } else {
38
            Message( "GENERIC: unknown toolset argument $_ -- ignored\n" );
39
        }
40
    }
41
 
42
#.. Parse Platform Arguments
43
#
261 dpurdie 44
    @args = @ScmPlatformArgs;                   # Platform arguments
227 dpurdie 45
    foreach $_ ( @args ) {
46
        if (/^--product=(.*)/) {                # GBE product
47
            $product = $1;
48
        } else {
49
            Message( "GENERIC: unknown platform argument $_ -- ignored\n" );
50
        }
51
    }
52
 
53
#.. Standard.rul requirements
54
#
55
    $s =   'asm';           # Assembler source file
56
    $o =   'obj';           # Object file
57
    $a =   'lib';           # Library file
58
    $so =  'dll';           # Shared library
59
    $exe = '.bin';          # Linked binary images
60
 
61
}
62
1;
63