/[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.52 by adcroft, Thu Dec 4 15:00:01 2003 UTC revision 1.55 by jmc, Sat Dec 6 00:34:29 2003 UTC
# Line 1177  for i in $PACKAGES ; do Line 1177  for i in $PACKAGES ; do
1177  #EH3  WARNING :  This is an UGLY HACK that needs to be removed!!!  #EH3  WARNING :  This is an UGLY HACK that needs to be removed!!!
1178      case $i in      case $i in
1179          aim_v23)          aim_v23)
             DEFINES="$DEFINES -DALLOW_AIM"  
1180              ENABLED_PACKAGES="$ENABLED_PACKAGES -DALLOW_AIM"              ENABLED_PACKAGES="$ENABLED_PACKAGES -DALLOW_AIM"
1181              echo "Warning: ALLOW_AIM is set to enable aim_v23. This is REALLY ugly Jean-Michel :-)"              echo "Warning: ALLOW_AIM is set to enable aim_v23."
1182              ;;              ;;
1183      esac      esac
1184  #EH3  WARNING :  This is an UGLY HACK that needs to be removed!!!  #EH3  WARNING :  This is an UGLY HACK that needs to be removed!!!
# Line 1218  spaths=". $INCLUDEDIRS" Line 1217  spaths=". $INCLUDEDIRS"
1217  names=`ls -1 "$ROOTDIR/pkg"`  names=`ls -1 "$ROOTDIR/pkg"`
1218  for i in $spaths ; do  for i in $spaths ; do
1219      try="$i/CPP_OPTIONS.h"      try="$i/CPP_OPTIONS.h"
1220      if test -f $try -a -r $try -a "x$CPP_OPTIONS" == x ; then      if test -f $try -a -r $try -a "x$CPP_OPTIONS" = x ; then
1221          echo "    found CPP_OPTIONS=\"$try\""          echo "    found CPP_OPTIONS=\"$try\""
1222          CPP_OPTIONS="$try"          CPP_OPTIONS="$try"
1223          # New safety test: make sure packages are not mentioned in CPP_OPTIONS.h          # New safety test: make sure packages are not mentioned in CPP_OPTIONS.h
# Line 1227  for i in $spaths ; do Line 1226  for i in $spaths ; do
1226          done          done
1227      fi      fi
1228      try="$i/CPP_EEOPTIONS.h"      try="$i/CPP_EEOPTIONS.h"
1229      if test -f $try -a -r $try -a "x$CPP_EEOPTIONS" == x ; then      if test -f $try -a -r $try -a "x$CPP_EEOPTIONS" = x ; then
1230          echo "    found CPP_EEOPTIONS=\"$try\""          echo "    found CPP_EEOPTIONS=\"$try\""
1231          # New safety test: make sure MPI is not determined by CPP_EEOPTIONS.h          # New safety test: make sure MPI is not determined by CPP_EEOPTIONS.h
1232  #**** not yet enabled ****  #**** not yet enabled ****
# Line 1353  EXE_FTL=$EXECUTABLE"_ftl" Line 1352  EXE_FTL=$EXECUTABLE"_ftl"
1352  EXE_SVD=$EXECUTABLE"_svd"  EXE_SVD=$EXECUTABLE"_svd"
1353    
1354  cat >>$MAKEFILE <<EOF  cat >>$MAKEFILE <<EOF
1355    #
1356    # OPTFILE="$OPTFILE"
1357  #  #
1358  # BUILDDIR     : Directory where object files are written  # BUILDDIR     : Directory where object files are written
1359  # SOURCEDIRS   : Directories containing the source (.F) files  # SOURCEDIRS   : Directories containing the source (.F) files

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.55

  ViewVC Help
Powered by ViewVC 1.1.22