#! /bin/sh # The following settings are determined by the configure script. C_COMPILER=@C_COMPILER_SH@ C_PREPROC=@C_PREPROC_SH@ FLAGS_OBJ=@FLAGS_OBJ_SH@ FLAGS_DYN=@FLAGS_DYN_SH@ FLAGS_LIB=@FLAGS_LIB_SH@ FLAGS_EXE=@FLAGS_EXE_SH@ FLAGS_OPT=@FLAGS_OPT_SH@ FLAGS_OPT_RTS=@FLAGS_OPT_RTS_SH@ DEFS_OBJ=@DEFS_OBJ_SH@ DEFS_DYN=@DEFS_DYN_SH@ DEFS_LIB=@DEFS_LIB_SH@ DEFS_EXE=@DEFS_EXE_SH@ BUILD_OBJ=@BUILD_OBJ_SH@ BUILD_DYN=@BUILD_DYN_SH@ BUILD_LIB=@BUILD_LIB_SH@ BUILD_EXE=@BUILD_EXE_SH@ DEFS=@DEFS_SH@ LIBS=@LIBS_SH@ GAMBITLIB=@GAMBITLIB_SH@ GAMBITGSCLIB=@GAMBITGSCLIB_SH@ GAMBITGSILIB=@GAMBITGSILIB_SH@ LIB_PREFIX=@LIB_PREFIX_SH@ LIB_EXTENSION=@LIB_EXTENSION_SH@ OBJ_EXTENSION=@OBJ_EXTENSION_SH@ EXE_EXTENSION=@EXE_EXTENSION_SH@ BAT_EXTENSION=@BAT_EXTENSION_SH@ case "$1" in "obj") if test "${GAMBUILD_VERBOSE}" != ""; then echo @BUILD_OBJ_ECHO@ fi @BUILD_OBJ@ ;; "dyn") if test "${GAMBUILD_VERBOSE}" != ""; then echo @BUILD_DYN_ECHO@ fi @BUILD_DYN@ ;; "lib") if test "${GAMBUILD_VERBOSE}" != ""; then echo @BUILD_LIB_ECHO@ fi @BUILD_LIB@ ;; "exe") if test "${GAMBUILD_VERBOSE}" != ""; then echo @BUILD_EXE_ECHO@ fi @BUILD_EXE@ ;; "C_COMPILER") echo "${C_COMPILER}" ;; "C_PREPROC") echo "${C_PREPROC}" ;; "FLAGS_OBJ") echo "${FLAGS_OBJ}" ;; "FLAGS_DYN") echo "${FLAGS_DYN}" ;; "FLAGS_LIB") echo "${FLAGS_LIB}" ;; "FLAGS_EXE") echo "${FLAGS_EXE}" ;; "FLAGS_OPT") echo "${FLAGS_OPT}" ;; "FLAGS_OPT_RTS") echo "${FLAGS_OPT_RTS}" ;; "DEFS_OBJ") echo "${DEFS_OBJ}" ;; "DEFS_DYN") echo "${DEFS_DYN}" ;; "DEFS_LIB") echo "${DEFS_LIB}" ;; "DEFS_EXE") echo "${DEFS_EXE}" ;; "BUILD_OBJ") echo "${BUILD_OBJ}" ;; "BUILD_DYN") echo "${BUILD_DYN}" ;; "BUILD_LIB") echo "${BUILD_LIB}" ;; "BUILD_EXE") echo "${BUILD_EXE}" ;; "DEFS") echo "${DEFS}" ;; "LIBS") echo "${LIBS}" ;; "GAMBITLIB") echo "${GAMBITLIB}" ;; "GAMBITGSCLIB") echo "${GAMBITGSCLIB}" ;; "GAMBITGSILIB") echo "${GAMBITGSILIB}" ;; "LIB_PREFIX") echo "${LIB_PREFIX}" ;; "LIB_EXTENSION") echo "${LIB_EXTENSION}" ;; "OBJ_EXTENSION") echo "${OBJ_EXTENSION}" ;; "EXE_EXTENSION") echo "${EXE_EXTENSION}" ;; "BAT_EXTENSION") echo "${BAT_EXTENSION}" ;; "") # Dump configure script settings ESC_SH="sed -e s/\\\\/\\\\\\\\\\\\\\\\/g -e s/\\\"/\\\\\\\"/g -e s/\\\$/\\\\\\\$/g -e s/^/\"/ -e s/$/\"/" echo C_COMPILER=`echo "${C_COMPILER}" | ${ESC_SH}` echo C_PREPROC=`echo "${C_PREPROC}" | ${ESC_SH}` echo FLAGS_OBJ=`echo "${FLAGS_OBJ}" | ${ESC_SH}` echo FLAGS_DYN=`echo "${FLAGS_DYN}" | ${ESC_SH}` echo FLAGS_LIB=`echo "${FLAGS_LIB}" | ${ESC_SH}` echo FLAGS_EXE=`echo "${FLAGS_EXE}" | ${ESC_SH}` echo FLAGS_OPT=`echo "${FLAGS_OPT}" | ${ESC_SH}` echo FLAGS_OPT_RTS=`echo "${FLAGS_OPT_RTS}" | ${ESC_SH}` echo DEFS_OBJ=`echo "${DEFS_OBJ}" | ${ESC_SH}` echo DEFS_DYN=`echo "${DEFS_DYN}" | ${ESC_SH}` echo DEFS_LIB=`echo "${DEFS_LIB}" | ${ESC_SH}` echo DEFS_EXE=`echo "${DEFS_EXE}" | ${ESC_SH}` echo BUILD_OBJ=`echo "${BUILD_OBJ}" | ${ESC_SH}` echo BUILD_DYN=`echo "${BUILD_DYN}" | ${ESC_SH}` echo BUILD_LIB=`echo "${BUILD_LIB}" | ${ESC_SH}` echo BUILD_EXE=`echo "${BUILD_EXE}" | ${ESC_SH}` echo DEFS=`echo "${DEFS}" | ${ESC_SH}` echo LIBS=`echo "${LIBS}" | ${ESC_SH}` echo GAMBITLIB=`echo "${GAMBITLIB}" | ${ESC_SH}` echo GAMBITGSCLIB=`echo "${GAMBITGSCLIB}" | ${ESC_SH}` echo GAMBITGSILIB=`echo "${GAMBITGSILIB}" | ${ESC_SH}` echo LIB_PREFIX=`echo "${LIB_PREFIX}" | ${ESC_SH}` echo LIB_EXTENSION=`echo "${LIB_EXTENSION}" | ${ESC_SH}` echo OBJ_EXTENSION=`echo "${OBJ_EXTENSION}" | ${ESC_SH}` echo EXE_EXTENSION=`echo "${EXE_EXTENSION}" | ${ESC_SH}` echo BAT_EXTENSION=`echo "${BAT_EXTENSION}" | ${ESC_SH}` ;; *) echo "gambuild-C unknown operation \"$1\"" exit 1 ;; esac