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
>> libfoo_la_SOURCES = foo.cpp
>> if WANT_BAR
>
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_SOURCES
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
> libfoo_la_SOURCES += b.cpp
> e
-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_SOURCES += a.cpp
> else
> libfoo_l
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
libfoo_la_LDFLAG
12 matches
Mail list logo