include = $HERE/fcm2_base.cfg

step.class[preprocess2] = preprocess
step.class[build2]      = build

steps = extract preprocess build preprocess2 build2

preprocess2.prop{no-step-source} = preprocess
preprocess2.ns-excl = / test_suite/subroutine/hello_c.c
preprocess2.ns-incl = test_suite/subroutine test_suite/program
preprocess2.prop{fpp} = wrap_pp
preprocess2.prop{fpp.defs}[test_suite/subroutine/hello_sub.F90] = HELLO_SUB
preprocess2.prop{fpp.defs}[test_suite/program/hello.F90] = CALL_HELLO_SUB

build2.prop{no-step-source} = preprocess
build2.prop{file-ext.script} = .pro
build2.prop{fc} = wrap_fc
build2.prop{fc.flags} = $fcflags
build2.prop{fc.flags}[test_suite/subroutine] = $fcflags -O3
build2.prop{cc} = wrap_cc
build2.prop{cc.flags} = -O3
build2.prop{ar} = wrap_ar
build2.prop{dep.o.special}[test_suite/program] = hello_blockdata.o
build2.prop{fc.defs}[test_suite/blockdata] = ODD
build2.target = hello.sh
