1 ## Process this file with Automake to create Makefile.in
3 noinst_LIBRARIES = libc.a
8 libc_a_SOURCES += __assert.c
11 libc_a_SOURCES += isalnum.c
12 libc_a_SOURCES += isalpha.c
13 libc_a_SOURCES += isblank.c
14 libc_a_SOURCES += iscntrl.c
15 libc_a_SOURCES += isdigit.c
16 libc_a_SOURCES += isgraph.c
17 libc_a_SOURCES += islower.c
18 libc_a_SOURCES += isprint.c
19 libc_a_SOURCES += ispunct.c
20 libc_a_SOURCES += isspace.c
21 libc_a_SOURCES += isupper.c
22 libc_a_SOURCES += isxdigit.c
23 libc_a_SOURCES += tolower.c
24 libc_a_SOURCES += toupper.c
27 libc_a_SOURCES += errno.c
30 #libc_a_SOURCES += _setjmp.c
33 libc_a_SOURCES += fprintf.c
34 libc_a_SOURCES += fputc.c
35 libc_a_SOURCES += fputs.c
36 libc_a_SOURCES += getchar.c
37 libc_a_SOURCES += gets.c
38 libc_a_SOURCES += printf.c
39 libc_a_SOURCES += printfl.c
40 libc_a_SOURCES += putchar.c
41 libc_a_SOURCES += puts.c
42 libc_a_SOURCES += sprintf.c
43 libc_a_SOURCES += streams.c
44 libc_a_SOURCES += strmgpsim.c
45 libc_a_SOURCES += strmmssp.c
46 libc_a_SOURCES += strmusart.c
47 libc_a_SOURCES += vfprintf.c
48 libc_a_SOURCES += vprintf.c
49 libc_a_SOURCES += vsprintf.c
52 libc_a_SOURCES += _atof.c
53 libc_a_SOURCES += _ftoa.c
54 libc_a_SOURCES += __itoa.c
55 libc_a_SOURCES += __ltoa.c
56 libc_a_SOURCES += abs.c
57 libc_a_SOURCES += aligned_alloc.c
58 libc_a_SOURCES += atoi.c
59 libc_a_SOURCES += atol.c
60 libc_a_SOURCES += bsearch.c
61 libc_a_SOURCES += _calloc.c
62 libc_a_SOURCES += free.c
63 libc_a_SOURCES += labs.c
64 libc_a_SOURCES += malloc.c
65 libc_a_SOURCES += mblen.c
66 libc_a_SOURCES += mbstowcs.c
67 libc_a_SOURCES += mbtowc.c
68 libc_a_SOURCES += memfree.c
69 libc_a_SOURCES += memfreemax.c
70 libc_a_SOURCES += memmisc.c
71 libc_a_SOURCES += qsort.c
72 libc_a_SOURCES += rand.c
73 libc_a_SOURCES += realloc.c
74 libc_a_SOURCES += strtol.c
75 libc_a_SOURCES += strtoul.c
76 libc_a_SOURCES += wcstombs.c
77 libc_a_SOURCES += wctomb.c
80 libc_a_SOURCES += _memchr.c
81 libc_a_SOURCES += _memcmp.c
82 libc_a_SOURCES += __memcpy.c
83 libc_a_SOURCES += memcpy.c
84 libc_a_SOURCES += _memmove.c
85 libc_a_SOURCES += _memset.c
86 libc_a_SOURCES += _strcat.c
87 libc_a_SOURCES += _strchr.c
88 libc_a_SOURCES += _strcmp.c
89 libc_a_SOURCES += _strcpy.c
90 libc_a_SOURCES += _strcspn.c
91 libc_a_SOURCES += strlen.c
92 libc_a_SOURCES += strnlen.c
93 libc_a_SOURCES += _strncat.c
94 libc_a_SOURCES += _strncmp.c
95 libc_a_SOURCES += _strncpy.c
96 libc_a_SOURCES += _strpbrk.c
97 libc_a_SOURCES += _strrchr.c
98 libc_a_SOURCES += _strspn.c
99 libc_a_SOURCES += _strstr.c
100 libc_a_SOURCES += _strtok.c
101 libc_a_SOURCES += strxfrm.c
104 #libc_a_SOURCES += time.c
107 libc_a_SOURCES += c16rtomb.c
108 libc_a_SOURCES += c16stombs.c
109 libc_a_SOURCES += c32rtomb.c
110 libc_a_SOURCES += mbrtoc16.c
111 libc_a_SOURCES += mbrtoc32.c
112 libc_a_SOURCES += mbstoc16s.c
115 libc_a_SOURCES += btowc.c
116 libc_a_SOURCES += mbrlen.c
117 libc_a_SOURCES += mbrtowc.c
118 libc_a_SOURCES += mbsinit.c
119 libc_a_SOURCES += wcrtomb.c
120 libc_a_SOURCES += wcscmp.c
121 libc_a_SOURCES += wcslen.c
122 libc_a_SOURCES += wctob.c
124 libc_a_CFLAGS = $(AM_CFLAGS)
126 if ENABLE_ENHANCED_PICS
127 noinst_LIBRARIES += libce.a
128 libce_a_SOURCES = $(libc_a_SOURCES)
129 libce_a_CFLAGS = $(AM_CFLAGS_E)
130 endif ENABLE_ENHANCED_PICS
133 noinst_LIBRARIES += libco.a
134 libco_a_SOURCES = $(libc_a_SOURCES)
135 libco_a_CFLAGS = $(AM_CFLAGS_O)
136 if ENABLE_ENHANCED_PICS
137 noinst_LIBRARIES += libceo.a
138 libceo_a_SOURCES = $(libc_a_SOURCES)
139 libceo_a_CFLAGS = $(AM_CFLAGS_EO)
140 endif ENABLE_ENHANCED_PICS
143 if ENABLE_EXPERIMENTAL
144 noinst_LIBRARIES += libcx.a
145 libcx_a_SOURCES = $(libc_a_SOURCES)
146 libcx_a_CFLAGS = $(AM_CFLAGS_X)
147 if ENABLE_ENHANCED_PICS
148 noinst_LIBRARIES += libcex.a
149 libcex_a_SOURCES = $(libc_a_SOURCES)
150 libcex_a_CFLAGS = $(AM_CFLAGS_EX)
151 endif ENABLE_ENHANCED_PICS
152 endif ENABLE_EXPERIMENTAL
155 if ENABLE_EXPERIMENTAL
156 noinst_LIBRARIES += libcox.a
157 libcox_a_SOURCES = $(libc_a_SOURCES)
158 libcox_a_CFLAGS = $(AM_CFLAGS_OX)
159 if ENABLE_ENHANCED_PICS
160 noinst_LIBRARIES += libceox.a
161 libceox_a_SOURCES = $(libc_a_SOURCES)
162 libceox_a_CFLAGS = $(AM_CFLAGS_EOX)
163 endif ENABLE_ENHANCED_PICS
164 endif ENABLE_EXPERIMENTAL
168 include $(top_srcdir)/Makefile.common