glibc/sysdeps/unix/sysv/linux/s390/s390-32/Makefile
Florian Weimer 734c60ebb6 login: Move libutil into libc
The symbols forkpty, login, login_tty, logout, logwtmp, openpty
were moved using scripts/move-symbol-to-libc.py.

This is a single commit because most of the symbols are tied together
via forkpty, for example.

Several changes to use hidden prototypes are needed.  This commit
also updates pseudoterminal terminology on modified lines.

For 390 (31-bit), this commit follows the existing style for the
compat symbol version creation.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2021-06-30 08:43:37 +02:00

31 lines
587 B
Makefile

# See Makeconfig regarding the use of default-abi.
default-abi := 32
ifeq ($(subdir),login)
sysdep_routines += utmp32 utmpx32 login32
endif
ifeq ($(subdir),misc)
sysdep_headers += sys/elf.h
endif
ifeq ($(subdir),elf)
ifeq (yes,$(build-shared))
# This is needed to support g++ v2 and v3.
sysdep_routines += framestate
shared-only-routines += framestate
endif
endif
ifeq ($(subdir),stdlib)
sysdep_routines += __makecontext_ret
endif
ifeq ($(subdir),csu)
ifeq (yes,$(build-shared))
sysdep_routines += divdi3
shared-only-routines += divdi3
CPPFLAGS-divdi3.c = -Din_divdi3_c
endif
endif