> > The  documented automake behavior states that automake chooses the
> > linker based on a static list of source files.  This is not
> > sufficient.  I'm hoping I've missed a detail somewhere, but my
> > experience backs up the documented claims.  I've tried using
> > AM_CONDITIONALs like so:
> >
> > if NOFORT
> > else
> > MAYBE_DUMMY_F_LINK = dummy.f # does not exist
> > endif
> >
> > lib_LTLIBRARIES = libtest.la
> > libtest_la_SOURCES = # no sources, all convenience libraries
> > nodist_EXTRA_libtest_la_SOURCES = $(MAYBE_DUMMY_F_LINK)
> > libtest_la_LIBADD = mixed/libmixed.la pure_c/libpurec.la
> >
> > But regardless of whether NOFORT is true, the Fortran linker is
> always
> > chosen.  What should I be doing?  Thanks.
> 
> Override FCLD (if Makefile-global is acceptable) or libtest_la_LINK.
> 

Just to clarify, I'm using F77 and libtool.  After looking at one of the 
automake-generated Makefiles, I would need to set F77LINK=$(LINK) in this case, 
right?

Thanks,

Jeff


Reply via email to