* Adam Mercer wrote on Mon, May 04, 2009 at 11:27:10PM CEST:
> $ make -j2
> <snip>
> /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../include -I../include/lal   -I/opt/local/include
> -I/opt/local/include   -I/opt/local/include   -DFR_LONG_LONG
> -I/opt/local/include    -g -W -Wall  -MT LALEmpty.lo -MD -MP -MF
> .deps/LALEmpty.Tpo -c -o LALEmpty.lo LALEmpty.c
> echo 'const char *lalBuildDate = "'`date +"%Y-%m-%dT%H:%M:%S%z"`'";'
> >LALBuildDate.c
> gcc -DHAVE_CONFIG_H -I. -I../include -I../include/lal
> -I/opt/local/include   -I/opt/local/include   -I/opt/local/include
> -DFR_LONG_LONG -I/opt/local/include    -g -W -Wall  -MT lal-version.o
> -MD -MP -MF .deps/lal-version.Tpo -c -o lal-version.o lal-version.c
> make[2]: *** No rule to make target `../lib/liblal.la', needed by
> `lal-version'.  Stop.

I assume the Makefile.am you posted is in the lib subdirectory, right?
If yes, then change this

> lal_version_LDADD = $(top_builddir)/lib/liblal.la

to this:

  lal_version_LDADD = liblal.la

as 'make' is not smart enough to see that these paths are identical.

Cheers,
Ralf


Reply via email to