b66f8a7b4107920cba505bb88007721b1e14f318
[platform/upstream/glibc.git] / sysdeps / unix / sysv / linux / i386 / Makefile
1 # The default ABI is 32.
2 default-abi := 32
3
4 ifeq ($(subdir),misc)
5 sysdep_routines += ioperm iopl vm86
6
7 tests += tst-bz21269
8 endif
9
10 ifeq ($(subdir),elf)
11 sysdep-dl-routines += libc-do-syscall
12 sysdep-others += lddlibc4
13 install-bin += lddlibc4
14 endif
15
16 ifeq ($(subdir),io)
17 sysdep_routines += libc-do-syscall
18 endif
19
20 ifeq ($(subdir),stdlib)
21 gen-as-const-headers += ucontext_i.sym
22 endif
23
24 ifeq ($(subdir),csu)
25 ifeq (yes,$(build-shared))
26 sysdep_routines += divdi3
27 shared-only-routines += divdi3
28 CPPFLAGS-divdi3.c = -Din_divdi3_c
29 endif
30 endif
31
32 ifeq ($(subdir),rt)
33 # pull in __syscall_error routine
34 librt-routines += sysdep
35 librt-shared-only-routines += sysdep
36 endif