[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Makefile.am problem
From: Stephan Kulow <coolo () kde ! org>
Date: 2001-12-11 11:44:32
[Download RAW message or body]
On Monday, 10. December 2001 13:45, Cornelius Schumacher wrote:
> Why does this not work? It's from kdepim/kalarmd/Makefile.am.
(Tss, taking one day off and suddenly Cornelius lacks all automake knowledge
:)
>
> 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)
The reason is simple: automake can't find out what language you're using. the
replacement for .stub is done after automake ran. If you point automake to
the language in adding a dummy.cc file in the _SOURCES line, it will work
Greetings, Stephan
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic