/[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.11.2.6 by edhill, Thu Oct 2 14:42:04 2003 UTC revision 1.11.2.9 by edhill, Fri Oct 3 18:54:16 2003 UTC
# Line 72  find_possible_configs()  { Line 72  find_possible_configs()  {
72    
73      tmp1=`uname`"_"`uname -m`      tmp1=`uname`"_"`uname -m`
74      tmp2=`echo $tmp1 | sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`      tmp2=`echo $tmp1 | sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
75      PLATFORM=`echo $tmp2 | sed -e 's/i[3-6]86/ia32/'`      PLATFORM=`echo $tmp2 | sed -e 's/i[3-6]86/ia32/' | sed -e 's/athlon/ia32/'`
76      OFLIST=`(cd $ROOTDIR/tools/build_options; ls | grep "^$PLATFORM")`      OFLIST=`(cd $ROOTDIR/tools/build_options; ls | grep "^$PLATFORM")`
77      echo "  The platform appears to be:  $PLATFORM"      echo "  The platform appears to be:  $PLATFORM"
78  #     if test "x$OFLIST" = x ; then  #     if test "x$OFLIST" = x ; then
# Line 833  done Line 833  done
833  # echo  # echo
834    
835  # Create a list of #define and #undef to enable/disable packages  # Create a list of #define and #undef to enable/disable packages
836  PACKAGES_DOT_H=PACKAGES.h  PACKAGES_DOT_H=PACKAGES_CONFIG.h
837  cat <<EOF >$PACKAGES_DOT_H".tmp"  cat <<EOF >$PACKAGES_DOT_H".tmp"
838  C=== GENMAKE v2 ===  C=== GENMAKE v2 ===
839  C  The following defines have been set by GENMAKE, so please do not  C  The following defines have been set by GENMAKE, so please do not

Legend:
Removed from v.1.11.2.6  
changed lines
  Added in v.1.11.2.9

  ViewVC Help
Powered by ViewVC 1.1.22