Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1805 crichaud 1
# Copyright (C) 1998-2009 ERG Limited, All rights reserved
2
#
3
# Module name   : Makefile.pl
4
# Module type   : Makefile system
5
# Environment(s): JATS Build System
6
#
7
# Description:    makefile.pl for package ant-dinkumware_stl
8
#
9
#.........................................................................#
10
 
11
die "Usage: Makefile.pl rootdir Makelib.pl\n"
12
    unless( $#ARGV+1 >= 2 );
13
require "$ARGV[1]";
14
 
15
#
16
# Build platform definitions ..
17
#
18
Platform( '*' );
19
 
20
############################################################################
21
#   Define the source files
22
#
23
Src ('*', 'ant-dinkumware_stl_template.xml' );
24
 
25
#
26
#   Rewrite the template file to embed the version number of the Dinkumware_STL
27
#   package.
28
#
29
GenerateFiles ('*', 'jats_transform_file',
30
                    '-infile=--Prerequisite(ant-dinkumware_stl_template.xml)',
31
                    '-outfile=--GeneratedCommon(ant-dinkumware_stl.xml)',
32
                    '-tag=TAG_Dinkumware_STL_TAG,--PackageInfo(Dinkumware_STL,--fullversion)'
33
                    );
34
 
35
#.............................................................................
36
# Packaging definitions
37
#
38
PackageFile ( '*', 'ant-dinkumware_stl.xml' );
39
 
40
#..
41
#
42
PackageFile ( '*'   , 'descpkg' );
43
 
44
#.............................................................................
45
# Finally generate the makefile
46
#
47
MakefileGenerate();
48
 
49
#..  Successful termination
50
1;