Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
983 mhunt 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
 
1013 buildadm 25
BuildName       ( 'GenericProduct', '1.3.0001', 'tool', '--RelaxedVersion' );
983 mhunt 26
BuildSnapshot   ();
27
BuildAccessPerms();
28
BuildInterface  ( 'local' );
29
BuildInterface  ( 'interface' );
30
 
31
#..     Build source tree makefile(s)
32
#       LinkPkgArchive or BuildPkgArchive
33
#
1011 mhunt 34
LinkPkgArchive ( 'CommonDependency', '0.0.3000.tool');
983 mhunt 35
 
36
#   Specify subdirectories to process
37
#
38
BuildSubDir    ( 'src' );
39
 
40
#
41
#   Generate the descpkg and Makefiles
42
BuildVersion ();
43
BuildDescpkg   ();
44
BuildMake      ();
45