[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:11:25
[Download RAW message or body]

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


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

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