Subversion Repositories DevTools

Rev

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

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