mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-16 01:50:11 +00:00
b30542fb71
2004-03-08 Ulrich Drepper <drepper@redhat.com> * Makerules: Use extra-modules.mk if modules-names is defined. * extra-modules.mk: New file. * dlfcn/Makefile (CPPFLAGS-modcxaatexit.c): Removed. * elf/Makefile (CFLAGS-interp.c): Add -DNOT_IN_libc=1. * csu/Makefile ($(objpfx)version-info.h): Pass -DNOT_IN_libc=1 to compiler. * Makefile (distribute): Add symbol-hacks.h. * sysdeps/generic/symbol-hacks.h: New file. * sysdeps/wordsize-32/symbol-hacks.h: New file. * sysdeps/wordsize-32/divdi3.c: Define *_internal aliases for __divdi3, __moddi3, __udivdi3, and __umoddi3. * include/libc-symbols.h: Include <symbol-hacks.h>.
10 lines
382 B
Makefile
10 lines
382 B
Makefile
# This file is included several times in a row, once
|
|
# for each element of $(modules-names). $(extra-modules-left)
|
|
# is initialized first to $(modules-names) so that with each
|
|
# inclusion, we advance $(module) to the next name.
|
|
|
|
module := $(firstword $(extra-modules-left))
|
|
extra-modules-left := $(filter-out $(module),$(extra-modules-left))
|
|
|
|
CPPFLAGS-$(module).c += -DNOT_IN_libc
|