Subversion Repositories DevTools

Rev

Rev 5709 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
227 dpurdie 1
###############################################################################
6177 dpurdie 2
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
227 dpurdie 3
#
4
# File:         PLATFORM/TLINUX_I386.CFG.cfg
5
#
6
# Contents:     SOLARIS 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
use strict;
19
use warnings;
20
 
21
package LINUX_I386_Build;
22
 
23
#-------------------------------------------------------------------------------
24
# Function        : add_platform
25
#
26
# Description     : This function is invoked just before a 'platform' is about
27
#                   to be added to the build system.
28
#
29
#                   This call is allowed to alter or extend the platform build
30
#                   information.
31
#
32
# Inputs          : $pInfo          - Reference to the platform build info hash
33
#
34
# Returns         : Nothing yet
35
#
36
sub add_platform
37
{
38
    my $class = shift;              # Not really a class, but its called like a class
39
    my $pInfo  = shift;
40
    #
41
    #   Insert data into the class
42
    #
43
    #   ALSO_USES
44
    #   An array of other platforms that may be 'used' by this platform.
45
    #   The process is not recursive
46
    #   Similar to the --Uses option in BuildPlatforms()
47
    #   Will be subject to product expansion.
48
    #
49
    #   Intended use: VS2003 can use stuff from WIN32, but only if the
50
    #                 VS2003 stuff is not available.
51
#    $pInfo->{ALSO_USES} = [];
52
 
53
    #
54
    #   EXTRA_USES
55
    #   An array of other platforms to be 'used' by this platform.
56
    #   This list is not expanded in a PRODUCT as the USERS list is.
57
    #
58
    #   Intended use: Extend the SOLARIS on a sparc platform to allow for bad usage.
59
    #                 ie: Stuff is in SOLARIS, SOLARIS_sparc and sparc
60
    #
61
    $pInfo->{EXTRA_USES} = ['LINUX' ];
62
 
63
    #
64
    #   EXT_SHARED
65
    #   Set to the value of the shared library extension
66
    #
67
    #   Intended Use
68
    #   Used to locate shared libraries in packgages for use in the
69
    #   generation set_<PLATFORM>.sh/.bat
70
    #
71
    #   If not set then the set_.sh files will no be created
72
    #
73
    $pInfo->{EXT_SHARED} = '.so';
74
 
75
    #
76
    #   OS_COMMON
77
    #   Set the name of a directory to be used to package header files to be
78
    #   used on targets that share a common OS
79
    #
80
    #   Note: Should also be a part of EXTRA_USES
81
    #
82
    #   Intended Use
83
    #   Extend the operation of the PackageHdr directive to allow files
84
    #   common files to be packaged
85
    #
86
    $pInfo->{OS_COMMON} = 'LINUX';
87
 
88
}
89
 
90
1;
91