[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10128: am_foo_OBJECTS is empty when ...
From: |
Sebastian Freundt |
Subject: |
bug#10128: am_foo_OBJECTS is empty when ... |
Date: |
Thu, 24 Nov 2011 12:02:05 +0000 |
User-agent: |
Gnus/5.110014 (No Gnus v0.14) SXEmacs/22.1.14 (linux) |
The (internal) variable am_foo_OBJECTS is empty when OBJEXT has been
redefined *and* no .SOURCE_EXT.o rule is present.
Example:
--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
AM_DEFAULT_SOURCE_EXT = .lisp
OBJEXT = fasl
noinst_PROGRAMS = foo
foo_SOURCES = bar.lisp
.lisp.fasl:
touch $@
--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
Now the generated Makefile lists:
am_foo_OBJECTS =
foo_OBJECTS = $(am_foo_OBJECTS)
However, adding a .lisp.o (the old OBJEXT) magically makes it all work:
--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
AM_DEFAULT_SOURCE_EXT = .lisp
OBJEXT = fasl
noinst_PROGRAMS = foo
foo_SOURCES = bar.lisp
.lisp.o: ## just be
.lisp.fasl:
touch $@
--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
am_foo_OBJECTS = bar.$(OBJEXT)
foo_OBJECTS = $(am_foo_OBJECTS)
Affected automake versions: all, 1.11.1 in particular.
Cheers,
Sebastian
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#10128: am_foo_OBJECTS is empty when ...,
Sebastian Freundt <=