#!/bin/sh # ---------------------------------------------------------------------------- # Description: # Compiles a CAPLIB2 source with debugging turned on. # # $HOME should be set to the path to the cap2 subdirectory, e.g. "/home/smitty" # if it's /home/smitty/cap2. $PATH should have $HOME/cap2/bat:$HOME/cap2/bin # at it's front before invoking. # ---------------------------------------------------------------------------- # Changelog: # 920101 Created by Smitty. # 980101 Smitty modified to handle HP-UX and Linux Release 2. # ---------------------------------------------------------------------------- trap "cp $HOME/cap2/include/apldebug.h0 $HOME/cap2/include/apldebug.h" EXIT cd $HOME/cap2/source cp $HOME/cap2/include/apldebug.h1 $HOME/cap2/include/apldebug.h z $1 -g $2 $3 $4 exit