| 229 |
dpurdie |
1 |
# Copyright (C) 1998-2007 ERG Limited, All rights reserved
|
|
|
2 |
#
|
|
|
3 |
# Module name : build.pl
|
|
|
4 |
# Module type : Makefile system
|
|
|
5 |
# Environment(s): JATS
|
|
|
6 |
#
|
|
|
7 |
# Description: Create programs to be placed into the BIN.<GBE_MACHTYPE>
|
|
|
8 |
# directory to capture bad ant/java behaviour.
|
|
|
9 |
#.........................................................................#
|
|
|
10 |
|
|
|
11 |
#.. Build system
|
|
|
12 |
#
|
|
|
13 |
$MAKELIB_PL = "$ENV{ GBE_TOOLS }/makelib.pl";
|
|
|
14 |
$BUILDLIB_PL = "$ENV{ GBE_TOOLS }/buildlib.pl";
|
|
|
15 |
|
|
|
16 |
require "$BUILDLIB_PL";
|
|
|
17 |
require "$MAKELIB_PL";
|
|
|
18 |
|
|
|
19 |
#.. Product configuration
|
|
|
20 |
#
|
|
|
21 |
BuildPlatforms ('SOLARIS,--OnlyProd');
|
|
|
22 |
BuildPlatforms ('LINUX,--OnlyProd');
|
|
|
23 |
BuildPlatforms ('WIN32,--OnlyProd');
|
|
|
24 |
|
|
|
25 |
BuildName ( 'bad-progs', '1.0.0.cr' );
|
|
|
26 |
BuildInterface ( 'interface' );
|
|
|
27 |
|
|
|
28 |
# Specify subdirectories to process
|
|
|
29 |
#
|
|
|
30 |
BuildSubDir ( 'src' );
|
|
|
31 |
|
|
|
32 |
#
|
|
|
33 |
# Generate the descpkg and Makefiles
|
|
|
34 |
BuildDescpkg ();
|
|
|
35 |
BuildMake ();
|
|
|
36 |
|