| 6152 |
dpurdie |
1 |
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
|
| 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 |
require "$ARGV[1]";
|
|
|
13 |
|
|
|
14 |
#
|
|
|
15 |
# Build platform definitions ..
|
|
|
16 |
#
|
|
|
17 |
Platform( '*' );
|
|
|
18 |
|
|
|
19 |
############################################################################
|
|
|
20 |
# Define the source files
|
|
|
21 |
#
|
|
|
22 |
|
|
|
23 |
#.............................................................................
|
|
|
24 |
# Packaging definitions
|
|
|
25 |
#
|
|
|
26 |
#
|
| 4270 |
alewis |
27 |
Src ( '*' , 'shellbuild_linux.sh' );
|
|
|
28 |
PackageFile ( '*' , 'shellbuild_linux.sh', '--Subdir=tools/scripts' );
|
|
|
29 |
Src ( '*' , 'shellbuild_windows.pl' );
|
|
|
30 |
PackageFile ( '*' , 'shellbuild_windows.pl', '--Subdir=tools/scripts' );
|
|
|
31 |
Src ( '*' , 'patch.pl' );
|
|
|
32 |
PackageFile ( '*' , 'patch.pl', '--Subdir=tools/scripts' );
|
| 1467 |
alewis |
33 |
Src ( '*' , 'debbuild.pl' );
|
|
|
34 |
PackageFile ( '*' , 'debbuild.pl', '--Subdir=tools/scripts' );
|
|
|
35 |
Src ( '*' , 'postinstall' );
|
|
|
36 |
PackageFile ( '*' , 'postinstall', '--Subdir=tools/scripts' );
|
|
|
37 |
|
|
|
38 |
Src ( '*' , 'shellbuild.pm' );
|
|
|
39 |
PackageFile ( '*' , 'shellbuild.pm', '--Gbe=DIRECTIVES' );
|
|
|
40 |
|
|
|
41 |
#.............................................................................
|
|
|
42 |
# Finally generate the makefile
|
|
|
43 |
#
|
|
|
44 |
MakefileGenerate();
|
|
|
45 |
|
|
|
46 |
#.. Successful termination
|
|
|
47 |
1;
|