| 4719 |
marundel |
1 |
##============================================================================
|
|
|
2 |
## **** Copyright (c) VIX TECHNOLOGY (AUST) LTD ****
|
|
|
3 |
##
|
|
|
4 |
##============================================================================
|
|
|
5 |
die "Usage: Makefile.pl rootdir Makelib.pl\n"
|
|
|
6 |
unless( $#ARGV+1 >= 2 );
|
|
|
7 |
require "$ARGV[1]";
|
|
|
8 |
|
|
|
9 |
# subdirectories to recurse
|
|
|
10 |
|
|
|
11 |
# target platforms
|
|
|
12 |
Platform( '*' );
|
|
|
13 |
|
|
|
14 |
# build flags and paths
|
|
|
15 |
|
|
|
16 |
# source types
|
|
|
17 |
|
|
|
18 |
# source files
|
|
|
19 |
|
|
|
20 |
# files to be generated
|
|
|
21 |
|
|
|
22 |
# additional rules
|
|
|
23 |
|
|
|
24 |
# headers to be installed
|
|
|
25 |
|
|
|
26 |
# headers to be installed outside the sandbox
|
|
|
27 |
|
|
|
28 |
# libraries to be made
|
|
|
29 |
|
|
|
30 |
# libraries to be installed into the 'export' lib directory
|
|
|
31 |
|
|
|
32 |
# libraries to be installed outside the sandbox
|
|
|
33 |
|
|
|
34 |
# Scripts to Package
|
|
|
35 |
PackageFile('*', '--DirTree=scripts', '-Dir=pkg' );
|
|
|
36 |
|
|
|
37 |
#Package the docs directory
|
|
|
38 |
PackageFile('*', '--DirTree=../doc', '-Dir=pkg/doc');
|
|
|
39 |
|
|
|
40 |
#--- Finally generate the makefile
|
|
|
41 |
MakefileGenerate();
|