X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fgen_deps.sh;h=d20fb8eee72661a85e47d005a1e2423924c1a277;hp=e38dffab022cae2fc5f6ddf683f34adf1c69aa08;hb=0bfaf906c83acf8c68984b505fce1bd9c67c2638;hpb=214086cfafb1f5bf7785a29f4497f3adf196ed8b diff --git a/tools/gen_deps.sh b/tools/gen_deps.sh index e38dffab..d20fb8ee 100755 --- a/tools/gen_deps.sh +++ b/tools/gen_deps.sh @@ -14,10 +14,10 @@ test_srcs=`ls $path/test/*.[ch] 2>/dev/null | tr '\n' ' '` module_objs=`ls $path/*.c 2>/dev/null | sed 's/.c$/.o/g' | tr '\n' ' '` # ... and on the modules this test uses having passed their tests -deps=$(echo `$path/info testdepends` `$path/info depends` | tr ' ' '\n' | \ +deps=$(echo `$path/info depends` | tr ' ' '\n' | \ sort | uniq | sed -e 's/$/\/.ok/g' -e '/^\/.ok$/d' | tr '\n' ' ') # Print the test targets and target aliases echo "${module}_ok_deps := $test_srcs $module_objs $deps" echo "$path/.ok: \$(${module}_ok_deps)" -echo "$path/.fast.ok: \$(${module}_ok_deps:%.ok=%.fast.ok)" +echo "$path/.fast-ok: \$(${module}_ok_deps:%.ok=%.fast-ok)"