Subversion Repositories DevTools

Rev

Rev 227 | Rev 4543 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 227 Rev 4466
Line -... Line 1...
-
 
1
########################################################################
1
 # Copyright (C) 1998-2004 ERG Limited, All rights reserved
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 
5
# Compiler(s)   : ANSI C
-
 
6
# Environment(s): n/a
-
 
7
#
8
#
8
# Description:    makefile.pl template example
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( 'JAVA' );
19
Platform( '*' );
20
 
20
 
21
 
21
 
22
############################################################################
22
############################################################################
23
#   Define the source files
23
#   Define the source files
24
#
24
#
25
 
25
 
26
Src        ( '*'    , "build.xml" );
-
 
27
MakeAnt    ( '*'    , "build.xml" ,'--Debug',
-
 
28
                    , "--Jar=java.build/jar/ReleaseManagerSelect.jar"
-
 
29
           );
-
 
30
 
-
 
31
 
-
 
32
#.............................................................................
26
#.............................................................................
33
# Packaging definitions
27
# Packaging definitions
34
#
28
#
35
 
29
 
36
PackageJar  ( '*', 'ReleaseManagerSelect.jar', "--Dir=jar" );
-
 
37
 
-
 
38
Src         ( '*', 'jar/classes12.jar', "--FromPackage");
-
 
39
PackageFile ( '*', 'classes12.jar', "--Subdir=jar" );
-
 
40
 
-
 
41
Src         ( '*', 'DBI.pm' );
30
Src         ( '*', 'DBI.pm' );
42
PackageFile ( '*', 'DBI.pm', "--Subdir=jar" );
31
PackageFile ( '*', 'DBI.pm', "--Subdir=jar" );
43
 
32
 
44
#.............................................................................
33
#.............................................................................
45
# Finally generate the makefile
34
# Finally generate the makefile