Subversion Repositories DevTools

Rev

Rev 5710 | Rev 7299 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

# Copyright (c) VIX TECHNOLOGY (AUST) LTD
#
# Module name   : Makefile.pl
# Module type   : Makefile system
# Compiler(s)   : ANSI C
# Environment(s): n/a
#
# Description:    makefile.pl timeout
#
#.........................................................................#

require "$ARGV[1]";

# Build platform definitions ..
#
Platform( '*' );

############################################################################
#   For Windows
#       Statically link the runtime library as some amchines don't have the compiler runtime
CompileOptions('WINDOWS', 'multithread_static');
Src ('*', "timeout_win32.cpp");
Prog('WINDOWS' , 'timeout', 'timeout_win32' );

#
#   For Unix
Src ('*', "timeout_unix.c");
Prog('UNIX'     ,'timeout', 'timeout_unix' );


#.............................................................................
# Packaging definitions
#
InstallProg ( '*'   , @PROGS );
PackageProg ( '*'   , "timeout" );

#.............................................................................
# Finally generate the makefile
#
MakefileGenerate();

#..  Successful termination
1;