Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
229 dpurdie 1
# Copyright (C) 1998-2004 ERG Limited, All rights reserved
2
#
3
# Module name   : build.pl
4
# Module type   : Makefile system
5
# Environment(s): n/a
6
#
7
# Description:    build.pl Template
8
#.........................................................................#
9
 
10
#..     Build system
11
#
12
$MAKELIB_PL     = "$ENV{ GBE_TOOLS }/makelib.pl";
13
$BUILDLIB_PL    = "$ENV{ GBE_TOOLS }/buildlib.pl";
14
 
15
require         "$BUILDLIB_PL";
16
require         "$MAKELIB_PL";
17
 
18
#..     Toolset configuration
19
#
20
 
21
#..     Product configuration
22
#
23
BuildAlias      ( 'WINCE',  'WCEPSPC_emu', 'WCEPSPC_arm' ); # All the WinCE Targets
24
BuildAlias      ( 'MOS',    'MOS68K', 'MOSCF' );            # All the MOS Platforms
25
BuildAlias      ( 'WIN',    'WINCE',  'WIN32' );            # All the WIN Targets
26
 
27
or
28
 
29
BuildProduct    ( 'GAK',    'MOS68K', 'MOSCF' );            # Variations
30
BuildProduct    ( 'PCP',    'MOS68K' );                     # Variations
31
BuildProduct    ( 'TP5',    'MOSCF' );                      # Variations
32
BuildProduct    ( 'VCP',    'MOS68K' );                     # Variations
33
 
34
BuildAlias      ( 'MOS',    'GAK', 'PCP', 'TP5', 'VCP' );   # All the MOS Platforms
35
BuildAlias      ( 'WINCE',  'WCEPSPC_emu', 'WCEPSPC_arm' ); # All the WinCE Targets
36
BuildAlias      ( 'WIN',    'WINCE', 'WIN32' );             # All the WIN Targets
37
 
38
 
39
BuildName       ( 'BUILDNAME xx.xx.xx xx' );
40
BuildSnapshot   ();
41
BuildAccessPerms();
42
BuildInterface  ( 'local' );
43
BuildInterface  ( 'interface' );
44
 
45
#..     External Packages
46
#       Use LinkpkgArchive or BuildPkgArchive
47
#
48
LinkPkgArchive ( 'Package'        , 'Version' );
49
 
50
#
51
#   Specify subdirectories to process
52
#
53
BuildSubDir    ( 'src' );
54
 
55
#
56
#   Generate Files
57
#BuildVersion    ();                                # Optional
58
BuildDescpkg   ();
59
BuildMake      ();
60