Subversion Repositories DevTools

Rev

Rev 1689 | 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( '*' );

############################################################################
#   Define the source files
#

#.............................................................................
# Packaging definitions
#   Package up the entire ant distribution
#   It goes into the pkg subdir - largely so that it can be processed by BuildPkgArchive
#
PackageFile ('*', '--DirTree=apache-ant-1.9.2', '--StripDir', '--Subdir=pkg/ant');

Src         ('*', 'info.ant.generic');
PackageFile ('*', 'info.ant.generic', '--Gbe=INFO');

#..
# 
PackageFile ('*'   , 'descpkg' );

#.............................................................................
# Finally generate the makefile
#
MakefileGenerate();

#..  Successful termination
1;