2825 |
adtaf: ad_taf_output.$FS |
adtaf: ad_taf_output.$FS |
2826 |
adtamc: ad_tamc_output.$FS |
adtamc: ad_tamc_output.$FS |
2827 |
|
|
2828 |
ad_input_code.$FS: \$(AD_FILES) \$(H_SRC_FILES) |
ad_input_code.$FS: \$(AD_FILES) \$(H_SRC_FILES) \$(AD_FLOW_FILES) |
2829 |
@$BASH\$(TOOLSDIR)/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -DALLOW_ADJOINT_RUN -UALLOW_TANGENTLINEAR_RUN -UALLOW_ECCO_OPTIMIZATION > ad_config.template |
@$BASH\$(TOOLSDIR)/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -DALLOW_ADJOINT_RUN -UALLOW_TANGENTLINEAR_RUN -UALLOW_ECCO_OPTIMIZATION > ad_config.template |
2830 |
cmp ad_config.template AD_CONFIG.h || cat ad_config.template > AD_CONFIG.h |
cmp ad_config.template AD_CONFIG.h || cat ad_config.template > AD_CONFIG.h |
2831 |
-rm -f ad_config.template |
-rm -f ad_config.template |
3103 |
|
|
3104 |
PPEXTRAS=\$(wildcard ../OAD_support/ad_template.*.F) ../OAD_support/ad_inline.F |
PPEXTRAS=\$(wildcard ../OAD_support/ad_template.*.F) ../OAD_support/ad_inline.F |
3105 |
# postprocess F' |
# postprocess F' |
3106 |
ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.pp.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.f$FS90 multi-pp.pl \$(PPEXTRAS:.F=.f) |
ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.pp.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.f$FS90 postProcess.py \$(PPEXTRAS:.F=.f) |
3107 |
perl multi-pp.pl -inline=../OAD_support/ad_inline.f \$< |
./postProcess.py -m r -i ../OAD_support/ad_inline.f -o \$@ \$< |
|
# the postprocessor still gets the name wrong |
|
|
cat \$<.pp | sed 's/RETURN//' > \$@ |
|
3108 |
|
|
3109 |
# extract all transformed modules |
# extract all transformed modules |
3110 |
all_mods.xb.x2w.w2f.pp.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.pp.f$FS90 |
all_mods.xb.x2w.w2f.pp.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.pp.f$FS90 |
3131 |
whirl2xaif xaif2whirl: |
whirl2xaif xaif2whirl: |
3132 |
\$(LN) \${OPENADFORTTK}/bin/\$@ . |
\$(LN) \${OPENADFORTTK}/bin/\$@ . |
3133 |
|
|
3134 |
%.pl: |
preProcess.py postProcess.py: |
|
\$(LN) \${OPENADFORTTK}/bin/\$@ . |
|
|
|
|
|
preProcess.py: |
|
3135 |
\$(LN) \${OPENADFORTTK_BASE}/tools/SourceProcessing/\$@ . |
\$(LN) \${OPENADFORTTK_BASE}/tools/SourceProcessing/\$@ . |
3136 |
|
|
3137 |
whirl2f whirl2f_be: |
whirl2f whirl2f_be: |