Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
263 dpurdie 1
#..
2
# Copyright (C) 1999-2002 ERG Limited, All rights reserved
3
#
4
# Module name:  Makelib.pl
5
# Module type:  Makefile system
6
#
7
# Description:  Resource compiler
8
#
9
#...........................................................................
10
 
11
# exec build system
12
#
13
die "Usage: Makefile.pl rootdir Makelib.pl\n"
14
    unless( $#ARGV+1 >= 2 );
15
require "$ARGV[1]";
16
 
17
Platform( '*' );
18
 
19
#.............................................................................
20
# Platforms definitions
21
#
22
 
23
AddFlags( 'WIN32',         '-DMICRO_SOFT' );
24
AddIncDir( '*',            '.' );
25
 
26
# Any source/headers etc
27
#..
28
Src( '*',                  'sl.h', 'enum.h', 'tmp.h' );
29
Src( '*',                  'cpp.c', 'cpp.h' );
30
Src( '*',                  'def.c' );
31
Src( '*',                  'dir.c' );
32
Src( '*',                  'glb.c', 'glb.h' );
33
Src( '*',                  'mem.c' );
34
Src( '*',                  'mst.c' );
35
Src( '*',                  'pr.c' );
36
Src( '*',                  'str.c' );
37
Src( '*',                  'sys.c' );
38
Src( '*',                  'tok.c' );
39
Src( '*',                  'utl.c' );
40
 
41
 
42
# Applications to be built
43
#..
44
Prog( 'WIN32',             'rpccpp', @OBJS );
45
 
46
# Packaging installation
47
#..
48
PackageProg( '*',          'rpccpp' );
49
 
50
#.............................................................................
51
# Finally generate the makefile
52
MakefileGenerate();