Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5400 dpurdie 1
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
1467 alewis 2
#
3
# Module name   : Makefile.pl
4
# Module type   : Makefile system
5
# Compiler(s)   : ANSI C
6
# Environment(s): n/a
7
#
5400 dpurdie 8
# Description:    makefile.pl for shellbuild 
1467 alewis 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
27
#
28
#
4270 alewis 29
Src         ( '*'   , 'shellbuild_linux.sh' );
30
PackageFile ( '*'   , 'shellbuild_linux.sh', '--Subdir=tools/scripts' );
31
Src         ( '*'   , 'shellbuild_windows.pl' );
32
PackageFile ( '*'   , 'shellbuild_windows.pl', '--Subdir=tools/scripts' );
33
Src         ( '*'   , 'patch.pl' );
34
PackageFile ( '*'   , 'patch.pl', '--Subdir=tools/scripts' );
1467 alewis 35
Src         ( '*'   , 'debbuild.pl' );
36
PackageFile ( '*'   , 'debbuild.pl', '--Subdir=tools/scripts' );
37
Src         ( '*'   , 'postinstall' );
38
PackageFile ( '*'   , 'postinstall', '--Subdir=tools/scripts' );
39
 
40
Src         ( '*'   , 'shellbuild.pm' );
41
PackageFile ( '*'   , 'shellbuild.pm', '--Gbe=DIRECTIVES' );
42
 
43
#.............................................................................
44
# Finally generate the makefile
45
#
46
MakefileGenerate();
47
 
48
#..  Successful termination
49
1;