build: Use subdir-objects with Autotools
commit5c13bf9bcf0f2c585ae97a7380f82f068264eea2
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 14 Oct 2017 14:42:31 +0000 (14 15:42 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 24 Oct 2017 12:30:41 +0000 (24 13:30 +0100)
tree22dd92402f6bffcb40ef8f27d5f531fb630c22ec
parent3d4fb44653e4f0d03f8518105d931e1d0a859a4c
build: Use subdir-objects with Autotools

We're eventually going to drop Autotools, but in the meantime we should
probably use idiomatic options and reduce warnings.

GLib is pretty much already safe for subdir-objects to be enabled,
except in the GIO tests, where the build references files that are
generated in a different level. For that, we can use the same solution
employed by GTK+, and link the appropriate file in the right
sub-directory.

https://bugzilla.gnome.org/show_bug.cgi?id=788989
configure.ac
gio/tests/Makefile.am