/[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.5 by adcroft, Thu Oct 2 14:27:50 2003 UTC revision 1.11.2.6 by edhill, Thu Oct 2 14:42:04 2003 UTC
# Line 841  C  edit anything below these comments. Line 841  C  edit anything below these comments.
841  C  add or remove packages by re-running genmake with different  C  add or remove packages by re-running genmake with different
842  C  "-enable" and/or "-disable" options.  C  "-enable" and/or "-disable" options.
843    
844    #ifndef PACKAGES_H
845    #define PACKAGES_H
846    
847  C  Packages disabled by genmake:  C  Packages disabled by genmake:
848  EOF  EOF
849  #  The following UGLY HACK sets multiple "#undef"s and it needs to go  #  The following UGLY HACK sets multiple "#undef"s and it needs to go
# Line 900  for i in $PACKAGES ; do Line 903  for i in $PACKAGES ; do
903  #EH3  WARNING :  This is an UGLY HACK that needs to be removed!!!  #EH3  WARNING :  This is an UGLY HACK that needs to be removed!!!
904    
905  done  done
906    cat <<EOF >>$PACKAGES_DOT_H".tmp"
907    
908    #endif /* PACKAGES_H */
909    EOF
910    
911  if test ! -f $PACKAGES_DOT_H ; then  if test ! -f $PACKAGES_DOT_H ; then
912      mv -f $PACKAGES_DOT_H".tmp" $PACKAGES_DOT_H      mv -f $PACKAGES_DOT_H".tmp" $PACKAGES_DOT_H
913  else  else

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

  ViewVC Help
Powered by ViewVC 1.1.22