build,plugins: update build rules

We try to combine in common envvars the compiler and linker flags shared by the
different components, and where possible, also re-using the implicit AM_CFLAGS
and AM_LDFLAGS variables that automake provides, and which apply to all objects
being built in the same Makefile.am.

The plugins build rules are also updated so that whenever a plugin has some
testable 'helpers', these are compiled into a noinst library and then the new
library included by both the plugin and the tester program. This avoids multiple
recompilations of the same sources for different objects.
This commit is contained in:
Aleksander Morgado
2016-03-15 12:57:01 +01:00
parent 3b8361eb06
commit f9c63bfa05

File diff suppressed because it is too large Load Diff