initial commit
[glibc.git] / sysdeps / unix / sysv / linux / arm / Makefile
1 ifeq ($(subdir),elf)
2 sysdep-rtld-routines += aeabi_read_tp libc-do-syscall
3 endif
4
5 ifeq ($(subdir),misc)
6 sysdep_routines += ioperm
7 sysdep_headers += sys/elf.h
8 endif
9
10 ifeq ($(subdir),signal)
11 sysdep_routines += sigrestorer
12 endif
13
14 ifeq ($(subdir),stdlib)
15 gen-as-const-headers += ucontext_i.sym
16 endif
17
18 # Add a syscall function to each library that needs one.
19
20 ifeq ($(subdir),crypt)
21 libcrypt-sysdep_routines += libc-do-syscall
22 endif
23
24 ifeq ($(subdir),rt)
25 librt-sysdep_routines += libc-do-syscall
26 librt-shared-only-routines += libc-do-syscall
27 endif
28
29 ifeq ($(subdir),resolv)
30 libanl-sysdep_routines += libc-do-syscall
31 libanl-shared-only-routines += libc-do-syscall
32 endif
33
34 ifeq ($(subdir),csu)
35 sysdep_routines += libc-do-syscall
36 endif
37
38 ifeq ($(subdir),nscd)
39 nscd-modules += libc-do-syscall
40 endif
41
42 ifeq ($(subdir),nss)
43 libnss_db-sysdep_routines += libc-do-syscall
44 libnss_db-shared-only-routines += libc-do-syscall
45 endif
46
47 ifeq ($(subdir),posix)
48 LDFLAGS-tst-rfc3484 += $(common-objpfx)csu/libc-do-syscall.o
49 LDFLAGS-tst-rfc3484-2 += $(common-objpfx)csu/libc-do-syscall.o
50 LDFLAGS-tst-rfc3484-3 += $(common-objpfx)csu/libc-do-syscall.o
51 endif
52
53 abi-variants := soft hard
54
55 ifeq (,$(filter $(default-abi),$(abi-variants)))
56 Unknown ABI, must be one of $(abi-variants)
57 endif
58
59 abi-includes :=
60 abi-soft-condition := !defined __ARM_PCS_VFP
61 abi-hard-condition := defined __ARM_PCS_VFP