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

List:       kde-core-devel
Subject:    Re: Makefile.am problem
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-12-10 13:47:45
[Download RAW message or body]

On Monday 10 December 2001 14:41, Cornelius Schumacher wrote:
> On Monday 10 December 2001 14:11, Simon Hausmann wrote:
> > On Mon, Dec 10, 2001 at 01:45:17PM +0100, Cornelius Schumacher wrote:
> > > Why does this not work? It's from kdepim/kalarmd/Makefile.am.
> > >
> > >   lib_LTLIBRARIES = libkalarmd.la
> > >
> > >   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?

That bug is called automake...

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/
KDE 3.0: Konquering the Desktops
[prev in list] [next in list] [prev in thread] [next in thread] 

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