Subversion Repositories DevTools

Rev

Rev 255 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
227 dpurdie 1
###############################################################################
2
# Copyright (c) ERG Transit Systems. 1996-2006
3
#
4
# File:         PLATFORM/SOLARIS.cfg
5
#
6
# Contents:     WIN32 Build support
7
#
8
#               This package is used during the processing of the build.pl file
9
#               Values provided by this package are used to extend the Platform
10
#               information as platforms are being created. This provides a
11
#               powerful set of mechanism to extend the entire JATS toolset
12
#
13
#
14
# Version   Who      Date       Description
15
#           DDP      01-Aug-06  Created
16
###############################################################################
17
 
18
require 5.6.1;
19
use strict;
20
use warnings;
21
 
22
package WIN32_Build;
23
 
24
#-------------------------------------------------------------------------------
25
# Function        : add_platform
26
#
27
# Description     : This function is invoked just before a 'platform' is about
28
#                   to be added to the build system.
29
#
30
#                   This call is allowed to alter or extend the platform build
31
#                   information.
32
#
33
# Inputs          : $pInfo          - Reference to the platform build info hash
34
#
35
# Returns         : Nothing yet
36
#
37
sub add_platform
38
{
39
    my $class = shift;              # Not really a class, but its called like a class
40
    my $pInfo  = shift;
41
 
42
    #
43
    #   SCMMACHTYPE
44
    #   Override for ScmMachType which appears in makefiles as GBE_MACHTYPE
45
    #   Default value is $ScmPlatform
46
    #
47
    #   Intended use: Legacy Support only
48
    #   Many legacy package.pl files use GBE_MACHTYPE to specify bin and lib
49
    #   subdirectores.
50
    #       The legacy SOLARIS on sparc sets this to 'sparc'
51
    #       For some reason WIN32 sets this to 'win32'
52
    #
53
    $pInfo->{SCMMACHTYPE} = 'win32';
54
 
55
    #
56
    #   EXT_SHARED
57
    #   Set to the value of the shared library extension
58
    #
59
    #   Intended Use
60
    #   Used to locate shared libraries in packgages for use in the
61
    #   generation set_<PLATFORM>.sh/.bat
62
    #
63
    #   If not set then the set_.sh files will no be created
64
    #
65
    $pInfo->{EXT_SHARED} = '.dll';
66
 
67
    #
68
    #   OS_COMMON
69
    #   Set the name of a directory to be used to package header files to be
70
    #   used on targets that share a common OS
71
    #
72
    #   Note: Should also be a part of EXTRA_USES
73
    #
74
    #   Intended Use
75
    #   Extend the operation of the PackageHdr directive to allow files
76
    #   common files to be packaged
77
    #
78
    $pInfo->{OS_COMMON} = 'WIN32';
79
 
80
 
81
}
82
 
83
1;
84