Subversion Repositories DevTools

Rev

Rev 2429 | Blame | Compare with Previous | Last modification | View Log | RSS feed

########################################################################
# Copyright (C) 1998-2012 Vix Technology, All rights reserved
#
# Module name   : build_test.pl
# Module type   : Makefile system
# Compiler(s)   : Perl
# Environment(s): jats
#
# Description:    build.pl for JatsFileUtil
#
#                 JatsFileUtil 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 slow under windows.
#
#                      This is a native program it should be executable by
#                      make without the need to invoke a cmd.exe layer or
#                      a shell 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'      ,'--Alias=WINDOWS');
BuildPlatforms ('VS2012_X64,--OnlyProd' ,'--Alias=WINDOWS');


BuildName       ( 'JatsFileUtil 1.0.0000 cr' );
BuildInterface  ( 'local' );
BuildInterface  ( 'interface' );

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

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