Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
1632 buildadm 1
# Copyright (C) 1998-2007 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 simple example
8
#.........................................................................#
9
 
10
#..     Build system
11
#
12
$MAKELIB_PL     = "$ENV{ GBE_TOOLS }/makelib.pl";
13
$BUILDLIB_PL    = "$ENV{ GBE_TOOLS }/buildlib.pl";
14
 
15
require         "$BUILDLIB_PL";
16
require         "$MAKELIB_PL";
17
 
18
#..     Product configuration
19
#
20
BuildPlatforms ('SOLARIS');
21
BuildPlatforms ('LINUX_EMU');
22
BuildPlatforms ('WIN32');
23
 
24
 
1678 buildadm 25
BuildName       ( 'LinuxCentricProduct', '2.2.4000', 'tool', '--RelaxedVersion' );
1632 buildadm 26
BuildSnapshot   ();
27
BuildAccessPerms();
28
BuildInterface  ( 'local' );
29
BuildInterface  ( 'interface' );
30
 
31
#..     Build source tree makefile(s)
32
#       LinkPkgArchive or BuildPkgArchive
33
#
1676 buildadm 34
LinkPkgArchive ( 'AdvisoryDependency', '1.0.1002.tool');
1678 buildadm 35
LinkPkgArchive ( 'CommonDependency', '1.0.1000.tool');
1632 buildadm 36
 
37
#   Specify subdirectories to process
38
#
39
BuildSubDir    ( 'src' );
40
 
41
#
42
#   Generate the descpkg and Makefiles
43
BuildVersion ();
44
BuildDescpkg   ();
45
BuildMake      ();
46