]> git.ipfire.org Git - thirdparty/glibc.git/blame - string/Makefile
Update.
[thirdparty/glibc.git] / string / Makefile
CommitLineData
310b3460 1# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
28f540f4
RM
2# This file is part of the GNU C Library.
3
4# The GNU C Library is free software; you can redistribute it and/or
5# modify it under the terms of the GNU Library General Public License as
6# published by the Free Software Foundation; either version 2 of the
7# License, or (at your option) any later version.
8
9# The GNU C Library is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12# Library General Public License for more details.
13
14# You should have received a copy of the GNU Library General Public
0c5ecdc4
UD
15# License along with the GNU C Library; see the file COPYING.LIB. If not,
16# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17# Boston, MA 02111-1307, USA.
28f540f4
RM
18
19#
20# Sub-makefile for string portion of library.
21#
22subdir := string
23
478b92f0 24headers := string.h strings.h memory.h endian.h bits/endian.h \
4547c1a4
UD
25 argz.h envz.h byteswap.h bits/byteswap.h bits/string.h \
26 bits/string2.h
28f540f4 27
0501d603
UD
28routines := strcat strchr strcmp strcoll strcpy strcspn \
29 strverscmp strdup strndup \
310b3460 30 strerror _strerror strlen strnlen \
8d71c7b0 31 strncat strncmp strncpy \
28f540f4 32 strrchr strpbrk strsignal strspn strstr strtok \
59dd8641 33 strtok_r strxfrm memchr memcmp memmove memset \
9a0a462c 34 mempcpy bcopy bzero ffs stpcpy stpncpy \
0501d603 35 strcasecmp strncase strcasecmp_l strncase_l \
f4017d20 36 memccpy memcpy wordcopy strsep strcasestr \
392d7920 37 swab strfry memfrob memmem \
7a12c6bb 38 $(addprefix argz-,append count create ctsep next \
e4cf5070 39 delete extract insert stringify \
d705269e 40 addsep replace) \
c84142e8
UD
41 envz basename \
42 strcoll_l strxfrm_l
28f540f4 43
61eb22d3 44tests := tester inl-tester noinl-tester testcopy test-ffs \
74015205 45 tst-strlen stratcliff tst-svc tst-inlcall
d705269e 46distribute := memcopy.h pagecopy.h tst-svc.expect
28f540f4
RM
47
48
49include ../Rules
59dd8641
RM
50
51tester-ENV = LANGUAGE=C
9a0a462c 52inl-tester-ENV = LANGUAGE=C
4547c1a4 53noinl-tester-ENV = LANGUAGE=C
4547c1a4 54CFLAGS-noinl-tester.c = -fno-builtin
9a0a462c
UD
55CFLAGS-tst-strlen.c = -fno-builtin
56CFLAGS-stratcliff.c = -fno-builtin
1f205a47 57
e7a95dc6 58ifeq ($(cross-compiling),no)
1f205a47
UD
59tests: $(objpfx)tst-svc.out
60 cmp tst-svc.expect $(objpfx)tst-svc.out
e7a95dc6 61endif