Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
4334 dpurdie 1
# Copyright (C) 1998-2004 ERG Limited, All rights reserved
1689 mbrodzia 2
#
3
# Module name   : Makefile.pl
4
# Module type   : Makefile system
5
# Compiler(s)   : ANSI C
6
# Environment(s): n/a
7
#
4334 dpurdie 8
# Description:    makefile.pl template example
1689 mbrodzia 9
#
10
#.........................................................................#
11
 
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
13
    unless( $#ARGV+1 >= 2 );
14
require "$ARGV[1]";
15
 
16
#
17
# Build platform definitions ..
18
#
19
Platform( '*' );
20
 
21
############################################################################
22
#   Define the source files
23
#
24
 
25
#.............................................................................
26
# Packaging definitions
4334 dpurdie 27
#   Package up the entire ant distribution
28
#   It goes into the pkg subdir - largely so that it can be processed by BuildPkgArchive
1689 mbrodzia 29
#
6803 buildadm 30
PackageFile ('*', '--DirTree=apache-ant-1.10.5', '--StripDir', '--Subdir=pkg/ant');
1689 mbrodzia 31
 
4334 dpurdie 32
Src         ('*', 'info.ant.generic');
33
PackageFile ('*', 'info.ant.generic', '--Gbe=INFO');
34
 
1689 mbrodzia 35
#..
4334 dpurdie 36
# 
37
PackageFile ('*'   , 'descpkg' );
1689 mbrodzia 38
 
39
#.............................................................................
40
# Finally generate the makefile
41
#
42
MakefileGenerate();
43
 
44
#..  Successful termination
45
1;
4334 dpurdie 46