I think this problem was fixed before, but the problem has reappeared.
I have a Makefile.am that has a library being conditionally built.
The Makefile.am is basically:
noinst_LIBRARIES = @MAKE_LIBRSAREF@
EXTRA_LIBRARIES = librsaref.a
CLEANFILES = $(EXTRA_LIBRARIES)
# NOTES:
# don't use RSAREF's global.h - we use ours.
nodist_librsaref_a_SOURCES = \
desc.c \
digit.c \
...
BUILT_SOURCES = $(nodist_librsaref_a_SOURCES)
There's a little more to the Makefile.am, but nothing that *should* be
significant.
I've just tried using this with the latest CVS automake. The following
problem has reappeared:
% make
...
Making all in librsaref
make[2]: Entering directory `/backroom/ntp4/A.whimsy/librsaref'
make[2]: *** No rule to make target `librsaref.a.c', needed by `librsaref.a.o'. Stop.
Ideas?
Harlan