Update.
[platform/upstream/glibc.git] / wcsmbs / Makefile
1 # Copyright (C) 1995, 1996, 1997, 1998, 1999 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 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
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.
18
19 #
20 #       Sub-makefile for wcsmbs portion of the library.
21 #
22 subdir  := wcsmbs
23
24 headers := wchar.h
25 distribute := wcwidth.h wcsmbsload.h
26
27 routines := 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
41
42 tests := tst-wcstof wcsmbs-tst1 tst-wcsnlen
43
44 include ../Rules
45
46 CFLAGS-wcwidth.c = -I../wctype
47 CFLAGS-wcswidth.c = -I../wctype
48
49 CFLAGS-wcstol.c = -I../stdlib
50 CFLAGS-wcstoul.c = -I../stdlib
51 CFLAGS-wcstoll.c = -I../stdlib
52 CFLAGS-wcstoull.c = -I../stdlib
53 CFLAGS-wcstod.c = -I../stdlib
54 CFLAGS-wcstold.c = -I../stdlib
55 CFLAGS-wcstof.c = -I../stdlib
56 CFLAGS-wcstol_l.c = -I../stdlib
57 CFLAGS-wcstoul_l.c = -I../stdlib
58 CFLAGS-wcstoll_l.c = -I../stdlib
59 CFLAGS-wcstoull_l.c = -I../stdlib
60 CFLAGS-wcstod_l.c = -I../stdlib
61 CFLAGS-wcstold_l.c = -I../stdlib
62 CFLAGS-wcstof_l.c = -I../stdlib