automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "include $(top_builddir)/aminclude.am" is ignored by automake


From: Tom Howard
Subject: Re: "include $(top_builddir)/aminclude.am" is ignored by automake
Date: Wed, 9 Feb 2005 19:28:32 +1100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 09/02/2005, at 9:10 AM, Alexandre Duret-Lutz wrote:

How does this things require the Makefile fragment to be
generated?  IOW, why not simply `include common-rules.mk'?

Actually I originally did it this way, but some of the rules are only placed in common-rules.mk in certain circumstances, which is checked by the m4 macro (previously I was using am conditionals), which meant there were two files for each extra rule (or group of rules). Also different projects may not require the same common rules, so I prefer to keep separate functionality in separate files, but doing so as different mk files makes including them all in each Makefile awkward.

Finally, I'm hoping that the functionality the extra rules provide will be useful to others and while there is an technique and archive for autoconf extensions, there doesn't (to my knowledge) seem to be one for extending automake. If you have any other suggestions please let me know. Thanks in advance.

Cheers,

Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCCcmxw1G4ZUM7KZoRAiLdAKCrXMgOIaSjvMYA6L6HNJopc02DRgCfUOUU
D2wqLo9lXkOcow1lWfObl5c=
=0oEx
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]