Do not output .lo rules for programs and static libraries objects,
authorAlexandre Duret-Lutz <adl@gnu.org>
Thu, 1 Jan 2004 18:54:20 +0000 (18:54 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Thu, 1 Jan 2004 18:54:20 +0000 (18:54 +0000)
commitd82b453e871918a7a51bb5fdd32f51cdabe53eb8
tree64c442bd48ac3d5ca0b0d0b6c942e5a0a1db4861
parent16773768f4a3fc72be7f3708687ad4fb9dc8461b
Do not output .lo rules for programs and static libraries objects,
and do not output .o/.obj rules for libtool libraries.  This is
about explicit rules only, not inference rules.
* automake.in (handle_single_transform_list): Rename as ...
(handle_single_transform): ... this.  Take a single file
to transform (it was only called this way) and accept a new
%transform argument.  Fill %lang_specific_files with list
references instead of strings, and append %transform to each
of these lists.
(define_objects_from_sources, handle_source_transform):
Take a %transform argument, and forward it to &handle_single_transform.
(handle_languages): Adjust to the new format of
%lang_specific_files, and honor its %transform part.
(handle_programs, handle_libraries, handle_ltlibraries): Override
%NONLIBTOOL% and %LIBTOOL% while calling handle_source_transform.
(make_paragraphs): Define %NONLIBTOOL% by default.  Make sure
%transform settings override global settings.
* lib/am/depend2.am (%OBJ%, %OBJOBJ%): Define only if %NONLIBTOOL%.
* tests/libtool3.test: Augment to check Makefile.ins for unneeded
rules.
Suggested by Thomas Fitzsimmons.
ChangeLog
NEWS
THANKS
automake.in
lib/am/depend2.am
tests/libtool3.test