Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
5692 dpurdie 1
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
2
#
3
# Module name   : Makefile.pl
4
# Module type   : Makefile system
5
# Compiler(s)   : ANSI C
6
# Environment(s): n/a
7
#
8
# Description:    makefile.pl timeout
9
#
10
#.........................................................................#
11
 
12
require "$ARGV[1]";
13
 
14
# Build platform definitions ..
15
#
16
Platform( '*' );
17
 
18
############################################################################
5847 dpurdie 19
#   For Windows
20
#       Statically link the runtime library as some amchines don't have the compiler runtime
21
CompileOptions('WINDOWS', 'multithread_static');
22
Src ('*', "timeout_win32.cpp");
23
Prog('WINDOWS' , 'timeout', 'timeout_win32' );
24
 
5692 dpurdie 25
#
5847 dpurdie 26
#   For Unix
27
Src ('*', "timeout_unix.c");
28
Prog('UNIX'     ,'timeout', 'timeout_unix' );
5692 dpurdie 29
 
30
 
31
#.............................................................................
32
# Packaging definitions
33
#
34
InstallProg ( '*'   , @PROGS );
35
PackageProg ( '*'   , "timeout" );
36
 
37
#.............................................................................
38
# Finally generate the makefile
39
#
40
MakefileGenerate();
41
 
42
#..  Successful termination
43
1;
44