Subversion Repositories DevTools

Rev

Rev 4995 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6177 dpurdie 1
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
227 dpurdie 2
#
3
# Module name   : Makefile.pl
4995 dpurdie 4
# Environment(s): JATS
227 dpurdie 5
#
6
# Description:
7
#   JATS makefile to build a static library
8
#
9
#
10
#.........................................................................#
11
 
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
13
    unless( $#ARGV+1 >= 2 );
14
require "$ARGV[1]";
15
 
16
#
17
# Build platform definitions ..
18
#
19
Platform    ( '*' );
20
 
21
############################################################################
22
#
23
#
24
# Configuration files
25
Src         ( '*', "MyLib.h" );
26
 
27
# project fsm files
28
AddSrcDir   ( '*', "src" );
29
AddIncDir   ( '*', "inc" );
30
Src         ( '*', "File1.c" );
31
Src         ( '*', "File2.c" );
32
 
33
# libraries to be made
34
Lib         ( '*' , 'MyLib', @OBJS );
35
 
36
# headers to be installed outside the sandbox
37
InstallHdr  ( '*', @CHDRS ,"--Strip" );
38
InstallLib  ( '*', @LIBS );
39
 
40
#.............................................................................
41
# Finally generate the makefile
42
#
43
MakefileGenerate();
44
 
45
#..  Successful termination
46
1;
47