############################################################################### # COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED. # # File: PLATFORM/SOLARIS.cfg # # Contents: WIN32 Build support # # This package is used during the processing of the build.pl file # Values provided by this package are used to extend the Platform # information as platforms are being created. This provides a # powerful set of mechanism to extend the entire JATS toolset # # # Version Who Date Description # DDP 01-Aug-06 Created ############################################################################### use strict; use warnings; package WIN32_Build; #------------------------------------------------------------------------------- # Function : add_platform # # Description : This function is invoked just before a 'platform' is about # to be added to the build system. # # This call is allowed to alter or extend the platform build # information. # # Inputs : $pInfo - Reference to the platform build info hash # # Returns : Nothing yet # sub add_platform { my $class = shift; # Not really a class, but its called like a class my $pInfo = shift; # # SCMMACHTYPE # Override for ScmMachType which appears in makefiles as GBE_MACHTYPE # Default value is $ScmPlatform # # Intended use: Legacy Support only # Many legacy package.pl files use GBE_MACHTYPE to specify bin and lib # subdirectores. # The legacy SOLARIS on sparc sets this to 'sparc' # For some reason WIN32 sets this to 'win32' # $pInfo->{SCMMACHTYPE} = 'win32'; # # EXT_SHARED # Set to the value of the shared library extension # # Intended Use # Used to locate shared libraries in packgages for use in the # generation set_.sh/.bat # # If not set then the set_.sh files will no be created # $pInfo->{EXT_SHARED} = '.dll'; # # OS_COMMON # Set the name of a directory to be used to package header files to be # used on targets that share a common OS # # Note: Should also be a part of EXTRA_USES # # Intended Use # Extend the operation of the PackageHdr directive to allow files # common files to be packaged # $pInfo->{OS_COMMON} = 'WIN32'; # USES_FIRST # An array of other platforms that may be 'used' by this platform. # The process is not recursive # Will be NOT be subject to product expansion. # Will be placed in search list before the standard platform and product # # Intended use: WIN32 will use stuff from VC6 if available # Ie: Dinkumware # $pInfo->{USES_FIRST} = [ 'VC6' ]; } 1;