source: trunk/libs/newlib/src/newlib/libc/string/Makefile.am @ 543

Last change on this file since 543 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 3.3 KB
Line 
1## Process this file with automake to generate Makefile.in
2
3AUTOMAKE_OPTIONS = cygnus
4
5INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
6
7GENERAL_SOURCES = \
8        bcopy.c \
9        bzero.c \
10        explicit_bzero.c \
11        ffsl.c \
12        ffsll.c \
13        fls.c \
14        flsl.c \
15        flsll.c \
16        index.c \
17        memchr.c \
18        memcmp.c \
19        memcpy.c \
20        memmove.c \
21        memset.c \
22        rindex.c \
23        strcasecmp.c \
24        strcat.c \
25        strchr.c \
26        strcmp.c \
27        strcoll.c \
28        strcpy.c \
29        strcspn.c \
30        strdup.c \
31        strdup_r.c \
32        strerror.c \
33        strerror_r.c \
34        strlcat.c \
35        strlcpy.c \
36        strlen.c  \
37        strlwr.c \
38        strncasecmp.c \
39        strncat.c \
40        strncmp.c \
41        strncpy.c \
42        strnlen.c \
43        strnstr.c \
44        strpbrk.c \
45        strrchr.c \
46        strsep.c \
47        strsignal.c \
48        strspn.c \
49        strtok.c \
50        strtok_r.c \
51        strupr.c \
52        strxfrm.c  \
53        strstr.c \
54        swab.c \
55        timingsafe_bcmp.c \
56        timingsafe_memcmp.c \
57        u_strerr.c \
58        wcscat.c \
59        wcschr.c \
60        wcscmp.c \
61        wcscoll.c \
62        wcscpy.c \
63        wcscspn.c \
64        wcslcat.c \
65        wcslcpy.c \
66        wcslen.c \
67        wcsncat.c \
68        wcsncmp.c \
69        wcsncpy.c \
70        wcsnlen.c \
71        wcspbrk.c \
72        wcsrchr.c \
73        wcsspn.c \
74        wcsstr.c \
75        wcstok.c \
76        wcswidth.c \
77        wcsxfrm.c \
78        wcwidth.c \
79        wmemchr.c \
80        wmemcmp.c \
81        wmemcpy.c \
82        wmemmove.c \
83        wmemset.c \
84        xpg_strerror_r.c
85
86if ELIX_LEVEL_1
87ELIX_2_SOURCES =
88else
89ELIX_2_SOURCES = \
90        bcmp.c \
91        memccpy.c \
92        mempcpy.c \
93        stpcpy.c \
94        stpncpy.c \
95        strndup.c \
96        strcasestr.c \
97        strchrnul.c \
98        strndup_r.c \
99        wcpcpy.c \
100        wcpncpy.c \
101        wcsdup.c
102endif !ELIX_LEVEL_1
103
104if ELIX_LEVEL_1
105ELIX_4_SOURCES =
106else
107if ELIX_LEVEL_2
108ELIX_4_SOURCES =
109else
110if ELIX_LEVEL_3
111ELIX_4_SOURCES =
112else
113ELIX_4_SOURCES = \
114        gnu_basename.c \
115        memmem.c \
116        memrchr.c \
117        rawmemchr.c \
118        strcasecmp_l.c \
119        strcoll_l.c \
120        strncasecmp_l.c \
121        strverscmp.c \
122        strxfrm_l.c \
123        wcscasecmp.c \
124        wcscasecmp_l.c \
125        wcscoll_l.c \
126        wcsncasecmp.c \
127        wcsncasecmp_l.c \
128        wcsxfrm_l.c \
129        wmempcpy.c
130endif !ELIX_LEVEL_3
131endif !ELIX_LEVEL_2
132endif !ELIX_LEVEL_1
133
134libstring_la_LDFLAGS = -Xcompiler -nostdlib
135
136if USE_LIBTOOL
137noinst_LTLIBRARIES = libstring.la
138libstring_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
139noinst_DATA = objectlist.awk.in
140else
141noinst_LIBRARIES = lib.a
142lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
143lib_a_CFLAGS = $(AM_CFLAGS)
144noinst_DATA =
145endif # USE_LIBTOOL
146
147include $(srcdir)/../../Makefile.shared
148
149CHEWOUT_FILES=\
150bcmp.def        memcpy.def      strcmp.def      strncat.def strstr.def \
151bcopy.def       memmove.def     strcoll.def     strncmp.def strtok.def \
152bzero.def       memset.def      strcpy.def      strncpy.def strxfrm.def \
153index.def       rindex.def      strcspn.def     strpbrk.def swab.def \
154memchr.def      strcat.def      strerror.def    strerror_r.def strrchr.def \
155memcmp.def      strchr.def      strlen.def      strnlen.def strspn.def \
156strcasecmp.def  strncasecmp.def strcasestr.def  strlwr.def  strupr.def \
157memccpy.def     mempcpy.def     stpcpy.def      stpncpy.def strsignal.def \
158wcscasecmp.def  wcscat.def      wcschr.def      wcscmp.def wcscoll.def \
159wcscpy.def      wcscspn.def     wcpcpy.def      wcpncpy.def wcsdup.def \
160wcslcat.def     wcslcpy.def     wcslen.def      wcsncasecmp.def wcsncat.def \
161wcsncmp.def     wcsncpy.def     wcsnlen.def     wcspbrk.def \
162wcsrchr.def     wcsspn.def      wcsstr.def      wcstok.def  \
163wcswidth.def    wcsxfrm.def     wcwidth.def     wmemchr.def \
164wmemcmp.def     wmemcpy.def     wmemmove.def    wmemset.def \
165memmem.def      memrchr.def     rawmemchr.def   strchrnul.def \
166strcasecmp_l.def strcoll_l.def  strncasecmp_l.def strxfrm_l.def \
167wcscasecmp_l.def wcscoll_l.def  wcsncasecmp_l.def wcsxfrm_l.def \
168strverscmp.def  strnstr.def     wmempcpy.def
169
170CHAPTERS = strings.tex wcstrings.tex
Note: See TracBrowser for help on using the repository browser.