# outer check on whether this already was run or not.
if [ -z "$BUILD_VARS_LOADED" ]; then
-echo build variables were not loaded so recalculating.
+if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then
+ echo recalculating feisty meow build variables.
+ echo
+fi
# perform some calculations to get the right paths from our parameters.
if [ ! -z "$PARM_1" ]; then
fi
# CLAM_BASE_CPU is a flag that distinguishes the type of processor, if necessary.
-export CLAM_BASE_CPU="$(machine 2>/dev/null || arch 2>/dev/null || uname -m 2>/dev/null || echo i686)"
+export CLAM_BASE_CPU="$(uname -m 2>/dev/null || arch 2>/dev/null || echo i686)"
+#ugh, machine gives us an odd answer on macos. machine 2>/dev/null ||
# "FEISTY_MEOW_CPP_HEADERS" are folders where our C and C++ header files can be found.
# we'll compute the set of folders as best we can below.
else
export LOCUS_LIBRARY_HEADERS=
fi
- ####blech! maybe not needed now? was involved above. | tr "\\\\" / | sed -e "s/\([a-zA-Z]\):\/\([^ ]*\)/\/cygdrive\/\1\/\2/g" ')
-export FEISTY_MEOW_CPP_HEADERS=$(find $LOCUS_LIBRARY_HEADERS -mindepth 1 -maxdepth 1 -type d | grep -v "\.settings" )
+export FEISTY_MEOW_CPP_HEADERS=$(find $LOCUS_LIBRARY_HEADERS -mindepth 1 -maxdepth 1 -type d | grep -v "\.settings")
# the root name of the version file. This is currently irrelevant on
# non-windoze platforms.
# code needed to produce the executables for feisty meow.
export PRODUCTION_STORE="$BUILD_TOP/production"
-## set up the top-level for all build creations and logs and such.
-#export FEISTY_MEOW_GENERATED_STORE="$TMP/generated-feisty_meow"
-#if [ ! -d "$FEISTY_MEOW_GENERATED_STORE" ]; then
-# mkdir -p "$FEISTY_MEOW_GENERATED_STORE"
-#fi
-## set up our effluent outsourcing valves.
-#export TEMPORARIES_PILE="$FEISTY_MEOW_GENERATED_STORE/temporaries"
-#if [ ! -d "$TEMPORARIES_PILE" ]; then
-# mkdir -p "$TEMPORARIES_PILE"
-#fi
-
# this variable points at a folder where we store the generated products of
# the build, such as the binaries and installer packages.
export RUNTIME_PATH="$FEISTY_MEOW_GENERATED_STORE/runtime"
fi
# pick the executable's file ending based on the platform.
- if [ "$OPERATING_SYSTEM" == "UNIX" ]; then export EXE_ENDING=;
- elif [ "$OPERATING_SYSTEM" == "WIN32" ]; then export EXE_ENDING=.exe;
+ if [ "$OPERATING_SYSTEM" == "UNIX" ]; then
+ export EXE_ENDING=""
+ elif [ "$OPERATING_SYSTEM" == "WIN32" ]; then
+ export EXE_ENDING=".exe"
else
echo "The OPERATING_SYSTEM variable is unset or unknown. Bailing out."
fi