3 # 26.02.2006 Volker Quetschke
4 # Test if dmake complains about circular dependencies when using
5 # infered .INCLUDE targets
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( $ -> \$ ).
20 # Verify that makefile generation is finished when using it
28 .INCLUDE : mytarget.dpcc
34 output
=`eval ${DMAKEPROG} -r -f $file1`
37 test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
38 test $result -ne 0 && echo "Failure! Invalid circular dependency detected."