This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Conditional Library Compilation
- From: Alexandre Duret-Lutz <adl at src dot lip6 dot fr>
- To: "Drummonds, Scott B" <scott dot b dot drummonds at intel dot com>
- Cc: automake at gnu dot org
- Date: Thu, 05 Feb 2004 08:24:35 +0100
- Subject: Re: Conditional Library Compilation
- References: <92E67798C43ECE4691CCEE09662D2698BBD929@scsmsx402.sc.intel.com>
>>> "sbd" == Drummonds, Scott B <scott.b.drummonds@intel.com> writes:
[...]
sbd> But, the Makefile that is generated from that Makefile.am has the above
sbd> statements in the following order:
sbd> <quote>
sbd> noinst_LIBRARIES = libNormal.a
sbd> ...
sbd> libNormal_a_SOURCES = source.cpp
sbd> ...
sbd> LIBRARIES = $(noinst_LIBRARIES)
sbd> ...
sbd> noinst_LIBRARIES += libNormalFeature.a
sbd> libNormalFeature_a_SOURCES = $(libNormal_a_SOURCES)
sbd> libNormalFeature_a_CXXFLAGS = -DFEATURE
sbd> </quote>
Sorry to insist, but you still haven't answered the most basic
question: what automake version are you using?
>From the above indented output I believe you are running a
relic. Probably automake 1.4 or older. The last version is 1.8.2,
and what you do should work with 1.6 or later.
--
Alexandre Duret-Lutz