| 1831 |
mhunt |
1 |
# Copyright (C) 1998-2006 ERG Limited, All rights reserved
|
|
|
2 |
#
|
|
|
3 |
# Module name : Makefile.pl
|
|
|
4 |
# Module type : Makefile system
|
|
|
5 |
# Compiler(s) : ANSI C
|
|
|
6 |
# Environment(s): n/a
|
|
|
7 |
#
|
|
|
8 |
# Description: makefile.pl for package ant-jants
|
|
|
9 |
#
|
|
|
10 |
#.........................................................................#
|
|
|
11 |
|
|
|
12 |
die "Usage: Makefile.pl rootdir Makelib.pl\n"
|
|
|
13 |
unless( $#ARGV+1 >= 2 );
|
|
|
14 |
require "$ARGV[1]";
|
|
|
15 |
|
|
|
16 |
#
|
|
|
17 |
# Build platform definitions ..
|
|
|
18 |
#
|
|
|
19 |
Platform( '*' );
|
|
|
20 |
|
|
|
21 |
############################################################################
|
|
|
22 |
# Define the source files
|
|
|
23 |
#
|
|
|
24 |
|
|
|
25 |
#.............................................................................
|
|
|
26 |
# Packaging definitions
|
|
|
27 |
#
|
| 1845 |
crichaud |
28 |
GenerateFiles ('*', 'jats_transform_file',
|
|
|
29 |
'-infile=--Prerequisite(ant-jants.template.xml)',
|
|
|
30 |
'-outfile=--GeneratedCommon(ant-jants.xml)',
|
|
|
31 |
'-tag=TAG_ANTSHIELD,--PackageInfo(antshield,--fullversion)',
|
|
|
32 |
'-tag=TAG_CLEARCASE,--PackageInfo(clearcase,--fullversion)',
|
|
|
33 |
'-tag=TAG_JANTS,--PackageInfo(jants,--fullversion)',
|
|
|
34 |
);
|
|
|
35 |
PackageFile ( '*', 'ant-jants.xml' );
|
| 1831 |
mhunt |
36 |
|
|
|
37 |
#..
|
|
|
38 |
#
|
|
|
39 |
Src ( '*' , 'descpkg' );
|
|
|
40 |
PackageFile ( '*' , 'descpkg' );
|
|
|
41 |
|
|
|
42 |
#.............................................................................
|
|
|
43 |
# Finally generate the makefile
|
|
|
44 |
#
|
|
|
45 |
MakefileGenerate();
|
|
|
46 |
|
|
|
47 |
#.. Successful termination
|
|
|
48 |
1;
|