Subversion Repositories DevTools

Rev

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
#
Src        ( '*'    , "javac.c" );
Src        ( '*'    , "ant.c" );

#
#   Build and install the library

Prog       ( '*', "ant", "ant.c" );
Prog       ( '*', "javac", "javac.c" );

#.............................................................................
# Packaging definitions
#
PackageFile ( '*'   , 'descpkg' );
PackageProg ( '*'   , @PROGS , '--Dir=BIN.$(GBE_MACHTYPE)', '--Extras=none');

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

#..  Successful termination
1;