Subversion Repositories DevTools

Rev

Rev 267 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
267 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 stdmux
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( '*' );
19
 
20
############################################################################
21
#   Define the source files
22
#
23
Src ('*', "pipe_win32.c");                      # For Windows
24
Src ('*', "pipe.c");                            # For others
25
Src ('*', "stdouterr.c");                       # Test Utility
26
 
27
Prog('WIN32' , "stdmux", "pipe_win32" );
28
Prog('!WIN32' ,"stdmux", "pipe" );
29
 
30
Prog('*'      ,"stdouterr", "stdouterr" );
31
 
32
#.............................................................................
33
# Packaging definitions
34
#
35
InstallProg ( '*'   , @PROGS );
36
PackageProg ( '*'   , "stdmux" );
37
 
38
#.............................................................................
39
# Finally generate the makefile
40
#
41
MakefileGenerate();
42
 
43
#..  Successful termination
44
1;
45