#!/bin/sh ############################################################################## # # Script : configure # # Description : configures Hanna # # Comments : - # # Date : ? # # Updates : - # # Author : Wolfgang Wnader (wwc@lars.desy.de) # Klaus Ackerstaff (ack@hermes.desy.de) # Marc-Andre Funk (maf@hermes.desy.de) # # Remarks : - # # # 1996 Hermes Collaboration ############################################################################## PWD=`pwd` echo echo " Configuration tool for the HERMES Hanna library." echo " Distribution: `ls THIS_IS_VERSION*`." echo CHECK_HLFANA="YES" # Call HERMES software autoconfigure script . ${HERMES_TOP:=/hermes}/conf/hermes_auto_conf MAKE="${MAKE:=$GNUMAKE}" TARGETS='hannah hannam' echo echo ' Will build the following binaries :' $TARGETS # Some HANNA-specific extra sed arguments HANNALIB=$PWD/lib/libhanna.a SED_VARIABLES="$SED_VARIABLES:HANNALIB:TARGETS:G1DDL" test -d scripts || mkdir scripts test -d lib || mkdir lib # Create and execute config.status file CONFIG_STATUS_FILE="./scripts/config.status" . ${HERMES_TOP}/conf/config_status_shell chmod 755 prog/makecuts echo echo -n 'checking dependencies ....... : ' $MAKE depend > /dev/null 2>&1 echo done. echo echo "---> Type" echo " make" echo "to build the library" echo " make examples" echo "to build some example executables and" echo " make install" echo "to install this Hanna distribution in $HERMES_ROOT" echo echo "Have fun! 1996-1999 The HERMES Collaboration" echo