]> git.tuebingen.mpg.de Git - paraslash.git/commit - m4/gengetopt/makefile
Generate ggo dependencies automatically.
authorAndre Noll <maan@systemlinux.org>
Wed, 19 Jun 2013 18:33:43 +0000 (20:33 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 31 Jul 2013 21:56:15 +0000 (23:56 +0200)
commite249d1054762f7a3db4f04655dd662a221787a97
treef1cce47da6d1b9fb500f660440fea7b256207b48
parent8bf7279f6aee8178b6011af7548ba6f908346361
Generate ggo dependencies automatically.

Currently we maintain the dependency list of each ggo file manually in
m4/gengetopt/makefile. This is tedious and error-prone, and missing
dependencies result in build failures which are not repeatable and
hard to locate.

This changes the build system to keep track of these dependencies
automatically. We now create one .m4d file for each executable. This
file lists the dependencies of the corresponding ggo file, i.e. those
m4 files which are included in order to make the ggo.

All .m4d files are pulled in from the main Makefile via the -include
directive, in the same way we include the object dependency files
(.d) generated by gcc.
Makefile.in
m4/gengetopt/makefile