3091 |
|
|
3092 |
# XAIF' -> WHIRL' |
# XAIF' -> WHIRL' |
3093 |
ad_input_code_sf.w2f.pre.xb.x2w.B : ad_input_code_sf.w2f.pre.xb.xaif xaif2whirl |
ad_input_code_sf.w2f.pre.xb.x2w.B : ad_input_code_sf.w2f.pre.xb.xaif xaif2whirl |
3094 |
./xaif2whirl --debug 1 -t OpenADTy_active --structured ad_input_code_sf.w2f.pre.B \$< |
./xaif2whirl --debug 1 --structured ad_input_code_sf.w2f.pre.B \$< |
3095 |
|
|
3096 |
# WHIRL' -> F' |
# WHIRL' -> F' |
3097 |
ad_input_code_sf.w2f.pre.xb.x2w.w2f.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.B whirl2f whirl2f_be |
ad_input_code_sf.w2f.pre.xb.x2w.w2f.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.B whirl2f whirl2f_be |
3098 |
./whirl2f -FLIST:ftn_file=\$@ -openad -openadType OpenADTy_active \$< |
./whirl2f -FLIST:ftn_file=\$@ -openad \$< |
3099 |
|
|
3100 |
# insert template directives |
# insert template directives |
3101 |
ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.w2f.f$FS90 ../OAD_support/insertTemplateDir.bash |
ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.w2f.f$FS90 ../OAD_support/insertTemplateDir.bash |
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: |