Get rid of other-OS headers in .depend
authorBruce Cran <bruce@cran.org.uk>
Thu, 16 Dec 2010 07:52:42 +0000 (08:52 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 16 Dec 2010 07:52:42 +0000 (08:52 +0100)
commit59e733f272bbbe32f2aaa4f068d99e7f71fce337
treeb07ce85dfd892710dafd555ab67263fe1fe9ffa1
parentebdadcb93e19054d594746de4e7b659b09446d8a
Get rid of other-OS headers in .depend

It looks like blktrace_api.h is being parsed through the depend rule
in Makefile.[FreeBSD|NetBSD|mac] due to the headers being listed in
$(SOURCE) - gcc just ignores missing <> headers while clang generates an
error as it builds the dependency list. Since headers which are
included within source files will be listed as a dependency anyway, I
think they can be removed from $(SOURCE).

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Makefile.FreeBSD
Makefile.NetBSD
Makefile.mac