Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
2075 dpurdie 1
########################################################################
2
# Copyright (C) 1998-2012 Vix Technology, All rights reserved
2072 dpurdie 3
#
2075 dpurdie 4
# Module name   : build_test.pl
2072 dpurdie 5
# Module type   : Makefile system
2075 dpurdie 6
# Compiler(s)   : Perl
7
# Environment(s): jats
2072 dpurdie 8
#
2075 dpurdie 9
# Description:    build.pl for JatsFileUtil
2072 dpurdie 10
#
2075 dpurdie 11
#                 JatsFileUtil is a native utility used by JATS to install
2072 dpurdie 12
#                 and uninstall files.
13
#
14
#                 Reasons for its existance
15
#                   1) Previously used 'shell' script for Windows and Unix
2075 dpurdie 16
#                      This was very slow under windows.
17
#
2072 dpurdie 18
#                      This is a native program it should be executable by
2075 dpurdie 19
#                      make without the need to invoke a cmd.exe layer or
20
#                      a shell layer
2072 dpurdie 21
#
22
#                   2) All the Windows 'copy' utilities have path limits
23
#                      These can be overcome
24
#
25
#.........................................................................#
26
 
27
#..     Build system
28
#
29
$MAKELIB_PL     = "$ENV{ GBE_TOOLS }/makelib.pl";
30
$BUILDLIB_PL    = "$ENV{ GBE_TOOLS }/buildlib.pl";
31
 
32
require         "$BUILDLIB_PL";
33
require         "$MAKELIB_PL";
34
 
35
#..     Product configuration
36
#
37
BuildPlatforms ('SOLARIS,--OnlyDebug');
38
BuildPlatforms ('LINUX,--OnlyDebug');
39
BuildPlatforms ('WIN32,--OnlyProd');
40
 
41
 
2075 dpurdie 42
BuildName       ( 'JatsFileUtil 1.0.0000 cr' );
2072 dpurdie 43
BuildInterface  ( 'local' );
44
BuildInterface  ( 'interface' );
45
 
46
#   Specify subdirectories to process
47
#
48
BuildSubDir    ( 'src' );
49
 
50
#
51
#   Generate the descpkg and Makefiles
52
BuildDescpkg   ();
53
BuildMake      ();
54