[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New module gnu-make
From: |
Eric Blake |
Subject: |
Re: New module gnu-make |
Date: |
Fri, 16 Nov 2007 06:17:46 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Paul Eggert on 11/15/2007 5:03 PM:
> The first module, "gnu-make", addresses the problem that coreutils
> currently relies on a GNU Make extension that isn't defined in POSIX.
> Adding this feature will make it easy to write Makefiles that can take
> advantage of this, by putting something like this into Makefile.am:
>
> if GNU_MAKE
> [nicer features that work only with GNU Make]
> else
> [fallback features that work in any 'make' implementation]
> endif
I'm wondering if this feature could also be useful for projects that have
a maintainer's GNUMakefile, but want to perform VPATH builds. In other
words, by using this module, could we add some sort of:
if GNU_MAKE
include $(top_srcdir)/GNUMakefile
endif
that automatically pulls in the GNUMakefile without having to symlink it
into the VPATH build tree?
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHPZh684KuGfSFAYARAn5eAKC6EyIaxE2K41AOvhlxIeKV6FqkEgCguwQm
WofKwiE8phPxXKdsOhqAew4=
=ce9A
-----END PGP SIGNATURE-----