Subversion Repositories DevTools

Rev

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

Rev 62 Rev 66
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 Production_Manager
8
# Description:    makefile.pl for package Production_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
                );
20
 
29
 
21
############################################################################
30
############################################################################
22
#   Define the source files
31
#   Define the source files
23
#
32
#
24
 
33
 
25
#.............................................................................
34
#.............................................................................
26
# Packaging definitions
35
# Packaging definitions
27
#
36
#
28
PackageFile ( '*', '--DirTree=.', '--FilterOut=build', '--FilterOut=descpkg', '--FilterOut=Makefile.gbe', '--FilterOut=makefile.pl', '--Prod', '--Prefix=etc' );
37
PackageFile ( '*', '--DirTree=.', '--FilterOut=build.pl', '--FilterOut=descpkg', '--FilterOut=Makefile.gbe', '--FilterOut=makefile.pl', '--Prod', '--Prefix=etc' );
-
 
38
PackageFile ( '*', '_about.asp', '--Prefix=etc' );
29
 
39
 
30
#..
40
#..
31
#
41
#
32
Src         ( '*'   , 'descpkg' );
42
Src         ( '*'   , 'descpkg' );
33
PackageFile ( '*'   , 'descpkg' );
43
PackageFile ( '*'   , 'descpkg' );
34
 
44
 
35
#.............................................................................
45
#.............................................................................
36
# Finally generate the makefile
46
# Finally generate the makefile
37
#
47
#
38
MakefileGenerate();
48
MakefileGenerate();
39
 
49
 
40
#..  Successful termination
50
#..  Successful termination
41
1;
51
1;