prior to launching new cleaning script; want to make sure it doesn't go rogue.
time_sta.cpp</tt> <br>
<tt>TARGETS = mechanisms.dll</tt> <br>
<tt>LOCAL_LIBS_USED = basis</tt> <br>
- <tt>DEFINITIONS += BUILD_MECHANISMS USE_HOOPLE_DLLS</tt> </big></p>
+ <tt>DEFINITIONS += BUILD_MECHANISMS USE_FEISTY_MEOW_DLLS</tt> </big></p>
<small> </small><big> </big><small> </small>
<p><big><tt>include cpp/rules.def</tt></big></p>
<small> </small><small></small>
// windows class tags for the data structures library:
// define BUILD_SECURITY when you are creating the dll and
-// define USE_HOOPLE_DLLS when you are importing a class from the dll.
+// define USE_FEISTY_MEOW_DLLS when you are importing a class from the dll.
#ifdef BUILD_SECURITY
#define HOOPLE_DLL_EXPORT_CLASS
#define HOOPLE_DLL_EXPORT_FUNCTION
-#elif defined(USE_HOOPLE_DLLS)
+#elif defined(USE_FEISTY_MEOW_DLLS)
#define HOOPLE_DLL_IMPORT_CLASS
#define HOOPLE_DLL_IMPORT_FUNCTION
#else
PROJECT = tests_algorithms
TYPE = test
TARGETS = test_sorts.exe
-DEFINITIONS += USE_HOOPLE_DLLS
+DEFINITIONS += USE_FEISTY_MEOW_DLLS
LOCAL_LIBS_USED = unit_test application processes loggers configuration mathematics nodes \
structures textual timely filesystem structures basis
RUN_TARGETS = $(ACTUAL_TARGETS)
SOURCE = checkup.cpp
TARGETS = test_array.exe test_boilerplate.exe test_mutex.exe test_string.exe \
test_system_preconditions.exe
-DEFINITIONS += USE_HOOPLE_DLLS
+DEFINITIONS += USE_FEISTY_MEOW_DLLS
LOCAL_LIBS_USED = unit_test application processes loggers configuration mathematics nodes \
structures textual timely filesystem structures basis
RUN_TARGETS = $(ACTUAL_TARGETS)
TYPE = test
TARGETS = test_byte_filer.exe test_directory.exe test_directory_tree.exe test_file_info.exe \
test_file_time.exe test_filename.exe test_huge_file.exe
-DEFINITIONS += USE_HOOPLE_DLLS
+DEFINITIONS += USE_FEISTY_MEOW_DLLS
LOCAL_LIBS_USED = unit_test application configuration filesystem loggers \
mathematics nodes processes structures textual timely structures basis \
loggers
PROJECT = tests_mathematics
TYPE = test
TARGETS = test_chaos.exe test_double_plus.exe test_math_ops.exe
-DEFINITIONS += USE_HOOPLE_DLLS
+DEFINITIONS += USE_FEISTY_MEOW_DLLS
LOCAL_LIBS_USED = unit_test application configuration filesystem loggers mathematics nodes \
structures processes textual timely structures basis
RUN_TARGETS = $(ACTUAL_TARGETS)
TYPE = test
TARGETS = test_list.exe test_node.exe test_packable_tree.exe test_symbol_tree.exe test_tree.exe
LOCAL_LIBS_USED = unit_test application nodes loggers processes filesystem configuration timely textual structures basis
-DEFINITIONS += USE_HOOPLE_DLLS
+DEFINITIONS += USE_FEISTY_MEOW_DLLS
RUN_TARGETS = $(ACTUAL_TARGETS)
include cpp/rules.def
PROJECT = tests_timely
TYPE = test
TARGETS = test_earth_time.exe test_stopwatch.exe
-DEFINITIONS += USE_HOOPLE_DLLS
+DEFINITIONS += USE_FEISTY_MEOW_DLLS
LOCAL_LIBS_USED = unit_test application processes loggers configuration mathematics nodes \
structures textual timely filesystem structures basis
RUN_TARGETS = $(ACTUAL_TARGETS)
local($number) = &retrieve_number("aa_backup");
# variables used throughout here.
-local($snarf_file_base) = &snarf_prefix("feisty_meow");
+local($snarf_file_base) = &snarf_prefix("archived_feisty_meow");
local($snarf_file) = &snarf_name($snarf_file_base, $number);
# store the archive number in the file for retrieval on the other side.
&backup_hierarchy($snarf_file_base, $number, $root, "kona");
&backup_hierarchy($snarf_file_base, $number, $root, "nucleus");
&backup_hierarchy($snarf_file_base, $number, $root, "octopi");
-&backup_hierarchy($snarf_file_base, $number, $root, "osgi");
&backup_hierarchy($snarf_file_base, $number, $root, "scripts");
&backup_hierarchy($snarf_file_base, $number, $root, "webby");
--- /dev/null
+#!/bin/bash
+
+# travels down each subdirectory and cleans using make.
+function clean_subdirectories()
+{
+ # keep the variable local to avoid contaminating
+ # other runs.
+ local smoot87
+
+ # find all the subdirectories.
+ for smoot87 in $(find . -mindepth 1 -maxdepth 1 -type f); do
+echo name is $i
+
+# # skip if not a directory.
+# if [ ! -d "$smoot87" ]; then continue; fi
+#echo "inside first check of it being dir: $smoot87"
+
+ # make sure there's a makefile there.
+ if [ -f "$smoot87/$MAKEFILE_NAME" ]; then
+echo "inside barriers, with filename=$smoot87 and all conditions met."
+ pushd "$smoot87"
+ make --silent NOT_FIRST_MAKE=t -f $MAKEFILE_NAME clean
+ else
+ echo "Skipping makefile-less directory $smoot87..."
+ fi
+ done
+}
+
+# execute our function on current directory.
+clean_subdirectories
+
# files and such that were created by the project. it invokes the makefile
# again with the CLEAN variable defined so that this can be passed down into
# all subsequent makes.
-clean: set_cleaner_variable clean_subdirs $(OTHER_CLEANS) ready_to_clean
+clean: set_cleaner_variable $(OTHER_CLEANS) scratch_other_cleans clean_subdirs ready_to_clean
# no code here.
set_cleaner_variable:
$(eval CLEAN := true)
+scratch_other_cleans:
+ $(eval OTHER_CLEANS := )
+
ready_to_clean:
@echo Whacking [$(CLEANUPS)]
$(HIDESH) -c '\