#!/bin/csh
#******************************************************************************
#* Product: # # ###### ##### # ### ######
#* ## ## # # # # # # # #
#* # # # # # # # # # # #
#* # # # # # # # # ######
#* # # # # # # # # #
#* # # # # # # # # # #
#* # # ###### ##### ####### ####### ### ######
#*
#* File: build
#* Description: Build description file for the virtual data warehouse
#* Meta Data Communications API library.
#* Version: %I%
#* Dated: %D%
#* Copyright: P.D. Smart, 1996-2019.
#*
#* History: 1.0 - Initial Release.
#*
#******************************************************************************
#* This source file is free software: you can redistribute it and#or modify
#* it under the terms of the GNU General Public License as published
#* by the Free Software Foundation, either version 3 of the License, or
#* (at your option) any later version.
#*
#* This source file is distributed in the hope that it will be useful,
#* but WITHOUT ANY WARRANTY; without even the implied warranty of
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#* GNU General Public License for more details.
#*
#* You should have received a copy of the GNU General Public License
#* along with this program. If not, see .
#******************************************************************************
# Work out architecture we are compiling on..
#
setenv ARCH `uname -s`
setenv ARCH ${ARCH}`uname -r | cut -c1`
# Work out arguments and decide on actions from there.
#
if( $#argv > 0 ) then
switch("$argv[1]")
case "save":
make -f Makefile clean
sccs delta SCCS
exit 0
case "install":
echo "Installing libraries and header files."
echo -n "Please enter 'vdwd' "
su - vdwd <