| 6177 |
dpurdie |
1 |
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
|
| 229 |
dpurdie |
2 |
#
|
|
|
3 |
# Module name : build.pl
|
|
|
4 |
# Module type : Makefile system
|
| 4995 |
dpurdie |
5 |
# Environment(s): JATS
|
| 229 |
dpurdie |
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 |
#.. Product configuration
|
|
|
19 |
#
|
|
|
20 |
BuildAlias ( 'WINCE', 'WCEPSPC_emu', 'WCEPSPC_arm' ); # All the WinCE Targets
|
|
|
21 |
BuildAlias ( 'MOS', 'MOS68K', 'MOSCF' ); # All the MOS Platforms
|
|
|
22 |
BuildAlias ( 'WIN', 'WINCE', 'WIN32' ); # All the WIN Targets
|
|
|
23 |
|
|
|
24 |
or
|
|
|
25 |
|
|
|
26 |
BuildProduct ( 'GAK', 'MOS68K', 'MOSCF' ); # Variations
|
|
|
27 |
BuildProduct ( 'PCP', 'MOS68K' ); # Variations
|
|
|
28 |
BuildProduct ( 'TP5', 'MOSCF' ); # Variations
|
|
|
29 |
BuildProduct ( 'VCP', 'MOS68K' ); # Variations
|
|
|
30 |
|
|
|
31 |
BuildAlias ( 'MOS', 'GAK', 'PCP', 'TP5', 'VCP' ); # All the MOS Platforms
|
|
|
32 |
BuildAlias ( 'WINCE', 'WCEPSPC_emu', 'WCEPSPC_arm' ); # All the WinCE Targets
|
|
|
33 |
BuildAlias ( 'WIN', 'WINCE', 'WIN32' ); # All the WIN Targets
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
BuildName ( 'BUILDNAME xx.xx.xx xx' );
|
|
|
37 |
BuildInterface ( 'local' );
|
|
|
38 |
BuildInterface ( 'interface' );
|
|
|
39 |
|
|
|
40 |
#.. External Packages
|
|
|
41 |
# Use LinkpkgArchive or BuildPkgArchive
|
|
|
42 |
#
|
|
|
43 |
LinkPkgArchive ( 'Package' , 'Version' );
|
|
|
44 |
|
|
|
45 |
#
|
|
|
46 |
# Specify subdirectories to process
|
|
|
47 |
#
|
|
|
48 |
BuildSubDir ( 'src' );
|
|
|
49 |
|
|
|
50 |
#
|
|
|
51 |
# Generate Files
|
|
|
52 |
#BuildVersion (); # Optional
|
|
|
53 |
BuildDescpkg ();
|
|
|
54 |
BuildMake ();
|
|
|
55 |
|