If I do:

lib_LIBRARIES = libfoo.a
libfoo_a_SOURCES = foo.c

in the Makefile.am, libfoo.a will be installed into $(prefix)/lib.  If
I am using AC_CANONICAL_SYSTEM in configure.ac, I want to be able to
set build, host, and target for building a cross compiler.  I would
then want the above library to be installed into
$(prefix)/$(host)/lib.  How do I accomplish that?


Reply via email to