# Copyright (C) 1998-2007 ERG Limited, All rights reserved
#
# Module name   : build.pl
# Module type   : Makefile system
# Environment(s): JATS
#
# Description:    Create programs to be placed into the BIN.<GBE_MACHTYPE>
#                 directory to capture bad ant/java behaviour.
#.........................................................................#

#..     Build system
#
$MAKELIB_PL     = "$ENV{ GBE_TOOLS }/makelib.pl";
$BUILDLIB_PL    = "$ENV{ GBE_TOOLS }/buildlib.pl";

require         "$BUILDLIB_PL";
require         "$MAKELIB_PL";

#..     Product configuration
#
BuildPlatforms ('SOLARIS,--OnlyProd');
BuildPlatforms ('LINUX,--OnlyProd');
BuildPlatforms ('WIN32,--OnlyProd');

BuildName       ( 'bad-progs', '1.0.0.cr' );
BuildInterface  ( 'interface' );

#   Specify subdirectories to process
#
BuildSubDir    ( 'src' );

#
#   Generate the descpkg and Makefiles
BuildDescpkg   ();
BuildMake      ();

