X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fclam%2Fvariables.def;h=6bf3d2ca0da71db6f4e80b971ab14ed4c5fcf156;hb=6978ce0a6175d93db0bc31e812b77452bf7d709d;hp=0157bec88d18b9b3326fb8ee3f313bda0002a449;hpb=2dc7262979a054eeb1167aa60546365f1da812e1;p=feisty_meow.git diff --git a/scripts/clam/variables.def b/scripts/clam/variables.def index 0157bec8..6bf3d2ca 100644 --- a/scripts/clam/variables.def +++ b/scripts/clam/variables.def @@ -69,14 +69,30 @@ 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 the built products will be stored, plus any +# temporary files that are generated during the build. +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 @@ -139,6 +155,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 +169,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 = $(FEISTY_MEOW_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.