/[MITgcm]/MITgcm/tools/genmake2
ViewVC logotype

Diff of /MITgcm/tools/genmake2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.56 by edhill, Sat Dec 6 23:33:10 2003 UTC revision 1.57 by edhill, Tue Dec 9 18:58:24 2003 UTC
# Line 478  MODS= Line 478  MODS=
478  TOOLSDIR=  TOOLSDIR=
479  SOURCEDIRS=  SOURCEDIRS=
480  INCLUDEDIRS=  INCLUDEDIRS=
481  STANDARDDIRS=  STANDARDDIRS="USE_THE_DEFAULT"
482    
483  PWD=`pwd`  PWD=`pwd`
484  MAKE=make  MAKE=make
# Line 1189  done Line 1189  done
1189    
1190  echo "  Adding STANDARDDIRS"  echo "  Adding STANDARDDIRS"
1191  BUILDDIR=${BUILDDIR:-.}  BUILDDIR=${BUILDDIR:-.}
1192  if test "x$STANDARDDIRS" = x ; then  if test "x$STANDARDDIRS" = xUSE_THE_DEFAULT ; then
1193      STANDARDDIRS="eesupp model"      STANDARDDIRS="eesupp model"
1194  fi  fi
1195  for d in $STANDARDDIRS ; do  if test "x$STANDARDDIRS" != x ; then
1196      adr="$ROOTDIR/$d/src"      for d in $STANDARDDIRS ; do
1197      if test ! -d $adr ; then          adr="$ROOTDIR/$d/src"
1198          echo "Error:  directory $adr not found -- please check that ROOTDIR=\"$ROOTDIR\""          if test ! -d $adr ; then
1199          echo "  is correct and that you correctly specified the STANDARDDIRS option"              echo "Error:  directory $adr not found -- please check that ROOTDIR=\"$ROOTDIR\""
1200          exit 1              echo "  is correct and that you correctly specified the STANDARDDIRS option"
1201      else              exit 1
1202          SOURCEDIRS="$SOURCEDIRS $adr"          else
1203      fi              SOURCEDIRS="$SOURCEDIRS $adr"
1204      adr="$ROOTDIR/$d/inc"          fi
1205      if test ! -d $adr ; then          adr="$ROOTDIR/$d/inc"
1206          echo "Error:  directory $adr not found -- please check that ROOTDIR=\"$ROOTDIR\""          if test ! -d $adr ; then
1207          echo "  is correct and that you correctly specified the STANDARDDIRS option"              echo "Error:  directory $adr not found -- please check that ROOTDIR=\"$ROOTDIR\""
1208          exit 1              echo "  is correct and that you correctly specified the STANDARDDIRS option"
1209      else              exit 1
1210          INCLUDEDIRS="$INCLUDEDIRS $adr"          else
1211      fi              INCLUDEDIRS="$INCLUDEDIRS $adr"
1212  done          fi
1213        done
1214    fi
1215    
1216  echo "  Searching for *OPTIONS.h files in order to warn about the presence"  echo "  Searching for *OPTIONS.h files in order to warn about the presence"
1217  echo "    of \"#define \"-type statements that are no longer allowed:"  echo "    of \"#define \"-type statements that are no longer allowed:"

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.22