Rev 5709 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#..# Copyright (c) VIX TECHNOLOGY (AUST) LTD## Module name : GENERIC# Module type : Makefile system# Compiler(s) : None# Environment(s): All## Description:# This file provides Toolset initialisation and plugin functions# to makelib.pl2## Contents: Dummy Rules##............................................................................################################################################################ ToolsetInit()# Runtime initialisation###############################################################################ToolsetInit();sub ToolsetInit{my( @args ) = @ScmToolsetArgs; # Toolset argumentsmy( $version, $product, @defines, @dirs, @flags );#.. Parse arguments#Debug( "GENERIC(@args)\n" );foreach $_ ( @args ) {if (/^--Version=(.*)/) { # Compiler version$version = "$1";} else {Message( "GENERIC: unknown toolset argument $_ -- ignored\n" );}}#.. Parse Platform Arguments#@args = @ScmPlatformArgs; # Platform argumentsforeach $_ ( @args ) {if (/^--product=(.*)/) { # GBE product$product = $1;} else {Message( "GENERIC: unknown platform argument $_ -- ignored\n" );}}#.. Standard.rul requirements#$s = 'asm'; # Assembler source file$o = 'obj'; # Object file$a = 'lib'; # Library file$so = 'dll'; # Shared library$exe = '.bin'; # Linked binary images}1;