(__strdup): Call __strdup not strdup in case of non-constant string.
[kopensolaris-gnu/glibc.git] / string / Makefile
index 97f2eed..93d68a4 100644 (file)
 #
 subdir := string
 
-headers        := string.h strings.h memory.h endian.h bytesex.h \
-          argz.h envz.h
+headers        := string.h strings.h memory.h endian.h bits/endian.h \
+          argz.h envz.h byteswap.h bits/byteswap.h bits/string.h \
+          bits/string2.h
 
 routines       := strcat strchr strcmp strcoll strcpy strcspn          \
-                  strdup strndup       \
+                  strverscmp strdup strndup                            \
                   strerror _strerror strerror_r strlen strnlen         \
                   strncat strncmp strncpy                              \
                   strrchr strpbrk strsignal strspn strstr strtok       \
                   strtok_r strxfrm memchr memcmp memmove memset        \
-                  bcopy bzero ffs stpcpy stpncpy                       \
-                  strcasecmp strncase                                  \
-                  memccpy memcpy wordcopy strsep                       \
+                  mempcpy bcopy bzero ffs stpcpy stpncpy               \
+                  strcasecmp strncase strcasecmp_l strncase_l          \
+                  memccpy memcpy wordcopy strsep strcasestr            \
                   swab strfry memfrob memmem                           \
                   $(addprefix argz-,append count create ctsep next     \
                                     delete extract insert stringify    \
-                                    addsep)                            \
-                  envz basename
+                                    addsep replace)                    \
+                  envz basename                                        \
+                  strcoll_l strxfrm_l
 
-tests          := tester testcopy test-ffs tst-strlen stratcliff
-distribute     := memcopy.h pagecopy.h
+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
+
+tests: $(objpfx)tst-svc.out
+       cmp tst-svc.expect $(objpfx)tst-svc.out