linux: Fix generic struct_stat for 64 bit time (BZ# 29657)
[glibc.git] / sysdeps / gnu / Makefile
blob81952e18c88a035134faac51923eec83e3f472d5
1 # Copyright (C) 1996-2022 Free Software Foundation, Inc.
2 # This file is part of the GNU C Library.
4 # The GNU C Library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
9 # The GNU C Library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with the GNU C Library; if not, see
16 # <https://www.gnu.org/licenses/>.
18 ifeq ($(subdir),login)
19 sysdep_routines += setutxent getutxent endutxent getutxid getutxline \
20 pututxline utmpxname updwtmpx getutmpx getutmp
22 sysdep_headers += utmpx.h bits/utmpx.h
23 endif
26 ifeq ($(subdir),inet)
27 sysdep_headers += netinet/udp.h netinet/ip_icmp.h
28 endif
31 ifeq ($(subdir),misc)
32 sysdep_headers += sys/mtio.h
33 endif
36 ifeq ($(subdir),csu)
37 routines += unwind-resume
38 shared-only-routines += unwind-resume
39 CFLAGS-unwind-resume.c += -fexceptions -fasynchronous-unwind-tables
40 endif
42 ifeq ($(subdir),rt)
43 librt-sysdep_routines += rt-unwind-resume
44 librt-shared-only-routines += rt-unwind-resume
45 CFLAGS-rt-unwind-resume.c += -fexceptions -fasynchronous-unwind-tables
46 endif