From 71319b9cb3143578ffdb8421e99bf1a02684b2ea Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 8 Apr 2002 08:59:00 +0000 Subject: Update. 2002-04-08 Ulrich Drepper * Makeconfig (CPPFLAGS): Also add CPPFLAGS- where is the name of the source file without extension. * Makefile (distribute): Add cppflags-iterator.mk. * cppflags-iterator.mk: New file. * extra-lib.mk: For the sources of the library run cppflags-iterator.mk. * include/libintl.h: Declare __dcgettext_internal and _libc_intl_domainname_internal. Define __dcgettext using these two symbols if used in libc itself. * argp/argp-help.c: Define dgettext using __dcgettext_internal and _libc_intl_domainname_internal. * argp/argp-parse.c: Likewise. * intl/dcgettext.c (__dcgettext): Use INTDEF to define alias. * intl/dgettext.c: Call __dcgettext_internal instead of __dcgettext. * intl/gettext.c: Likewise. * locale/SYS_libc.c (_libc_intl_domainname): Use INTDEF to define alias. * posix/regcomp.c (gettext): Use __dcgettext_internal instead of __dcgettext. * posix/regex_internal.c (gettext): Likewise. --- extra-lib.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'extra-lib.mk') diff --git a/extra-lib.mk b/extra-lib.mk index cdb48e2fff..2a8227f369 100644 --- a/extra-lib.mk +++ b/extra-lib.mk @@ -78,3 +78,13 @@ $(objpfx)$(lib).so: $(firstword $($(lib)-map) \ endif endif + +cpp-srcs-left = $(lib)-routines +ifneq (,$($(lib)-routines)) +cpp-srcs-left = $($(lib)-routines) +include $(patsubst %,$(..)cppflags-iterator.mk,$($(lib)-routines)) +endif +ifneq (,$($(lib)-sysdep_routines)) +cpp-srcs-left = $($(lib)-sysdep_routines) +include $(patsubst %,$(..)cppflags-iterator.mk,$($(lib)-sysdep_routines)) +endif -- cgit v1.2.3