Re: @LIBOBJ@ usage

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

 



>>> "Albert" == Albert Chin <autoconf@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:

 Albert> If a program has;
 Albert> 1. Makefile.in's in each directory
 Albert> 2. AC_CONFIG_LIBOBJ_DIR(lib) in the top-level configure.ac
 Albert> then how do subdirectory Makefile.in's make use of @LIBOBJ@? 

They do not.  Only lib/Makefile.in is expected to use @LIBOBJS@.
Create a library if you want to use these objects elsewhere.
(The Automake manual has a section about this.)

 Albert> @LIBOBJ@ contains relative paths, rather than something
 Albert> looking like $(top_builddir)/lib/func.o.

AC_CONFIG_LIBOBJ_DIR only tells configure where to find the
source files some tests need.  It has nothing to do with how
@LIBOBJS@ is filled.
-- 
Alexandre Duret-Lutz



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux