Subversion Repositories DevTools

Rev

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

# Copyright (C) 1998-2008 ERG Limited, All rights reserved
#
# Module name   : build.pl
# Module type   : Makefile system
# Environment(s): n/a
#
# Description:    build.pl for CopyFile
#
#                 CopyFile is a native utility used by JATS to install
#                 and uninstall files.
#
#                 Reasons for its existance
#                   1) Previously used 'shell' script for Windows and Unix
#                      This was very sow under windows.
#                      This is a native program it should be executable by
#                      make without the need to invoke a cmd.exe layer
#
#
#                   2) All the Windows 'copy' utilities have path limits
#                      These can be overcome
#
#.........................................................................#

#..     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,--OnlyDebug');
BuildPlatforms ('LINUX,--OnlyDebug');
BuildPlatforms ('WIN32,--OnlyProd');


BuildName       ( 'CopyFile 0.0.0000 cr' );
BuildInterface  ( 'local' );
BuildInterface  ( 'interface' );

#   Specify subdirectories to process
#
BuildSubDir    ( 'src' );

#
#   Generate the descpkg and Makefiles
BuildDescpkg   ();
BuildMake      ();