#!/bin/sh
#
#   Boom builder for SMT 5.0a0
#   Generated by iMatix Boom from standard.pwl
#   
#   Copyright (c) 1996-2009 iMatix Corporation
#   All rights reserved.
#   
#   This file is licensed under the BSD license as follows:
#   
#   Redistribution and use in source and binary forms, with or without
#   modification, are permitted provided that the following conditions
#   are met:
#   
#   * Redistributions of source code must retain the above copyright
#     notice, this list of conditions and the following disclaimer.
#   * Redistributions in binary form must reproduce the above copyright
#     notice, this list of conditions and the following disclaimer in
#     the documentation and/or other materials provided with the
#     distribution.
#   * Neither the name of iMatix Corporation nor the names of its
#     contributors may be used to endorse or promote products derived
#     from this software without specific prior written permission.
#   
#   THIS SOFTWARE IS PROVIDED BY IMATIX CORPORATION "AS IS" AND ANY
#   EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
#   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
#   PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IMATIX CORPORATION BE
#   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
#   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
#   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
#   BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
#   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
#   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
#   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#   Force environment variables to point to install location
#   Start by using final IBASE, then handle local -install path
#
boom_model_list () {
    set |
        awk 'BEGIN                      { FS="[=_]" }
             /^BOOM_MODEL_[A-Z0-9]*=1$/ { print $3  }'
}
boom_model_expand () {
    for MODEL in `boom_model_list`; do
        eval unset BOOM_MODEL_$MODEL
    done
    OLD_IFS=$IFS
    IFS=,
    for MODEL in $BOOM_MODEL; do
        MODEL=`echo $MODEL | tr \[a-z\] \[A-Z\]`
        eval BOOM_MODEL_$MODEL=1
        eval export BOOM_MODEL_$MODEL
    done
    IFS=$OLD_IFS
}
croak() {
    if [ -n "$*" ]; then
        echo "boom E: [SMT]: $* - stop" 1>&2
    else
        echo "boom E: [SMT]: stop" 1>&2
    fi
    exit 1
}
carp() {
    echo "boom I: [SMT]: $*" 1>&2
}
trap 'croak "Interrupted"' INT
trap 'croak "Terminated"' TERM
trap 'croak "Quit"' QUIT
self=$0
MY_VERSION="5.0a0"
#
#   Set default values for BOOM_MODEL
#
#   Default is release,mt on all platforms.
#
if [ -z "$BOOM_MODEL" ]; then
    BOOM_MODEL=release,mt
fi
boom_model_expand
if [ "$BOOM_MODEL_RELEASE" != "1" ]; then
    if [ "$BOOM_MODEL_DEBUG" != "1" ]; then
        BOOM_MODEL_RELEASE=1
        BOOM_MODEL="$BOOM_MODEL,release"
    fi
fi
if [ "$BOOM_MODEL_ST" != "1" ]; then
    if [ "$BOOM_MODEL_MT" != "1" ]; then
            BOOM_MODEL="$BOOM_MODEL,mt"
    fi
fi
if [ -z "$IBASE" ]; then
    carp "The IBASE variable is not set.  Please set it to the location where SMT should be installed."
    exit 1
fi
if [ "$1" = "-v" ]; then
    BOOM_TRACE=1
    export BOOM_TRACE
    shift
fi
if [ "$1" != "-install" ]; then
    #   Normal use, use IBASE
    PATH=.:$IBASE/bin:$PATH; export PATH
    PERLLIB=.:$IBASE/bin:$PERLLIB; export PERLLIB
    INCDIR_ALT=$IBASE/include; export INCDIR_ALT
    _LOCAL_BASE=
    _INSTALL_ROOT=$IBASE
else
    #   Building product, we use -install directory first, then IBASE
    CURDIR=`pwd`
    cd $2
    _LOCAL_BASE=`pwd`
    cd $CURDIR
    PATH=.:$_LOCAL_BASE/bin:$IBASE/bin:$PATH; export PATH
    PERLLIB=.:$_LOCAL_BASE/bin:$IBASE/bin:$PERLLIB; export PERLLIB
    INCDIR_ALT=$_LOCAL_BASE/include:$IBASE/include; export INCDIR_ALT
    shift
    shift
    _INSTALL_ROOT=$_LOCAL_BASE
fi

# --------------------------   BUILD BINARY FILES   ---------------------------

a_build_binary_files() {
:
    carp "Building SMT..."
    #   To prevent compatibility warnings...
    INCDIR=
    LIBDIR=
    export LIBDIR INCDIR
    if [ "$BOOM_TRACE" ]; then
        MY_COPTS=-v
    else
        MY_COPTS=-q
    fi
    if [ ! -z "$_LOCAL_BASE" ]; then
        MY_COPTS="$MY_COPTS -li $_LOCAL_BASE/include -ll $_LOCAL_BASE/lib"
    fi
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_method_test"
    c $MY_COPTS smt_method_test || croak "\"c $MY_COPTS smt_method_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_method"
    c $MY_COPTS smt_method || croak "\"c $MY_COPTS smt_method\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_method_queue_test"
    c $MY_COPTS smt_method_queue_test || croak "\"c $MY_COPTS smt_method_queue_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_method_queue"
    c $MY_COPTS smt_method_queue || croak "\"c $MY_COPTS smt_method_queue\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_method_list_test"
    c $MY_COPTS smt_method_list_test || croak "\"c $MY_COPTS smt_method_list_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_method_list"
    c $MY_COPTS smt_method_list || croak "\"c $MY_COPTS smt_method_list\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_os_thread_test"
    c $MY_COPTS smt_os_thread_test || croak "\"c $MY_COPTS smt_os_thread_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_os_thread"
    c $MY_COPTS smt_os_thread || croak "\"c $MY_COPTS smt_os_thread\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_os_thread_by_status_test"
    c $MY_COPTS smt_os_thread_by_status_test || croak "\"c $MY_COPTS smt_os_thread_by_status_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_os_thread_by_status"
    c $MY_COPTS smt_os_thread_by_status || croak "\"c $MY_COPTS smt_os_thread_by_status\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_os_thread_list_test"
    c $MY_COPTS smt_os_thread_list_test || croak "\"c $MY_COPTS smt_os_thread_list_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_os_thread_list"
    c $MY_COPTS smt_os_thread_list || croak "\"c $MY_COPTS smt_os_thread_list\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_thread_test"
    c $MY_COPTS smt_thread_test || croak "\"c $MY_COPTS smt_thread_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_thread"
    c $MY_COPTS smt_thread || croak "\"c $MY_COPTS smt_thread\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_thread_by_status_test"
    c $MY_COPTS smt_thread_by_status_test || croak "\"c $MY_COPTS smt_thread_by_status_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_thread_by_status"
    c $MY_COPTS smt_thread_by_status || croak "\"c $MY_COPTS smt_thread_by_status\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_thread_list_test"
    c $MY_COPTS smt_thread_list_test || croak "\"c $MY_COPTS smt_thread_list_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_thread_list"
    c $MY_COPTS smt_thread_list || croak "\"c $MY_COPTS smt_thread_list\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_thread_queue_test"
    c $MY_COPTS smt_thread_queue_test || croak "\"c $MY_COPTS smt_thread_queue_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_thread_queue"
    c $MY_COPTS smt_thread_queue || croak "\"c $MY_COPTS smt_thread_queue\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_fileio_test"
    c $MY_COPTS smt_fileio_test || croak "\"c $MY_COPTS smt_fileio_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_fileio"
    c $MY_COPTS smt_fileio || croak "\"c $MY_COPTS smt_fileio\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_fileio_request_test"
    c $MY_COPTS smt_fileio_request_test || croak "\"c $MY_COPTS smt_fileio_request_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_fileio_request"
    c $MY_COPTS smt_fileio_request || croak "\"c $MY_COPTS smt_fileio_request\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_timer_request_test"
    c $MY_COPTS smt_timer_request_test || croak "\"c $MY_COPTS smt_timer_request_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_timer_request"
    c $MY_COPTS smt_timer_request || croak "\"c $MY_COPTS smt_timer_request\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_timer_request_list_test"
    c $MY_COPTS smt_timer_request_list_test || croak "\"c $MY_COPTS smt_timer_request_list_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_timer_request_list"
    c $MY_COPTS smt_timer_request_list || croak "\"c $MY_COPTS smt_timer_request_list\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_timer_request_by_thread_test"
    c $MY_COPTS smt_timer_request_by_thread_test || croak "\"c $MY_COPTS smt_timer_request_by_thread_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_timer_request_by_thread"
    c $MY_COPTS smt_timer_request_by_thread || croak "\"c $MY_COPTS smt_timer_request_by_thread\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_socket_test"
    c $MY_COPTS smt_socket_test || croak "\"c $MY_COPTS smt_socket_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_socket"
    c $MY_COPTS smt_socket || croak "\"c $MY_COPTS smt_socket\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_socket_request_test"
    c $MY_COPTS smt_socket_request_test || croak "\"c $MY_COPTS smt_socket_request_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_socket_request"
    c $MY_COPTS smt_socket_request || croak "\"c $MY_COPTS smt_socket_request\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_socket_request_by_thread_test"
    c $MY_COPTS smt_socket_request_by_thread_test || croak "\"c $MY_COPTS smt_socket_request_by_thread_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_socket_request_by_thread"
    c $MY_COPTS smt_socket_request_by_thread || croak "\"c $MY_COPTS smt_socket_request_by_thread\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_socket_request_by_socket_test"
    c $MY_COPTS smt_socket_request_by_socket_test || croak "\"c $MY_COPTS smt_socket_request_by_socket_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_socket_request_by_socket"
    c $MY_COPTS smt_socket_request_by_socket || croak "\"c $MY_COPTS smt_socket_request_by_socket\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_position_test"
    c $MY_COPTS smt_position_test || croak "\"c $MY_COPTS smt_position_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_position"
    c $MY_COPTS smt_position || croak "\"c $MY_COPTS smt_position\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_position_list_test"
    c $MY_COPTS smt_position_list_test || croak "\"c $MY_COPTS smt_position_list_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_position_list"
    c $MY_COPTS smt_position_list || croak "\"c $MY_COPTS smt_position_list\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_signal_test"
    c $MY_COPTS smt_signal_test || croak "\"c $MY_COPTS smt_signal_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_signal"
    c $MY_COPTS smt_signal || croak "\"c $MY_COPTS smt_signal\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_signal_table_test"
    c $MY_COPTS smt_signal_table_test || croak "\"c $MY_COPTS smt_signal_table_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_signal_table"
    c $MY_COPTS smt_signal_table || croak "\"c $MY_COPTS smt_signal_table\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_signal_by_thread_test"
    c $MY_COPTS smt_signal_by_thread_test || croak "\"c $MY_COPTS smt_signal_by_thread_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_signal_by_thread"
    c $MY_COPTS smt_signal_by_thread || croak "\"c $MY_COPTS smt_signal_by_thread\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_coremark_agent"
    c $MY_COPTS smt_coremark_agent || croak "\"c $MY_COPTS smt_coremark_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_coremark_test"
    c $MY_COPTS smt_coremark_test || croak "\"c $MY_COPTS smt_coremark_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_coremark"
    c $MY_COPTS smt_coremark || croak "\"c $MY_COPTS smt_coremark\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_log_agent"
    c $MY_COPTS smt_log_agent || croak "\"c $MY_COPTS smt_log_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_log_test"
    c $MY_COPTS smt_log_test || croak "\"c $MY_COPTS smt_log_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_log"
    c $MY_COPTS smt_log || croak "\"c $MY_COPTS smt_log\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_portal_test"
    c $MY_COPTS smt_demo_portal_test || croak "\"c $MY_COPTS smt_demo_portal_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_portal"
    c $MY_COPTS smt_demo_portal || croak "\"c $MY_COPTS smt_demo_portal\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_portal_client_agent"
    c $MY_COPTS smt_demo_portal_client_agent || croak "\"c $MY_COPTS smt_demo_portal_client_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_portal_client_test"
    c $MY_COPTS smt_demo_portal_client_test || croak "\"c $MY_COPTS smt_demo_portal_client_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_portal_client"
    c $MY_COPTS smt_demo_portal_client || croak "\"c $MY_COPTS smt_demo_portal_client\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_portal_server_agent"
    c $MY_COPTS smt_demo_portal_server_agent || croak "\"c $MY_COPTS smt_demo_portal_server_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_portal_server_test"
    c $MY_COPTS smt_demo_portal_server_test || croak "\"c $MY_COPTS smt_demo_portal_server_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_portal_server"
    c $MY_COPTS smt_demo_portal_server || croak "\"c $MY_COPTS smt_demo_portal_server\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_echo"
    c $MY_COPTS smt_echo || croak "\"c $MY_COPTS smt_echo\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS tstnull"
    c $MY_COPTS tstnull || croak "\"c $MY_COPTS tstnull\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS tstsock"
    c $MY_COPTS tstsock || croak "\"c $MY_COPTS tstsock\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_timer"
    c $MY_COPTS smt_demo_timer || croak "\"c $MY_COPTS smt_demo_timer\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_object_agent"
    c $MY_COPTS smt_demo_object_agent || croak "\"c $MY_COPTS smt_demo_object_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_object_test"
    c $MY_COPTS smt_demo_object_test || croak "\"c $MY_COPTS smt_demo_object_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_object"
    c $MY_COPTS smt_demo_object || croak "\"c $MY_COPTS smt_demo_object\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_object_action_agent"
    c $MY_COPTS smt_demo_object_action_agent || croak "\"c $MY_COPTS smt_demo_object_action_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_object_action_test"
    c $MY_COPTS smt_demo_object_action_test || croak "\"c $MY_COPTS smt_demo_object_action_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_object_action"
    c $MY_COPTS smt_demo_object_action || croak "\"c $MY_COPTS smt_demo_object_action\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_server"
    c $MY_COPTS smt_demo_server || croak "\"c $MY_COPTS smt_demo_server\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS smt_demo_client"
    c $MY_COPTS smt_demo_client || croak "\"c $MY_COPTS smt_demo_client\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_method"
    c $MY_COPTS -r libsmt smt_method || croak "\"c $MY_COPTS -r libsmt smt_method\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_method_queue"
    c $MY_COPTS -r libsmt smt_method_queue || croak "\"c $MY_COPTS -r libsmt smt_method_queue\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_method_list"
    c $MY_COPTS -r libsmt smt_method_list || croak "\"c $MY_COPTS -r libsmt smt_method_list\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_os_thread"
    c $MY_COPTS -r libsmt smt_os_thread || croak "\"c $MY_COPTS -r libsmt smt_os_thread\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_os_thread_by_status"
    c $MY_COPTS -r libsmt smt_os_thread_by_status || croak "\"c $MY_COPTS -r libsmt smt_os_thread_by_status\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_os_thread_list"
    c $MY_COPTS -r libsmt smt_os_thread_list || croak "\"c $MY_COPTS -r libsmt smt_os_thread_list\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_thread"
    c $MY_COPTS -r libsmt smt_thread || croak "\"c $MY_COPTS -r libsmt smt_thread\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_thread_by_status"
    c $MY_COPTS -r libsmt smt_thread_by_status || croak "\"c $MY_COPTS -r libsmt smt_thread_by_status\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_thread_list"
    c $MY_COPTS -r libsmt smt_thread_list || croak "\"c $MY_COPTS -r libsmt smt_thread_list\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_thread_queue"
    c $MY_COPTS -r libsmt smt_thread_queue || croak "\"c $MY_COPTS -r libsmt smt_thread_queue\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_fileio"
    c $MY_COPTS -r libsmt smt_fileio || croak "\"c $MY_COPTS -r libsmt smt_fileio\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_fileio_request"
    c $MY_COPTS -r libsmt smt_fileio_request || croak "\"c $MY_COPTS -r libsmt smt_fileio_request\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_timer_request"
    c $MY_COPTS -r libsmt smt_timer_request || croak "\"c $MY_COPTS -r libsmt smt_timer_request\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_timer_request_list"
    c $MY_COPTS -r libsmt smt_timer_request_list || croak "\"c $MY_COPTS -r libsmt smt_timer_request_list\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_timer_request_by_thread"
    c $MY_COPTS -r libsmt smt_timer_request_by_thread || croak "\"c $MY_COPTS -r libsmt smt_timer_request_by_thread\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_socket"
    c $MY_COPTS -r libsmt smt_socket || croak "\"c $MY_COPTS -r libsmt smt_socket\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_socket_request"
    c $MY_COPTS -r libsmt smt_socket_request || croak "\"c $MY_COPTS -r libsmt smt_socket_request\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_socket_request_by_thread"
    c $MY_COPTS -r libsmt smt_socket_request_by_thread || croak "\"c $MY_COPTS -r libsmt smt_socket_request_by_thread\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_socket_request_by_socket"
    c $MY_COPTS -r libsmt smt_socket_request_by_socket || croak "\"c $MY_COPTS -r libsmt smt_socket_request_by_socket\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_position"
    c $MY_COPTS -r libsmt smt_position || croak "\"c $MY_COPTS -r libsmt smt_position\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_position_list"
    c $MY_COPTS -r libsmt smt_position_list || croak "\"c $MY_COPTS -r libsmt smt_position_list\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_signal"
    c $MY_COPTS -r libsmt smt_signal || croak "\"c $MY_COPTS -r libsmt smt_signal\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_signal_table"
    c $MY_COPTS -r libsmt smt_signal_table || croak "\"c $MY_COPTS -r libsmt smt_signal_table\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_signal_by_thread"
    c $MY_COPTS -r libsmt smt_signal_by_thread || croak "\"c $MY_COPTS -r libsmt smt_signal_by_thread\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_coremark_agent"
    c $MY_COPTS -r libsmt smt_coremark_agent || croak "\"c $MY_COPTS -r libsmt smt_coremark_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_coremark"
    c $MY_COPTS -r libsmt smt_coremark || croak "\"c $MY_COPTS -r libsmt smt_coremark\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_log_agent"
    c $MY_COPTS -r libsmt smt_log_agent || croak "\"c $MY_COPTS -r libsmt smt_log_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_log"
    c $MY_COPTS -r libsmt smt_log || croak "\"c $MY_COPTS -r libsmt smt_log\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_demo_portal"
    c $MY_COPTS -r libsmt smt_demo_portal || croak "\"c $MY_COPTS -r libsmt smt_demo_portal\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_demo_portal_client_agent"
    c $MY_COPTS -r libsmt smt_demo_portal_client_agent || croak "\"c $MY_COPTS -r libsmt smt_demo_portal_client_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_demo_portal_client"
    c $MY_COPTS -r libsmt smt_demo_portal_client || croak "\"c $MY_COPTS -r libsmt smt_demo_portal_client\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_demo_portal_server_agent"
    c $MY_COPTS -r libsmt smt_demo_portal_server_agent || croak "\"c $MY_COPTS -r libsmt smt_demo_portal_server_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_demo_portal_server"
    c $MY_COPTS -r libsmt smt_demo_portal_server || croak "\"c $MY_COPTS -r libsmt smt_demo_portal_server\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_demo_object_agent"
    c $MY_COPTS -r libsmt smt_demo_object_agent || croak "\"c $MY_COPTS -r libsmt smt_demo_object_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_demo_object"
    c $MY_COPTS -r libsmt smt_demo_object || croak "\"c $MY_COPTS -r libsmt smt_demo_object\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_demo_object_action_agent"
    c $MY_COPTS -r libsmt smt_demo_object_action_agent || croak "\"c $MY_COPTS -r libsmt smt_demo_object_action_agent\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_demo_object_action"
    c $MY_COPTS -r libsmt smt_demo_object_action || croak "\"c $MY_COPTS -r libsmt smt_demo_object_action\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -r libsmt smt_demo_server"
    c $MY_COPTS -r libsmt smt_demo_server || croak "\"c $MY_COPTS -r libsmt smt_demo_server\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_method_test"
    c $MY_COPTS -L smt_method_test || croak "\"c $MY_COPTS -L smt_method_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_method_queue_test"
    c $MY_COPTS -L smt_method_queue_test || croak "\"c $MY_COPTS -L smt_method_queue_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_method_list_test"
    c $MY_COPTS -L smt_method_list_test || croak "\"c $MY_COPTS -L smt_method_list_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_os_thread_test"
    c $MY_COPTS -L smt_os_thread_test || croak "\"c $MY_COPTS -L smt_os_thread_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_os_thread_by_status_test"
    c $MY_COPTS -L smt_os_thread_by_status_test || croak "\"c $MY_COPTS -L smt_os_thread_by_status_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_os_thread_list_test"
    c $MY_COPTS -L smt_os_thread_list_test || croak "\"c $MY_COPTS -L smt_os_thread_list_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_thread_test"
    c $MY_COPTS -L smt_thread_test || croak "\"c $MY_COPTS -L smt_thread_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_thread_by_status_test"
    c $MY_COPTS -L smt_thread_by_status_test || croak "\"c $MY_COPTS -L smt_thread_by_status_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_thread_list_test"
    c $MY_COPTS -L smt_thread_list_test || croak "\"c $MY_COPTS -L smt_thread_list_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_thread_queue_test"
    c $MY_COPTS -L smt_thread_queue_test || croak "\"c $MY_COPTS -L smt_thread_queue_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_fileio_test"
    c $MY_COPTS -L smt_fileio_test || croak "\"c $MY_COPTS -L smt_fileio_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_fileio_request_test"
    c $MY_COPTS -L smt_fileio_request_test || croak "\"c $MY_COPTS -L smt_fileio_request_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_timer_request_test"
    c $MY_COPTS -L smt_timer_request_test || croak "\"c $MY_COPTS -L smt_timer_request_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_timer_request_list_test"
    c $MY_COPTS -L smt_timer_request_list_test || croak "\"c $MY_COPTS -L smt_timer_request_list_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_timer_request_by_thread_test"
    c $MY_COPTS -L smt_timer_request_by_thread_test || croak "\"c $MY_COPTS -L smt_timer_request_by_thread_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_socket_test"
    c $MY_COPTS -L smt_socket_test || croak "\"c $MY_COPTS -L smt_socket_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_socket_request_test"
    c $MY_COPTS -L smt_socket_request_test || croak "\"c $MY_COPTS -L smt_socket_request_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_socket_request_by_thread_test"
    c $MY_COPTS -L smt_socket_request_by_thread_test || croak "\"c $MY_COPTS -L smt_socket_request_by_thread_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_socket_request_by_socket_test"
    c $MY_COPTS -L smt_socket_request_by_socket_test || croak "\"c $MY_COPTS -L smt_socket_request_by_socket_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_position_test"
    c $MY_COPTS -L smt_position_test || croak "\"c $MY_COPTS -L smt_position_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_position_list_test"
    c $MY_COPTS -L smt_position_list_test || croak "\"c $MY_COPTS -L smt_position_list_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_signal_test"
    c $MY_COPTS -L smt_signal_test || croak "\"c $MY_COPTS -L smt_signal_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_signal_table_test"
    c $MY_COPTS -L smt_signal_table_test || croak "\"c $MY_COPTS -L smt_signal_table_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_signal_by_thread_test"
    c $MY_COPTS -L smt_signal_by_thread_test || croak "\"c $MY_COPTS -L smt_signal_by_thread_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_coremark_test"
    c $MY_COPTS -L smt_coremark_test || croak "\"c $MY_COPTS -L smt_coremark_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_log_test"
    c $MY_COPTS -L smt_log_test || croak "\"c $MY_COPTS -L smt_log_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_demo_portal_test"
    c $MY_COPTS -L smt_demo_portal_test || croak "\"c $MY_COPTS -L smt_demo_portal_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_demo_portal_client_test"
    c $MY_COPTS -L smt_demo_portal_client_test || croak "\"c $MY_COPTS -L smt_demo_portal_client_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_demo_portal_server_test"
    c $MY_COPTS -L smt_demo_portal_server_test || croak "\"c $MY_COPTS -L smt_demo_portal_server_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_echo"
    c $MY_COPTS -L smt_echo || croak "\"c $MY_COPTS -L smt_echo\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L tstnull"
    c $MY_COPTS -L tstnull || croak "\"c $MY_COPTS -L tstnull\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L tstsock"
    c $MY_COPTS -L tstsock || croak "\"c $MY_COPTS -L tstsock\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_demo_timer"
    c $MY_COPTS -L smt_demo_timer || croak "\"c $MY_COPTS -L smt_demo_timer\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_demo_object_test"
    c $MY_COPTS -L smt_demo_object_test || croak "\"c $MY_COPTS -L smt_demo_object_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_demo_object_action_test"
    c $MY_COPTS -L smt_demo_object_action_test || croak "\"c $MY_COPTS -L smt_demo_object_action_test\" failed"
    [ "$BOOM_TRACE" ] && echo "c $MY_COPTS -L smt_demo_client"
    c $MY_COPTS -L smt_demo_client || croak "\"c $MY_COPTS -L smt_demo_client\" failed"
}

# -------------------------   BUILD SOURCE PACKAGES   -------------------------

a_build_source_packages() {
:
    rm -f _package.lst
    if [ -f "smt/version.h" ]; then
        echo smt/version.h>>_package.lst
    fi
    if [ -f "smt/icl_smt.gsl" ]; then
        echo smt/icl_smt.gsl>>_package.lst
    fi
    if [ -f "smt/smt_object.xnf" ]; then
        echo smt/smt_object.xnf>>_package.lst
    fi
    if [ -f "smt/smt_object.icl" ]; then
        echo smt/smt_object.icl>>_package.lst
    fi
    if [ -f "smt/smt_object_gen.gsl" ]; then
        echo smt/smt_object_gen.gsl>>_package.lst
    fi
    if [ -f "smt/smt_object_preproc.gsl" ]; then
        echo smt/smt_object_preproc.gsl>>_package.lst
    fi
    if [ -f "smt/smt_object_inherit.gsl" ]; then
        echo smt/smt_object_inherit.gsl>>_package.lst
    fi
    if [ -f "smt/smt_object_parse.gsl" ]; then
        echo smt/smt_object_parse.gsl>>_package.lst
    fi
    if [ -f "smt/smt_object_doc.txt" ]; then
        echo smt/smt_object_doc.txt>>_package.lst
    fi
    if [ -f "smt/smt_object_tracker.icl" ]; then
        echo smt/smt_object_tracker.icl>>_package.lst
    fi
    if [ -f "smt/smt.xnf" ]; then
        echo smt/smt.xnf>>_package.lst
    fi
    if [ -f "smt/smt_gen.gsl" ]; then
        echo smt/smt_gen.gsl>>_package.lst
    fi
    if [ -f "smt/smt_preproc.gsl" ]; then
        echo smt/smt_preproc.gsl>>_package.lst
    fi
    if [ -f "smt/smt_inherit.gsl" ]; then
        echo smt/smt_inherit.gsl>>_package.lst
    fi
    if [ -f "smt/smt_parse.gsl" ]; then
        echo smt/smt_parse.gsl>>_package.lst
    fi
    if [ -f "smt/smt_doc.txt" ]; then
        echo smt/smt_doc.txt>>_package.lst
    fi
    if [ -f "smt/smt_stdc.gsl" ]; then
        echo smt/smt_stdc.gsl>>_package.lst
    fi
    if [ -f "smt/smt_doc.gsl" ]; then
        echo smt/smt_doc.gsl>>_package.lst
    fi
    if [ -f "smt/smt_classes.pdl" ]; then
        echo smt/smt_classes.pdl>>_package.lst
    fi
    if [ -f "smt/smt_method.icl" ]; then
        echo smt/smt_method.icl>>_package.lst
    fi
    if [ -f "smt/smt_method_queue.icl" ]; then
        echo smt/smt_method_queue.icl>>_package.lst
    fi
    if [ -f "smt/smt_method_list.icl" ]; then
        echo smt/smt_method_list.icl>>_package.lst
    fi
    if [ -f "smt/smt_os_thread.icl" ]; then
        echo smt/smt_os_thread.icl>>_package.lst
    fi
    if [ -f "smt/smt_os_thread_by_status.icl" ]; then
        echo smt/smt_os_thread_by_status.icl>>_package.lst
    fi
    if [ -f "smt/smt_os_thread_list.icl" ]; then
        echo smt/smt_os_thread_list.icl>>_package.lst
    fi
    if [ -f "smt/smt_thread.icl" ]; then
        echo smt/smt_thread.icl>>_package.lst
    fi
    if [ -f "smt/smt_thread_by_status.icl" ]; then
        echo smt/smt_thread_by_status.icl>>_package.lst
    fi
    if [ -f "smt/smt_thread_list.icl" ]; then
        echo smt/smt_thread_list.icl>>_package.lst
    fi
    if [ -f "smt/smt_thread_queue.icl" ]; then
        echo smt/smt_thread_queue.icl>>_package.lst
    fi
    if [ -f "smt/smt_fileio.icl" ]; then
        echo smt/smt_fileio.icl>>_package.lst
    fi
    if [ -f "smt/smt_fileio_request.icl" ]; then
        echo smt/smt_fileio_request.icl>>_package.lst
    fi
    if [ -f "smt/smt_timer_request.icl" ]; then
        echo smt/smt_timer_request.icl>>_package.lst
    fi
    if [ -f "smt/smt_timer_request_list.icl" ]; then
        echo smt/smt_timer_request_list.icl>>_package.lst
    fi
    if [ -f "smt/smt_timer_request_by_thread.icl" ]; then
        echo smt/smt_timer_request_by_thread.icl>>_package.lst
    fi
    if [ -f "smt/smt_socket.icl" ]; then
        echo smt/smt_socket.icl>>_package.lst
    fi
    if [ -f "smt/smt_socket_request.icl" ]; then
        echo smt/smt_socket_request.icl>>_package.lst
    fi
    if [ -f "smt/smt_socket_request_by_thread.icl" ]; then
        echo smt/smt_socket_request_by_thread.icl>>_package.lst
    fi
    if [ -f "smt/smt_socket_request_by_socket.icl" ]; then
        echo smt/smt_socket_request_by_socket.icl>>_package.lst
    fi
    if [ -f "smt/smt_position.icl" ]; then
        echo smt/smt_position.icl>>_package.lst
    fi
    if [ -f "smt/smt_position_list.icl" ]; then
        echo smt/smt_position_list.icl>>_package.lst
    fi
    if [ -f "smt/smt_signal.icl" ]; then
        echo smt/smt_signal.icl>>_package.lst
    fi
    if [ -f "smt/smt_signal_table.icl" ]; then
        echo smt/smt_signal_table.icl>>_package.lst
    fi
    if [ -f "smt/smt_signal_by_thread.icl" ]; then
        echo smt/smt_signal_by_thread.icl>>_package.lst
    fi
    if [ -f "smt/smt_coremark.icl" ]; then
        echo smt/smt_coremark.icl>>_package.lst
    fi
    if [ -f "smt/smt_log.icl" ]; then
        echo smt/smt_log.icl>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal.icl" ]; then
        echo smt/smt_demo_portal.icl>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_client.icl" ]; then
        echo smt/smt_demo_portal_client.icl>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_server.icl" ]; then
        echo smt/smt_demo_portal_server.icl>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_front.icl" ]; then
        echo smt/smt_demo_portal_front.icl>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_back.icl" ]; then
        echo smt/smt_demo_portal_back.icl>>_package.lst
    fi
    if [ -f "smt/smt_echo.smt" ]; then
        echo smt/smt_echo.smt>>_package.lst
    fi
    if [ -f "smt/tstnull.smt" ]; then
        echo smt/tstnull.smt>>_package.lst
    fi
    if [ -f "smt/tstsock.smt" ]; then
        echo smt/tstsock.smt>>_package.lst
    fi
    if [ -f "smt/smt_demo_timer.smt" ]; then
        echo smt/smt_demo_timer.smt>>_package.lst
    fi
    if [ -f "smt/smt_demo_object.icl" ]; then
        echo smt/smt_demo_object.icl>>_package.lst
    fi
    if [ -f "smt/smt_demo_object_action.icl" ]; then
        echo smt/smt_demo_object_action.icl>>_package.lst
    fi
    if [ -f "smt/smt_demo_server.smt" ]; then
        echo smt/smt_demo_server.smt>>_package.lst
    fi
    if [ -f "smt/smt_demo_client.smt" ]; then
        echo smt/smt_demo_client.smt>>_package.lst
    fi
    if [ -f "smt/smt.h" ]; then
        echo smt/smt.h>>_package.lst
    fi
    if [ -f "smt/icl_make_doc.ignore" ]; then
        echo smt/icl_make_doc.ignore>>_package.lst
    fi
    if [ -f "smt/prelude.pdl" ]; then
        echo smt/prelude.pdl>>_package.lst
    fi
    if [ -f "smt/license.gpl" ]; then
        echo smt/license.gpl>>_package.lst
    fi
    if [ -f "smt/project.pdl" ]; then
        echo smt/project.pdl>>_package.lst
    fi
    if [ -f "smt/readme.txt" ]; then
        echo smt/readme.txt>>_package.lst
    fi
    if [ -f "smt/smt_method_test.c" ]; then
        echo smt/smt_method_test.c>>_package.lst
    fi
    if [ -f "smt/smt_method.h" ]; then
        echo smt/smt_method.h>>_package.lst
    fi
    if [ -f "smt/smt_method.c" ]; then
        echo smt/smt_method.c>>_package.lst
    fi
    if [ -f "smt/smt_method_queue_test.c" ]; then
        echo smt/smt_method_queue_test.c>>_package.lst
    fi
    if [ -f "smt/smt_method_queue.h" ]; then
        echo smt/smt_method_queue.h>>_package.lst
    fi
    if [ -f "smt/smt_method_queue.c" ]; then
        echo smt/smt_method_queue.c>>_package.lst
    fi
    if [ -f "smt/smt_method_list_test.c" ]; then
        echo smt/smt_method_list_test.c>>_package.lst
    fi
    if [ -f "smt/smt_method_list.h" ]; then
        echo smt/smt_method_list.h>>_package.lst
    fi
    if [ -f "smt/smt_method_list.c" ]; then
        echo smt/smt_method_list.c>>_package.lst
    fi
    if [ -f "smt/smt_os_thread_test.c" ]; then
        echo smt/smt_os_thread_test.c>>_package.lst
    fi
    if [ -f "smt/smt_os_thread.h" ]; then
        echo smt/smt_os_thread.h>>_package.lst
    fi
    if [ -f "smt/smt_os_thread.c" ]; then
        echo smt/smt_os_thread.c>>_package.lst
    fi
    if [ -f "smt/smt_os_thread_by_status_test.c" ]; then
        echo smt/smt_os_thread_by_status_test.c>>_package.lst
    fi
    if [ -f "smt/smt_os_thread_by_status.h" ]; then
        echo smt/smt_os_thread_by_status.h>>_package.lst
    fi
    if [ -f "smt/smt_os_thread_by_status.c" ]; then
        echo smt/smt_os_thread_by_status.c>>_package.lst
    fi
    if [ -f "smt/smt_os_thread_list_test.c" ]; then
        echo smt/smt_os_thread_list_test.c>>_package.lst
    fi
    if [ -f "smt/smt_os_thread_list.h" ]; then
        echo smt/smt_os_thread_list.h>>_package.lst
    fi
    if [ -f "smt/smt_os_thread_list.c" ]; then
        echo smt/smt_os_thread_list.c>>_package.lst
    fi
    if [ -f "smt/smt_thread_test.c" ]; then
        echo smt/smt_thread_test.c>>_package.lst
    fi
    if [ -f "smt/smt_thread.h" ]; then
        echo smt/smt_thread.h>>_package.lst
    fi
    if [ -f "smt/smt_thread.c" ]; then
        echo smt/smt_thread.c>>_package.lst
    fi
    if [ -f "smt/smt_thread_by_status_test.c" ]; then
        echo smt/smt_thread_by_status_test.c>>_package.lst
    fi
    if [ -f "smt/smt_thread_by_status.h" ]; then
        echo smt/smt_thread_by_status.h>>_package.lst
    fi
    if [ -f "smt/smt_thread_by_status.c" ]; then
        echo smt/smt_thread_by_status.c>>_package.lst
    fi
    if [ -f "smt/smt_thread_list_test.c" ]; then
        echo smt/smt_thread_list_test.c>>_package.lst
    fi
    if [ -f "smt/smt_thread_list.h" ]; then
        echo smt/smt_thread_list.h>>_package.lst
    fi
    if [ -f "smt/smt_thread_list.c" ]; then
        echo smt/smt_thread_list.c>>_package.lst
    fi
    if [ -f "smt/smt_thread_queue_test.c" ]; then
        echo smt/smt_thread_queue_test.c>>_package.lst
    fi
    if [ -f "smt/smt_thread_queue.h" ]; then
        echo smt/smt_thread_queue.h>>_package.lst
    fi
    if [ -f "smt/smt_thread_queue.c" ]; then
        echo smt/smt_thread_queue.c>>_package.lst
    fi
    if [ -f "smt/smt_fileio_test.c" ]; then
        echo smt/smt_fileio_test.c>>_package.lst
    fi
    if [ -f "smt/smt_fileio.h" ]; then
        echo smt/smt_fileio.h>>_package.lst
    fi
    if [ -f "smt/smt_fileio.c" ]; then
        echo smt/smt_fileio.c>>_package.lst
    fi
    if [ -f "smt/smt_fileio_request_test.c" ]; then
        echo smt/smt_fileio_request_test.c>>_package.lst
    fi
    if [ -f "smt/smt_fileio_request.h" ]; then
        echo smt/smt_fileio_request.h>>_package.lst
    fi
    if [ -f "smt/smt_fileio_request.c" ]; then
        echo smt/smt_fileio_request.c>>_package.lst
    fi
    if [ -f "smt/smt_timer_request_test.c" ]; then
        echo smt/smt_timer_request_test.c>>_package.lst
    fi
    if [ -f "smt/smt_timer_request.h" ]; then
        echo smt/smt_timer_request.h>>_package.lst
    fi
    if [ -f "smt/smt_timer_request.c" ]; then
        echo smt/smt_timer_request.c>>_package.lst
    fi
    if [ -f "smt/smt_timer_request_list_test.c" ]; then
        echo smt/smt_timer_request_list_test.c>>_package.lst
    fi
    if [ -f "smt/smt_timer_request_list.h" ]; then
        echo smt/smt_timer_request_list.h>>_package.lst
    fi
    if [ -f "smt/smt_timer_request_list.c" ]; then
        echo smt/smt_timer_request_list.c>>_package.lst
    fi
    if [ -f "smt/smt_timer_request_by_thread_test.c" ]; then
        echo smt/smt_timer_request_by_thread_test.c>>_package.lst
    fi
    if [ -f "smt/smt_timer_request_by_thread.h" ]; then
        echo smt/smt_timer_request_by_thread.h>>_package.lst
    fi
    if [ -f "smt/smt_timer_request_by_thread.c" ]; then
        echo smt/smt_timer_request_by_thread.c>>_package.lst
    fi
    if [ -f "smt/smt_socket_test.c" ]; then
        echo smt/smt_socket_test.c>>_package.lst
    fi
    if [ -f "smt/smt_socket.h" ]; then
        echo smt/smt_socket.h>>_package.lst
    fi
    if [ -f "smt/smt_socket.c" ]; then
        echo smt/smt_socket.c>>_package.lst
    fi
    if [ -f "smt/smt_socket_request_test.c" ]; then
        echo smt/smt_socket_request_test.c>>_package.lst
    fi
    if [ -f "smt/smt_socket_request.h" ]; then
        echo smt/smt_socket_request.h>>_package.lst
    fi
    if [ -f "smt/smt_socket_request.c" ]; then
        echo smt/smt_socket_request.c>>_package.lst
    fi
    if [ -f "smt/smt_socket_request_by_thread_test.c" ]; then
        echo smt/smt_socket_request_by_thread_test.c>>_package.lst
    fi
    if [ -f "smt/smt_socket_request_by_thread.h" ]; then
        echo smt/smt_socket_request_by_thread.h>>_package.lst
    fi
    if [ -f "smt/smt_socket_request_by_thread.c" ]; then
        echo smt/smt_socket_request_by_thread.c>>_package.lst
    fi
    if [ -f "smt/smt_socket_request_by_socket_test.c" ]; then
        echo smt/smt_socket_request_by_socket_test.c>>_package.lst
    fi
    if [ -f "smt/smt_socket_request_by_socket.h" ]; then
        echo smt/smt_socket_request_by_socket.h>>_package.lst
    fi
    if [ -f "smt/smt_socket_request_by_socket.c" ]; then
        echo smt/smt_socket_request_by_socket.c>>_package.lst
    fi
    if [ -f "smt/smt_position_test.c" ]; then
        echo smt/smt_position_test.c>>_package.lst
    fi
    if [ -f "smt/smt_position.h" ]; then
        echo smt/smt_position.h>>_package.lst
    fi
    if [ -f "smt/smt_position.c" ]; then
        echo smt/smt_position.c>>_package.lst
    fi
    if [ -f "smt/smt_position_list_test.c" ]; then
        echo smt/smt_position_list_test.c>>_package.lst
    fi
    if [ -f "smt/smt_position_list.h" ]; then
        echo smt/smt_position_list.h>>_package.lst
    fi
    if [ -f "smt/smt_position_list.c" ]; then
        echo smt/smt_position_list.c>>_package.lst
    fi
    if [ -f "smt/smt_signal_test.c" ]; then
        echo smt/smt_signal_test.c>>_package.lst
    fi
    if [ -f "smt/smt_signal.h" ]; then
        echo smt/smt_signal.h>>_package.lst
    fi
    if [ -f "smt/smt_signal.c" ]; then
        echo smt/smt_signal.c>>_package.lst
    fi
    if [ -f "smt/smt_signal_table_test.c" ]; then
        echo smt/smt_signal_table_test.c>>_package.lst
    fi
    if [ -f "smt/smt_signal_table.h" ]; then
        echo smt/smt_signal_table.h>>_package.lst
    fi
    if [ -f "smt/smt_signal_table.c" ]; then
        echo smt/smt_signal_table.c>>_package.lst
    fi
    if [ -f "smt/smt_signal_by_thread_test.c" ]; then
        echo smt/smt_signal_by_thread_test.c>>_package.lst
    fi
    if [ -f "smt/smt_signal_by_thread.h" ]; then
        echo smt/smt_signal_by_thread.h>>_package.lst
    fi
    if [ -f "smt/smt_signal_by_thread.c" ]; then
        echo smt/smt_signal_by_thread.c>>_package.lst
    fi
    if [ -f "smt/smt_coremark_agent.smt" ]; then
        echo smt/smt_coremark_agent.smt>>_package.lst
    fi
    if [ -f "smt/smt_coremark_agent.h" ]; then
        echo smt/smt_coremark_agent.h>>_package.lst
    fi
    if [ -f "smt/smt_coremark_agent.c" ]; then
        echo smt/smt_coremark_agent.c>>_package.lst
    fi
    if [ -f "smt/smt_coremark_test.c" ]; then
        echo smt/smt_coremark_test.c>>_package.lst
    fi
    if [ -f "smt/smt_coremark.h" ]; then
        echo smt/smt_coremark.h>>_package.lst
    fi
    if [ -f "smt/smt_coremark.c" ]; then
        echo smt/smt_coremark.c>>_package.lst
    fi
    if [ -f "smt/smt_log_agent.smt" ]; then
        echo smt/smt_log_agent.smt>>_package.lst
    fi
    if [ -f "smt/smt_log_agent.h" ]; then
        echo smt/smt_log_agent.h>>_package.lst
    fi
    if [ -f "smt/smt_log_agent.c" ]; then
        echo smt/smt_log_agent.c>>_package.lst
    fi
    if [ -f "smt/smt_log_test.c" ]; then
        echo smt/smt_log_test.c>>_package.lst
    fi
    if [ -f "smt/smt_log.h" ]; then
        echo smt/smt_log.h>>_package.lst
    fi
    if [ -f "smt/smt_log.c" ]; then
        echo smt/smt_log.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_test.c" ]; then
        echo smt/smt_demo_portal_test.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal.h" ]; then
        echo smt/smt_demo_portal.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal.c" ]; then
        echo smt/smt_demo_portal.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_client_agent.smt" ]; then
        echo smt/smt_demo_portal_client_agent.smt>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_client_agent.h" ]; then
        echo smt/smt_demo_portal_client_agent.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_client_agent.c" ]; then
        echo smt/smt_demo_portal_client_agent.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_client_test.c" ]; then
        echo smt/smt_demo_portal_client_test.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_client.h" ]; then
        echo smt/smt_demo_portal_client.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_client.c" ]; then
        echo smt/smt_demo_portal_client.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_server_agent.smt" ]; then
        echo smt/smt_demo_portal_server_agent.smt>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_server_agent.h" ]; then
        echo smt/smt_demo_portal_server_agent.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_server_agent.c" ]; then
        echo smt/smt_demo_portal_server_agent.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_server_test.c" ]; then
        echo smt/smt_demo_portal_server_test.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_server.h" ]; then
        echo smt/smt_demo_portal_server.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_portal_server.c" ]; then
        echo smt/smt_demo_portal_server.c>>_package.lst
    fi
    if [ -f "smt/smt_echo.h" ]; then
        echo smt/smt_echo.h>>_package.lst
    fi
    if [ -f "smt/smt_echo.c" ]; then
        echo smt/smt_echo.c>>_package.lst
    fi
    if [ -f "smt/tstnull.h" ]; then
        echo smt/tstnull.h>>_package.lst
    fi
    if [ -f "smt/tstnull.c" ]; then
        echo smt/tstnull.c>>_package.lst
    fi
    if [ -f "smt/tstsock.h" ]; then
        echo smt/tstsock.h>>_package.lst
    fi
    if [ -f "smt/tstsock.c" ]; then
        echo smt/tstsock.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_timer.c" ]; then
        echo smt/smt_demo_timer.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_timer.h" ]; then
        echo smt/smt_demo_timer.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_object_agent.smt" ]; then
        echo smt/smt_demo_object_agent.smt>>_package.lst
    fi
    if [ -f "smt/smt_demo_object_agent.h" ]; then
        echo smt/smt_demo_object_agent.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_object_agent.c" ]; then
        echo smt/smt_demo_object_agent.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_object_test.c" ]; then
        echo smt/smt_demo_object_test.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_object.h" ]; then
        echo smt/smt_demo_object.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_object.c" ]; then
        echo smt/smt_demo_object.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_object_action_agent.smt" ]; then
        echo smt/smt_demo_object_action_agent.smt>>_package.lst
    fi
    if [ -f "smt/smt_demo_object_action_agent.h" ]; then
        echo smt/smt_demo_object_action_agent.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_object_action_agent.c" ]; then
        echo smt/smt_demo_object_action_agent.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_object_action_test.c" ]; then
        echo smt/smt_demo_object_action_test.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_object_action.h" ]; then
        echo smt/smt_demo_object_action.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_object_action.c" ]; then
        echo smt/smt_demo_object_action.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_server.h" ]; then
        echo smt/smt_demo_server.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_server.c" ]; then
        echo smt/smt_demo_server.c>>_package.lst
    fi
    if [ -f "smt/smt_demo_client.h" ]; then
        echo smt/smt_demo_client.h>>_package.lst
    fi
    if [ -f "smt/smt_demo_client.c" ]; then
        echo smt/smt_demo_client.c>>_package.lst
    fi
    if [ -f "smt/stamp_generate" ]; then
        echo smt/stamp_generate>>_package.lst
    fi
    if [ -f "smt/configure" ]; then
        echo smt/configure>>_package.lst
    fi
    if [ -f "smt/Makefile.unix" ]; then
        echo smt/Makefile.unix>>_package.lst
    fi
    if [ -f "smt/boomake" ]; then
        echo smt/boomake>>_package.lst
    fi
    if [ -f "smt/configure.bat" ]; then
        echo smt/configure.bat>>_package.lst
    fi
    if [ -f "smt/Makefile.win32" ]; then
        echo smt/Makefile.win32>>_package.lst
    fi
    if [ -f "smt/boomake.bat" ]; then
        echo smt/boomake.bat>>_package.lst
    fi
    if [ -f "smt/boomakew.bat" ]; then
        echo smt/boomakew.bat>>_package.lst
    fi
    echo "Source package successfully generated">stamp_source
    echo "stamp_source">>_package.lst
    carp "Building SMT-$MY_VERSION-src.tar.gz..."
    zip  -rq _package.zip -@<_package.lst
    unzip -q _package.zip -d SMT-$MY_VERSION
    rm -f SMT-$MY_VERSION-src.tar.gz
    tar -cf  SMT-$MY_VERSION-src.tar SMT-$MY_VERSION
    gzip SMT-$MY_VERSION-src.tar
    rm -f SMT-$MY_VERSION-src.zip
    carp "Building SMT-$MY_VERSION-src.zip..."
    zip -lrmq SMT-$MY_VERSION-src.zip SMT-$MY_VERSION
    rm _package.zip
    rm _package.lst
    rm stamp_source
}

# ---------------------   CHECK ALL SOURCE FILES EXIST   ----------------------

a_check_all_source_files_exist() {
:
    if [ ! -f "version.h" ]; then
        croak "version.h is missing"
    fi
    if [ ! -f "icl_smt.gsl" ]; then
        croak "icl_smt.gsl is missing"
    fi
    if [ ! -f "smt_object.xnf" ]; then
        croak "smt_object.xnf is missing"
    fi
    if [ ! -f "smt_object.icl" ]; then
        croak "smt_object.icl is missing"
    fi
    if [ ! -f "smt_object_gen.gsl" ]; then
        croak "smt_object_gen.gsl is missing"
    fi
    if [ ! -f "smt_object_preproc.gsl" ]; then
        croak "smt_object_preproc.gsl is missing"
    fi
    if [ ! -f "smt_object_inherit.gsl" ]; then
        croak "smt_object_inherit.gsl is missing"
    fi
    if [ ! -f "smt_object_parse.gsl" ]; then
        croak "smt_object_parse.gsl is missing"
    fi
    if [ ! -f "smt_object_doc.txt" ]; then
        croak "smt_object_doc.txt is missing"
    fi
    if [ ! -f "smt_object_tracker.icl" ]; then
        croak "smt_object_tracker.icl is missing"
    fi
    if [ ! -f "smt.xnf" ]; then
        croak "smt.xnf is missing"
    fi
    if [ ! -f "smt_gen.gsl" ]; then
        croak "smt_gen.gsl is missing"
    fi
    if [ ! -f "smt_preproc.gsl" ]; then
        croak "smt_preproc.gsl is missing"
    fi
    if [ ! -f "smt_inherit.gsl" ]; then
        croak "smt_inherit.gsl is missing"
    fi
    if [ ! -f "smt_parse.gsl" ]; then
        croak "smt_parse.gsl is missing"
    fi
    if [ ! -f "smt_doc.txt" ]; then
        croak "smt_doc.txt is missing"
    fi
    if [ ! -f "smt_stdc.gsl" ]; then
        croak "smt_stdc.gsl is missing"
    fi
    if [ ! -f "smt_doc.gsl" ]; then
        croak "smt_doc.gsl is missing"
    fi
    if [ ! -f "smt_classes.pdl" ]; then
        croak "smt_classes.pdl is missing"
    fi
    if [ ! -f "smt_method.icl" ]; then
        croak "smt_method.icl is missing"
    fi
    if [ ! -f "smt_method_queue.icl" ]; then
        croak "smt_method_queue.icl is missing"
    fi
    if [ ! -f "smt_method_list.icl" ]; then
        croak "smt_method_list.icl is missing"
    fi
    if [ ! -f "smt_os_thread.icl" ]; then
        croak "smt_os_thread.icl is missing"
    fi
    if [ ! -f "smt_os_thread_by_status.icl" ]; then
        croak "smt_os_thread_by_status.icl is missing"
    fi
    if [ ! -f "smt_os_thread_list.icl" ]; then
        croak "smt_os_thread_list.icl is missing"
    fi
    if [ ! -f "smt_thread.icl" ]; then
        croak "smt_thread.icl is missing"
    fi
    if [ ! -f "smt_thread_by_status.icl" ]; then
        croak "smt_thread_by_status.icl is missing"
    fi
    if [ ! -f "smt_thread_list.icl" ]; then
        croak "smt_thread_list.icl is missing"
    fi
    if [ ! -f "smt_thread_queue.icl" ]; then
        croak "smt_thread_queue.icl is missing"
    fi
    if [ ! -f "smt_fileio.icl" ]; then
        croak "smt_fileio.icl is missing"
    fi
    if [ ! -f "smt_fileio_request.icl" ]; then
        croak "smt_fileio_request.icl is missing"
    fi
    if [ ! -f "smt_timer_request.icl" ]; then
        croak "smt_timer_request.icl is missing"
    fi
    if [ ! -f "smt_timer_request_list.icl" ]; then
        croak "smt_timer_request_list.icl is missing"
    fi
    if [ ! -f "smt_timer_request_by_thread.icl" ]; then
        croak "smt_timer_request_by_thread.icl is missing"
    fi
    if [ ! -f "smt_socket.icl" ]; then
        croak "smt_socket.icl is missing"
    fi
    if [ ! -f "smt_socket_request.icl" ]; then
        croak "smt_socket_request.icl is missing"
    fi
    if [ ! -f "smt_socket_request_by_thread.icl" ]; then
        croak "smt_socket_request_by_thread.icl is missing"
    fi
    if [ ! -f "smt_socket_request_by_socket.icl" ]; then
        croak "smt_socket_request_by_socket.icl is missing"
    fi
    if [ ! -f "smt_position.icl" ]; then
        croak "smt_position.icl is missing"
    fi
    if [ ! -f "smt_position_list.icl" ]; then
        croak "smt_position_list.icl is missing"
    fi
    if [ ! -f "smt_signal.icl" ]; then
        croak "smt_signal.icl is missing"
    fi
    if [ ! -f "smt_signal_table.icl" ]; then
        croak "smt_signal_table.icl is missing"
    fi
    if [ ! -f "smt_signal_by_thread.icl" ]; then
        croak "smt_signal_by_thread.icl is missing"
    fi
    if [ ! -f "smt_coremark.icl" ]; then
        croak "smt_coremark.icl is missing"
    fi
    if [ ! -f "smt_log.icl" ]; then
        croak "smt_log.icl is missing"
    fi
    if [ ! -f "smt_demo_portal.icl" ]; then
        croak "smt_demo_portal.icl is missing"
    fi
    if [ ! -f "smt_demo_portal_client.icl" ]; then
        croak "smt_demo_portal_client.icl is missing"
    fi
    if [ ! -f "smt_demo_portal_server.icl" ]; then
        croak "smt_demo_portal_server.icl is missing"
    fi
    if [ ! -f "smt_demo_portal_front.icl" ]; then
        croak "smt_demo_portal_front.icl is missing"
    fi
    if [ ! -f "smt_demo_portal_back.icl" ]; then
        croak "smt_demo_portal_back.icl is missing"
    fi
    if [ ! -f "smt_echo.smt" ]; then
        croak "smt_echo.smt is missing"
    fi
    if [ ! -f "tstnull.smt" ]; then
        croak "tstnull.smt is missing"
    fi
    if [ ! -f "tstsock.smt" ]; then
        croak "tstsock.smt is missing"
    fi
    if [ ! -f "smt_demo_timer.smt" ]; then
        croak "smt_demo_timer.smt is missing"
    fi
    if [ ! -f "smt_demo_object.icl" ]; then
        croak "smt_demo_object.icl is missing"
    fi
    if [ ! -f "smt_demo_object_action.icl" ]; then
        croak "smt_demo_object_action.icl is missing"
    fi
    if [ ! -f "smt_demo_server.smt" ]; then
        croak "smt_demo_server.smt is missing"
    fi
    if [ ! -f "smt_demo_client.smt" ]; then
        croak "smt_demo_client.smt is missing"
    fi
    if [ ! -f "smt.h" ]; then
        croak "smt.h is missing"
    fi
    if [ ! -f "icl_make_doc.ignore" ]; then
        croak "icl_make_doc.ignore is missing"
    fi
    if [ ! -f "project.pdl" ]; then
        croak "project.pdl is missing"
    fi
    if [ ! -f "readme.txt" ]; then
        croak "readme.txt is missing"
    fi
    if [ ! -f "smt_method_test.c" ]; then
        croak "smt_method_test.c is missing"
    fi
    if [ ! -f "smt_method.h" ]; then
        croak "smt_method.h is missing"
    fi
    if [ ! -f "smt_method.c" ]; then
        croak "smt_method.c is missing"
    fi
    if [ ! -f "smt_method_queue_test.c" ]; then
        croak "smt_method_queue_test.c is missing"
    fi
    if [ ! -f "smt_method_queue.h" ]; then
        croak "smt_method_queue.h is missing"
    fi
    if [ ! -f "smt_method_queue.c" ]; then
        croak "smt_method_queue.c is missing"
    fi
    if [ ! -f "smt_method_list_test.c" ]; then
        croak "smt_method_list_test.c is missing"
    fi
    if [ ! -f "smt_method_list.h" ]; then
        croak "smt_method_list.h is missing"
    fi
    if [ ! -f "smt_method_list.c" ]; then
        croak "smt_method_list.c is missing"
    fi
    if [ ! -f "smt_os_thread_test.c" ]; then
        croak "smt_os_thread_test.c is missing"
    fi
    if [ ! -f "smt_os_thread.h" ]; then
        croak "smt_os_thread.h is missing"
    fi
    if [ ! -f "smt_os_thread.c" ]; then
        croak "smt_os_thread.c is missing"
    fi
    if [ ! -f "smt_os_thread_by_status_test.c" ]; then
        croak "smt_os_thread_by_status_test.c is missing"
    fi
    if [ ! -f "smt_os_thread_by_status.h" ]; then
        croak "smt_os_thread_by_status.h is missing"
    fi
    if [ ! -f "smt_os_thread_by_status.c" ]; then
        croak "smt_os_thread_by_status.c is missing"
    fi
    if [ ! -f "smt_os_thread_list_test.c" ]; then
        croak "smt_os_thread_list_test.c is missing"
    fi
    if [ ! -f "smt_os_thread_list.h" ]; then
        croak "smt_os_thread_list.h is missing"
    fi
    if [ ! -f "smt_os_thread_list.c" ]; then
        croak "smt_os_thread_list.c is missing"
    fi
    if [ ! -f "smt_thread_test.c" ]; then
        croak "smt_thread_test.c is missing"
    fi
    if [ ! -f "smt_thread.h" ]; then
        croak "smt_thread.h is missing"
    fi
    if [ ! -f "smt_thread.c" ]; then
        croak "smt_thread.c is missing"
    fi
    if [ ! -f "smt_thread_by_status_test.c" ]; then
        croak "smt_thread_by_status_test.c is missing"
    fi
    if [ ! -f "smt_thread_by_status.h" ]; then
        croak "smt_thread_by_status.h is missing"
    fi
    if [ ! -f "smt_thread_by_status.c" ]; then
        croak "smt_thread_by_status.c is missing"
    fi
    if [ ! -f "smt_thread_list_test.c" ]; then
        croak "smt_thread_list_test.c is missing"
    fi
    if [ ! -f "smt_thread_list.h" ]; then
        croak "smt_thread_list.h is missing"
    fi
    if [ ! -f "smt_thread_list.c" ]; then
        croak "smt_thread_list.c is missing"
    fi
    if [ ! -f "smt_thread_queue_test.c" ]; then
        croak "smt_thread_queue_test.c is missing"
    fi
    if [ ! -f "smt_thread_queue.h" ]; then
        croak "smt_thread_queue.h is missing"
    fi
    if [ ! -f "smt_thread_queue.c" ]; then
        croak "smt_thread_queue.c is missing"
    fi
    if [ ! -f "smt_fileio_test.c" ]; then
        croak "smt_fileio_test.c is missing"
    fi
    if [ ! -f "smt_fileio.h" ]; then
        croak "smt_fileio.h is missing"
    fi
    if [ ! -f "smt_fileio.c" ]; then
        croak "smt_fileio.c is missing"
    fi
    if [ ! -f "smt_fileio_request_test.c" ]; then
        croak "smt_fileio_request_test.c is missing"
    fi
    if [ ! -f "smt_fileio_request.h" ]; then
        croak "smt_fileio_request.h is missing"
    fi
    if [ ! -f "smt_fileio_request.c" ]; then
        croak "smt_fileio_request.c is missing"
    fi
    if [ ! -f "smt_timer_request_test.c" ]; then
        croak "smt_timer_request_test.c is missing"
    fi
    if [ ! -f "smt_timer_request.h" ]; then
        croak "smt_timer_request.h is missing"
    fi
    if [ ! -f "smt_timer_request.c" ]; then
        croak "smt_timer_request.c is missing"
    fi
    if [ ! -f "smt_timer_request_list_test.c" ]; then
        croak "smt_timer_request_list_test.c is missing"
    fi
    if [ ! -f "smt_timer_request_list.h" ]; then
        croak "smt_timer_request_list.h is missing"
    fi
    if [ ! -f "smt_timer_request_list.c" ]; then
        croak "smt_timer_request_list.c is missing"
    fi
    if [ ! -f "smt_timer_request_by_thread_test.c" ]; then
        croak "smt_timer_request_by_thread_test.c is missing"
    fi
    if [ ! -f "smt_timer_request_by_thread.h" ]; then
        croak "smt_timer_request_by_thread.h is missing"
    fi
    if [ ! -f "smt_timer_request_by_thread.c" ]; then
        croak "smt_timer_request_by_thread.c is missing"
    fi
    if [ ! -f "smt_socket_test.c" ]; then
        croak "smt_socket_test.c is missing"
    fi
    if [ ! -f "smt_socket.h" ]; then
        croak "smt_socket.h is missing"
    fi
    if [ ! -f "smt_socket.c" ]; then
        croak "smt_socket.c is missing"
    fi
    if [ ! -f "smt_socket_request_test.c" ]; then
        croak "smt_socket_request_test.c is missing"
    fi
    if [ ! -f "smt_socket_request.h" ]; then
        croak "smt_socket_request.h is missing"
    fi
    if [ ! -f "smt_socket_request.c" ]; then
        croak "smt_socket_request.c is missing"
    fi
    if [ ! -f "smt_socket_request_by_thread_test.c" ]; then
        croak "smt_socket_request_by_thread_test.c is missing"
    fi
    if [ ! -f "smt_socket_request_by_thread.h" ]; then
        croak "smt_socket_request_by_thread.h is missing"
    fi
    if [ ! -f "smt_socket_request_by_thread.c" ]; then
        croak "smt_socket_request_by_thread.c is missing"
    fi
    if [ ! -f "smt_socket_request_by_socket_test.c" ]; then
        croak "smt_socket_request_by_socket_test.c is missing"
    fi
    if [ ! -f "smt_socket_request_by_socket.h" ]; then
        croak "smt_socket_request_by_socket.h is missing"
    fi
    if [ ! -f "smt_socket_request_by_socket.c" ]; then
        croak "smt_socket_request_by_socket.c is missing"
    fi
    if [ ! -f "smt_position_test.c" ]; then
        croak "smt_position_test.c is missing"
    fi
    if [ ! -f "smt_position.h" ]; then
        croak "smt_position.h is missing"
    fi
    if [ ! -f "smt_position.c" ]; then
        croak "smt_position.c is missing"
    fi
    if [ ! -f "smt_position_list_test.c" ]; then
        croak "smt_position_list_test.c is missing"
    fi
    if [ ! -f "smt_position_list.h" ]; then
        croak "smt_position_list.h is missing"
    fi
    if [ ! -f "smt_position_list.c" ]; then
        croak "smt_position_list.c is missing"
    fi
    if [ ! -f "smt_signal_test.c" ]; then
        croak "smt_signal_test.c is missing"
    fi
    if [ ! -f "smt_signal.h" ]; then
        croak "smt_signal.h is missing"
    fi
    if [ ! -f "smt_signal.c" ]; then
        croak "smt_signal.c is missing"
    fi
    if [ ! -f "smt_signal_table_test.c" ]; then
        croak "smt_signal_table_test.c is missing"
    fi
    if [ ! -f "smt_signal_table.h" ]; then
        croak "smt_signal_table.h is missing"
    fi
    if [ ! -f "smt_signal_table.c" ]; then
        croak "smt_signal_table.c is missing"
    fi
    if [ ! -f "smt_signal_by_thread_test.c" ]; then
        croak "smt_signal_by_thread_test.c is missing"
    fi
    if [ ! -f "smt_signal_by_thread.h" ]; then
        croak "smt_signal_by_thread.h is missing"
    fi
    if [ ! -f "smt_signal_by_thread.c" ]; then
        croak "smt_signal_by_thread.c is missing"
    fi
    if [ ! -f "smt_coremark_agent.smt" ]; then
        croak "smt_coremark_agent.smt is missing"
    fi
    if [ ! -f "smt_coremark_agent.h" ]; then
        croak "smt_coremark_agent.h is missing"
    fi
    if [ ! -f "smt_coremark_agent.c" ]; then
        croak "smt_coremark_agent.c is missing"
    fi
    if [ ! -f "smt_coremark_test.c" ]; then
        croak "smt_coremark_test.c is missing"
    fi
    if [ ! -f "smt_coremark.h" ]; then
        croak "smt_coremark.h is missing"
    fi
    if [ ! -f "smt_coremark.c" ]; then
        croak "smt_coremark.c is missing"
    fi
    if [ ! -f "smt_log_agent.smt" ]; then
        croak "smt_log_agent.smt is missing"
    fi
    if [ ! -f "smt_log_agent.h" ]; then
        croak "smt_log_agent.h is missing"
    fi
    if [ ! -f "smt_log_agent.c" ]; then
        croak "smt_log_agent.c is missing"
    fi
    if [ ! -f "smt_log_test.c" ]; then
        croak "smt_log_test.c is missing"
    fi
    if [ ! -f "smt_log.h" ]; then
        croak "smt_log.h is missing"
    fi
    if [ ! -f "smt_log.c" ]; then
        croak "smt_log.c is missing"
    fi
    if [ ! -f "smt_demo_portal_test.c" ]; then
        croak "smt_demo_portal_test.c is missing"
    fi
    if [ ! -f "smt_demo_portal.h" ]; then
        croak "smt_demo_portal.h is missing"
    fi
    if [ ! -f "smt_demo_portal.c" ]; then
        croak "smt_demo_portal.c is missing"
    fi
    if [ ! -f "smt_demo_portal_client_agent.smt" ]; then
        croak "smt_demo_portal_client_agent.smt is missing"
    fi
    if [ ! -f "smt_demo_portal_client_agent.h" ]; then
        croak "smt_demo_portal_client_agent.h is missing"
    fi
    if [ ! -f "smt_demo_portal_client_agent.c" ]; then
        croak "smt_demo_portal_client_agent.c is missing"
    fi
    if [ ! -f "smt_demo_portal_client_test.c" ]; then
        croak "smt_demo_portal_client_test.c is missing"
    fi
    if [ ! -f "smt_demo_portal_client.h" ]; then
        croak "smt_demo_portal_client.h is missing"
    fi
    if [ ! -f "smt_demo_portal_client.c" ]; then
        croak "smt_demo_portal_client.c is missing"
    fi
    if [ ! -f "smt_demo_portal_server_agent.smt" ]; then
        croak "smt_demo_portal_server_agent.smt is missing"
    fi
    if [ ! -f "smt_demo_portal_server_agent.h" ]; then
        croak "smt_demo_portal_server_agent.h is missing"
    fi
    if [ ! -f "smt_demo_portal_server_agent.c" ]; then
        croak "smt_demo_portal_server_agent.c is missing"
    fi
    if [ ! -f "smt_demo_portal_server_test.c" ]; then
        croak "smt_demo_portal_server_test.c is missing"
    fi
    if [ ! -f "smt_demo_portal_server.h" ]; then
        croak "smt_demo_portal_server.h is missing"
    fi
    if [ ! -f "smt_demo_portal_server.c" ]; then
        croak "smt_demo_portal_server.c is missing"
    fi
    if [ ! -f "smt_echo.h" ]; then
        croak "smt_echo.h is missing"
    fi
    if [ ! -f "smt_echo.c" ]; then
        croak "smt_echo.c is missing"
    fi
    if [ ! -f "tstnull.h" ]; then
        croak "tstnull.h is missing"
    fi
    if [ ! -f "tstnull.c" ]; then
        croak "tstnull.c is missing"
    fi
    if [ ! -f "tstsock.h" ]; then
        croak "tstsock.h is missing"
    fi
    if [ ! -f "tstsock.c" ]; then
        croak "tstsock.c is missing"
    fi
    if [ ! -f "smt_demo_timer.c" ]; then
        croak "smt_demo_timer.c is missing"
    fi
    if [ ! -f "smt_demo_timer.h" ]; then
        croak "smt_demo_timer.h is missing"
    fi
    if [ ! -f "smt_demo_object_agent.smt" ]; then
        croak "smt_demo_object_agent.smt is missing"
    fi
    if [ ! -f "smt_demo_object_agent.h" ]; then
        croak "smt_demo_object_agent.h is missing"
    fi
    if [ ! -f "smt_demo_object_agent.c" ]; then
        croak "smt_demo_object_agent.c is missing"
    fi
    if [ ! -f "smt_demo_object_test.c" ]; then
        croak "smt_demo_object_test.c is missing"
    fi
    if [ ! -f "smt_demo_object.h" ]; then
        croak "smt_demo_object.h is missing"
    fi
    if [ ! -f "smt_demo_object.c" ]; then
        croak "smt_demo_object.c is missing"
    fi
    if [ ! -f "smt_demo_object_action_agent.smt" ]; then
        croak "smt_demo_object_action_agent.smt is missing"
    fi
    if [ ! -f "smt_demo_object_action_agent.h" ]; then
        croak "smt_demo_object_action_agent.h is missing"
    fi
    if [ ! -f "smt_demo_object_action_agent.c" ]; then
        croak "smt_demo_object_action_agent.c is missing"
    fi
    if [ ! -f "smt_demo_object_action_test.c" ]; then
        croak "smt_demo_object_action_test.c is missing"
    fi
    if [ ! -f "smt_demo_object_action.h" ]; then
        croak "smt_demo_object_action.h is missing"
    fi
    if [ ! -f "smt_demo_object_action.c" ]; then
        croak "smt_demo_object_action.c is missing"
    fi
    if [ ! -f "smt_demo_server.h" ]; then
        croak "smt_demo_server.h is missing"
    fi
    if [ ! -f "smt_demo_server.c" ]; then
        croak "smt_demo_server.c is missing"
    fi
    if [ ! -f "smt_demo_client.h" ]; then
        croak "smt_demo_client.h is missing"
    fi
    if [ ! -f "smt_demo_client.c" ]; then
        croak "smt_demo_client.c is missing"
    fi
    if [ ! -f "stamp_generate" ]; then
        croak "stamp_generate is missing"
    fi
    if [ ! -f "configure" ]; then
        croak "configure is missing"
    fi
    if [ ! -f "Makefile.unix" ]; then
        croak "Makefile.unix is missing"
    fi
    if [ ! -f "boomake" ]; then
        croak "boomake is missing"
    fi
    if [ ! -f "configure.bat" ]; then
        croak "configure.bat is missing"
    fi
    if [ ! -f "Makefile.win32" ]; then
        croak "Makefile.win32 is missing"
    fi
    if [ ! -f "boomake.bat" ]; then
        croak "boomake.bat is missing"
    fi
    if [ ! -f "boomakew.bat" ]; then
        croak "boomakew.bat is missing"
    fi
}

# -----------------------   CHECK BINARY FILES EXIST   ------------------------

a_check_binary_files_exist() {
:
    if [ ! -f "icl_smt.gsl" ]; then
        croak "icl_smt.gsl is missing"
    fi
    if [ ! -f "smt_object.icl" ]; then
        croak "smt_object.icl is missing"
    fi
    if [ ! -f "smt_object_gen.gsl" ]; then
        croak "smt_object_gen.gsl is missing"
    fi
    if [ ! -f "smt_object_preproc.gsl" ]; then
        croak "smt_object_preproc.gsl is missing"
    fi
    if [ ! -f "smt_object_inherit.gsl" ]; then
        croak "smt_object_inherit.gsl is missing"
    fi
    if [ ! -f "smt_object_parse.gsl" ]; then
        croak "smt_object_parse.gsl is missing"
    fi
    if [ ! -f "smt_object_tracker.icl" ]; then
        croak "smt_object_tracker.icl is missing"
    fi
    if [ ! -f "smt_gen.gsl" ]; then
        croak "smt_gen.gsl is missing"
    fi
    if [ ! -f "smt_preproc.gsl" ]; then
        croak "smt_preproc.gsl is missing"
    fi
    if [ ! -f "smt_inherit.gsl" ]; then
        croak "smt_inherit.gsl is missing"
    fi
    if [ ! -f "smt_parse.gsl" ]; then
        croak "smt_parse.gsl is missing"
    fi
    if [ ! -f "smt_stdc.gsl" ]; then
        croak "smt_stdc.gsl is missing"
    fi
    if [ ! -f "smt_doc.gsl" ]; then
        croak "smt_doc.gsl is missing"
    fi
    if [ ! -f "smt_classes.pdl" ]; then
        croak "smt_classes.pdl is missing"
    fi
    if [ ! -f "smt_echo.smt" ]; then
        croak "smt_echo.smt is missing"
    fi
    if [ ! -f "tstnull.smt" ]; then
        croak "tstnull.smt is missing"
    fi
    if [ ! -f "tstsock.smt" ]; then
        croak "tstsock.smt is missing"
    fi
    if [ ! -f "smt_demo_server.smt" ]; then
        croak "smt_demo_server.smt is missing"
    fi
    if [ ! -f "smt_demo_client.smt" ]; then
        croak "smt_demo_client.smt is missing"
    fi
    if [ ! -f "libsmt.a" ]; then
        croak "libsmt.a is missing"
    fi
    if [ ! -f "smt.h" ]; then
        croak "smt.h is missing"
    fi
    if [ ! -f "readme.txt" ]; then
        croak "readme.txt is missing"
    fi
    if [ ! -f "smt_method.h" ]; then
        croak "smt_method.h is missing"
    fi
    if [ ! -f "smt_method_queue.h" ]; then
        croak "smt_method_queue.h is missing"
    fi
    if [ ! -f "smt_method_list.h" ]; then
        croak "smt_method_list.h is missing"
    fi
    if [ ! -f "smt_os_thread.h" ]; then
        croak "smt_os_thread.h is missing"
    fi
    if [ ! -f "smt_os_thread_by_status.h" ]; then
        croak "smt_os_thread_by_status.h is missing"
    fi
    if [ ! -f "smt_os_thread_list.h" ]; then
        croak "smt_os_thread_list.h is missing"
    fi
    if [ ! -f "smt_thread.h" ]; then
        croak "smt_thread.h is missing"
    fi
    if [ ! -f "smt_thread_by_status.h" ]; then
        croak "smt_thread_by_status.h is missing"
    fi
    if [ ! -f "smt_thread_list.h" ]; then
        croak "smt_thread_list.h is missing"
    fi
    if [ ! -f "smt_thread_queue.h" ]; then
        croak "smt_thread_queue.h is missing"
    fi
    if [ ! -f "smt_fileio.h" ]; then
        croak "smt_fileio.h is missing"
    fi
    if [ ! -f "smt_fileio_request.h" ]; then
        croak "smt_fileio_request.h is missing"
    fi
    if [ ! -f "smt_timer_request.h" ]; then
        croak "smt_timer_request.h is missing"
    fi
    if [ ! -f "smt_timer_request_list.h" ]; then
        croak "smt_timer_request_list.h is missing"
    fi
    if [ ! -f "smt_timer_request_by_thread.h" ]; then
        croak "smt_timer_request_by_thread.h is missing"
    fi
    if [ ! -f "smt_socket.h" ]; then
        croak "smt_socket.h is missing"
    fi
    if [ ! -f "smt_socket_request.h" ]; then
        croak "smt_socket_request.h is missing"
    fi
    if [ ! -f "smt_socket_request_by_thread.h" ]; then
        croak "smt_socket_request_by_thread.h is missing"
    fi
    if [ ! -f "smt_socket_request_by_socket.h" ]; then
        croak "smt_socket_request_by_socket.h is missing"
    fi
    if [ ! -f "smt_position.h" ]; then
        croak "smt_position.h is missing"
    fi
    if [ ! -f "smt_position_list.h" ]; then
        croak "smt_position_list.h is missing"
    fi
    if [ ! -f "smt_signal.h" ]; then
        croak "smt_signal.h is missing"
    fi
    if [ ! -f "smt_signal_table.h" ]; then
        croak "smt_signal_table.h is missing"
    fi
    if [ ! -f "smt_signal_by_thread.h" ]; then
        croak "smt_signal_by_thread.h is missing"
    fi
    if [ ! -f "smt_coremark_agent.smt" ]; then
        croak "smt_coremark_agent.smt is missing"
    fi
    if [ ! -f "smt_coremark_agent.h" ]; then
        croak "smt_coremark_agent.h is missing"
    fi
    if [ ! -f "smt_coremark.h" ]; then
        croak "smt_coremark.h is missing"
    fi
    if [ ! -f "smt_log_agent.smt" ]; then
        croak "smt_log_agent.smt is missing"
    fi
    if [ ! -f "smt_log_agent.h" ]; then
        croak "smt_log_agent.h is missing"
    fi
    if [ ! -f "smt_log.h" ]; then
        croak "smt_log.h is missing"
    fi
    if [ ! -f "smt_demo_portal.h" ]; then
        croak "smt_demo_portal.h is missing"
    fi
    if [ ! -f "smt_demo_portal_client.h" ]; then
        croak "smt_demo_portal_client.h is missing"
    fi
    if [ ! -f "smt_demo_portal_server.h" ]; then
        croak "smt_demo_portal_server.h is missing"
    fi
    if [ ! -f "smt_echo.h" ]; then
        croak "smt_echo.h is missing"
    fi
    if [ ! -f "tstnull.h" ]; then
        croak "tstnull.h is missing"
    fi
    if [ ! -f "tstsock.h" ]; then
        croak "tstsock.h is missing"
    fi
    if [ ! -f "smt_demo_object.h" ]; then
        croak "smt_demo_object.h is missing"
    fi
    if [ ! -f "smt_demo_object_action.h" ]; then
        croak "smt_demo_object_action.h is missing"
    fi
    if [ ! -f "smt_demo_server.h" ]; then
        croak "smt_demo_server.h is missing"
    fi
    if [ ! -f "smt_demo_client.h" ]; then
        croak "smt_demo_client.h is missing"
    fi
}

# ------------------------   CHECK OPERATING CONTEXT   ------------------------

a_check_operating_context() {
:
    if [ -f ./stamp_stripped ]; then
        event=stripped
    elif [ -f ./stamp_source ]; then
        event=source
    else
        event=repository
    fi
}

# -----------------------   CHECK PROJECT FILES EXIST   -----------------------

a_check_project_files_exist() {
:
    if [ ! -f "version.h" ]; then
        croak "version.h is missing"
    fi
    if [ ! -f "icl_smt.gsl" ]; then
        croak "icl_smt.gsl is missing"
    fi
    if [ ! -f "smt_object.xnf" ]; then
        croak "smt_object.xnf is missing"
    fi
    if [ ! -f "smt_object.icl" ]; then
        croak "smt_object.icl is missing"
    fi
    if [ ! -f "smt_object_tracker.icl" ]; then
        croak "smt_object_tracker.icl is missing"
    fi
    if [ ! -f "smt.xnf" ]; then
        croak "smt.xnf is missing"
    fi
    if [ ! -f "smt_stdc.gsl" ]; then
        croak "smt_stdc.gsl is missing"
    fi
    if [ ! -f "smt_doc.gsl" ]; then
        croak "smt_doc.gsl is missing"
    fi
    if [ ! -f "smt_classes.pdl" ]; then
        croak "smt_classes.pdl is missing"
    fi
    if [ ! -f "smt_method.icl" ]; then
        croak "smt_method.icl is missing"
    fi
    if [ ! -f "smt_method_queue.icl" ]; then
        croak "smt_method_queue.icl is missing"
    fi
    if [ ! -f "smt_os_thread.icl" ]; then
        croak "smt_os_thread.icl is missing"
    fi
    if [ ! -f "smt_thread.icl" ]; then
        croak "smt_thread.icl is missing"
    fi
    if [ ! -f "smt_thread_by_status.icl" ]; then
        croak "smt_thread_by_status.icl is missing"
    fi
    if [ ! -f "smt_fileio.icl" ]; then
        croak "smt_fileio.icl is missing"
    fi
    if [ ! -f "smt_fileio_request.icl" ]; then
        croak "smt_fileio_request.icl is missing"
    fi
    if [ ! -f "smt_timer_request.icl" ]; then
        croak "smt_timer_request.icl is missing"
    fi
    if [ ! -f "smt_socket.icl" ]; then
        croak "smt_socket.icl is missing"
    fi
    if [ ! -f "smt_socket_request.icl" ]; then
        croak "smt_socket_request.icl is missing"
    fi
    if [ ! -f "smt_position.icl" ]; then
        croak "smt_position.icl is missing"
    fi
    if [ ! -f "smt_signal.icl" ]; then
        croak "smt_signal.icl is missing"
    fi
    if [ ! -f "smt_coremark.icl" ]; then
        croak "smt_coremark.icl is missing"
    fi
    if [ ! -f "smt_log.icl" ]; then
        croak "smt_log.icl is missing"
    fi
    if [ ! -f "smt_demo_portal.icl" ]; then
        croak "smt_demo_portal.icl is missing"
    fi
    if [ ! -f "smt_demo_portal_client.icl" ]; then
        croak "smt_demo_portal_client.icl is missing"
    fi
    if [ ! -f "smt_demo_portal_server.icl" ]; then
        croak "smt_demo_portal_server.icl is missing"
    fi
    if [ ! -f "smt_echo.smt" ]; then
        croak "smt_echo.smt is missing"
    fi
    if [ ! -f "tstnull.smt" ]; then
        croak "tstnull.smt is missing"
    fi
    if [ ! -f "tstsock.smt" ]; then
        croak "tstsock.smt is missing"
    fi
    if [ ! -f "smt_demo_timer.smt" ]; then
        croak "smt_demo_timer.smt is missing"
    fi
    if [ ! -f "smt_demo_object.icl" ]; then
        croak "smt_demo_object.icl is missing"
    fi
    if [ ! -f "smt_demo_object_action.icl" ]; then
        croak "smt_demo_object_action.icl is missing"
    fi
    if [ ! -f "smt_demo_server.smt" ]; then
        croak "smt_demo_server.smt is missing"
    fi
    if [ ! -f "smt_demo_client.smt" ]; then
        croak "smt_demo_client.smt is missing"
    fi
    if [ ! -f "icl_make_doc.ignore" ]; then
        croak "icl_make_doc.ignore is missing"
    fi
    if [ ! -f "project.pdl" ]; then
        croak "project.pdl is missing"
    fi
    if [ ! -f "readme.txt" ]; then
        croak "readme.txt is missing"
    fi
    if [ ! -f "boomake" ]; then
        croak "boomake is missing"
    fi
    if [ ! -f "boomake.bat" ]; then
        croak "boomake.bat is missing"
    fi
    if [ ! -f "boomakew.bat" ]; then
        croak "boomakew.bat is missing"
    fi
}

# -----------------------   CHECK SOURCE FILES EXIST   ------------------------

a_check_source_files_exist() {
:
    if [ ! -f "version.h" ]; then
        croak "version.h is missing"
    fi
    if [ ! -f "icl_smt.gsl" ]; then
        croak "icl_smt.gsl is missing"
    fi
    if [ ! -f "smt_object.xnf" ]; then
        croak "smt_object.xnf is missing"
    fi
    if [ ! -f "smt_object.icl" ]; then
        croak "smt_object.icl is missing"
    fi
    if [ ! -f "smt_object_gen.gsl" ]; then
        croak "smt_object_gen.gsl is missing"
    fi
    if [ ! -f "smt_object_preproc.gsl" ]; then
        croak "smt_object_preproc.gsl is missing"
    fi
    if [ ! -f "smt_object_inherit.gsl" ]; then
        croak "smt_object_inherit.gsl is missing"
    fi
    if [ ! -f "smt_object_parse.gsl" ]; then
        croak "smt_object_parse.gsl is missing"
    fi
    if [ ! -f "smt_object_doc.txt" ]; then
        croak "smt_object_doc.txt is missing"
    fi
    if [ ! -f "smt_object_tracker.icl" ]; then
        croak "smt_object_tracker.icl is missing"
    fi
    if [ ! -f "smt.xnf" ]; then
        croak "smt.xnf is missing"
    fi
    if [ ! -f "smt_gen.gsl" ]; then
        croak "smt_gen.gsl is missing"
    fi
    if [ ! -f "smt_preproc.gsl" ]; then
        croak "smt_preproc.gsl is missing"
    fi
    if [ ! -f "smt_inherit.gsl" ]; then
        croak "smt_inherit.gsl is missing"
    fi
    if [ ! -f "smt_parse.gsl" ]; then
        croak "smt_parse.gsl is missing"
    fi
    if [ ! -f "smt_doc.txt" ]; then
        croak "smt_doc.txt is missing"
    fi
    if [ ! -f "smt_stdc.gsl" ]; then
        croak "smt_stdc.gsl is missing"
    fi
    if [ ! -f "smt_doc.gsl" ]; then
        croak "smt_doc.gsl is missing"
    fi
    if [ ! -f "smt_classes.pdl" ]; then
        croak "smt_classes.pdl is missing"
    fi
    if [ ! -f "smt_method.icl" ]; then
        croak "smt_method.icl is missing"
    fi
    if [ ! -f "smt_method_queue.icl" ]; then
        croak "smt_method_queue.icl is missing"
    fi
    if [ ! -f "smt_method_list.icl" ]; then
        croak "smt_method_list.icl is missing"
    fi
    if [ ! -f "smt_os_thread.icl" ]; then
        croak "smt_os_thread.icl is missing"
    fi
    if [ ! -f "smt_os_thread_by_status.icl" ]; then
        croak "smt_os_thread_by_status.icl is missing"
    fi
    if [ ! -f "smt_os_thread_list.icl" ]; then
        croak "smt_os_thread_list.icl is missing"
    fi
    if [ ! -f "smt_thread.icl" ]; then
        croak "smt_thread.icl is missing"
    fi
    if [ ! -f "smt_thread_by_status.icl" ]; then
        croak "smt_thread_by_status.icl is missing"
    fi
    if [ ! -f "smt_thread_list.icl" ]; then
        croak "smt_thread_list.icl is missing"
    fi
    if [ ! -f "smt_thread_queue.icl" ]; then
        croak "smt_thread_queue.icl is missing"
    fi
    if [ ! -f "smt_fileio.icl" ]; then
        croak "smt_fileio.icl is missing"
    fi
    if [ ! -f "smt_fileio_request.icl" ]; then
        croak "smt_fileio_request.icl is missing"
    fi
    if [ ! -f "smt_timer_request.icl" ]; then
        croak "smt_timer_request.icl is missing"
    fi
    if [ ! -f "smt_timer_request_list.icl" ]; then
        croak "smt_timer_request_list.icl is missing"
    fi
    if [ ! -f "smt_timer_request_by_thread.icl" ]; then
        croak "smt_timer_request_by_thread.icl is missing"
    fi
    if [ ! -f "smt_socket.icl" ]; then
        croak "smt_socket.icl is missing"
    fi
    if [ ! -f "smt_socket_request.icl" ]; then
        croak "smt_socket_request.icl is missing"
    fi
    if [ ! -f "smt_socket_request_by_thread.icl" ]; then
        croak "smt_socket_request_by_thread.icl is missing"
    fi
    if [ ! -f "smt_socket_request_by_socket.icl" ]; then
        croak "smt_socket_request_by_socket.icl is missing"
    fi
    if [ ! -f "smt_position.icl" ]; then
        croak "smt_position.icl is missing"
    fi
    if [ ! -f "smt_position_list.icl" ]; then
        croak "smt_position_list.icl is missing"
    fi
    if [ ! -f "smt_signal.icl" ]; then
        croak "smt_signal.icl is missing"
    fi
    if [ ! -f "smt_signal_table.icl" ]; then
        croak "smt_signal_table.icl is missing"
    fi
    if [ ! -f "smt_signal_by_thread.icl" ]; then
        croak "smt_signal_by_thread.icl is missing"
    fi
    if [ ! -f "smt_coremark.icl" ]; then
        croak "smt_coremark.icl is missing"
    fi
    if [ ! -f "smt_log.icl" ]; then
        croak "smt_log.icl is missing"
    fi
    if [ ! -f "smt_demo_portal.icl" ]; then
        croak "smt_demo_portal.icl is missing"
    fi
    if [ ! -f "smt_demo_portal_client.icl" ]; then
        croak "smt_demo_portal_client.icl is missing"
    fi
    if [ ! -f "smt_demo_portal_server.icl" ]; then
        croak "smt_demo_portal_server.icl is missing"
    fi
    if [ ! -f "smt_demo_portal_front.icl" ]; then
        croak "smt_demo_portal_front.icl is missing"
    fi
    if [ ! -f "smt_demo_portal_back.icl" ]; then
        croak "smt_demo_portal_back.icl is missing"
    fi
    if [ ! -f "smt_echo.smt" ]; then
        croak "smt_echo.smt is missing"
    fi
    if [ ! -f "tstnull.smt" ]; then
        croak "tstnull.smt is missing"
    fi
    if [ ! -f "tstsock.smt" ]; then
        croak "tstsock.smt is missing"
    fi
    if [ ! -f "smt_demo_timer.smt" ]; then
        croak "smt_demo_timer.smt is missing"
    fi
    if [ ! -f "smt_demo_object.icl" ]; then
        croak "smt_demo_object.icl is missing"
    fi
    if [ ! -f "smt_demo_object_action.icl" ]; then
        croak "smt_demo_object_action.icl is missing"
    fi
    if [ ! -f "smt_demo_server.smt" ]; then
        croak "smt_demo_server.smt is missing"
    fi
    if [ ! -f "smt_demo_client.smt" ]; then
        croak "smt_demo_client.smt is missing"
    fi
    if [ ! -f "smt.h" ]; then
        croak "smt.h is missing"
    fi
    if [ ! -f "icl_make_doc.ignore" ]; then
        croak "icl_make_doc.ignore is missing"
    fi
    if [ ! -f "project.pdl" ]; then
        croak "project.pdl is missing"
    fi
    if [ ! -f "readme.txt" ]; then
        croak "readme.txt is missing"
    fi
    if [ ! -f "smt_method_test.c" ]; then
        croak "smt_method_test.c is missing"
    fi
    if [ ! -f "smt_method.h" ]; then
        croak "smt_method.h is missing"
    fi
    if [ ! -f "smt_method.c" ]; then
        croak "smt_method.c is missing"
    fi
    if [ ! -f "smt_method_queue_test.c" ]; then
        croak "smt_method_queue_test.c is missing"
    fi
    if [ ! -f "smt_method_queue.h" ]; then
        croak "smt_method_queue.h is missing"
    fi
    if [ ! -f "smt_method_queue.c" ]; then
        croak "smt_method_queue.c is missing"
    fi
    if [ ! -f "smt_method_list_test.c" ]; then
        croak "smt_method_list_test.c is missing"
    fi
    if [ ! -f "smt_method_list.h" ]; then
        croak "smt_method_list.h is missing"
    fi
    if [ ! -f "smt_method_list.c" ]; then
        croak "smt_method_list.c is missing"
    fi
    if [ ! -f "smt_os_thread_test.c" ]; then
        croak "smt_os_thread_test.c is missing"
    fi
    if [ ! -f "smt_os_thread.h" ]; then
        croak "smt_os_thread.h is missing"
    fi
    if [ ! -f "smt_os_thread.c" ]; then
        croak "smt_os_thread.c is missing"
    fi
    if [ ! -f "smt_os_thread_by_status_test.c" ]; then
        croak "smt_os_thread_by_status_test.c is missing"
    fi
    if [ ! -f "smt_os_thread_by_status.h" ]; then
        croak "smt_os_thread_by_status.h is missing"
    fi
    if [ ! -f "smt_os_thread_by_status.c" ]; then
        croak "smt_os_thread_by_status.c is missing"
    fi
    if [ ! -f "smt_os_thread_list_test.c" ]; then
        croak "smt_os_thread_list_test.c is missing"
    fi
    if [ ! -f "smt_os_thread_list.h" ]; then
        croak "smt_os_thread_list.h is missing"
    fi
    if [ ! -f "smt_os_thread_list.c" ]; then
        croak "smt_os_thread_list.c is missing"
    fi
    if [ ! -f "smt_thread_test.c" ]; then
        croak "smt_thread_test.c is missing"
    fi
    if [ ! -f "smt_thread.h" ]; then
        croak "smt_thread.h is missing"
    fi
    if [ ! -f "smt_thread.c" ]; then
        croak "smt_thread.c is missing"
    fi
    if [ ! -f "smt_thread_by_status_test.c" ]; then
        croak "smt_thread_by_status_test.c is missing"
    fi
    if [ ! -f "smt_thread_by_status.h" ]; then
        croak "smt_thread_by_status.h is missing"
    fi
    if [ ! -f "smt_thread_by_status.c" ]; then
        croak "smt_thread_by_status.c is missing"
    fi
    if [ ! -f "smt_thread_list_test.c" ]; then
        croak "smt_thread_list_test.c is missing"
    fi
    if [ ! -f "smt_thread_list.h" ]; then
        croak "smt_thread_list.h is missing"
    fi
    if [ ! -f "smt_thread_list.c" ]; then
        croak "smt_thread_list.c is missing"
    fi
    if [ ! -f "smt_thread_queue_test.c" ]; then
        croak "smt_thread_queue_test.c is missing"
    fi
    if [ ! -f "smt_thread_queue.h" ]; then
        croak "smt_thread_queue.h is missing"
    fi
    if [ ! -f "smt_thread_queue.c" ]; then
        croak "smt_thread_queue.c is missing"
    fi
    if [ ! -f "smt_fileio_test.c" ]; then
        croak "smt_fileio_test.c is missing"
    fi
    if [ ! -f "smt_fileio.h" ]; then
        croak "smt_fileio.h is missing"
    fi
    if [ ! -f "smt_fileio.c" ]; then
        croak "smt_fileio.c is missing"
    fi
    if [ ! -f "smt_fileio_request_test.c" ]; then
        croak "smt_fileio_request_test.c is missing"
    fi
    if [ ! -f "smt_fileio_request.h" ]; then
        croak "smt_fileio_request.h is missing"
    fi
    if [ ! -f "smt_fileio_request.c" ]; then
        croak "smt_fileio_request.c is missing"
    fi
    if [ ! -f "smt_timer_request_test.c" ]; then
        croak "smt_timer_request_test.c is missing"
    fi
    if [ ! -f "smt_timer_request.h" ]; then
        croak "smt_timer_request.h is missing"
    fi
    if [ ! -f "smt_timer_request.c" ]; then
        croak "smt_timer_request.c is missing"
    fi
    if [ ! -f "smt_timer_request_list_test.c" ]; then
        croak "smt_timer_request_list_test.c is missing"
    fi
    if [ ! -f "smt_timer_request_list.h" ]; then
        croak "smt_timer_request_list.h is missing"
    fi
    if [ ! -f "smt_timer_request_list.c" ]; then
        croak "smt_timer_request_list.c is missing"
    fi
    if [ ! -f "smt_timer_request_by_thread_test.c" ]; then
        croak "smt_timer_request_by_thread_test.c is missing"
    fi
    if [ ! -f "smt_timer_request_by_thread.h" ]; then
        croak "smt_timer_request_by_thread.h is missing"
    fi
    if [ ! -f "smt_timer_request_by_thread.c" ]; then
        croak "smt_timer_request_by_thread.c is missing"
    fi
    if [ ! -f "smt_socket_test.c" ]; then
        croak "smt_socket_test.c is missing"
    fi
    if [ ! -f "smt_socket.h" ]; then
        croak "smt_socket.h is missing"
    fi
    if [ ! -f "smt_socket.c" ]; then
        croak "smt_socket.c is missing"
    fi
    if [ ! -f "smt_socket_request_test.c" ]; then
        croak "smt_socket_request_test.c is missing"
    fi
    if [ ! -f "smt_socket_request.h" ]; then
        croak "smt_socket_request.h is missing"
    fi
    if [ ! -f "smt_socket_request.c" ]; then
        croak "smt_socket_request.c is missing"
    fi
    if [ ! -f "smt_socket_request_by_thread_test.c" ]; then
        croak "smt_socket_request_by_thread_test.c is missing"
    fi
    if [ ! -f "smt_socket_request_by_thread.h" ]; then
        croak "smt_socket_request_by_thread.h is missing"
    fi
    if [ ! -f "smt_socket_request_by_thread.c" ]; then
        croak "smt_socket_request_by_thread.c is missing"
    fi
    if [ ! -f "smt_socket_request_by_socket_test.c" ]; then
        croak "smt_socket_request_by_socket_test.c is missing"
    fi
    if [ ! -f "smt_socket_request_by_socket.h" ]; then
        croak "smt_socket_request_by_socket.h is missing"
    fi
    if [ ! -f "smt_socket_request_by_socket.c" ]; then
        croak "smt_socket_request_by_socket.c is missing"
    fi
    if [ ! -f "smt_position_test.c" ]; then
        croak "smt_position_test.c is missing"
    fi
    if [ ! -f "smt_position.h" ]; then
        croak "smt_position.h is missing"
    fi
    if [ ! -f "smt_position.c" ]; then
        croak "smt_position.c is missing"
    fi
    if [ ! -f "smt_position_list_test.c" ]; then
        croak "smt_position_list_test.c is missing"
    fi
    if [ ! -f "smt_position_list.h" ]; then
        croak "smt_position_list.h is missing"
    fi
    if [ ! -f "smt_position_list.c" ]; then
        croak "smt_position_list.c is missing"
    fi
    if [ ! -f "smt_signal_test.c" ]; then
        croak "smt_signal_test.c is missing"
    fi
    if [ ! -f "smt_signal.h" ]; then
        croak "smt_signal.h is missing"
    fi
    if [ ! -f "smt_signal.c" ]; then
        croak "smt_signal.c is missing"
    fi
    if [ ! -f "smt_signal_table_test.c" ]; then
        croak "smt_signal_table_test.c is missing"
    fi
    if [ ! -f "smt_signal_table.h" ]; then
        croak "smt_signal_table.h is missing"
    fi
    if [ ! -f "smt_signal_table.c" ]; then
        croak "smt_signal_table.c is missing"
    fi
    if [ ! -f "smt_signal_by_thread_test.c" ]; then
        croak "smt_signal_by_thread_test.c is missing"
    fi
    if [ ! -f "smt_signal_by_thread.h" ]; then
        croak "smt_signal_by_thread.h is missing"
    fi
    if [ ! -f "smt_signal_by_thread.c" ]; then
        croak "smt_signal_by_thread.c is missing"
    fi
    if [ ! -f "smt_coremark_agent.smt" ]; then
        croak "smt_coremark_agent.smt is missing"
    fi
    if [ ! -f "smt_coremark_agent.h" ]; then
        croak "smt_coremark_agent.h is missing"
    fi
    if [ ! -f "smt_coremark_agent.c" ]; then
        croak "smt_coremark_agent.c is missing"
    fi
    if [ ! -f "smt_coremark_test.c" ]; then
        croak "smt_coremark_test.c is missing"
    fi
    if [ ! -f "smt_coremark.h" ]; then
        croak "smt_coremark.h is missing"
    fi
    if [ ! -f "smt_coremark.c" ]; then
        croak "smt_coremark.c is missing"
    fi
    if [ ! -f "smt_log_agent.smt" ]; then
        croak "smt_log_agent.smt is missing"
    fi
    if [ ! -f "smt_log_agent.h" ]; then
        croak "smt_log_agent.h is missing"
    fi
    if [ ! -f "smt_log_agent.c" ]; then
        croak "smt_log_agent.c is missing"
    fi
    if [ ! -f "smt_log_test.c" ]; then
        croak "smt_log_test.c is missing"
    fi
    if [ ! -f "smt_log.h" ]; then
        croak "smt_log.h is missing"
    fi
    if [ ! -f "smt_log.c" ]; then
        croak "smt_log.c is missing"
    fi
    if [ ! -f "smt_demo_portal_test.c" ]; then
        croak "smt_demo_portal_test.c is missing"
    fi
    if [ ! -f "smt_demo_portal.h" ]; then
        croak "smt_demo_portal.h is missing"
    fi
    if [ ! -f "smt_demo_portal.c" ]; then
        croak "smt_demo_portal.c is missing"
    fi
    if [ ! -f "smt_demo_portal_client_agent.smt" ]; then
        croak "smt_demo_portal_client_agent.smt is missing"
    fi
    if [ ! -f "smt_demo_portal_client_agent.h" ]; then
        croak "smt_demo_portal_client_agent.h is missing"
    fi
    if [ ! -f "smt_demo_portal_client_agent.c" ]; then
        croak "smt_demo_portal_client_agent.c is missing"
    fi
    if [ ! -f "smt_demo_portal_client_test.c" ]; then
        croak "smt_demo_portal_client_test.c is missing"
    fi
    if [ ! -f "smt_demo_portal_client.h" ]; then
        croak "smt_demo_portal_client.h is missing"
    fi
    if [ ! -f "smt_demo_portal_client.c" ]; then
        croak "smt_demo_portal_client.c is missing"
    fi
    if [ ! -f "smt_demo_portal_server_agent.smt" ]; then
        croak "smt_demo_portal_server_agent.smt is missing"
    fi
    if [ ! -f "smt_demo_portal_server_agent.h" ]; then
        croak "smt_demo_portal_server_agent.h is missing"
    fi
    if [ ! -f "smt_demo_portal_server_agent.c" ]; then
        croak "smt_demo_portal_server_agent.c is missing"
    fi
    if [ ! -f "smt_demo_portal_server_test.c" ]; then
        croak "smt_demo_portal_server_test.c is missing"
    fi
    if [ ! -f "smt_demo_portal_server.h" ]; then
        croak "smt_demo_portal_server.h is missing"
    fi
    if [ ! -f "smt_demo_portal_server.c" ]; then
        croak "smt_demo_portal_server.c is missing"
    fi
    if [ ! -f "smt_echo.h" ]; then
        croak "smt_echo.h is missing"
    fi
    if [ ! -f "smt_echo.c" ]; then
        croak "smt_echo.c is missing"
    fi
    if [ ! -f "tstnull.h" ]; then
        croak "tstnull.h is missing"
    fi
    if [ ! -f "tstnull.c" ]; then
        croak "tstnull.c is missing"
    fi
    if [ ! -f "tstsock.h" ]; then
        croak "tstsock.h is missing"
    fi
    if [ ! -f "tstsock.c" ]; then
        croak "tstsock.c is missing"
    fi
    if [ ! -f "smt_demo_timer.c" ]; then
        croak "smt_demo_timer.c is missing"
    fi
    if [ ! -f "smt_demo_timer.h" ]; then
        croak "smt_demo_timer.h is missing"
    fi
    if [ ! -f "smt_demo_object_agent.smt" ]; then
        croak "smt_demo_object_agent.smt is missing"
    fi
    if [ ! -f "smt_demo_object_agent.h" ]; then
        croak "smt_demo_object_agent.h is missing"
    fi
    if [ ! -f "smt_demo_object_agent.c" ]; then
        croak "smt_demo_object_agent.c is missing"
    fi
    if [ ! -f "smt_demo_object_test.c" ]; then
        croak "smt_demo_object_test.c is missing"
    fi
    if [ ! -f "smt_demo_object.h" ]; then
        croak "smt_demo_object.h is missing"
    fi
    if [ ! -f "smt_demo_object.c" ]; then
        croak "smt_demo_object.c is missing"
    fi
    if [ ! -f "smt_demo_object_action_agent.smt" ]; then
        croak "smt_demo_object_action_agent.smt is missing"
    fi
    if [ ! -f "smt_demo_object_action_agent.h" ]; then
        croak "smt_demo_object_action_agent.h is missing"
    fi
    if [ ! -f "smt_demo_object_action_agent.c" ]; then
        croak "smt_demo_object_action_agent.c is missing"
    fi
    if [ ! -f "smt_demo_object_action_test.c" ]; then
        croak "smt_demo_object_action_test.c is missing"
    fi
    if [ ! -f "smt_demo_object_action.h" ]; then
        croak "smt_demo_object_action.h is missing"
    fi
    if [ ! -f "smt_demo_object_action.c" ]; then
        croak "smt_demo_object_action.c is missing"
    fi
    if [ ! -f "smt_demo_server.h" ]; then
        croak "smt_demo_server.h is missing"
    fi
    if [ ! -f "smt_demo_server.c" ]; then
        croak "smt_demo_server.c is missing"
    fi
    if [ ! -f "smt_demo_client.h" ]; then
        croak "smt_demo_client.h is missing"
    fi
    if [ ! -f "smt_demo_client.c" ]; then
        croak "smt_demo_client.c is missing"
    fi
    if [ ! -f "stamp_generate" ]; then
        croak "stamp_generate is missing"
    fi
    if [ ! -f "configure" ]; then
        croak "configure is missing"
    fi
    if [ ! -f "Makefile.unix" ]; then
        croak "Makefile.unix is missing"
    fi
    if [ ! -f "boomake" ]; then
        croak "boomake is missing"
    fi
    if [ ! -f "configure.bat" ]; then
        croak "configure.bat is missing"
    fi
    if [ ! -f "Makefile.win32" ]; then
        croak "Makefile.win32 is missing"
    fi
    if [ ! -f "boomake.bat" ]; then
        croak "boomake.bat is missing"
    fi
    if [ ! -f "boomakew.bat" ]; then
        croak "boomakew.bat is missing"
    fi
}

# -------------------------   INSTALL DELIVERABLES   --------------------------

a_install_deliverables() {
:
    carp "Installing SMT into $_INSTALL_ROOT..."
    if [ ! -d "$_INSTALL_ROOT" ]; then
        if mkdir -p $_INSTALL_ROOT; then
            :
        else
            croak "Could not create directory \"$_INSTALL_ROOT\""
        fi
    fi
    mkdir -p $_INSTALL_ROOT/bin/
    [ "$BOOM_TRACE" ] && echo "cp icl_smt.gsl $_INSTALL_ROOT/bin/"
    cp icl_smt.gsl $_INSTALL_ROOT/bin/ || croak "\"cp icl_smt.gsl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/icl_smt.gsl"
    chmod 0644 $_INSTALL_ROOT/bin/icl_smt.gsl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/icl_smt.gsl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_object.icl $_INSTALL_ROOT/bin/"
    cp smt_object.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_object.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_object.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_object.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_object.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_object_gen.gsl $_INSTALL_ROOT/bin/"
    cp smt_object_gen.gsl $_INSTALL_ROOT/bin/ || croak "\"cp smt_object_gen.gsl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_object_gen.gsl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_object_gen.gsl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_object_gen.gsl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_object_preproc.gsl $_INSTALL_ROOT/bin/"
    cp smt_object_preproc.gsl $_INSTALL_ROOT/bin/ || croak "\"cp smt_object_preproc.gsl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_object_preproc.gsl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_object_preproc.gsl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_object_preproc.gsl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_object_inherit.gsl $_INSTALL_ROOT/bin/"
    cp smt_object_inherit.gsl $_INSTALL_ROOT/bin/ || croak "\"cp smt_object_inherit.gsl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_object_inherit.gsl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_object_inherit.gsl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_object_inherit.gsl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_object_parse.gsl $_INSTALL_ROOT/bin/"
    cp smt_object_parse.gsl $_INSTALL_ROOT/bin/ || croak "\"cp smt_object_parse.gsl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_object_parse.gsl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_object_parse.gsl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_object_parse.gsl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_object_tracker.icl $_INSTALL_ROOT/bin/"
    cp smt_object_tracker.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_object_tracker.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_object_tracker.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_object_tracker.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_object_tracker.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_gen.gsl $_INSTALL_ROOT/bin/"
    cp smt_gen.gsl $_INSTALL_ROOT/bin/ || croak "\"cp smt_gen.gsl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_gen.gsl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_gen.gsl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_gen.gsl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_preproc.gsl $_INSTALL_ROOT/bin/"
    cp smt_preproc.gsl $_INSTALL_ROOT/bin/ || croak "\"cp smt_preproc.gsl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_preproc.gsl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_preproc.gsl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_preproc.gsl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_inherit.gsl $_INSTALL_ROOT/bin/"
    cp smt_inherit.gsl $_INSTALL_ROOT/bin/ || croak "\"cp smt_inherit.gsl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_inherit.gsl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_inherit.gsl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_inherit.gsl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_parse.gsl $_INSTALL_ROOT/bin/"
    cp smt_parse.gsl $_INSTALL_ROOT/bin/ || croak "\"cp smt_parse.gsl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_parse.gsl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_parse.gsl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_parse.gsl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_stdc.gsl $_INSTALL_ROOT/bin/"
    cp smt_stdc.gsl $_INSTALL_ROOT/bin/ || croak "\"cp smt_stdc.gsl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_stdc.gsl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_stdc.gsl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_stdc.gsl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_doc.gsl $_INSTALL_ROOT/bin/"
    cp smt_doc.gsl $_INSTALL_ROOT/bin/ || croak "\"cp smt_doc.gsl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_doc.gsl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_doc.gsl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_doc.gsl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_classes.pdl $_INSTALL_ROOT/bin/"
    cp smt_classes.pdl $_INSTALL_ROOT/bin/ || croak "\"cp smt_classes.pdl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_classes.pdl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_classes.pdl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_classes.pdl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_method.icl $_INSTALL_ROOT/bin/"
    cp smt_method.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_method.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_method.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_method.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_method.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_method_queue.icl $_INSTALL_ROOT/bin/"
    cp smt_method_queue.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_method_queue.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_method_queue.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_method_queue.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_method_queue.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_method_list.icl $_INSTALL_ROOT/bin/"
    cp smt_method_list.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_method_list.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_method_list.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_method_list.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_method_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_os_thread.icl $_INSTALL_ROOT/bin/"
    cp smt_os_thread.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_os_thread.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_os_thread.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_os_thread.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_os_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_os_thread_by_status.icl $_INSTALL_ROOT/bin/"
    cp smt_os_thread_by_status.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_os_thread_by_status.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_os_thread_by_status.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_os_thread_by_status.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_os_thread_by_status.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_os_thread_list.icl $_INSTALL_ROOT/bin/"
    cp smt_os_thread_list.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_os_thread_list.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_os_thread_list.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_os_thread_list.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_os_thread_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_thread.icl $_INSTALL_ROOT/bin/"
    cp smt_thread.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_thread.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_thread.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_thread.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_thread_by_status.icl $_INSTALL_ROOT/bin/"
    cp smt_thread_by_status.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_thread_by_status.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_thread_by_status.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_thread_by_status.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_thread_by_status.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_thread_list.icl $_INSTALL_ROOT/bin/"
    cp smt_thread_list.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_thread_list.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_thread_list.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_thread_list.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_thread_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_thread_queue.icl $_INSTALL_ROOT/bin/"
    cp smt_thread_queue.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_thread_queue.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_thread_queue.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_thread_queue.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_thread_queue.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_fileio.icl $_INSTALL_ROOT/bin/"
    cp smt_fileio.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_fileio.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_fileio.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_fileio.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_fileio.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_fileio_request.icl $_INSTALL_ROOT/bin/"
    cp smt_fileio_request.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_fileio_request.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_fileio_request.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_fileio_request.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_fileio_request.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_timer_request.icl $_INSTALL_ROOT/bin/"
    cp smt_timer_request.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_timer_request.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_timer_request.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_timer_request.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_timer_request.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_timer_request_list.icl $_INSTALL_ROOT/bin/"
    cp smt_timer_request_list.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_timer_request_list.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_timer_request_list.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_timer_request_list.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_timer_request_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_timer_request_by_thread.icl $_INSTALL_ROOT/bin/"
    cp smt_timer_request_by_thread.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_timer_request_by_thread.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_timer_request_by_thread.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_timer_request_by_thread.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_timer_request_by_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_socket.icl $_INSTALL_ROOT/bin/"
    cp smt_socket.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_socket.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_socket.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_socket.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_socket.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_socket_request.icl $_INSTALL_ROOT/bin/"
    cp smt_socket_request.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_socket_request.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_socket_request.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_socket_request.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_socket_request.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_socket_request_by_thread.icl $_INSTALL_ROOT/bin/"
    cp smt_socket_request_by_thread.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_socket_request_by_thread.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_socket_request_by_thread.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_socket_request_by_thread.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_socket_request_by_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_socket_request_by_socket.icl $_INSTALL_ROOT/bin/"
    cp smt_socket_request_by_socket.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_socket_request_by_socket.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_socket_request_by_socket.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_socket_request_by_socket.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_socket_request_by_socket.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_position.icl $_INSTALL_ROOT/bin/"
    cp smt_position.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_position.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_position.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_position.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_position.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_position_list.icl $_INSTALL_ROOT/bin/"
    cp smt_position_list.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_position_list.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_position_list.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_position_list.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_position_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_signal.icl $_INSTALL_ROOT/bin/"
    cp smt_signal.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_signal.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_signal.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_signal.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_signal.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_signal_table.icl $_INSTALL_ROOT/bin/"
    cp smt_signal_table.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_signal_table.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_signal_table.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_signal_table.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_signal_table.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_signal_by_thread.icl $_INSTALL_ROOT/bin/"
    cp smt_signal_by_thread.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_signal_by_thread.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_signal_by_thread.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_signal_by_thread.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_signal_by_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_coremark.icl $_INSTALL_ROOT/bin/"
    cp smt_coremark.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_coremark.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_coremark.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_coremark.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_coremark.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_log.icl $_INSTALL_ROOT/bin/"
    cp smt_log.icl $_INSTALL_ROOT/bin/ || croak "\"cp smt_log.icl $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_log.icl"
    chmod 0644 $_INSTALL_ROOT/bin/smt_log.icl || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_log.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_echo.smt $_INSTALL_ROOT/bin/"
    cp smt_echo.smt $_INSTALL_ROOT/bin/ || croak "\"cp smt_echo.smt $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_echo.smt"
    chmod 0644 $_INSTALL_ROOT/bin/smt_echo.smt || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_echo.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "cp tstnull.smt $_INSTALL_ROOT/bin/"
    cp tstnull.smt $_INSTALL_ROOT/bin/ || croak "\"cp tstnull.smt $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/tstnull.smt"
    chmod 0644 $_INSTALL_ROOT/bin/tstnull.smt || croak "\"chmod 0644 $_INSTALL_ROOT/bin/tstnull.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "cp tstsock.smt $_INSTALL_ROOT/bin/"
    cp tstsock.smt $_INSTALL_ROOT/bin/ || croak "\"cp tstsock.smt $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/tstsock.smt"
    chmod 0644 $_INSTALL_ROOT/bin/tstsock.smt || croak "\"chmod 0644 $_INSTALL_ROOT/bin/tstsock.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_demo_server.smt $_INSTALL_ROOT/bin/"
    cp smt_demo_server.smt $_INSTALL_ROOT/bin/ || croak "\"cp smt_demo_server.smt $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_demo_server.smt"
    chmod 0644 $_INSTALL_ROOT/bin/smt_demo_server.smt || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_demo_server.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_demo_client.smt $_INSTALL_ROOT/bin/"
    cp smt_demo_client.smt $_INSTALL_ROOT/bin/ || croak "\"cp smt_demo_client.smt $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_demo_client.smt"
    chmod 0644 $_INSTALL_ROOT/bin/smt_demo_client.smt || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_demo_client.smt\" failed"
    mkdir -p $_INSTALL_ROOT/lib/
    [ "$BOOM_TRACE" ] && echo "cp libsmt.a $_INSTALL_ROOT/lib/"
    cp libsmt.a $_INSTALL_ROOT/lib/ || croak "\"cp libsmt.a $_INSTALL_ROOT/lib/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/lib/libsmt.a"
    chmod 0644 $_INSTALL_ROOT/lib/libsmt.a || croak "\"chmod 0644 $_INSTALL_ROOT/lib/libsmt.a\" failed"
    mkdir -p $_INSTALL_ROOT/include/
    [ "$BOOM_TRACE" ] && echo "cp smt.h $_INSTALL_ROOT/include/"
    cp smt.h $_INSTALL_ROOT/include/ || croak "\"cp smt.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt.h"
    chmod 0644 $_INSTALL_ROOT/include/smt.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt.h\" failed"
    mkdir -p $_INSTALL_ROOT/bin/
    mkdir -p $_INSTALL_ROOT/doc/SMT/
    [ "$BOOM_TRACE" ] && echo "cp readme.txt $_INSTALL_ROOT/doc/SMT/"
    cp readme.txt $_INSTALL_ROOT/doc/SMT/ || croak "\"cp readme.txt $_INSTALL_ROOT/doc/SMT/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/doc/SMT/readme.txt"
    chmod 0644 $_INSTALL_ROOT/doc/SMT/readme.txt || croak "\"chmod 0644 $_INSTALL_ROOT/doc/SMT/readme.txt\" failed"
    mkdir -p $_INSTALL_ROOT/include/
    [ "$BOOM_TRACE" ] && echo "cp smt_method.h $_INSTALL_ROOT/include/"
    cp smt_method.h $_INSTALL_ROOT/include/ || croak "\"cp smt_method.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_method.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_method.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_method.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_method_queue.h $_INSTALL_ROOT/include/"
    cp smt_method_queue.h $_INSTALL_ROOT/include/ || croak "\"cp smt_method_queue.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_method_queue.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_method_queue.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_method_queue.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_method_list.h $_INSTALL_ROOT/include/"
    cp smt_method_list.h $_INSTALL_ROOT/include/ || croak "\"cp smt_method_list.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_method_list.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_method_list.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_method_list.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_os_thread.h $_INSTALL_ROOT/include/"
    cp smt_os_thread.h $_INSTALL_ROOT/include/ || croak "\"cp smt_os_thread.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_os_thread.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_os_thread.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_os_thread.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_os_thread_by_status.h $_INSTALL_ROOT/include/"
    cp smt_os_thread_by_status.h $_INSTALL_ROOT/include/ || croak "\"cp smt_os_thread_by_status.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_os_thread_by_status.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_os_thread_by_status.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_os_thread_by_status.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_os_thread_list.h $_INSTALL_ROOT/include/"
    cp smt_os_thread_list.h $_INSTALL_ROOT/include/ || croak "\"cp smt_os_thread_list.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_os_thread_list.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_os_thread_list.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_os_thread_list.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_thread.h $_INSTALL_ROOT/include/"
    cp smt_thread.h $_INSTALL_ROOT/include/ || croak "\"cp smt_thread.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_thread.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_thread.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_thread.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_thread_by_status.h $_INSTALL_ROOT/include/"
    cp smt_thread_by_status.h $_INSTALL_ROOT/include/ || croak "\"cp smt_thread_by_status.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_thread_by_status.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_thread_by_status.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_thread_by_status.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_thread_list.h $_INSTALL_ROOT/include/"
    cp smt_thread_list.h $_INSTALL_ROOT/include/ || croak "\"cp smt_thread_list.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_thread_list.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_thread_list.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_thread_list.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_thread_queue.h $_INSTALL_ROOT/include/"
    cp smt_thread_queue.h $_INSTALL_ROOT/include/ || croak "\"cp smt_thread_queue.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_thread_queue.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_thread_queue.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_thread_queue.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_fileio.h $_INSTALL_ROOT/include/"
    cp smt_fileio.h $_INSTALL_ROOT/include/ || croak "\"cp smt_fileio.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_fileio.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_fileio.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_fileio.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_fileio_request.h $_INSTALL_ROOT/include/"
    cp smt_fileio_request.h $_INSTALL_ROOT/include/ || croak "\"cp smt_fileio_request.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_fileio_request.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_fileio_request.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_fileio_request.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_timer_request.h $_INSTALL_ROOT/include/"
    cp smt_timer_request.h $_INSTALL_ROOT/include/ || croak "\"cp smt_timer_request.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_timer_request.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_timer_request.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_timer_request.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_timer_request_list.h $_INSTALL_ROOT/include/"
    cp smt_timer_request_list.h $_INSTALL_ROOT/include/ || croak "\"cp smt_timer_request_list.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_timer_request_list.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_timer_request_list.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_timer_request_list.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_timer_request_by_thread.h $_INSTALL_ROOT/include/"
    cp smt_timer_request_by_thread.h $_INSTALL_ROOT/include/ || croak "\"cp smt_timer_request_by_thread.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_timer_request_by_thread.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_timer_request_by_thread.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_timer_request_by_thread.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_socket.h $_INSTALL_ROOT/include/"
    cp smt_socket.h $_INSTALL_ROOT/include/ || croak "\"cp smt_socket.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_socket.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_socket.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_socket.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_socket_request.h $_INSTALL_ROOT/include/"
    cp smt_socket_request.h $_INSTALL_ROOT/include/ || croak "\"cp smt_socket_request.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_socket_request.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_socket_request.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_socket_request.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_socket_request_by_thread.h $_INSTALL_ROOT/include/"
    cp smt_socket_request_by_thread.h $_INSTALL_ROOT/include/ || croak "\"cp smt_socket_request_by_thread.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_socket_request_by_thread.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_socket_request_by_thread.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_socket_request_by_thread.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_socket_request_by_socket.h $_INSTALL_ROOT/include/"
    cp smt_socket_request_by_socket.h $_INSTALL_ROOT/include/ || croak "\"cp smt_socket_request_by_socket.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_socket_request_by_socket.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_socket_request_by_socket.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_socket_request_by_socket.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_position.h $_INSTALL_ROOT/include/"
    cp smt_position.h $_INSTALL_ROOT/include/ || croak "\"cp smt_position.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_position.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_position.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_position.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_position_list.h $_INSTALL_ROOT/include/"
    cp smt_position_list.h $_INSTALL_ROOT/include/ || croak "\"cp smt_position_list.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_position_list.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_position_list.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_position_list.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_signal.h $_INSTALL_ROOT/include/"
    cp smt_signal.h $_INSTALL_ROOT/include/ || croak "\"cp smt_signal.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_signal.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_signal.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_signal.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_signal_table.h $_INSTALL_ROOT/include/"
    cp smt_signal_table.h $_INSTALL_ROOT/include/ || croak "\"cp smt_signal_table.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_signal_table.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_signal_table.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_signal_table.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_signal_by_thread.h $_INSTALL_ROOT/include/"
    cp smt_signal_by_thread.h $_INSTALL_ROOT/include/ || croak "\"cp smt_signal_by_thread.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_signal_by_thread.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_signal_by_thread.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_signal_by_thread.h\" failed"
    mkdir -p $_INSTALL_ROOT/bin/
    [ "$BOOM_TRACE" ] && echo "cp smt_coremark_agent.smt $_INSTALL_ROOT/bin/"
    cp smt_coremark_agent.smt $_INSTALL_ROOT/bin/ || croak "\"cp smt_coremark_agent.smt $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_coremark_agent.smt"
    chmod 0644 $_INSTALL_ROOT/bin/smt_coremark_agent.smt || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_coremark_agent.smt\" failed"
    mkdir -p $_INSTALL_ROOT/include/
    [ "$BOOM_TRACE" ] && echo "cp smt_coremark_agent.h $_INSTALL_ROOT/include/"
    cp smt_coremark_agent.h $_INSTALL_ROOT/include/ || croak "\"cp smt_coremark_agent.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_coremark_agent.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_coremark_agent.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_coremark_agent.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_coremark.h $_INSTALL_ROOT/include/"
    cp smt_coremark.h $_INSTALL_ROOT/include/ || croak "\"cp smt_coremark.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_coremark.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_coremark.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_coremark.h\" failed"
    mkdir -p $_INSTALL_ROOT/bin/
    [ "$BOOM_TRACE" ] && echo "cp smt_log_agent.smt $_INSTALL_ROOT/bin/"
    cp smt_log_agent.smt $_INSTALL_ROOT/bin/ || croak "\"cp smt_log_agent.smt $_INSTALL_ROOT/bin/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/bin/smt_log_agent.smt"
    chmod 0644 $_INSTALL_ROOT/bin/smt_log_agent.smt || croak "\"chmod 0644 $_INSTALL_ROOT/bin/smt_log_agent.smt\" failed"
    mkdir -p $_INSTALL_ROOT/include/
    [ "$BOOM_TRACE" ] && echo "cp smt_log_agent.h $_INSTALL_ROOT/include/"
    cp smt_log_agent.h $_INSTALL_ROOT/include/ || croak "\"cp smt_log_agent.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_log_agent.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_log_agent.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_log_agent.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_log.h $_INSTALL_ROOT/include/"
    cp smt_log.h $_INSTALL_ROOT/include/ || croak "\"cp smt_log.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_log.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_log.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_log.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_demo_portal.h $_INSTALL_ROOT/include/"
    cp smt_demo_portal.h $_INSTALL_ROOT/include/ || croak "\"cp smt_demo_portal.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_demo_portal.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_demo_portal.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_demo_portal.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_demo_portal_client.h $_INSTALL_ROOT/include/"
    cp smt_demo_portal_client.h $_INSTALL_ROOT/include/ || croak "\"cp smt_demo_portal_client.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_demo_portal_client.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_demo_portal_client.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_demo_portal_client.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_demo_portal_server.h $_INSTALL_ROOT/include/"
    cp smt_demo_portal_server.h $_INSTALL_ROOT/include/ || croak "\"cp smt_demo_portal_server.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_demo_portal_server.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_demo_portal_server.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_demo_portal_server.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_echo.h $_INSTALL_ROOT/include/"
    cp smt_echo.h $_INSTALL_ROOT/include/ || croak "\"cp smt_echo.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_echo.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_echo.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_echo.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp tstnull.h $_INSTALL_ROOT/include/"
    cp tstnull.h $_INSTALL_ROOT/include/ || croak "\"cp tstnull.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/tstnull.h"
    chmod 0644 $_INSTALL_ROOT/include/tstnull.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/tstnull.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp tstsock.h $_INSTALL_ROOT/include/"
    cp tstsock.h $_INSTALL_ROOT/include/ || croak "\"cp tstsock.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/tstsock.h"
    chmod 0644 $_INSTALL_ROOT/include/tstsock.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/tstsock.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_demo_object.h $_INSTALL_ROOT/include/"
    cp smt_demo_object.h $_INSTALL_ROOT/include/ || croak "\"cp smt_demo_object.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_demo_object.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_demo_object.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_demo_object.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_demo_object_action.h $_INSTALL_ROOT/include/"
    cp smt_demo_object_action.h $_INSTALL_ROOT/include/ || croak "\"cp smt_demo_object_action.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_demo_object_action.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_demo_object_action.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_demo_object_action.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_demo_server.h $_INSTALL_ROOT/include/"
    cp smt_demo_server.h $_INSTALL_ROOT/include/ || croak "\"cp smt_demo_server.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_demo_server.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_demo_server.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_demo_server.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cp smt_demo_client.h $_INSTALL_ROOT/include/"
    cp smt_demo_client.h $_INSTALL_ROOT/include/ || croak "\"cp smt_demo_client.h $_INSTALL_ROOT/include/\" failed"
    [ "$BOOM_TRACE" ] && echo "chmod 0644 $_INSTALL_ROOT/include/smt_demo_client.h"
    chmod 0644 $_INSTALL_ROOT/include/smt_demo_client.h || croak "\"chmod 0644 $_INSTALL_ROOT/include/smt_demo_client.h\" failed"
    if [ -f ./installer ]; then
    [ "$BOOM_TRACE" ] && echo "sh ./installer"
    sh ./installer || croak "\"sh ./installer\" failed"
    fi
}

# ----------------------   PRODUCE ALL GENERATED FILES   ----------------------

a_produce_all_generated_files() {
:
    carp "Generating files..."
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_object.xnf"
    gsl -q -quiet:1 smt_object.xnf || croak "\"gsl -q -quiet:1 smt_object.xnf\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt.xnf"
    gsl -q -quiet:1 smt.xnf || croak "\"gsl -q -quiet:1 smt.xnf\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_method.icl"
    gsl -q -quiet:1 smt_method.icl || croak "\"gsl -q -quiet:1 smt_method.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_method_queue.icl"
    gsl -q -quiet:1 smt_method_queue.icl || croak "\"gsl -q -quiet:1 smt_method_queue.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_method_list.icl"
    gsl -q -quiet:1 smt_method_list.icl || croak "\"gsl -q -quiet:1 smt_method_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_os_thread.icl"
    gsl -q -quiet:1 smt_os_thread.icl || croak "\"gsl -q -quiet:1 smt_os_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_os_thread_by_status.icl"
    gsl -q -quiet:1 smt_os_thread_by_status.icl || croak "\"gsl -q -quiet:1 smt_os_thread_by_status.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_os_thread_list.icl"
    gsl -q -quiet:1 smt_os_thread_list.icl || croak "\"gsl -q -quiet:1 smt_os_thread_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_thread.icl"
    gsl -q -quiet:1 smt_thread.icl || croak "\"gsl -q -quiet:1 smt_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_thread_by_status.icl"
    gsl -q -quiet:1 smt_thread_by_status.icl || croak "\"gsl -q -quiet:1 smt_thread_by_status.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_thread_list.icl"
    gsl -q -quiet:1 smt_thread_list.icl || croak "\"gsl -q -quiet:1 smt_thread_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_thread_queue.icl"
    gsl -q -quiet:1 smt_thread_queue.icl || croak "\"gsl -q -quiet:1 smt_thread_queue.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_fileio.icl"
    gsl -q -quiet:1 smt_fileio.icl || croak "\"gsl -q -quiet:1 smt_fileio.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_fileio_request.icl"
    gsl -q -quiet:1 smt_fileio_request.icl || croak "\"gsl -q -quiet:1 smt_fileio_request.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_timer_request.icl"
    gsl -q -quiet:1 smt_timer_request.icl || croak "\"gsl -q -quiet:1 smt_timer_request.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_timer_request_list.icl"
    gsl -q -quiet:1 smt_timer_request_list.icl || croak "\"gsl -q -quiet:1 smt_timer_request_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_timer_request_by_thread.icl"
    gsl -q -quiet:1 smt_timer_request_by_thread.icl || croak "\"gsl -q -quiet:1 smt_timer_request_by_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_socket.icl"
    gsl -q -quiet:1 smt_socket.icl || croak "\"gsl -q -quiet:1 smt_socket.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_socket_request.icl"
    gsl -q -quiet:1 smt_socket_request.icl || croak "\"gsl -q -quiet:1 smt_socket_request.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_socket_request_by_thread.icl"
    gsl -q -quiet:1 smt_socket_request_by_thread.icl || croak "\"gsl -q -quiet:1 smt_socket_request_by_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_socket_request_by_socket.icl"
    gsl -q -quiet:1 smt_socket_request_by_socket.icl || croak "\"gsl -q -quiet:1 smt_socket_request_by_socket.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_position.icl"
    gsl -q -quiet:1 smt_position.icl || croak "\"gsl -q -quiet:1 smt_position.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_position_list.icl"
    gsl -q -quiet:1 smt_position_list.icl || croak "\"gsl -q -quiet:1 smt_position_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_signal.icl"
    gsl -q -quiet:1 smt_signal.icl || croak "\"gsl -q -quiet:1 smt_signal.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_signal_table.icl"
    gsl -q -quiet:1 smt_signal_table.icl || croak "\"gsl -q -quiet:1 smt_signal_table.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_signal_by_thread.icl"
    gsl -q -quiet:1 smt_signal_by_thread.icl || croak "\"gsl -q -quiet:1 smt_signal_by_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_coremark.icl"
    gsl -q -quiet:1 smt_coremark.icl || croak "\"gsl -q -quiet:1 smt_coremark.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_log.icl"
    gsl -q -quiet:1 smt_log.icl || croak "\"gsl -q -quiet:1 smt_log.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_portal.icl"
    gsl -q -quiet:1 smt_demo_portal.icl || croak "\"gsl -q -quiet:1 smt_demo_portal.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_portal_client.icl"
    gsl -q -quiet:1 smt_demo_portal_client.icl || croak "\"gsl -q -quiet:1 smt_demo_portal_client.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_portal_server.icl"
    gsl -q -quiet:1 smt_demo_portal_server.icl || croak "\"gsl -q -quiet:1 smt_demo_portal_server.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_echo.smt"
    gsl -q -quiet:1 smt_echo.smt || croak "\"gsl -q -quiet:1 smt_echo.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 tstnull.smt"
    gsl -q -quiet:1 tstnull.smt || croak "\"gsl -q -quiet:1 tstnull.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 tstsock.smt"
    gsl -q -quiet:1 tstsock.smt || croak "\"gsl -q -quiet:1 tstsock.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_timer.smt"
    gsl -q -quiet:1 smt_demo_timer.smt || croak "\"gsl -q -quiet:1 smt_demo_timer.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_object.icl"
    gsl -q -quiet:1 smt_demo_object.icl || croak "\"gsl -q -quiet:1 smt_demo_object.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_object_action.icl"
    gsl -q -quiet:1 smt_demo_object_action.icl || croak "\"gsl -q -quiet:1 smt_demo_object_action.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_server.smt"
    gsl -q -quiet:1 smt_demo_server.smt || croak "\"gsl -q -quiet:1 smt_demo_server.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_client.smt"
    gsl -q -quiet:1 smt_demo_client.smt || croak "\"gsl -q -quiet:1 smt_demo_client.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_coremark_agent.smt"
    gsl -q -quiet:1 smt_coremark_agent.smt || croak "\"gsl -q -quiet:1 smt_coremark_agent.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_log_agent.smt"
    gsl -q -quiet:1 smt_log_agent.smt || croak "\"gsl -q -quiet:1 smt_log_agent.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_portal_client_agent.smt"
    gsl -q -quiet:1 smt_demo_portal_client_agent.smt || croak "\"gsl -q -quiet:1 smt_demo_portal_client_agent.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_portal_server_agent.smt"
    gsl -q -quiet:1 smt_demo_portal_server_agent.smt || croak "\"gsl -q -quiet:1 smt_demo_portal_server_agent.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_object_agent.smt"
    gsl -q -quiet:1 smt_demo_object_agent.smt || croak "\"gsl -q -quiet:1 smt_demo_object_agent.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_object_action_agent.smt"
    gsl -q -quiet:1 smt_demo_object_action_agent.smt || croak "\"gsl -q -quiet:1 smt_demo_object_action_agent.smt\" failed"
    rm -f smt.h
    [ "$BOOM_TRACE" ] && echo "cat smt_thread.h>>smt.h"
    cat smt_thread.h>>smt.h || croak "\"cat smt_thread.h>>smt.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cat smt_coremark.h>>smt.h"
    cat smt_coremark.h>>smt.h || croak "\"cat smt_coremark.h>>smt.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cat smt_os_thread.h>>smt.h"
    cat smt_os_thread.h>>smt.h || croak "\"cat smt_os_thread.h>>smt.h\" failed"
    echo "Source files successfully generated">stamp_generate
}

# ------------------------   PRODUCE GENERATED FILES   ------------------------

a_produce_generated_files() {
:
    carp "Generating files..."
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_object.xnf"
    gsl -q -quiet:1 smt_object.xnf || croak "\"gsl -q -quiet:1 smt_object.xnf\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt.xnf"
    gsl -q -quiet:1 smt.xnf || croak "\"gsl -q -quiet:1 smt.xnf\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_method.icl"
    gsl -q -quiet:1 smt_method.icl || croak "\"gsl -q -quiet:1 smt_method.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_method_queue.icl"
    gsl -q -quiet:1 smt_method_queue.icl || croak "\"gsl -q -quiet:1 smt_method_queue.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_method_list.icl"
    gsl -q -quiet:1 smt_method_list.icl || croak "\"gsl -q -quiet:1 smt_method_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_os_thread.icl"
    gsl -q -quiet:1 smt_os_thread.icl || croak "\"gsl -q -quiet:1 smt_os_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_os_thread_by_status.icl"
    gsl -q -quiet:1 smt_os_thread_by_status.icl || croak "\"gsl -q -quiet:1 smt_os_thread_by_status.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_os_thread_list.icl"
    gsl -q -quiet:1 smt_os_thread_list.icl || croak "\"gsl -q -quiet:1 smt_os_thread_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_thread.icl"
    gsl -q -quiet:1 smt_thread.icl || croak "\"gsl -q -quiet:1 smt_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_thread_by_status.icl"
    gsl -q -quiet:1 smt_thread_by_status.icl || croak "\"gsl -q -quiet:1 smt_thread_by_status.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_thread_list.icl"
    gsl -q -quiet:1 smt_thread_list.icl || croak "\"gsl -q -quiet:1 smt_thread_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_thread_queue.icl"
    gsl -q -quiet:1 smt_thread_queue.icl || croak "\"gsl -q -quiet:1 smt_thread_queue.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_fileio.icl"
    gsl -q -quiet:1 smt_fileio.icl || croak "\"gsl -q -quiet:1 smt_fileio.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_fileio_request.icl"
    gsl -q -quiet:1 smt_fileio_request.icl || croak "\"gsl -q -quiet:1 smt_fileio_request.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_timer_request.icl"
    gsl -q -quiet:1 smt_timer_request.icl || croak "\"gsl -q -quiet:1 smt_timer_request.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_timer_request_list.icl"
    gsl -q -quiet:1 smt_timer_request_list.icl || croak "\"gsl -q -quiet:1 smt_timer_request_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_timer_request_by_thread.icl"
    gsl -q -quiet:1 smt_timer_request_by_thread.icl || croak "\"gsl -q -quiet:1 smt_timer_request_by_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_socket.icl"
    gsl -q -quiet:1 smt_socket.icl || croak "\"gsl -q -quiet:1 smt_socket.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_socket_request.icl"
    gsl -q -quiet:1 smt_socket_request.icl || croak "\"gsl -q -quiet:1 smt_socket_request.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_socket_request_by_thread.icl"
    gsl -q -quiet:1 smt_socket_request_by_thread.icl || croak "\"gsl -q -quiet:1 smt_socket_request_by_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_socket_request_by_socket.icl"
    gsl -q -quiet:1 smt_socket_request_by_socket.icl || croak "\"gsl -q -quiet:1 smt_socket_request_by_socket.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_position.icl"
    gsl -q -quiet:1 smt_position.icl || croak "\"gsl -q -quiet:1 smt_position.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_position_list.icl"
    gsl -q -quiet:1 smt_position_list.icl || croak "\"gsl -q -quiet:1 smt_position_list.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_signal.icl"
    gsl -q -quiet:1 smt_signal.icl || croak "\"gsl -q -quiet:1 smt_signal.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_signal_table.icl"
    gsl -q -quiet:1 smt_signal_table.icl || croak "\"gsl -q -quiet:1 smt_signal_table.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_signal_by_thread.icl"
    gsl -q -quiet:1 smt_signal_by_thread.icl || croak "\"gsl -q -quiet:1 smt_signal_by_thread.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_coremark.icl"
    gsl -q -quiet:1 smt_coremark.icl || croak "\"gsl -q -quiet:1 smt_coremark.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_log.icl"
    gsl -q -quiet:1 smt_log.icl || croak "\"gsl -q -quiet:1 smt_log.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_portal.icl"
    gsl -q -quiet:1 smt_demo_portal.icl || croak "\"gsl -q -quiet:1 smt_demo_portal.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_portal_client.icl"
    gsl -q -quiet:1 smt_demo_portal_client.icl || croak "\"gsl -q -quiet:1 smt_demo_portal_client.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_portal_server.icl"
    gsl -q -quiet:1 smt_demo_portal_server.icl || croak "\"gsl -q -quiet:1 smt_demo_portal_server.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_echo.smt"
    gsl -q -quiet:1 smt_echo.smt || croak "\"gsl -q -quiet:1 smt_echo.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 tstnull.smt"
    gsl -q -quiet:1 tstnull.smt || croak "\"gsl -q -quiet:1 tstnull.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 tstsock.smt"
    gsl -q -quiet:1 tstsock.smt || croak "\"gsl -q -quiet:1 tstsock.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_timer.smt"
    gsl -q -quiet:1 smt_demo_timer.smt || croak "\"gsl -q -quiet:1 smt_demo_timer.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_object.icl"
    gsl -q -quiet:1 smt_demo_object.icl || croak "\"gsl -q -quiet:1 smt_demo_object.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_object_action.icl"
    gsl -q -quiet:1 smt_demo_object_action.icl || croak "\"gsl -q -quiet:1 smt_demo_object_action.icl\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_server.smt"
    gsl -q -quiet:1 smt_demo_server.smt || croak "\"gsl -q -quiet:1 smt_demo_server.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_client.smt"
    gsl -q -quiet:1 smt_demo_client.smt || croak "\"gsl -q -quiet:1 smt_demo_client.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_coremark_agent.smt"
    gsl -q -quiet:1 smt_coremark_agent.smt || croak "\"gsl -q -quiet:1 smt_coremark_agent.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_log_agent.smt"
    gsl -q -quiet:1 smt_log_agent.smt || croak "\"gsl -q -quiet:1 smt_log_agent.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_portal_client_agent.smt"
    gsl -q -quiet:1 smt_demo_portal_client_agent.smt || croak "\"gsl -q -quiet:1 smt_demo_portal_client_agent.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_portal_server_agent.smt"
    gsl -q -quiet:1 smt_demo_portal_server_agent.smt || croak "\"gsl -q -quiet:1 smt_demo_portal_server_agent.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_object_agent.smt"
    gsl -q -quiet:1 smt_demo_object_agent.smt || croak "\"gsl -q -quiet:1 smt_demo_object_agent.smt\" failed"
    [ "$BOOM_TRACE" ] && echo "gsl -q -quiet:1 smt_demo_object_action_agent.smt"
    gsl -q -quiet:1 smt_demo_object_action_agent.smt || croak "\"gsl -q -quiet:1 smt_demo_object_action_agent.smt\" failed"
    rm -f smt.h
    [ "$BOOM_TRACE" ] && echo "cat smt_thread.h>>smt.h"
    cat smt_thread.h>>smt.h || croak "\"cat smt_thread.h>>smt.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cat smt_coremark.h>>smt.h"
    cat smt_coremark.h>>smt.h || croak "\"cat smt_coremark.h>>smt.h\" failed"
    [ "$BOOM_TRACE" ] && echo "cat smt_os_thread.h>>smt.h"
    cat smt_os_thread.h>>smt.h || croak "\"cat smt_os_thread.h>>smt.h\" failed"
    echo "Source files successfully generated">stamp_generate
}

# -----------------------   REMOVE GENERATED BINARIES   -----------------------

a_remove_generated_binaries() {
:
    rm -f libsmt.a
    rm -f smt_method_test_test.o
    rm -f smt_method_test_test
    rm -f smt_method.o
    rm -f smt_method_queue_test_test.o
    rm -f smt_method_queue_test_test
    rm -f smt_method_queue.o
    rm -f smt_method_list_test_test.o
    rm -f smt_method_list_test_test
    rm -f smt_method_list.o
    rm -f smt_os_thread_test_test.o
    rm -f smt_os_thread_test_test
    rm -f smt_os_thread.o
    rm -f smt_os_thread_by_status_test_test.o
    rm -f smt_os_thread_by_status_test_test
    rm -f smt_os_thread_by_status.o
    rm -f smt_os_thread_list_test_test.o
    rm -f smt_os_thread_list_test_test
    rm -f smt_os_thread_list.o
    rm -f smt_thread_test_test.o
    rm -f smt_thread_test_test
    rm -f smt_thread.o
    rm -f smt_thread_by_status_test_test.o
    rm -f smt_thread_by_status_test_test
    rm -f smt_thread_by_status.o
    rm -f smt_thread_list_test_test.o
    rm -f smt_thread_list_test_test
    rm -f smt_thread_list.o
    rm -f smt_thread_queue_test_test.o
    rm -f smt_thread_queue_test_test
    rm -f smt_thread_queue.o
    rm -f smt_fileio_test_test.o
    rm -f smt_fileio_test_test
    rm -f smt_fileio.o
    rm -f smt_fileio_request_test_test.o
    rm -f smt_fileio_request_test_test
    rm -f smt_fileio_request.o
    rm -f smt_timer_request_test_test.o
    rm -f smt_timer_request_test_test
    rm -f smt_timer_request.o
    rm -f smt_timer_request_list_test_test.o
    rm -f smt_timer_request_list_test_test
    rm -f smt_timer_request_list.o
    rm -f smt_timer_request_by_thread_test_test.o
    rm -f smt_timer_request_by_thread_test_test
    rm -f smt_timer_request_by_thread.o
    rm -f smt_socket_test_test.o
    rm -f smt_socket_test_test
    rm -f smt_socket.o
    rm -f smt_socket_request_test_test.o
    rm -f smt_socket_request_test_test
    rm -f smt_socket_request.o
    rm -f smt_socket_request_by_thread_test_test.o
    rm -f smt_socket_request_by_thread_test_test
    rm -f smt_socket_request_by_thread.o
    rm -f smt_socket_request_by_socket_test_test.o
    rm -f smt_socket_request_by_socket_test_test
    rm -f smt_socket_request_by_socket.o
    rm -f smt_position_test_test.o
    rm -f smt_position_test_test
    rm -f smt_position.o
    rm -f smt_position_list_test_test.o
    rm -f smt_position_list_test_test
    rm -f smt_position_list.o
    rm -f smt_signal_test_test.o
    rm -f smt_signal_test_test
    rm -f smt_signal.o
    rm -f smt_signal_table_test_test.o
    rm -f smt_signal_table_test_test
    rm -f smt_signal_table.o
    rm -f smt_signal_by_thread_test_test.o
    rm -f smt_signal_by_thread_test_test
    rm -f smt_signal_by_thread.o
    rm -f smt_coremark_agent.o
    rm -f smt_coremark_test_test.o
    rm -f smt_coremark_test_test
    rm -f smt_coremark.o
    rm -f smt_log_agent.o
    rm -f smt_log_test_test.o
    rm -f smt_log_test_test
    rm -f smt_log.o
    rm -f smt_demo_portal_test_test.o
    rm -f smt_demo_portal_test_test
    rm -f smt_demo_portal.o
    rm -f smt_demo_portal_client_agent.o
    rm -f smt_demo_portal_client_test_test.o
    rm -f smt_demo_portal_client_test_test
    rm -f smt_demo_portal_client.o
    rm -f smt_demo_portal_server_agent.o
    rm -f smt_demo_portal_server_test_test.o
    rm -f smt_demo_portal_server_test_test
    rm -f smt_demo_portal_server.o
    rm -f smt_echo.o
    rm -f smt_echo
    rm -f tstnull.o
    rm -f tstnull
    rm -f tstsock.o
    rm -f tstsock
    rm -f smt_demo_timer.o
    rm -f smt_demo_timer
    rm -f smt_demo_object_agent.o
    rm -f smt_demo_object_test_test.o
    rm -f smt_demo_object_test_test
    rm -f smt_demo_object.o
    rm -f smt_demo_object_action_agent.o
    rm -f smt_demo_object_action_test_test.o
    rm -f smt_demo_object_action_test_test
    rm -f smt_demo_object_action.o
    rm -f smt_demo_server.o
    rm -f smt_demo_client.o
    rm -f smt_demo_client
    rm -f smt_method_test.o
    rm -f smt_method_test
    rm -f smt_method.o
    rm -f smt_method_queue_test.o
    rm -f smt_method_queue_test
    rm -f smt_method_queue.o
    rm -f smt_method_list_test.o
    rm -f smt_method_list_test
    rm -f smt_method_list.o
    rm -f smt_os_thread_test.o
    rm -f smt_os_thread_test
    rm -f smt_os_thread.o
    rm -f smt_os_thread_by_status_test.o
    rm -f smt_os_thread_by_status_test
    rm -f smt_os_thread_by_status.o
    rm -f smt_os_thread_list_test.o
    rm -f smt_os_thread_list_test
    rm -f smt_os_thread_list.o
    rm -f smt_thread_test.o
    rm -f smt_thread_test
    rm -f smt_thread.o
    rm -f smt_thread_by_status_test.o
    rm -f smt_thread_by_status_test
    rm -f smt_thread_by_status.o
    rm -f smt_thread_list_test.o
    rm -f smt_thread_list_test
    rm -f smt_thread_list.o
    rm -f smt_thread_queue_test.o
    rm -f smt_thread_queue_test
    rm -f smt_thread_queue.o
    rm -f smt_fileio_test.o
    rm -f smt_fileio_test
    rm -f smt_fileio.o
    rm -f smt_fileio_request_test.o
    rm -f smt_fileio_request_test
    rm -f smt_fileio_request.o
    rm -f smt_timer_request_test.o
    rm -f smt_timer_request_test
    rm -f smt_timer_request.o
    rm -f smt_timer_request_list_test.o
    rm -f smt_timer_request_list_test
    rm -f smt_timer_request_list.o
    rm -f smt_timer_request_by_thread_test.o
    rm -f smt_timer_request_by_thread_test
    rm -f smt_timer_request_by_thread.o
    rm -f smt_socket_test.o
    rm -f smt_socket_test
    rm -f smt_socket.o
    rm -f smt_socket_request_test.o
    rm -f smt_socket_request_test
    rm -f smt_socket_request.o
    rm -f smt_socket_request_by_thread_test.o
    rm -f smt_socket_request_by_thread_test
    rm -f smt_socket_request_by_thread.o
    rm -f smt_socket_request_by_socket_test.o
    rm -f smt_socket_request_by_socket_test
    rm -f smt_socket_request_by_socket.o
    rm -f smt_position_test.o
    rm -f smt_position_test
    rm -f smt_position.o
    rm -f smt_position_list_test.o
    rm -f smt_position_list_test
    rm -f smt_position_list.o
    rm -f smt_signal_test.o
    rm -f smt_signal_test
    rm -f smt_signal.o
    rm -f smt_signal_table_test.o
    rm -f smt_signal_table_test
    rm -f smt_signal_table.o
    rm -f smt_signal_by_thread_test.o
    rm -f smt_signal_by_thread_test
    rm -f smt_signal_by_thread.o
    rm -f smt_coremark_agent.o
    rm -f smt_coremark_test.o
    rm -f smt_coremark_test
    rm -f smt_coremark.o
    rm -f smt_log_agent.o
    rm -f smt_log_test.o
    rm -f smt_log_test
    rm -f smt_log.o
    rm -f smt_demo_portal_test.o
    rm -f smt_demo_portal_test
    rm -f smt_demo_portal.o
    rm -f smt_demo_portal_client_agent.o
    rm -f smt_demo_portal_client_test.o
    rm -f smt_demo_portal_client_test
    rm -f smt_demo_portal_client.o
    rm -f smt_demo_portal_server_agent.o
    rm -f smt_demo_portal_server_test.o
    rm -f smt_demo_portal_server_test
    rm -f smt_demo_portal_server.o
    rm -f smt_echo.o
    rm -f smt_echo
    rm -f tstnull.o
    rm -f tstnull
    rm -f tstsock.o
    rm -f tstsock
    rm -f smt_demo_timer.o
    rm -f smt_demo_timer
    rm -f smt_demo_object_agent.o
    rm -f smt_demo_object_test.o
    rm -f smt_demo_object_test
    rm -f smt_demo_object.o
    rm -f smt_demo_object_action_agent.o
    rm -f smt_demo_object_action_test.o
    rm -f smt_demo_object_action_test
    rm -f smt_demo_object_action.o
    rm -f smt_demo_server.o
    rm -f smt_demo_client.o
    rm -f smt_demo_client
}

# -----------------------   REMOVE GENERATED SOURCES   ------------------------

a_remove_generated_sources() {
:
    rm -f smt_object_gen.gsl
    rm -f smt_object_preproc.gsl
    rm -f smt_object_inherit.gsl
    rm -f smt_object_parse.gsl
    rm -f smt_object_doc.txt
    rm -f smt_gen.gsl
    rm -f smt_preproc.gsl
    rm -f smt_inherit.gsl
    rm -f smt_parse.gsl
    rm -f smt_doc.txt
    rm -f smt_method_list.icl
    rm -f smt_os_thread_by_status.icl
    rm -f smt_os_thread_list.icl
    rm -f smt_thread_list.icl
    rm -f smt_thread_queue.icl
    rm -f smt_timer_request_list.icl
    rm -f smt_timer_request_by_thread.icl
    rm -f smt_socket_request_by_thread.icl
    rm -f smt_socket_request_by_socket.icl
    rm -f smt_position_list.icl
    rm -f smt_signal_table.icl
    rm -f smt_signal_by_thread.icl
    rm -f smt_demo_portal_front.icl
    rm -f smt_demo_portal_back.icl
    rm -f smt.h
    rm -f smt_method_test.c
    rm -f smt_method.h
    rm -f smt_method.c
    rm -f smt_method_queue_test.c
    rm -f smt_method_queue.h
    rm -f smt_method_queue.c
    rm -f smt_method_list_test.c
    rm -f smt_method_list.h
    rm -f smt_method_list.c
    rm -f smt_os_thread_test.c
    rm -f smt_os_thread.h
    rm -f smt_os_thread.c
    rm -f smt_os_thread_by_status_test.c
    rm -f smt_os_thread_by_status.h
    rm -f smt_os_thread_by_status.c
    rm -f smt_os_thread_list_test.c
    rm -f smt_os_thread_list.h
    rm -f smt_os_thread_list.c
    rm -f smt_thread_test.c
    rm -f smt_thread.h
    rm -f smt_thread.c
    rm -f smt_thread_by_status_test.c
    rm -f smt_thread_by_status.h
    rm -f smt_thread_by_status.c
    rm -f smt_thread_list_test.c
    rm -f smt_thread_list.h
    rm -f smt_thread_list.c
    rm -f smt_thread_queue_test.c
    rm -f smt_thread_queue.h
    rm -f smt_thread_queue.c
    rm -f smt_fileio_test.c
    rm -f smt_fileio.h
    rm -f smt_fileio.c
    rm -f smt_fileio_request_test.c
    rm -f smt_fileio_request.h
    rm -f smt_fileio_request.c
    rm -f smt_timer_request_test.c
    rm -f smt_timer_request.h
    rm -f smt_timer_request.c
    rm -f smt_timer_request_list_test.c
    rm -f smt_timer_request_list.h
    rm -f smt_timer_request_list.c
    rm -f smt_timer_request_by_thread_test.c
    rm -f smt_timer_request_by_thread.h
    rm -f smt_timer_request_by_thread.c
    rm -f smt_socket_test.c
    rm -f smt_socket.h
    rm -f smt_socket.c
    rm -f smt_socket_request_test.c
    rm -f smt_socket_request.h
    rm -f smt_socket_request.c
    rm -f smt_socket_request_by_thread_test.c
    rm -f smt_socket_request_by_thread.h
    rm -f smt_socket_request_by_thread.c
    rm -f smt_socket_request_by_socket_test.c
    rm -f smt_socket_request_by_socket.h
    rm -f smt_socket_request_by_socket.c
    rm -f smt_position_test.c
    rm -f smt_position.h
    rm -f smt_position.c
    rm -f smt_position_list_test.c
    rm -f smt_position_list.h
    rm -f smt_position_list.c
    rm -f smt_signal_test.c
    rm -f smt_signal.h
    rm -f smt_signal.c
    rm -f smt_signal_table_test.c
    rm -f smt_signal_table.h
    rm -f smt_signal_table.c
    rm -f smt_signal_by_thread_test.c
    rm -f smt_signal_by_thread.h
    rm -f smt_signal_by_thread.c
    rm -f smt_coremark_agent.smt
    rm -f smt_coremark_agent.h
    rm -f smt_coremark_agent.c
    rm -f smt_coremark_test.c
    rm -f smt_coremark.h
    rm -f smt_coremark.c
    rm -f smt_log_agent.smt
    rm -f smt_log_agent.h
    rm -f smt_log_agent.c
    rm -f smt_log_test.c
    rm -f smt_log.h
    rm -f smt_log.c
    rm -f smt_demo_portal_test.c
    rm -f smt_demo_portal.h
    rm -f smt_demo_portal.c
    rm -f smt_demo_portal_client_agent.smt
    rm -f smt_demo_portal_client_agent.h
    rm -f smt_demo_portal_client_agent.c
    rm -f smt_demo_portal_client_test.c
    rm -f smt_demo_portal_client.h
    rm -f smt_demo_portal_client.c
    rm -f smt_demo_portal_server_agent.smt
    rm -f smt_demo_portal_server_agent.h
    rm -f smt_demo_portal_server_agent.c
    rm -f smt_demo_portal_server_test.c
    rm -f smt_demo_portal_server.h
    rm -f smt_demo_portal_server.c
    rm -f smt_echo.h
    rm -f smt_echo.c
    rm -f tstnull.h
    rm -f tstnull.c
    rm -f tstsock.h
    rm -f tstsock.c
    rm -f smt_demo_timer.c
    rm -f smt_demo_timer.h
    rm -f smt_demo_object_agent.smt
    rm -f smt_demo_object_agent.h
    rm -f smt_demo_object_agent.c
    rm -f smt_demo_object_test.c
    rm -f smt_demo_object.h
    rm -f smt_demo_object.c
    rm -f smt_demo_object_action_agent.smt
    rm -f smt_demo_object_action_agent.h
    rm -f smt_demo_object_action_agent.c
    rm -f smt_demo_object_action_test.c
    rm -f smt_demo_object_action.h
    rm -f smt_demo_object_action.c
    rm -f smt_demo_server.h
    rm -f smt_demo_server.c
    rm -f smt_demo_client.h
    rm -f smt_demo_client.c
    rm -f stamp_generate
    rm -f configure
    rm -f Makefile.unix
    rm -f configure.bat
    rm -f Makefile.win32
    rm -f SMT_*.zip
    rm -f SMT_*.tar.gz
}

# ------------------------   REPORT HELP INFORMATION   ------------------------

a_report_help_information() {
:
    echo "The commands you can currently use on this project are:"
    echo ""
    eval "actions_$state"
}

# ------------------------   REPORT PROJECT VERSION   -------------------------

a_report_project_version() {
:
    echo "SMT-5.0a0"
}

# -------------------------   RUN REGRESSION TESTS   --------------------------

a_run_regression_tests() {
:
    carp "Running regression tests..."
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_method_test"
    else
        RUN_COMMAND="./smt_method_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_method_queue_test"
    else
        RUN_COMMAND="./smt_method_queue_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_method_list_test"
    else
        RUN_COMMAND="./smt_method_list_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_os_thread_test"
    else
        RUN_COMMAND="./smt_os_thread_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_os_thread_by_status_test"
    else
        RUN_COMMAND="./smt_os_thread_by_status_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_os_thread_list_test"
    else
        RUN_COMMAND="./smt_os_thread_list_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_thread_test"
    else
        RUN_COMMAND="./smt_thread_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_thread_by_status_test"
    else
        RUN_COMMAND="./smt_thread_by_status_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_thread_list_test"
    else
        RUN_COMMAND="./smt_thread_list_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_thread_queue_test"
    else
        RUN_COMMAND="./smt_thread_queue_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_fileio_test"
    else
        RUN_COMMAND="./smt_fileio_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_fileio_request_test"
    else
        RUN_COMMAND="./smt_fileio_request_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_timer_request_test"
    else
        RUN_COMMAND="./smt_timer_request_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_timer_request_list_test"
    else
        RUN_COMMAND="./smt_timer_request_list_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_timer_request_by_thread_test"
    else
        RUN_COMMAND="./smt_timer_request_by_thread_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_socket_test"
    else
        RUN_COMMAND="./smt_socket_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_socket_request_test"
    else
        RUN_COMMAND="./smt_socket_request_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_socket_request_by_thread_test"
    else
        RUN_COMMAND="./smt_socket_request_by_thread_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_socket_request_by_socket_test"
    else
        RUN_COMMAND="./smt_socket_request_by_socket_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_position_test"
    else
        RUN_COMMAND="./smt_position_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_position_list_test"
    else
        RUN_COMMAND="./smt_position_list_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_signal_test"
    else
        RUN_COMMAND="./smt_signal_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_signal_table_test"
    else
        RUN_COMMAND="./smt_signal_table_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_signal_by_thread_test"
    else
        RUN_COMMAND="./smt_signal_by_thread_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_coremark_test"
    else
        RUN_COMMAND="./smt_coremark_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_log_test"
    else
        RUN_COMMAND="./smt_log_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_demo_portal_test"
    else
        RUN_COMMAND="./smt_demo_portal_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_demo_portal_client_test"
    else
        RUN_COMMAND="./smt_demo_portal_client_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_demo_portal_server_test"
    else
        RUN_COMMAND="./smt_demo_portal_server_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_demo_object_test"
    else
        RUN_COMMAND="./smt_demo_object_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    if [ "$BOOM_TRACE" ]; then
        RUN_COMMAND="./smt_demo_object_action_test"
    else
        RUN_COMMAND="./smt_demo_object_action_test -q"
    fi
    [ "$BOOM_TRACE" ] && echo "$RUN_COMMAND"
    $RUN_COMMAND || croak "\"$RUN_COMMAND\" failed"
    #   Run local selftest script if present
    if [ -f ./selftest ]; then
    [ "$BOOM_TRACE" ] && echo "sh ./selftest"
    sh ./selftest || croak "\"sh ./selftest\" failed"
    fi
}

# ----------------------   USE SOURCE CONTROL REVISION   ----------------------

a_use_source_control_revision() {
:
    if [ -d .svn ]; then
        SVN_REVISION="`svn info | awk '/^Revision:/ { print $2 }'`"
    else
        SVN_REVISION="svn"
    fi
    MY_VERSION=${MY_VERSION}-${SVN_REVISION}
}

actions_initial() {
    return
}

actions_initial_check() {
    return
}

actions_repository() {
echo "build:"
    echo "  From the raw project sources, produces all generated files, and"
    echo "    compiles all source files."
echo "compile:"
    echo "  From the raw project sources, compiles all source files without any"
    echo "    code generation."
echo "clean:"
    echo "  When working with the raw project sources, removes all generated"
    echo "    source and binary files from the project directory."
echo "regen:"
    echo "  Produces generated files required for building using the"
    echo "    current model."
echo "allgen:"
    echo "  Produces all generated files."
echo "distrib:"
    echo "  Creates a source distribution for the project.  Note that binary"
    echo "    distributions can only be created at the product level."
echo "distsrc:"
    echo "  Equivalent to distrib, provided for compatibility."
echo "distrev:"
    echo "  Creates a source distribution for the project.  Builds distribution"
    echo "    packages based on source control version number. Note that binary"
    echo "    distributions can only be created at the product level."
actions_default
    return
}

actions_source() {
echo "build:"
    echo "  From the packaged sources, compiles all source files without any"
    echo "    code generation."
echo "clean:"
    echo "  When working with the packaged sources, removes all generated"
    echo "    binary files from the project directory."
echo "regen:"
    echo "  Produces generated files required for building using the"
    echo "    current model."
echo "allgen:"
    echo "  Produces all generated files."
actions_default
    return
}

actions_stripped() {
echo "build:"
    echo "  From the stripped-down packaged sources, compiles all source files"
    echo "    without any code generation."
echo "clean:"
    echo "  When working with the packaged sources, removes all generated"
    echo "    binary files from the project directory."
actions_default
    return
}

actions_default() {
echo "install:"
    echo "  Installs deliverables into the final or temporary install tree."
    echo "    This action is only valid after a successful build."
echo "test:"
    echo "  Runs regression tests for the project."
echo "help:"
    echo "  Shows a list of the commands allowed on the project."
echo "version:"
    echo "  Show project version."
    return
}

#   State machine starts here
#
firsttime=true
while [ "$1" -o "$firsttime" ]; do
  firsttime=
  state=initial
  event=ok
  debug=
  export state event debug
  while [ -n "$state" ]; do
    if [ "$inherit_state" ]; then
        check_state=$inherit_state
        inherit_state=
    else
        check_state=$state
    fi
    case "$check_state" in
    initial)
        if [ -n "$debug" ]; then
            echo "State: initial"
        fi
        case "$event" in
        "")
            if [ -n "$debug" ]; then
                echo "Get event from user"
            fi
            if [ "$1" ]; then
                event=$1
                shift
            else
                event=empty
            fi
            continue
        ;;
        ok)
            if [ -n "$debug" ]; then
                echo "Event: ok"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: check operating context"
            fi
            if [ -z "$exception" ]; then
                a_check_operating_context
            fi
            state=initial_check
            if [ -n "$exception" ]; then
                continue
            fi
        ;;
        *)
            echo "Unknown command - use one of:"
            echo ""
            eval "actions_$state"
            exit 1
        ;;
        esac
    ;;
    initial_check)
        if [ -n "$debug" ]; then
            echo "State: initial check"
        fi
        case "$event" in
        "")
            if [ -n "$debug" ]; then
                echo "Get event from user"
            fi
            if [ "$1" ]; then
                event=$1
                shift
            else
                event=empty
            fi
            continue
        ;;
        repository)
            if [ -n "$debug" ]; then
                echo "Event: repository"
            fi
            event=
            exception=
            state=repository
            if [ -n "$exception" ]; then
                continue
            fi
        ;;
        source)
            if [ -n "$debug" ]; then
                echo "Event: source"
            fi
            event=
            exception=
            state=source
            if [ -n "$exception" ]; then
                continue
            fi
        ;;
        stripped)
            if [ -n "$debug" ]; then
                echo "Event: stripped"
            fi
            event=
            exception=
            state=stripped
            if [ -n "$exception" ]; then
                continue
            fi
        ;;
        *)
            echo "Unknown command - use one of:"
            echo ""
            eval "actions_$state"
            exit 1
        ;;
        esac
    ;;
    repository)
        if [ -n "$debug" ]; then
            echo "State: repository"
        fi
        case "$event" in
        "")
            if [ -n "$debug" ]; then
                echo "Get event from user"
            fi
            if [ "$1" ]; then
                event=$1
                shift
            else
                event=empty
            fi
            continue
        ;;
        build)
            if [ -n "$debug" ]; then
                echo "Event: build"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: check project files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_project_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: produce generated files"
            fi
            if [ -z "$exception" ]; then
                a_produce_generated_files
            fi
            if [ -n "$debug" ]; then
                echo "Action: check source files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_source_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: build binary files"
            fi
            if [ -z "$exception" ]; then
                a_build_binary_files
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        compile)
            if [ -n "$debug" ]; then
                echo "Event: compile"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: check source files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_source_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: build binary files"
            fi
            if [ -z "$exception" ]; then
                a_build_binary_files
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        clean)
            if [ -n "$debug" ]; then
                echo "Event: clean"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: remove generated sources"
            fi
            if [ -z "$exception" ]; then
                a_remove_generated_sources
            fi
            if [ -n "$debug" ]; then
                echo "Action: remove generated binaries"
            fi
            if [ -z "$exception" ]; then
                a_remove_generated_binaries
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        regen)
            if [ -n "$debug" ]; then
                echo "Event: regen"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: check project files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_project_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: produce generated files"
            fi
            if [ -z "$exception" ]; then
                a_produce_generated_files
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        allgen)
            if [ -n "$debug" ]; then
                echo "Event: allgen"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: check project files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_project_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: produce all generated files"
            fi
            if [ -z "$exception" ]; then
                a_produce_all_generated_files
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        distrib)
            if [ -n "$debug" ]; then
                echo "Event: distrib"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: produce all generated files"
            fi
            if [ -z "$exception" ]; then
                a_produce_all_generated_files
            fi
            if [ -n "$debug" ]; then
                echo "Action: check all source files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_all_source_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: build source packages"
            fi
            if [ -z "$exception" ]; then
                a_build_source_packages
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        distsrc)
            if [ -n "$debug" ]; then
                echo "Event: distsrc"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: produce all generated files"
            fi
            if [ -z "$exception" ]; then
                a_produce_all_generated_files
            fi
            if [ -n "$debug" ]; then
                echo "Action: check all source files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_all_source_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: build source packages"
            fi
            if [ -z "$exception" ]; then
                a_build_source_packages
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        distrev)
            if [ -n "$debug" ]; then
                echo "Event: distrev"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: produce all generated files"
            fi
            if [ -z "$exception" ]; then
                a_produce_all_generated_files
            fi
            if [ -n "$debug" ]; then
                echo "Action: check all source files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_all_source_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: use source control revision"
            fi
            if [ -z "$exception" ]; then
                a_use_source_control_revision
            fi
            if [ -n "$debug" ]; then
                echo "Action: build source packages"
            fi
            if [ -z "$exception" ]; then
                a_build_source_packages
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        *)
            inherit_state=default
        ;;
        esac
    ;;
    source)
        if [ -n "$debug" ]; then
            echo "State: source"
        fi
        case "$event" in
        "")
            if [ -n "$debug" ]; then
                echo "Get event from user"
            fi
            if [ "$1" ]; then
                event=$1
                shift
            else
                event=empty
            fi
            continue
        ;;
        build)
            if [ -n "$debug" ]; then
                echo "Event: build"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: check source files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_source_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: build binary files"
            fi
            if [ -z "$exception" ]; then
                a_build_binary_files
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        clean)
            if [ -n "$debug" ]; then
                echo "Event: clean"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: remove generated binaries"
            fi
            if [ -z "$exception" ]; then
                a_remove_generated_binaries
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        regen)
            if [ -n "$debug" ]; then
                echo "Event: regen"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: check project files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_project_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: produce generated files"
            fi
            if [ -z "$exception" ]; then
                a_produce_generated_files
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        allgen)
            if [ -n "$debug" ]; then
                echo "Event: allgen"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: check project files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_project_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: produce all generated files"
            fi
            if [ -z "$exception" ]; then
                a_produce_all_generated_files
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        *)
            inherit_state=default
        ;;
        esac
    ;;
    stripped)
        if [ -n "$debug" ]; then
            echo "State: stripped"
        fi
        case "$event" in
        "")
            if [ -n "$debug" ]; then
                echo "Get event from user"
            fi
            if [ "$1" ]; then
                event=$1
                shift
            else
                event=empty
            fi
            continue
        ;;
        build)
            if [ -n "$debug" ]; then
                echo "Event: build"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: build binary files"
            fi
            if [ -z "$exception" ]; then
                a_build_binary_files
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        clean)
            if [ -n "$debug" ]; then
                echo "Event: clean"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: remove generated binaries"
            fi
            if [ -z "$exception" ]; then
                a_remove_generated_binaries
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        *)
            inherit_state=default
        ;;
        esac
    ;;
    default)
        if [ -n "$debug" ]; then
            echo "State: default"
        fi
        case "$event" in
        "")
            if [ -n "$debug" ]; then
                echo "Get event from user"
            fi
            if [ "$1" ]; then
                event=$1
                shift
            else
                event=empty
            fi
            continue
        ;;
        install)
            if [ -n "$debug" ]; then
                echo "Event: install"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: check binary files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_binary_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: install deliverables"
            fi
            if [ -z "$exception" ]; then
                a_install_deliverables
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        test)
            if [ -n "$debug" ]; then
                echo "Event: test"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: check binary files exist"
            fi
            if [ -z "$exception" ]; then
                a_check_binary_files_exist
            fi
            if [ -n "$debug" ]; then
                echo "Action: run regression tests"
            fi
            if [ -z "$exception" ]; then
                a_run_regression_tests
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        help)
            if [ -n "$debug" ]; then
                echo "Event: help"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: report help information"
            fi
            if [ -z "$exception" ]; then
                a_report_help_information
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        version)
            if [ -n "$debug" ]; then
                echo "Event: version"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: report project version"
            fi
            if [ -z "$exception" ]; then
                a_report_project_version
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        empty)
            if [ -n "$debug" ]; then
                echo "Event: empty"
            fi
            event=
            exception=
            if [ -n "$debug" ]; then
                echo "Action: report help information"
            fi
            if [ -z "$exception" ]; then
                a_report_help_information
            fi
            if [ -n "$1" -a -z "$exception" ]; then
                continue 2
            fi
            state=
        ;;
        *)
            echo "Unknown command - use one of:"
            echo ""
            eval "actions_$state"
            exit 1
        ;;
        esac
    ;;
    esac
  done
done
