| 4900 |
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
|
|
|
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 ('*', 'configureVM.sh');
|
|
|
26 |
#
|
|
|
27 |
# Create a Debian Package around the files
|
|
|
28 |
# Use a script to invoke the provided builder scripts
|
|
|
29 |
#
|
|
|
30 |
MakeDebianPackage ('*', '--Script=PackageApp.pl' );
|
|
|
31 |
|
|
|
32 |
#.............................................................................
|
|
|
33 |
# Packaging definitions
|
|
|
34 |
#
|
|
|
35 |
#
|
|
|
36 |
PackageFile ( '*' , 'descpkg' );
|
|
|
37 |
|
|
|
38 |
#.............................................................................
|
|
|
39 |
# Finally generate the makefile
|
|
|
40 |
#
|
|
|
41 |
MakefileGenerate();
|
|
|
42 |
|
|
|
43 |
#.. Successful termination
|
|
|
44 |
1;
|