/[MITgcm]/MITgcm/tools/OAD_support/cb2mGetModules.csh
ViewVC logotype

Diff of /MITgcm/tools/OAD_support/cb2mGetModules.csh

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

revision 1.3 by jahn, Tue Apr 23 16:25:54 2013 UTC revision 1.4 by heimbach, Fri Jun 21 16:14:04 2013 UTC
# Line 4  set awkScript=${2} Line 4  set awkScript=${2}
4  echo '      MODULE '${fileName}_mod   > ${fileName}_temp  echo '      MODULE '${fileName}_mod   > ${fileName}_temp
5  echo '#include "CPP_OPTIONS.h"'      >> ${fileName}_temp  echo '#include "CPP_OPTIONS.h"'      >> ${fileName}_temp
6  echo '#include "CPP_EEOPTIONS.h"'    >> ${fileName}_temp  echo '#include "CPP_EEOPTIONS.h"'    >> ${fileName}_temp
 echo '#include "GMREDI_OPTIONS.h"'   >> ${fileName}_temp  
7  if ( ${fileName} == 'DIC_LOAD' ) then  if ( ${fileName} == 'DIC_LOAD' ) then
8    echo '#include "DIC_OPTIONS.h"'    >> ${fileName}_temp    echo '#include "DIC_OPTIONS.h"'    >> ${fileName}_temp
9  endif  endif
10    if ( ${fileName} == 'GAD' ) then
11      echo '#include "GAD_OPTIONS.h"'    >> ${fileName}_temp
12    endif
13    if ( ${fileName} == 'GMREDI' ) then
14      echo '#include "GMREDI_OPTIONS.h"'    >> ${fileName}_temp
15    endif
16    if ( ${fileName} == 'MOM_VISC' ) then
17      echo '#include "MOM_COMMON_OPTIONS.h"'    >> ${fileName}_temp
18    endif
19    if ( ${fileName} == 'SHAP_FILT' ) then
20      echo '#include "SHAP_FILT_OPTIONS.h"'    >> ${fileName}_temp
21    endif
22  if ( ${fileName} != 'SIZE' &&  ${fileName} != 'MNC_COMMON' &&  ${fileName} != 'EEPARAMS' ) then  if ( ${fileName} != 'SIZE' &&  ${fileName} != 'MNC_COMMON' &&  ${fileName} != 'EEPARAMS' ) then
23    echo '      use SIZE_mod'          >> ${fileName}_temp    echo '      use SIZE_mod'          >> ${fileName}_temp
24  endif  endif

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22