updates for less shelly behavior
[feisty_meow.git] / scripts / clam / variables.def
index d5e3181d4c6017a3b1c28469b1f7ece936dd2e71..be48c32ea4800328cf70f3bba983c478e965c3e4 100644 (file)
 
 ###############################################################################
 
-# OP_SYSTEM is a flag that specifies the operating system under which
-# the makefile system is executing.
-export OP_SYSTEM
-#OP_SYSTEM := UNIX = unix | OS2 = ibm os/2 | SYSV = v unix | DOS = pc dos
-#    | WIN32 = ms-win32 / NT.
-
-# OS_SUBCLASS is a finer differentiation of the OP_SYSTEM.  currently only
-# the darwin subclass for unix is considered.
-export OS_SUBCLASS
-#OS_SUBCLASS := darwin | 
-
-# set the default operating system when none is specified.
-ifeq "$(OP_SYSTEM)" ""
-#is there a nice way to join the greps?
-  IS_UNIX := $(shell uname | grep -i linux)
-  ifeq "$(IS_UNIX)" ""
-    IS_UNIX := $(shell uname | grep -i unix)
-    ifeq "$(IS_UNIX)" "" 
-      IS_UNIX := $(shell uname | grep -i darwin)
-      ifneq "$(IS_UNIX)" ""
-        # pick the subclass now that we know this is darwin.
-        OS_SUBCLASS := darwin
-      endif
-    endif
-  endif
-  IS_DOS := $(shell uname | grep -i cygwin)
-  ifeq "$(IS_DOS)" ""
-    IS_DOS := $(shell uname | grep -i ming)
-  endif
-  ifneq "$(IS_UNIX)" ""
-    OP_SYSTEM := UNIX
-  else
-    ifneq "$(IS_DOS)" ""
-      OP_SYSTEM := WIN32
-    else
-      # we do not have other comparisons yet, so we will assume unix.  fix this
-      # if it is not your default operating system.
-      OP_SYSTEM := UNIX
-    endif
-  endif
-endif
-
-# now set a special ending for EXE files, which differs between the OSes.
-export EXE_END
-ifeq "$(OP_SYSTEM)" "WIN32"
-  EXE_END := .exe
-endif
+## # OPERATING_SYSTEM is a flag that specifies the operating system under which
+## # the makefile system is executing.
+## export OPERATING_SYSTEM
+## #OPERATING_SYSTEM := UNIX = unix | OS2 = ibm os/2 | SYSV = v unix | DOS = pc dos
+## #    | WIN32 = ms-win32 / NT.
+
+## # CLAM_OS_SUBCLASS is a finer differentiation of the OPERATING_SYSTEM.  currently only
+## # the darwin subclass for unix is considered.
+## export CLAM_OS_SUBCLASS
+## #CLAM_OS_SUBCLASS := darwin | 
+
+## # set the default operating system when none is specified.
+## ifeq "$(OPERATING_SYSTEM)" ""
+## #is there a nice way to join the greps?
+##  CLAM_ON_UNIX := $(shell uname | grep -i linux)
+##  ifeq "$(CLAM_ON_UNIX)" ""
+##    CLAM_ON_UNIX := $(shell uname | grep -i unix)
+##    ifeq "$(CLAM_ON_UNIX)" "" 
+##      CLAM_ON_UNIX := $(shell uname | grep -i darwin)
+##      ifneq "$(CLAM_ON_UNIX)" ""
+##        # pick the subclass now that we know this is darwin.
+##        CLAM_OS_SUBCLASS := darwin
+##      endif
+##    endif
+##  endif
+##  CLAM_ON_DOS := $(shell uname | grep -i cygwin)
+##  ifeq "$(CLAM_ON_DOS)" ""
+##    CLAM_ON_DOS := $(shell uname | grep -i ming)
+##  endif
+##  ifneq "$(CLAM_ON_UNIX)" ""
+##    OPERATING_SYSTEM := UNIX
+##  else
+##    ifneq "$(CLAM_ON_DOS)" ""
+##      OPERATING_SYSTEM := WIN32
+##    else
+##      # we do not have other comparisons yet, so we will assume unix.  fix this
+##      # if it is not your default operating system.
+##      OPERATING_SYSTEM := UNIX
+##    endif
+##  endif
+##endif
+
+## # now set a special ending for EXE files, which differs between the OSes.
+## export EXE_ENDING
+## ifeq "$(OPERATING_SYSTEM)" "WIN32"
+##   EXE_ENDING := .exe
+## endif
 
 ###############################################################################
 
 # "FEISTY_MEOW_APEX" 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.
+# targets can be located elsewhere if desired.  see TARGETS_STORE below.
 export FEISTY_MEOW_APEX
 ifeq "$(FEISTY_MEOW_APEX)" ""
 #  FEISTY_MEOW_APEX = 
@@ -79,30 +79,30 @@ ifeq "$(FEISTY_MEOW_SCRIPTS)" ""
   export FEISTY_MEOW_SCRIPTS := $(FEISTY_MEOW_APEX)/scripts
 endif
 
-# "PRODUCTION_DIR" is where components required for building the code or
+# "PRODUCTION_STORE" 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_APEX)/production
+export PRODUCTION_STORE
+ifeq "$(PRODUCTION_STORE)" ""
+  PRODUCTION_STORE=$(FEISTY_MEOW_APEX)/production
 endif
 
-# "CLAM_DIR" points at where the CLAM source files are located.  this is needed
+# "CLAM_SCRIPTS" 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
-ifeq "$(CLAM_DIR)" ""
-  export CLAM_DIR := $(FEISTY_MEOW_SCRIPTS)/clam
+export CLAM_SCRIPTS
+ifeq "$(CLAM_SCRIPTS)" ""
+  export CLAM_SCRIPTS := $(FEISTY_MEOW_SCRIPTS)/clam
 endif
 
-# "TARGETS_DIR" is where all generated files will end up.  Usually the
+# "TARGETS_STORE" is where all generated files will end up.  Usually the
 # files are put in a subdirectory named after their file type, such as
-# "include".  These subdirectories will all live under the TARGETS_DIR.
-export TARGETS_DIR
-ifeq "$(TARGETS_DIR)" ""
+# "include".  These subdirectories will all live under the TARGETS_STORE.
+export TARGETS_STORE
+ifeq "$(TARGETS_STORE)" ""
   # the default is to generate files into subdirectories that are at the
   # top-level of the repository.
-  TARGETS_DIR = $(FEISTY_MEOW_APEX)
+  TARGETS_STORE = $(FEISTY_MEOW_APEX)
 endif
 
 # "CURRENT_DIR" is the directory where this make was started.
@@ -172,7 +172,7 @@ export FIND = find
 # also contains any extra flags passed to the compilation.
 ifeq "$(PARAMETER_FILE)" ""
   # the default assumes that clam lives under the main hoople branch.
-  export PARAMETER_FILE = $(CLAM_DIR)/clam_parms.ini
+  export PARAMETER_FILE = $(CLAM_SCRIPTS)/clam_parms.ini
 endif
 
 # ensure that our version variables are available to sub-shells.
@@ -198,16 +198,9 @@ export CLEAN
 # sets the temporary directory.
 export CLAM_TMP
 ifeq "$(CLAM_TMP)" ""
-  CLAM_TMP := $(GENERATED_DIR)/clam_tmp
+  CLAM_TMP := $(FEISTY_MEOW_GENERATED_STORE)/clam_tmp
 endif
 
-#turned off for the moment, since this seems like a bad idea; we define clam tmp in terms of tmp sometimes, do not 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
 # make.
@@ -259,7 +252,7 @@ HIDESH = $(HIDER) $(SH)
 
 # "CATCHER" is a hider that looks for errors in the command being run and
 # stops the make if any are seen.
-CATCHER = $(HIDESH) $(CLAM_DIR)/badness_catcher.sh 
+CATCHER = $(HIDESH) $(CLAM_SCRIPTS)/badness_catcher.sh 
 
 # "NOISY" causes the compilation to be verbose.  All commands issued are echoed
 # to the standard output.