Re: Variable list modification

2011-04-20 Thread Paul Smith
On Thu, 2011-04-21 at 01:16 +0200, Ralf Wildenhues wrote: > Hello Justin, > > * Too, Justin A. wrote on Wed, Apr 20, 2011 at 11:33:26PM CEST: > > FOO=1 2 > > $(FOO:=bar) => 1bar 2bar. > > > > Is there a way to prepend bar? > > This is a GNU make question, or maybe a Posix make question, dependin

Re: Implicitly specify compiler flags based on library dependencies

2011-04-20 Thread Ralf Wildenhues
Hello Daniel, * Daniel Neuberger wrote on Wed, Apr 20, 2011 at 03:56:15PM CEST: > Is there any way to make a dependent library implicitly use any > compiler flags used by a library on which it depends? Not automatically. libtool has 'inherited_linker_flags', but it is not appropriate for your us

Re: Use partial relative path in LIBADD

2011-04-20 Thread Ralf Wildenhues
Hello Daniel, * Daniel Neuberger wrote on Wed, Apr 20, 2011 at 03:31:25PM CEST: > Is there a way to translate this: > >libfoo_la_LIBADD = $(top_builddir)/some/path/libfoobar.la > > to this: > >libfoo_la_LIBADD = some/path/libfoobar.la > > with Automake? Unforteunately not; neither mak

Re: Variable list modification

2011-04-20 Thread Ralf Wildenhues
Hello Justin, * Too, Justin A. wrote on Wed, Apr 20, 2011 at 11:33:26PM CEST: > FOO=1 2 > $(FOO:=bar) => 1bar 2bar. > > Is there a way to prepend bar? This is a GNU make question, or maybe a Posix make question, depending on what you target. In Posix make, the answer is no. With GNU make, you

Re: can't send to list

2011-04-20 Thread Ralf Wildenhues
Hello Daniel, * Neuberger, Daniel [USA] wrote on Wed, Apr 20, 2011 at 04:39:05PM CEST: > Sorry that this is off topic (I couldn't find a more appropriate list > though), but it seems that I cannot send to this list even though I'm > subscribed. My initial subscription was with gmail and I got the

Variable list modification

2011-04-20 Thread Too, Justin A.
Hi all, FOO=1 2 $(FOO:=bar) => 1bar 2bar. Is there a way to prepend bar? Thanks, Justin

Re: exclude generated sources from dist

2011-04-20 Thread Nick Bowler
On 2011-04-19 10:09 -0600, Nicolas Bock wrote: > I can't figure out how to exclude some source files I generate with a script > in the dist. > > The problem it seems is that I list the generated sources in the _SOURCES > variable and the dist target automatically includes them. nodist_mumble_SOUR

exclude generated sources from dist

2011-04-20 Thread Nicolas Bock
Hello list, I can't figure out how to exclude some source files I generate with a script in the dist. The problem it seems is that I list the generated sources in the _SOURCES variable and the dist target automatically includes them. But I need to rebuild the sources at compile time of the packag

Implicitly specify compiler flags based on library dependencies

2011-04-20 Thread Daniel Neuberger
Is there any way to make a dependent library implicitly use any compiler flags used by a library on which it depends? I'm running into two problems that this would solve. The first is illustrated by these Makefile.amS: # libfoo AM_CPPFLAGS = -I/some/include_path lib_LTLIBRARIES = libfoo.la libf

can't send to list

2011-04-20 Thread Neuberger, Daniel [USA]
All, Sorry that this is off topic (I couldn't find a more appropriate list though), but it seems that I cannot send to this list even though I'm subscribed. My initial subscription was with gmail and I got the list welcome message, but my messages still aren't getting through. They're just be

Use partial relative path in LIBADD

2011-04-20 Thread Daniel Neuberger
Is there a way to translate this: libfoo_la_LIBADD = $(top_builddir)/some/path/libfoobar.la to this: libfoo_la_LIBADD = some/path/libfoobar.la with Automake? Thanks! - Daniel P.S. I apologize in advance if this comes through twice. I sent it yesterday, but it never showed up.

implicitly specify compiler flags based on library dependencies

2011-04-20 Thread Daniel Neuberger
Is there any way to make a dependent library implicitly use any compiler flags used by a library on which it depends? I'm running into two problems that this would solve. The first is illustrated by these Makefile.amS: # libfoo AM_CPPFLAGS = -I/some/include_path lib_LTLIBRARIES = libfoo.la libfo

Use partial relative path in LIBADD

2011-04-20 Thread Daniel Neuberger
Is there a way to translate this: libfoo_la_LIBADD = $(top_builddir)/some/path/libfoobar.la to this: libfoo_la_LIBADD = some/path/libfoobar.la with Automake? Thanks! - Daniel