Add dependencies from the def files to the libraries that generate them
authorMartin Storsjo <martin@martin.st>
Tue, 15 Nov 2011 09:29:58 +0000 (11:29 +0200)
committerSimon Josefsson <simon@josefsson.org>
Wed, 16 Nov 2011 13:25:53 +0000 (14:25 +0100)
commitb774d6d772da3ee1a4d8b7d92a86ff7a52ec96b8
tree30f41b0578a6426af85b5e92c5db17eec16529ce
parent54e3f5b50c173083ef8e870d1b29321f06cc8873
Add dependencies from the def files to the libraries that generate them

This avoids build failures in parallel builds, where builds
could fail with this error message:

make[2]: *** No rule to make target `libgnutls-26.def', needed by `all-am'.  Stop.

There is no direct rules that generate it, but it is generated
as a byproduct when building libgnutls.la. By marking the la
file as a dependency, make won't bail out by not finding the file
until that dependency is built, and at that point, the def file
exists.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
extra/Makefile.am
lib/Makefile.am