Subversion Repositories DevTools

Rev

Rev 1701 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1701 mhunt 1
#..
2
# Copyright (C) 1998-2000 ERG Transit Systems, All rights reserved
3
#
4
die "Usage: Makefile.pl rootdir Makelib.pl\n"
5
unless( $#ARGV+1 >= 2 );
6
require "$ARGV[1]";
7
 
8
#
9
# Build platform definitions ..
10
#
6290 sawasthi 11
Platform( 'JAVA' );
1701 mhunt 12
 
13
############################################################################
14
#   Define the source files
15
#
16
 
17
AddSrcDir  ( '*'    , "$ProjectBase" );
18
Src        ( '*'    , "build.xml" );
19
MakeAnt    ( '*'    , "build.xml" ,
20
                    , "--Jar=build/jar/ant-apmcfg.jar"
21
                    , "--PackageBase"
22
           );
23
 
24
#.............................................................................
25
# Packaging definitions
26
#
27
 
28
PackageJar  ( '*', 'ant-apmcfg.jar', "--Dir=jar" );
29
 
30
# libraries to be installed outside the sandbox
31
Src         ( '*', 'ant-apmcfg.xml' );
32
PackageFile ( '*', 'ant-apmcfg.xml' );
33
Src         ( '*', 'descpkg' );
34
PackageFile ( '*', 'descpkg' );
35
 
36
#--- Finally generate the makefile
37
MakefileGenerate();