(__strdup): Call __strdup not strdup in case of non-constant string.
[kopensolaris-gnu/glibc.git] / string / Makefile
index 3b895dc..93d68a4 100644 (file)
@@ -22,7 +22,8 @@
 subdir := string
 
 headers        := string.h strings.h memory.h endian.h bits/endian.h \
-          argz.h envz.h byteswap.h bits/byteswap.h
+          argz.h envz.h byteswap.h bits/byteswap.h bits/string.h \
+          bits/string2.h
 
 routines       := strcat strchr strcmp strcoll strcpy strcspn          \
                   strverscmp strdup strndup                            \
@@ -30,9 +31,9 @@ routines      := strcat strchr strcmp strcoll strcpy strcspn          \
                   strncat strncmp strncpy                              \
                   strrchr strpbrk strsignal strspn strstr strtok       \
                   strtok_r strxfrm memchr memcmp memmove memset        \
-                  bcopy bzero ffs stpcpy stpncpy                       \
+                  mempcpy bcopy bzero ffs stpcpy stpncpy               \
                   strcasecmp strncase strcasecmp_l strncase_l          \
-                  memccpy memcpy wordcopy strsep                       \
+                  memccpy memcpy wordcopy strsep strcasestr            \
                   swab strfry memfrob memmem                           \
                   $(addprefix argz-,append count create ctsep next     \
                                     delete extract insert stringify    \
@@ -40,15 +41,17 @@ routines    := strcat strchr strcmp strcoll strcpy strcspn          \
                   envz basename                                        \
                   strcoll_l strxfrm_l
 
-tests          := tester testcopy test-ffs tst-strlen stratcliff \
-                  tst-svc
+tests          := tester inl-tester noinl-tester testcopy test-ffs     \
+                  tst-strlen stratcliff tst-svc tst-inlcall
 distribute     := memcopy.h pagecopy.h tst-svc.expect
 
 
 include ../Rules
 
 tester-ENV = LANGUAGE=C
-CFLAGS-tester.c = -fno-builtin
+inl-tester-ENV = LANGUAGE=C
+noinl-tester-ENV = LANGUAGE=C
+CFLAGS-noinl-tester.c = -fno-builtin
 CFLAGS-tst-strlen.c = -fno-builtin
 CFLAGS-stratcliff.c = -fno-builtin