This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Difference between lib*-routines and lib*-sysdep_routines


On 08/13/2016 11:46 PM, Florian Weimer wrote:
extra-lib.mk says this:

# This file is included several times in a row, once
# for each element of $(extra-libs).  $(extra-libs-left)
# is initialized first to $(extra-libs) so that with each
# inclusion, we advance $(lib) to the next library name (e.g. libfoo).
# The variable $($(lib)-routines) defines the list of modules
# to be included in that library.  A sysdep Makefile can add to
# $(lib)-sysdep_routines to include additional modules.

This suggests that sysdeps Makefiles must use lib*-sysdep_routines
instead of lib*-routines.  But we use both sets of variables in sysdeps
Makefiles, and as far as I can tell, they are equivalent.

What is the difference, if any?

I found a hint in the manual:

“
You should use @samp{sysdep-routines} rather than adding modules to @samp{routines} because the latter is used in determining what to distribute for each subdirectory of the main source tree.
We use Git to generate the tarball, so I don't think there is a difference left.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]