automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: i have a new feature. anybody want it?


From: Jay G. Scott
Subject: Re: i have a new feature. anybody want it?
Date: Wed, 17 Feb 2010 10:34:29 -0600
User-agent: Mutt/1.5.19 (2009-01-05)

On Wed, Feb 17, 2010 at 08:15:58AM +0100, Ralf Wildenhues wrote:
> Hello Jay,
> 
> * Jay G. Scott wrote on Mon, Feb 15, 2010 at 07:07:44PM CET:
> > 
> > while working on GAMESS (a quantum chemistry program) i ran in
> > to a situation that made it clear that individual source files
> > needed to be compiled with different optimization options.
> > automake doesn't support that.
> 
> Yes, it does, by way of per-target flags like foo_CFLAGS, foo_FFLAGS,

right, that's per-TARGET.  not per OBJECT FILE (or source file)
which is what i need.

j.

> etc.  What probably makes you think it doesn't is the fact that it
> let's the user (the one running configure) override the developer
> (the author of Makefile.am and configure.ac).  But that is on purpose.
> 
> If you have a problem with the default setting of CFLAGS etc for cases
> where the user did not set it, then it is useful to move the default
> setting that AC_PROG_{CC,F77,FC} do to the respective AM_{C,F,...}FLAGS
> variable and substitute that, and then use the per-target flags for
> overrides.
> 
> Cheers,
> Ralf

-- 
Jay Scott               512-835-3553            address@hidden
Head of Sun Support, Sr. Operating Systems Specialist
Applied Research Labs, Computer Science Div.                   S224
University of Texas at Austin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]