added NO_TEST_RUNS flag to skip running any tests.
[feisty_meow.git] / scripts / clam / variables.def
index 0157bec88d18b9b3326fb8ee3f313bda0002a449..3a21425892ec677ce7fd82a1ffc428c2bca4ac35 100644 (file)
@@ -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
+# "NO_TEST_RUNS" turns off execution of the RUN_TARGETS.
+export NO_TEST_RUNS
 
 # "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.