#.. # COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED. # # 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 arguments my( $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 arguments foreach $_ ( @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;