* lib/Makefile gets variables suitable for src/Makefile
@ 2011-02-19 12:48 Eli Zaretskii
2011-02-19 22:10 ` Paul Eggert
0 siblings, 1 reply; 2+ messages in thread
From: Eli Zaretskii @ 2011-02-19 12:48 UTC (permalink / raw)
To: Paul Eggert; +Cc: emacs-devel
I noticed that after running the configure script on a GNU/Linux
system, lib/Makefile defines a large number of variables that are
really specific to src/Makefile. Here's a small example:
FONTCONFIG_CFLAGS =
FONTCONFIG_LIBS = -lfontconfig
FONT_OBJ = xfont.o ftfont.o xftfont.o ftxfont.o
FREETYPE_CFLAGS =
FREETYPE_LIBS =
GCONF_CFLAGS =
GCONF_LIBS =
(The full list is very large.)
Is this intended and/or expected? I know that unused variables don't
do any harm (except, perhaps, bloating Make's memory footprint), but
still, it looks rather unclean to me.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: lib/Makefile gets variables suitable for src/Makefile
2011-02-19 12:48 lib/Makefile gets variables suitable for src/Makefile Eli Zaretskii
@ 2011-02-19 22:10 ` Paul Eggert
0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2011-02-19 22:10 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
On 02/19/2011 04:48 AM, Eli Zaretskii wrote:
> lib/Makefile defines a large number of variables that are
> really specific to src/Makefile....
> Is this intended and/or expected?
It's not intended, but it's expected. Automake picks up
those variables from configure.in, and puts them into the
lib/Makefile.in that it generates. I suppose we could "fix"
the problem by having a separate configure.in just for lib,
but that would be more trouble than it's worth.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-19 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-19 12:48 lib/Makefile gets variables suitable for src/Makefile Eli Zaretskii
2011-02-19 22:10 ` Paul Eggert
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).