source: branches/libc-0.6/src/libctests/glibc/wcsmbs/Makefile

Last change on this file was 2036, checked in by bird, 20 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1# Copyright (C) 1995-2000, 2002, 2003, 2004 Free Software Foundation, Inc.
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 Lesser General Public
6# License as published by the Free Software Foundation; either
7# version 2.1 of the 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# Lesser General Public License for more details.
13
14# You should have received a copy of the GNU Lesser General Public
15# License along with the GNU C Library; if not, write to the Free
16# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
17# 02111-1307 USA.
18
19#
20# Sub-makefile for wcsmbs portion of the library.
21#
22subdir := wcsmbs
23
24headers := wchar.h
25distribute := wcwidth.h wcsmbsload.h
26
27routines := wcscat wcschr wcscmp wcscpy wcscspn wcsdup wcslen wcsncat \
28 wcsncmp wcsncpy wcspbrk wcsrchr wcsspn wcstok wcsstr wmemchr \
29 wmemcmp wmemcpy wmemmove wmemset wcpcpy wcpncpy wmempcpy \
30 btowc wctob mbsinit \
31 mbrlen mbrtowc wcrtomb mbsrtowcs wcsrtombs \
32 mbsnrtowcs wcsnrtombs wcsnlen wcschrnul \
33 wcstol wcstoul wcstoll wcstoull wcstod wcstold wcstof \
34 wcstol_l wcstoul_l wcstoll_l wcstoull_l \
35 wcstod_l wcstold_l wcstof_l \
36 wcscoll wcsxfrm \
37 wcwidth wcswidth \
38 wcscoll_l wcsxfrm_l \
39 wcscasecmp wcsncase wcscasecmp_l wcsncase_l \
40 wcsmbsload mbsrtowcs_l
41
42tests := tst-wcstof wcsmbs-tst1 tst-wcsnlen tst-btowc tst-mbrtowc \
43 tst-wcrtomb tst-wcpncpy tst-mbsrtowcs
44
45include ../Rules
46
47CFLAGS-wcwidth.c = -I../wctype
48CFLAGS-wcswidth.c = -I../wctype
49
50strtox-CFLAGS = -I../include -I../stdlib
51CFLAGS-wcstol.c = $(strtox-CFLAGS)
52CFLAGS-wcstoul.c = $(strtox-CFLAGS)
53CFLAGS-wcstoll.c = $(strtox-CFLAGS)
54CFLAGS-wcstoull.c = $(strtox-CFLAGS)
55CFLAGS-wcstod.c = $(strtox-CFLAGS)
56CFLAGS-wcstold.c = $(strtox-CFLAGS)
57CFLAGS-wcstof.c = $(strtox-CFLAGS)
58CFLAGS-wcstol_l.c = $(strtox-CFLAGS)
59CFLAGS-wcstoul_l.c = $(strtox-CFLAGS)
60CFLAGS-wcstoll_l.c = $(strtox-CFLAGS)
61CFLAGS-wcstoull_l.c = $(strtox-CFLAGS)
62CFLAGS-wcstod_l.c = $(strtox-CFLAGS)
63CFLAGS-wcstold_l.c = $(strtox-CFLAGS)
64CFLAGS-wcstof_l.c = $(strtox-CFLAGS)
65
66tst-btowc-ENV = LOCPATH=$(common-objpfx)localedata
67tst-mbrtowc-ENV = LOCPATH=$(common-objpfx)localedata
68tst-wcrtomb-ENV = LOCPATH=$(common-objpfx)localedata
Note: See TracBrowser for help on using the repository browser.