-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andreas Schwab wrote:
> John Calcote <[EMAIL PROTECTED]> writes:
>
>> Andreas Schwab wrote:
>>> John Calcote <[EMAIL PROTECTED]> writes:
>>>
Make is a two-pass utility. The first pass completely assimilates all
macro data specified in the Ma
John Calcote <[EMAIL PROTECTED]> writes:
> Andreas Schwab wrote:
>> John Calcote <[EMAIL PROTECTED]> writes:
>>
>>> Make is a two-pass utility. The first pass completely assimilates all
>>> macro data specified in the Makefile. THEN, the second pass generates
>>> the rule dependency tree.
>>
>> Th
On Mon, 2008-08-25 at 15:55 -0600, John Calcote wrote:
> Andreas Schwab wrote:
> > John Calcote <[EMAIL PROTECTED]> writes:
> >
> >> Make is a two-pass utility. The first pass completely assimilates
> all
> >> macro data specified in the Makefile. THEN, the second pass
> generates
> >> the rule de
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andreas Schwab wrote:
> John Calcote <[EMAIL PROTECTED]> writes:
>
>> Make is a two-pass utility. The first pass completely assimilates all
>> macro data specified in the Makefile. THEN, the second pass generates
>> the rule dependency tree.
>
> This
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andreas Schwab wrote:
> David Sveningsson <[EMAIL PROTECTED]> writes:
>
>> Hi, I am having some problems with conditional sources. This is what I
>> have in Makefile.am:
>>
>> lib_LTLIBRARIES = libfoo.la
>>
On Mon, 2008-08-25 at 23:21 +0200, David Sveningsson wrote:
> Thanks, this solved my problems. It doesn't seem work if I use tabs
> for indentation, but spaces works fine. Is this expected behavior?
> I've used tabs in many other places and it seem to work. I cannot
> find any section in the man
Andreas Schwab skrev:
David Sveningsson <[EMAIL PROTECTED]> writes:
Hi, I am having some problems with conditional sources. This is what I
have in Makefile.am:
lib_LTLIBRARIES = libfoo.la
libfoo_la_SOURCES = foo.cpp
if WANT_BAR
libfoo_la_SOURCES += a.cpp
else
libfoo_la_S
John Calcote <[EMAIL PROTECTED]> writes:
> Make is a two-pass utility. The first pass completely assimilates all
> macro data specified in the Makefile. THEN, the second pass generates
> the rule dependency tree.
This is not true. Variable refences in target and dependency lists are
expanded whe
David Sveningsson <[EMAIL PROTECTED]> writes:
> Hi, I am having some problems with conditional sources. This is what I
> have in Makefile.am:
>
> lib_LTLIBRARIES = libfoo.la
> libfoo_la_SOURCES = foo.cpp
> if WANT_BAR
> libfoo_la_SOURCES += a.cpp
> else
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> While that would make sense but my problem originates from the fact that
> the conditional files isn't compiled.
>
> After some hacking into the generated Makefile I noticed that the files
> wouldn't be compiled even if I inserted them into libfoo_l
John Calcote skrev:
David Sveningsson wrote:
Hi, I am having some problems with conditional sources. This is what I
have in Makefile.am:
lib_LTLIBRARIES = libfoo.la
libfoo_la_SOURCES = foo.cpp
if WANT_BAR
libfoo_la_SOURCES += a.cpp
else
libfoo_la_SOURCES += b.cpp
endif
AM_CPPFLAGS
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Sveningsson wrote:
> Hi, I am having some problems with conditional sources. This is what I
> have in Makefile.am:
>
> lib_LTLIBRARIES = libfoo.la
> libfoo_la_SOURCES = foo.cpp
> if WANT_BAR
> libfoo_la_SO
Hi, I am having some problems with conditional sources. This is what I
have in Makefile.am:
lib_LTLIBRARIES = libfoo.la
libfoo_la_SOURCES = foo.cpp
if WANT_BAR
libfoo_la_SOURCES += a.cpp
else
libfoo_la_SOURCES += b.cpp
endif
AM_CPPFLAGS = -I${top_srcdir}/include
On 11/5/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> * NightStrike wrote on Mon, Nov 05, 2007 at 06:01:26AM CET:
> >
> > lib32dir=$(prefix)/lib32
> > lib64dir=$(prefix)/lib64
> >
> > lib32_LIBRARIES = libuuid.a
> > libuuid_a_SOURCES = lib32/uuid.c
> >
> > lib64_LIBRARIES = libuuid.a
> > libuuid
* NightStrike wrote on Mon, Nov 05, 2007 at 06:01:26AM CET:
>
> lib32dir=$(prefix)/lib32
> lib64dir=$(prefix)/lib64
>
> lib32_LIBRARIES = libuuid.a
> libuuid_a_SOURCES = lib32/uuid.c
>
> lib64_LIBRARIES = libuuid.a
> libuuid_a_SOURCES = lib64/uuid.c
Not sure why you don't write
lib32_LIBRARIE
On 11/4/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
>
> Please learn about `subdir-objects', that helps. It's indexed in the
> manual.
Ok, that has actually helped in multiple ways. I am now using that
option, and it's good. That gets me past one hurdle. Now I am left
with the following:
F
* NightStrike wrote on Sun, Nov 04, 2007 at 08:14:32PM CET:
> On 11/4/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> > info Automake 'Libtool Issues'
[...]
> > info Automake 'Conditional Sources'
> I was following those sections almost. I misse
LIBRARIES += libuuid.a
> > > > libuuid_a_SOURCES = $(uuidsrc)
> > > >
> > > >
> > > > When I run autoreconf, I get this:
> > > >
> > > > Makefile.am: object `uuid.$(OBJEXT)' created by `lib32/uuid.c' and
> > > >
reconf, I get this:
> > >
> > > Makefile.am: object `uuid.$(OBJEXT)' created by `lib32/uuid.c' and
> > > `lib/uuid.c'
[...]
You can adapt the hint from
info Automake 'Libtool Issues'
to your example. You'll have to live with a rewritten object file name
in that case though.
info Automake 'Conditional Sources'
has more useful information.
Cheers,
Ralf
On 11/4/07, Benoit SIGOURE <[EMAIL PROTECTED]> wrote:
> On Nov 4, 2007, at 7:47 PM, NightStrike wrote:
>
> > I am trying to figure out how to do conditional sources. Basically,
> > here is the setup:
> >
> > lib/uuid.c
> > lib32/uuid.c
> >
> >
On Nov 4, 2007, at 7:47 PM, NightStrike wrote:
I am trying to figure out how to do conditional sources. Basically,
here is the setup:
lib/uuid.c
lib32/uuid.c
If I pass --with-m32 to configure, I want to use the second source.
If I don't, then I want to use the first. I put th
I am trying to figure out how to do conditional sources. Basically,
here is the setup:
lib/uuid.c
lib32/uuid.c
If I pass --with-m32 to configure, I want to use the second source.
If I don't, then I want to use the first. I put this in configure.ac:
AC_ARG_WITH(m32,
[ --with-m32 Co
> Well this first way didn't work:
> automake (I had to use an old 1.4... but I think this doesn't
> change the thing)
I think it might. I know 1.5 is much better at conditional stuff.
But you could be right.
> > TASKOBJ=wtask.$OBJEXT # or TASKOBJ='wtask.$(OBJEXT)'; your choice
> at this poin
At first: Thank you for your help
On 2 Oct 2001, Tim Van Holder wrote:
> On Tue, 2001-10-02 at 15:17, Matthias Braun wrote:
> > Hello,
> >
> > I'm quite new to automake so I don't know if the following is a bug or an error
>from me:
> >
> > I use the following Makefile.am:
> > ---
> > EXTRA_li
On Tue, 2001-10-02 at 15:17, Matthias Braun wrote:
> Hello,
>
> I'm quite new to automake so I don't know if the following is a bug or an error from
>me:
>
> I use the following Makefile.am:
> ---
> EXTRA_libsal_la_SOURCES=wtask.cxx
> if USE_WINTASK
> TASKSOURCES=wtask.cxx
> endif
>
> EXTRA_l
Hello,
I'm quite new to automake so I don't know if the following is a bug or an error from
me:
I use the following Makefile.am:
---
EXTRA_libsal_la_SOURCES=wtask.cxx
if USE_WINTASK
TASKSOURCES=wtask.cxx
endif
EXTRA_libsal_la_SOURCES+=ptask.cxx
if USE_PTHREAD
TASKSOURCES=ptask.cxx
endif
lib
26 matches
Mail list logo