[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Makefile.am problem
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2001-12-10 13:51:40
[Download RAW message or body]

On Mon, Dec 10, 2001 at 02:41:15PM +0100, Cornelius Schumacher wrote:
> > >   libkalarmd_la_LDFLAGS = $(all_libraries) $(KDE_RPATH)
> > >   libkalarmd_la_LIBADD  = $(LIB_KDECORE)
> > >   libkalarmd_la_SOURCES =  alarmdaemoniface.stub
> > >
> > > The generated Makefile contains the following line, which fails, because
> > > $(LINK) is empty:
> > >
> > >   libkalarmd.la: $(libkalarmd_la_OBJECTS) $(libkalarmd_la_DEPENDENCIES)
> > > 	$(LINK) -rpath $(libdir) $(libkalarmd_la_LDFLAGS)
> > > $(libkalarmd_la_OBJECTS) $(libkalarmd_la_LIBADD) $(LIBS)
> >
> > Does it work if you add a dummy.cc to the _SOURCES along with a
> > target for it?
> >
> > dummy.cc:
> >         echo > dummy.cc
> 
> Nice trick :-) Yes, this helps, thanks. But it's a bug that this is 
> necessary, isn't it?

I guess the bug is on our side, by using odd filenames in _SOURCES ;-) 
It looks like automake gets confused by not seeing any 'compilable' 
sources in _SOURCES. (and automake has no idea that am_edit.pl comes
after it, to clean up our mess ;-)

Simon
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic