summary refs log tree commit diff
path: root/sysdeps/s390/multiarch/Makefile
blob: 3cbd5fad69e355a5cc54b528ac6df9b8d921f563 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
ifeq ($(subdir),string)
sysdep_routines += strlen strlen-vx strlen-c \
		   strnlen strnlen-vx strnlen-c \
		   strcpy strcpy-vx \
		   stpcpy stpcpy-vx stpcpy-c \
		   strncpy strncpy-vx \
		   stpncpy stpncpy-vx stpncpy-c \
		   strcat strcat-vx strcat-c \
		   strncat strncat-vx strncat-c \
		   strcmp strcmp-vx \
		   strncmp strncmp-vx strncmp-c \
		   strchr strchr-vx strchr-c \
		   strchrnul strchrnul-vx strchrnul-c \
		   strrchr strrchr-vx strrchr-c \
		   strspn strspn-vx strspn-c \
		   strpbrk strpbrk-vx strpbrk-c \
		   strcspn strcspn-vx strcspn-c \
		   memchr memchr-vx \
		   rawmemchr rawmemchr-vx rawmemchr-c \
		   memccpy memccpy-vx memccpy-c \
		   memrchr memrchr-vx memrchr-c \
		   mempcpy memcpy memcpy-s390x
endif

ifeq ($(subdir),wcsmbs)
sysdep_routines += wcslen wcslen-vx wcslen-c \
		   wcsnlen wcsnlen-vx wcsnlen-c \
		   wcscpy wcscpy-vx wcscpy-c \
		   wcpcpy wcpcpy-vx wcpcpy-c \
		   wcsncpy wcsncpy-vx wcsncpy-c \
		   wcpncpy wcpncpy-vx wcpncpy-c \
		   wcscat wcscat-vx wcscat-c \
		   wcsncat wcsncat-vx wcsncat-c \
		   wcscmp wcscmp-vx wcscmp-c \
		   wcsncmp wcsncmp-vx wcsncmp-c \
		   wcschr wcschr-vx wcschr-c \
		   wcschrnul wcschrnul-vx wcschrnul-c \
		   wcsrchr wcsrchr-vx wcsrchr-c \
		   wcsspn wcsspn-vx wcsspn-c \
		   wcspbrk wcspbrk-vx wcspbrk-c \
		   wcscspn wcscspn-vx wcscspn-c \
		   wmemchr wmemchr-vx wmemchr-c \
		   wmemset wmemset-vx wmemset-c \
		   wmemcmp wmemcmp-vx wmemcmp-c
endif

ifeq ($(subdir),iconvdata)
override define generate-8bit-table
$(make-target-directory)
LC_ALL=C $(SHELL) ./gen-8bit.sh $< > $(@:stmp=T)
LC_ALL=C $(SHELL) ../sysdeps/s390/multiarch/gen-8bit.sh $< >> $(@:stmp=T)
$(move-if-change) $(@:stmp=T) $(@:stmp=h)
touch $@
endef
endif

ifeq ($(subdir),iconv)
sysdep_routines += gconv_simple
endif