| 3839 |
dpurdie |
1 |
########################################################################
|
|
|
2 |
# Copyright (C) 1998-2013 Vix Technology, All rights reserved
|
|
|
3 |
#
|
|
|
4 |
# Module name : makefile.pl
|
|
|
5 |
# Module type : JATS Makefile
|
|
|
6 |
# Environment(s): JATS Build System
|
|
|
7 |
#
|
|
|
8 |
# Description : Makefile for IntellectBuilder
|
|
|
9 |
#
|
|
|
10 |
#......................................................................#
|
|
|
11 |
#
|
|
|
12 |
# exec build system
|
|
|
13 |
#
|
|
|
14 |
die "Usage: Makefile.pl rootdir Makelib.pl\n" unless( $#ARGV+1 >= 2 );
|
|
|
15 |
require "$ARGV[1]";
|
|
|
16 |
|
|
|
17 |
#
|
|
|
18 |
# Build platform definitions ..
|
|
|
19 |
#
|
|
|
20 |
Platform( '*' );
|
|
|
21 |
|
|
|
22 |
############################################################################
|
|
|
23 |
# Define the source files
|
|
|
24 |
#
|
|
|
25 |
Src ( '*' , 'MakePax.pm' );
|
|
|
26 |
Src ( '*' , 'MakePax.pl' );
|
|
|
27 |
|
|
|
28 |
#.............................................................................
|
|
|
29 |
# Packaging definitions
|
|
|
30 |
#
|
|
|
31 |
PackageFile ( '*' , 'MakePax.pm', '--Gbe=DIRECTIVES' );
|
|
|
32 |
PackageFile ( '*' , 'MakePax.pl', '--Subdir=tools/scripts' );
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
#.............................................................................
|
|
|
36 |
# Finally generate the makefile
|
|
|
37 |
#
|
|
|
38 |
MakefileGenerate();
|
|
|
39 |
|
|
|
40 |
#.. Successful termination
|
|
|
41 |
1;
|
|
|
42 |
|