Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
2072 dpurdie 1
# Copyright (C) 1998-2008 ERG Limited, All rights reserved
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 CopyFile
9
#
10
#.........................................................................#
11
 
12
die "Usage: Makefile.pl roottest Makelib.pl\n"
13
    unless( $#ARGV+1 >= 2 );
14
require "$ARGV[1]";
15
 
16
# Build platform definitions ..
17
#
18
Platform( '*' );
2073 dpurdie 19
AddFlags ('WIN32', '-DUNICODE', '-D_UNICODE');
2072 dpurdie 20
 
21
############################################################################
22
#   Define the source files
23
#
24
Src ('*', "CopyFile.c");                        # For Windows
2073 dpurdie 25
Src ('*', "CopyFileUnx.c");                     # For Unix
2072 dpurdie 26
 
27
Prog('WIN32' , "CopyFile", "CopyFile" );
2073 dpurdie 28
Prog('!WIN32' ,"CopyFile", "CopyFileUnx" );
2072 dpurdie 29
 
30
#.............................................................................
31
# Packaging definitions
32
#
33
PackageProg ( '*'   , "CopyFile" );
34
 
35
#.............................................................................
36
# Finally generate the makefile
37
#
38
MakefileGenerate();
39
 
40
#..  Successful termination
41
1;
42