mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
2bfdaeddaa
cppflags-iterator.mk no longer has anything to do with CPPFLAGS; all it does is set libof-$(foo) for a list of files. extra-modules.mk does the same thing, but with a different input variable, and doesn't let the caller control the module. Therefore, this patch gives cppflags-iterator.mk a better name, removes extra-modules.mk, and updates all uses of both. * extra-modules.mk: Delete file. * cppflags-iterator.mk: Rename to ... * libof-iterator.mk: ...this. Adjust comments. * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile: Use libof-iterator.mk instead of cppflags-iterator.mk or extra-modules.mk. * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
9 lines
291 B
Makefile
9 lines
291 B
Makefile
# This file is included several times in a row, once for each element
|
|
# $(cpp-src) of $(cpp-srcs-left). It sets libof-$(cpp-src) to $(lib)
|
|
# for each.
|
|
|
|
cpp-src := $(firstword $(cpp-srcs-left))
|
|
cpp-srcs-left := $(filter-out $(cpp-src),$(cpp-srcs-left))
|
|
|
|
libof-$(notdir $(cpp-src)) := $(lib)
|