Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

#! /usr/bin/bash
#
# Module name   : jats.sh
# Module type   : Makefile system
# Compiler(s)   :
# Environment(s): n/a
#
# Description:
#       Template for a BASH file to simplify access to a wrapper
#       script to simplify use of JATS components.
#
#       Tailor the environment variables and place within your PATH
#       This is a Bourne Shell script.
#       It has been named jats.sh to indicate that it is not a C-Shell
#       Feel free to:
#           Rename it to "jats"
#           Copy the file and put it in your path
#           Modify the definitions of GBE_xxxx as described below
#
#       See JATS.BAT for a windows equivelent file
#
#.........................................................................#
#
#
#     Minimal JATS environment variables
#
#     GBE_MACHTYPE            - The type of this machine
#     GBE_PERL                - The Perl binary to use
#     GBE_CORE                - The path to the JATS core
#     GBE_DPKG                - List of available dpkg_archives
#     GBE_DPKG_LOCAL          - Optional local dpkg_archives
#     GBE_BUILDFILTER         - Optional Build filter specification
#     GBE_PLATFORM            - Optional PLATFORM filter. Only these
#                               PLATFORMS will built and make
#                               A space-seperated list
#
GBE_MACHTYPE=`uname -p`
GBE_PERL=/usr/bin/perl
[ $GBE_CORE ] || GBE_CORE=/net/auperaunx26/export/devl/core_devl2
[ $GBE_DPKG ] || GBE_DPKG=/net/auperaunx26/export/devl/dpkg_archive
#GBE_DPKG_LOCAL=
GBE_PLATFORM=
GBE_BUILDFILTER='SOLARIS --TARGET=SOLARIS'
umask 022
# Toolset configuration
#   Compiler specific initialisation ( if required )
#
#............... Internal Use. Do not modify............................#
#
GBE_BIN=${GBE_CORE}/BIN.${GBE_MACHTYPE}
GBE_TOOLS=
GBE_CONFIG=

export GBE_MACHTYPE GBE_PERL GBE_CORE GBE_DPKG GBE_DPKG_LOCAL GBE_PLATFORM
export GBE_BIN GBE_TOOLS GBE_CONFIG GBE_BUILDFILTER

#
#     Start the JATS wrapper script passing all the user options
${GBE_PERL} ${GBE_CORE}/TOOLS/jats.pl $*