Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
# Copyright (C) 1998-2004 ERG Limited, All rights reserved## Module name : Makefile.pl# Module type : Makefile system# Compiler(s) : ANSI C# Environment(s): n/a## Description: makefile.pl template example##.........................................................................#die "Usage: Makefile.pl rootdir Makelib.pl\n"unless( $#ARGV+1 >= 2 );require "$ARGV[1]";## Build platform definitions ..#Platform( 'JAVA' );############################################################################# Define the source files#Src ( '*' , "build.xml" );MakeAnt ( '*' , "build.xml" ,'--Debug',, "--Jar=java.build/jar/ReleaseManagerSelect.jar");#.............................................................................# Packaging definitions#PackageJar ( '*', 'ReleaseManagerSelect.jar', "--Dir=jar" );Src ( '*', 'jar/classes12.jar', "--FromPackage");PackageFile ( '*', 'classes12.jar', "--Subdir=jar" );Src ( '*', 'DBI.pm' );PackageFile ( '*', 'DBI.pm', "--Subdir=jar" );#.............................................................................# Finally generate the makefile#MakefileGenerate();#.. Successful termination1;