| 333 |
dpurdie |
1 |
# Copyright (C) 1998-2008 ERG Limited, All rights reserved
|
|
|
2 |
#
|
|
|
3 |
# Module name : JATS Utilities
|
|
|
4 |
# Module type : Makefile system
|
|
|
5 |
# Environment(s): JATS
|
|
|
6 |
#
|
|
|
7 |
# Description: build.pl file for utility mkdepend
|
|
|
8 |
#
|
|
|
9 |
# This is very much a chicken and egg build
|
|
|
10 |
# JATS needs mkdepend and this build needs JATS
|
|
|
11 |
# This this build can only be used to create a
|
|
|
12 |
# new verion of mkdepend, rather than to build JATS
|
|
|
13 |
# from source
|
|
|
14 |
#.........................................................................#
|
|
|
15 |
|
|
|
16 |
#.. Build system
|
|
|
17 |
#
|
|
|
18 |
$MAKELIB_PL = "$ENV{ GBE_TOOLS }/makelib.pl";
|
|
|
19 |
$BUILDLIB_PL = "$ENV{ GBE_TOOLS }/buildlib.pl";
|
|
|
20 |
|
|
|
21 |
require "$BUILDLIB_PL";
|
|
|
22 |
require "$MAKELIB_PL";
|
|
|
23 |
|
|
|
24 |
#.. Product configuration
|
|
|
25 |
#
|
|
|
26 |
BuildPlatforms ('SOLARIS,--OnlyDebug');
|
|
|
27 |
BuildPlatforms ('LINUX,--OnlyDebug');
|
|
|
28 |
BuildPlatforms ('WIN32,--OnlyProd');
|
|
|
29 |
|
|
|
30 |
BuildName ( 'mkdepend 00.00.00 cr' );
|
|
|
31 |
BuildInterface ( 'local' );
|
|
|
32 |
BuildInterface ( 'interface' );
|
|
|
33 |
|
|
|
34 |
#
|
|
|
35 |
# Generate the descpkg and Makefiles
|
|
|
36 |
#BuildVersion ();
|
|
|
37 |
BuildDescpkg ();
|
|
|
38 |
BuildMake ();
|
|
|
39 |
|