Subversion Repositories DevTools

Rev

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

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