diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-06-17 13:41:05 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-06-17 17:42:09 +0200 |
commit | 11d59de600e4af093db642279945d79efa5d1f33 (patch) | |
tree | f7de809da080787c2a32b94b95b2d56b086a37d6 /linker-script-settings.ver | |
parent | 721f238946efd26ca04335633dac34353c9d44e9 (diff) | |
download | NetworkManager-11d59de600e4af093db642279945d79efa5d1f33.tar.gz |
build/autotools: generate "config-extra.h" via makefile "config-extra.h.mk"
When the code that generates "config-extra.h" changes, we want to regenerate
the file. Move that code to a separate makefile so we can add a
dependency.
Otherwise, we'd had to depend on "Makefile", which itself is generated by
Makefile.am.
Also, depend on "config.h" to regenerate it when ./configure runs and
touches that header. This may not cover all cases where ./configure's
configuration changes and a regeneration would be due. But such is life.
Also, most components depend on this header, so let various .dirstamp
files depend on it, so we are sure to build this first. That because,
autotools generates dependencies for header files automatically, but
that requires that the header file exist. Such automatic dependencies
don't work out-of-the-box for generated headers.
Co-authored-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'linker-script-settings.ver')
0 files changed, 0 insertions, 0 deletions