xfstests: Use common rules to build binaries
authorDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 23:26:10 +0000 (10:26 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 23:26:10 +0000 (10:26 +1100)
commit387165ab4058091ac514cb6b643cd310f5994f62
tree08fcdd9ed16332936b35e7d6420b5c5f00950345
parent50f99d08efcf8bec787e035e99aed0b932d1a358
xfstests: Use common rules to build binaries

Remove explicit target-per-file rules in the subdirectories being
built and replace them with target based rules using the buildrules
hooks for doing this.  This results in the makefiles being simpler,
smaller and more consistent. It does mean that all binaries are
linked against the common set of libraries but this does not cause
any harm.

This patch does not address the dmapi subdirectory of the xfstests
build system.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
ltp/Makefile
src/Makefile
src/aio-dio-regress/Makefile