Rev 7299 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
# COPYRIGHT - VIX IP PTY LTD ("VIX"). 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 ( '*' , "file1.c" );Src ( '*' , "file1.h" );Src ( '*' , "file2.xxx" );## Build and install the libraryLib ( '*' , "MyPackage", @OBJS );InstallLib ( '*' , "MyPackage" );InstallProg( '*' , "file1.c" );#.............................................................................# Packaging definitions#PackageHdr ( '*', @CHDRS ,"--Strip" );PackageHdr ( '*', "file2.xxx" ,"--Platform" );PackageLib ( '*', "MyPackage" );#..#Src ( '*' , 'descpkg' );PackageFile ( '*' , 'descpkg' );#.............................................................................# Finally generate the makefile#MakefileGenerate();#.. Successful termination1;