New "make check-headers" rule.
authorPedro Alves <palves@redhat.com>
Mon, 13 Jan 2014 19:36:38 +0000 (19:36 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 13 Jan 2014 19:36:38 +0000 (19:36 +0000)
commitf71e1a8ddb5a41dddb0dea92aefe694e26d4c174
tree2f76315042d7c0e511ef01c3412bbd0c91eca57a
parent42c85435d662ce7e355bb7d2b9c14675ebb6a1a1
New "make check-headers" rule.

Tries to compile each header in isolation, thus ensuring headers are
self-contained.

Defaults to checking all $HFILES_NO_SRCDIR headers.

Do:

  make check-headers CHECK_HEADERS="header.h list.h"

to check specific headers.

gdb/
2014-01-13  Pedro Alves  <palves@redhat.com>

        * Makefile.in (CHECK_HEADERS): New variable.
        (check-headers:): New rule.
gdb/ChangeLog
gdb/Makefile.in