On Sun, Mar 17, 2002 at 07:54:33PM -, Stephano Mariani wrote:
> I don't use C++, but it works for CFLAGS... try without the AM_ prefix
> ie libfoo_la_CFLAGS = ... and make sure that you use automake
> --add-missing (I'm not sure what the option is called, but it causes a
> script called 'compi
> "Roger" == Roger Leigh <[EMAIL PROTECTED]> writes:
Roger> Is automake CVS available anonymously?
Roger> Sorry for being lame--I found it on Savannah.
The Savannah copy is frequently out-of-date.
The real automake can be found here:
http://sources.redhat.com/automake/
Tom
> "Roger" == Roger Leigh <[EMAIL PROTECTED]> writes:
Akim> IMHO, this is obfuscating the code. The real means (again,
Akim> IMHO) to address this issue should be to use an install-sh which
Akim> creates the directories and their parents when needed.
[ ... ]
Roger> True. It won't be compat
> "Roger" == Roger Leigh <[EMAIL PROTECTED]> writes:
Roger> I sent a link to my patch a week ago, but I didn't see any
Roger> reply. Is there anything wrong with this patch?
This is actually a tricky area.
For instance, how is the `installdirs' target going to work?
This target is sort of b
I don't use C++, but it works for CFLAGS... try without the AM_ prefix
ie libfoo_la_CFLAGS = ... and make sure that you use automake
--add-missing (I'm not sure what the option is called, but it causes a
script called 'compile' to be added).
Stephano Mariani
> -Original Message-
> From:
In case it matters, I use libtool-1.4.2.
Perhaps I need to upgrade that for the
*_AM_CXXFLAGS to work?
--
Carlo Wood <[EMAIL PROTECTED]>
On Sun, Mar 17, 2002 at 06:33:44PM -, Stephano Mariani wrote:
> lib_LTLIBRARIES = libfoo.la libfoo_r.la
>
> libfoo_r_la_AM_CXXFLAGS = -D_REENTRANT
> libfoo_r_la_SOURCES = foo.cxx
>
> libfoo_la_AM_CXXFLAGS = # Something
> libfoo_la_SOURCES = foo.cxx
>
> etc.
>
> Stephano Mariani
This doesn
lib_LTLIBRARIES = libfoo.la libfoo_r.la
libfoo_r_la_AM_CXXFLAGS = -D_REENTRANT
libfoo_r_la_SOURCES = foo.cxx
libfoo_la_AM_CXXFLAGS = # Something
libfoo_la_SOURCES = foo.cxx
etc.
Stephano Mariani
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf
Of
> C
Hiya,
I tried for several days to find the answer myself,
but it seems just not possible with automake :(.
You are my last resort.
What I need is to use the same sources, but with
different CXXFLAGS, for different output targets.
In particular, I want to generate a library called
foo.so that was