3 # 17.11.2006 Volker Quetschke
4 # Check that parallel builds $(shell ...) only waits its own target and
5 # not for all previous recipe lines.
11 tmpfiles
="$file1 $file2"
13 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15
15 # Remove files from prior failed run
18 # Remember to quote variables in generated makefiles( $ -> \$ ).
34 @+printf "\$(shell @+echo "3")"
38 output
=`eval ${DMAKEPROG} -r -P2 -f $file1`
41 if test "$output" != "1234all"; then
42 echo "Wrong result: $output - expecting: 1234all"
46 test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
47 test $result -ne 0 && echo "Failure!"