This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Conditional Library Compilation


>>> "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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]