X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fclam%2Fvariables.def;h=5778df5149dd0ab49a3ae6b4eb201ad78c3085fc;hb=102061cab065f647954f3e935f11f433e2f088d4;hp=96f4f91f3989b381495e67a326eeda94e9cb64c0;hpb=dbe3a7d9104352d69efdaa5eca600908ecc9bba8;p=feisty_meow.git diff --git a/scripts/clam/variables.def b/scripts/clam/variables.def index 96f4f91f..5778df51 100644 --- a/scripts/clam/variables.def +++ b/scripts/clam/variables.def @@ -61,22 +61,39 @@ endif ############################################################################### -# "REPOSITORY_DIR" is the root of the "build" for our compilation oriented +# "FEISTY_MEOW_DIR" is the root of the "build" for our compilation oriented # features. All source code and build helper files are usually found there. # The build targets to be built are usually stored there also, although the # targets can be located elsewhere if desired. see TARGETS_DIR below. -export REPOSITORY_DIR -ifeq "$(REPOSITORY_DIR)" "" -# REPOSITORY_DIR = +export FEISTY_MEOW_DIR +ifeq "$(FEISTY_MEOW_DIR)" "" +# FEISTY_MEOW_DIR = #uhhh, use the current location? +#currently we rely on this being set from shell bootstrapping. is that bad? +endif + +# "FEISTY_MEOW_SCRIPTS" is the root location of our scripts. we expect to +# be able to find a few things there reliably. +export FEISTY_MEOW_SCRIPTS +ifeq "$(FEISTY_MEOW_SCRIPTS)" "" + export FEISTY_MEOW_SCRIPTS := $(FEISTY_MEOW_DIR)/scripts +endif + +# "PRODUCTION_DIR" is where components required for building the code or +# installers can be found. +#hmmm: is this redundant? +export PRODUCTION_DIR +ifeq "$(PRODUCTION_DIR)" "" + PRODUCTION_DIR=$(FEISTY_MEOW_DIR)/production endif # "CLAM_DIR" points at where the CLAM source files are located. this is needed # for finding shell scripts used during compilation. if you are not using the # standard CLAM location, then modify this appropriately. export CLAM_DIR -# must be set externally! -#export CLAM_DIR := $(FEISTY_MEOW_SCRIPTS)/clam +ifeq "$(CLAM_DIR)" "" + export CLAM_DIR := $(FEISTY_MEOW_SCRIPTS)/clam +endif # "TARGETS_DIR" is where all generated files will end up. Usually the # files are put in a subdirectory named after their file type, such as @@ -85,12 +102,9 @@ export TARGETS_DIR ifeq "$(TARGETS_DIR)" "" # the default is to generate files into subdirectories that are at the # top-level of the repository. - TARGETS_DIR = $(REPOSITORY_DIR) + TARGETS_DIR = $(FEISTY_MEOW_DIR) endif -# "CLAM_BIN" points at the location for helper binaries and shell scripts. -export CLAM_BIN = $(PRODUCTION_DIR)/clam_bin - # "CURRENT_DIR" is the directory where this make was started. export CURRENT_DIR := $(shell pwd) @@ -139,6 +153,8 @@ ACTUAL_LAST_TARGETS = $(LAST_TARGETS) # "RUN_TARGETS" is a list of programs that should be executed as part of a make. export RUN_TARGETS +# "RUN_ALL_TESTS" turns on execution of the RUN_TARGETS. +export RUN_ALL_TESTS # "MAKEFILE_NAME" works with BUILD_BEFORE and BUILD_AFTER. This allows # the name of the makefile in the subdirectory to be changed to something other @@ -151,9 +167,6 @@ export MAKEFILE_NAME = makefile # find command. on dosdows, the find command is utter garbage and we need # to make sure we don't accidentally run that inferior one. export FIND = find -#ifeq "$(OP_SYSTEM)" "WIN32" -# export FIND = $(REPOSITORY_DIR)/msys/bin/find -#endif # "PARAMETER_FILE" is the location of our version stamps (if defined) and # also contains any extra flags passed to the compilation. @@ -186,14 +199,15 @@ export CLEAN # sets the temporary directory. export CLAM_TMP ifeq "$(CLAM_TMP)" "" - CLAM_TMP := $(WASTE_DIR) + CLAM_TMP := $(GENERATED_DIR)/clam_tmp endif -ifeq "$(OP_SYSTEM)" "WIN32" - # set these so that compilers and such will use them. - export TMP := $(CLAM_TMP) - export TEMP := $(CLAM_TMP) -endif +#turned off for the moment, since this seems like a bad idea; we define clam tmp in terms of tmp sometimes, don't we??? +#ifeq "$(OP_SYSTEM)" "WIN32" +# # set these so that compilers and such will use them. +# export TMP := $(CLAM_TMP) +# export TEMP := $(CLAM_TMP) +#endif # "FAILURE_FILE" is a file that is used as a flag to track failures. if the # file exists, then it is assumed that a failure happened during the current