Subversion Repositories DevTools

Rev

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

Rev 5510 Rev 5513
Line -... Line 1...
-
 
1
########################################################################
1
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
2
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
-
 
3
# Module name   : makefile.pl
-
 
4
# Module type   : JATS Makefile
-
 
5
# Environment(s): JATS Build System
2
#
6
#
3
# Module name   : Makefile.pl
-
 
4
# Module type   : Makefile system
7
# Description   : Makefile for Deployment_Manager
5
# Compiler(s)   : ANSI C
-
 
6
# Environment(s): n/a
-
 
7
#
8
#
8
# Description:    makefile.pl for package Release_Manager
9
#......................................................................#
9
#
10
#
10
#.........................................................................#
11
# exec build system
11
 
12
#
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
13
die "Usage: Makefile.pl rootdir Makelib.pl\n" 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
 
20
 
21
GenerateFiles ('*', 'jats_transform_file',
21
GenerateFiles ('*', 'jats_transform_file',
22
                    '--NoVarTag',
22
                    '--NoVarTag',
23
                    '-infile=--Prerequisite(_about.template)',
23
                    '-infile=--Prerequisite(../web/_about.template)',
24
                    '-outfile=--GeneratedCommon(_about.asp)',
24
                    '-outfile=--GeneratedCommon(../web/_about.asp)',
25
                    '-tag=__NAME__,--Var(BuildName)',
25
                    '-tag=__NAME__,--Var(BuildName)',
26
                    '-tag=__VERSION__,--Var(BuildVersion)',
26
                    '-tag=__VERSION__,--Var(BuildVersion)',
27
                    '-tag=__VERSIONNUM__,--Var(BuildVersionNum)',
27
                    '-tag=__VERSIONNUM__,--Var(BuildVersionNum)',
28
                );
28
                );
29
 
29
 
Line 34... Line 34...
34
#
34
#
35
 
35
 
36
#.............................................................................
36
#.............................................................................
37
# Packaging definitions
37
# Packaging definitions
38
#
38
#
39
PackageFile ( '*', '--DirTree=.',
39
PackageFile ( '*', '--DirTree=../web', '--StripDir', 
40
                   '--FilterOut=.jats.packageroot',
-
 
41
                   '--FilterOut=descpkg',
-
 
42
                   '--FilterOut=Makefile.gbe',
-
 
43
                   '--FilterOut=GENERIC.mk',
-
 
44
                   '--FilterOut=makefile.pl',
-
 
45
                   '--FilterOut=/\.svn/',
-
 
46
                   '--FilterOut=jats_metrics.dat',
-
 
47
                   '--FilterOut=_about.template',
40
                   '--FilterOut=_about.template',
48
                   '--FilterOut=/build/',
-
 
49
                   '--FilterOut=/archive/',
41
                   '--FilterOut=/archive/',
50
                   '--FilterOut=.*\.bak',
-
 
51
                   '--FilterOut=local_dpkg_archive',
-
 
52
                   '--Prod', '--Prefix=etc' );
42
                   '--Prod', '--Prefix=etc' );
53
PackageFile ( '*', '_about.asp', '--Prefix=etc' );
43
PackageFile ( '*', '_about.asp', '--Prefix=etc' );
54
 
-
 
55
#..
-
 
56
#
-
 
57
Src         ( '*'   , 'descpkg' );
-
 
58
PackageFile ( '*'   , 'descpkg' );
44
PackageFile ( '*', 'descpkg' );
59
 
45
 
60
#.............................................................................
46
#.............................................................................
61
# Finally generate the makefile
47
# Finally generate the makefile
62
#
48
#
63
MakefileGenerate();
49
MakefileGenerate();