#!/bin/csh -f 
#***********************************************************************\
#                                                                       *
# Copyright (C) 1998, Global Information Group Inc., New York, NY       *
#                                                                       *
# Global Information Group Inc.                                         *
# One Rockefeller Plaza                                                 *
# Suite 1420                                                            *
# New York, NY 10020                                                    *
# phone: +1-212-246.9842                                                *
# fax:   +1-212-265.6402                                                *
#                                                                       *
# Dekorcentrum 4                                                        *
# Media Park                                                            *
# Sumatralaan 47                                                        *
# P.O. Box 27000                                                        *
# 1200 KA Hilversum                                                     *
# The Netherlands                                                       *
#                                                                       *
# phone: +31-35-626.5818                                                *
# fax:   +31-35-626.5824                                                *
#                                                                       *
# email: info@lgco.nl                                                   *
#                                                                       *
#***********************************************************************/

# 051498 Gert Hulstein
#   Install Script changes for HotMix 19 
#

# which machine is this script running on
set MACHINE = `uname -m`

switch ($MACHINE)
  case IP[0-9]:
  case IP[0-9][0-9]:
  case IP[0-9][0-9][0-9]:
    set machine = 'sgi'
    breaksw;
  default:
    echo Unknown machine
    goto aborted
endsw

setenv TCL_LIBRARY `pwd`/generic/tclgen
setenv TK_LIBRARY  `pwd`/generic/tkgen
setenv TOPLEVELGOCALLED 1

echo $machine architecture detected.

if ( $machine == sgi ) then
  cd sgi
  ./go
endif

exit 0

aborted:
    echo ""
    echo "installation aborted"
    exit 1
