interface: make language bindings depend on all relevant headers
commita1c259a0c979c050a4df160ff16669328bf48619
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 25 May 2017 10:07:57 +0000 (25 12:07 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 25 May 2017 13:58:38 +0000 (25 15:58 +0200)
treedff869f4f03c7e442e8aaceb03804df981398953
parenta564d25227813ab142ec79f06505ecd2565b2c96
interface: make language bindings depend on all relevant headers

The C++ language bindings were only made to depend on the all.h header
in 81c38ef4ce (cpp: generate C++ wrapper classes,
Sat Apr 8 05:12:50 2017 +0200) and this header itself only changes
very rarely.  In particular, the bindings were not made to depend
on the headers included by the all.h header.

Add a dependence to a dummy library that gets rebuilt whenever
one of the relevant headers is changed.
Rebuilding the C++ bindings whenever these headers change is important
for the unit tests that will be added in the next commit.

Also add such a dependence for the Python bindings.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
interface/Makefile.am
interface/all.c [new file with mode: 0644]