Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
341 dpurdie 1
# Copyright (C) 1998-2008 ERG Limited, All rights reserved
2
#
3
# Module name   : build.pl
4
# Module type   : Makefile system
5
# Environment(s): n/a
6
#
7
# Description:    build.pl for stdmux
8
#
9
#                 stdmux is a native utility used by JATS to multiplex
10
#                 stdout and stderr from another program into one
11
#                 stream (stdout) that is easy to handle within PERL
12
#
13
#
14
#                 Text from the invoked program is prefixed with
15
#                   STDOUT:
16
#                   STDERR:
17
#
18
#.........................................................................#
19
 
20
#..     Build system
21
#
22
$MAKELIB_PL     = "$ENV{ GBE_TOOLS }/makelib.pl";
23
$BUILDLIB_PL    = "$ENV{ GBE_TOOLS }/buildlib.pl";
24
 
25
require         "$BUILDLIB_PL";
26
require         "$MAKELIB_PL";
27
 
28
#..     Product configuration
29
#
30
BuildPlatforms ('SOLARIS,--OnlyDebug');
31
BuildPlatforms ('LINUX,--OnlyDebug');
361 dpurdie 32
BuildPlatforms ('WIN32,--OnlyProd');
341 dpurdie 33
 
34
 
35
BuildName       ( 'stdmux 0.0.0000 cr' );
36
BuildSnapshot   ();
37
BuildAccessPerms();
38
BuildInterface  ( 'local' );
39
BuildInterface  ( 'interface' );
40
 
41
#   Specify subdirectories to process
42
#
43
BuildSubDir    ( 'src' );
44
 
45
#
46
#   Generate the descpkg and Makefiles
47
BuildDescpkg   ();
48
BuildMake      ();
49