Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
313 dpurdie 1
#..
2
# Module name:  Makelib.pl
3
# Module type:  Makefile system
4
#
5
# Description:  CMDFILE
6
#
7
#...........................................................................
8
 
9
# exec build system
10
#
11
die "Usage: Makefile.pl rootdir Makelib.pl\n"
12
    unless( $#ARGV+1 >= 2 );
13
require "$ARGV[1]";
14
 
15
# build platform definitions ..
16
#..
17
Platform( '*' );
18
 
19
#.............................................................................
20
# Platforms definitions
21
#
22
 
23
# Any source/headers etc
24
#..
25
Src( '*',       'cmdfile.c' );
26
Src( '*',       'longopt.c' );
27
Src( '*',       'getopt.c' );
28
Src( '*',       'macro.c' ); 
29
Src( '*',       'util.c' ); 
30
Src( '*',       'vpath.c' );
31
Src( '*',       'realpath.c' );
32
Src( '*',       'shtpath.c' );
33
Src( '*',       'dosify.c' );
34
Src( '*',       'mktemp.c' );
35
Src( '*',       'gcc.c' );
36
Src( '*',       'url.c' );
37
 
38
AddDir ( 'WIN32', '../../LIBWIN32');
39
Src    ( 'WIN32', 'dirent.c' );
40
 
41
# Applications to be built
42
#..
43
Prog( '*',      'cmdfile', @OBJS );
44
 
45
#.............................................................................
46
# Finally generate the makefile
47
#..
48
MakefileGenerate();
49