X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fgen_deps.sh;h=4429afaae907c4d7f9dbf1f000d903b57bc3effd;hp=19cd3d631960d6b12a3fbf0a9d43ffde0321e077;hb=f6557ca6537bc4d37fb4be215184a632533ba4e7;hpb=61f58ff94e35c9b8ac5488554e2554bc5c9888b3 diff --git a/tools/gen_deps.sh b/tools/gen_deps.sh index 19cd3d63..4429afaa 100755 --- a/tools/gen_deps.sh +++ b/tools/gen_deps.sh @@ -14,14 +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/.full.ok: \$(${module}_ok_deps:%.ok=%.full.ok)" -echo "${module}.check: $path/.ok" -echo "${module}.fastcheck: $path/.fast.ok" -echo "${module}.fullcheck: $path/.full.ok"