| 1319 |
dpurdie |
1 |
########################################################################
|
|
|
2 |
# Copyright (C) 1998-2012 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 CotsWithRippleVersion
|
|
|
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 |
Platform( '*' );
|
|
|
18 |
|
|
|
19 |
############################################################################
|
|
|
20 |
# Define the source files
|
|
|
21 |
#
|
|
|
22 |
Src ( '*' , "file.c" );
|
|
|
23 |
|
|
|
24 |
#
|
|
|
25 |
# Build and install the library
|
|
|
26 |
|
|
|
27 |
Prog ( '*', "Hello", "file" );
|
|
|
28 |
|
|
|
29 |
#.............................................................................
|
|
|
30 |
# Packaging definitions
|
|
|
31 |
#
|
|
|
32 |
PackageFile ( '*' , 'descpkg' );
|
|
|
33 |
PackageProg ( '*' , @PROGS );
|
|
|
34 |
|
|
|
35 |
#.............................................................................
|
|
|
36 |
# Finally generate the makefile
|
|
|
37 |
#
|
|
|
38 |
MakefileGenerate();
|
|
|
39 |
|
|
|
40 |
#.. Successful termination
|
|
|
41 |
1;
|
|
|
42 |
|