Subversion Repositories DevTools

Rev

Rev 119 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 119 Rev 129
Line 1... Line 1...
1
# Copyright (C) 1998-2006 ERG Limited, All rights reserved
1
# Copyright (C) 1998-2006 ERG Limited, All rights reserved
2
#
2
#
3
# Module name   : Makefile.pl
3
# Module name   : Makefile.pl
4
# Module type   : Makefile system
4
# Module type   : Makefile system
5
# Compiler(s)   : ANSI C
5
# Compiler(s)   : ANSI C
6
# Environment(s): n/a
6
# Environment(s): n/a
7
#
7
#
8
# Description:    makefile.pl for package Release_Manager
8
# Description:    makefile.pl for package Release_Manager
9
#
9
#
10
#.........................................................................#
10
#.........................................................................#
11
 
11
 
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
13
    unless( $#ARGV+1 >= 2 );
13
    unless( $#ARGV+1 >= 2 );
14
require "$ARGV[1]";
14
require "$ARGV[1]";
15
 
15
 
16
#
16
#
17
# Build platform definitions ..
17
# Build platform definitions ..
18
#
18
#
19
Platform( '*' );
19
Platform( '*' );
-
 
20
 
-
 
21
GenerateFiles ('*', 'jats_transform_file',
-
 
22
                    '--NoVarTag',
-
 
23
                    '-infile=--Prerequisite(_about.template)',
-
 
24
                    '-outfile=--GeneratedCommon(_about.asp)',
-
 
25
                    '-tag=__NAME__,--Var(BuildName)',
-
 
26
                    '-tag=__VERSION__,--Var(BuildVersion)',
-
 
27
                    '-tag=__VERSIONNUM__,--Var(BuildVersionNum)',
-
 
28
                );
-
 
29
 
-
 
30
 
20
 
31
 
21
############################################################################
32
############################################################################
22
#   Define the source files
33
#   Define the source files
23
#
34
#
24
 
35
 
25
#.............................................................................
36
#.............................................................................
26
# Packaging definitions
37
# Packaging definitions
27
#
38
#
28
PackageFile ( '*', '--DirTree=.', '--FilterOut=build', '--FilterOut=descpkg', '--FilterOut=Makefile.gbe', '--FilterOut=makefile.pl', '--Prod', '--Prefix=etc' );
39
PackageFile ( '*', '--DirTree=.', '--FilterOut=build', '--FilterOut=descpkg', '--FilterOut=Makefile.gbe', '--FilterOut=makefile.pl', '--Prod', '--Prefix=etc' );
-
 
40
PackageFile ( '*', '_about.asp', '--Prefix=etc' );
29
 
41
 
30
#..
42
#..
31
#
43
#
32
Src         ( '*'   , 'descpkg' );
44
Src         ( '*'   , 'descpkg' );
33
PackageFile ( '*'   , 'descpkg' );
45
PackageFile ( '*'   , 'descpkg' );
34
 
46
 
35
#.............................................................................
47
#.............................................................................
36
# Finally generate the makefile
48
# Finally generate the makefile
37
#
49
#
38
MakefileGenerate();
50
MakefileGenerate();
39
 
51
 
40
#..  Successful termination
52
#..  Successful termination
41
1;
53
1;