Hello,

On Thu, Feb 23, 2006 at 02:33:40AM +1100, Russell Shaw wrote:
> When each library is built, i want to copy its header to a header-directory
> and its object to a library-directory in the buildtree so that the programs
> that get built later can include it using the gcc -I and -L options.
> 
> So, what is the recommended way in Makefile.am to copy a library header and
> object to another directory after a library is built?

I'd say that the recommended way is to add the directories to AM_CPPFLAGS
and AM_LDFLAGS, instead of copying files.

As soon as you have two copies of something, there is always the risk that
they get out of sync.

Have a nice day,
        Stepan


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to