1add_subdirectory(printf_core)
2
3add_entrypoint_object(
4  fopen
5  SRCS
6    fopen.cpp
7  HDRS
8    fopen.h
9  DEPENDS
10    libc.include.stdio
11    libc.src.__support.File.file
12    libc.src.__support.File.platform_file
13)
14
15add_entrypoint_object(
16  fclose
17  SRCS
18    fclose.cpp
19  HDRS
20    fclose.h
21  DEPENDS
22    libc.include.stdio
23    libc.src.__support.File.file
24    libc.src.__support.File.platform_file
25)
26
27add_entrypoint_object(
28  clearerr
29  SRCS
30    clearerr.cpp
31  HDRS
32    clearerr.h
33  DEPENDS
34    libc.include.stdio
35    libc.src.__support.File.file
36    libc.src.__support.File.platform_file
37)
38
39add_entrypoint_object(
40  clearerr_unlocked
41  SRCS
42    clearerr_unlocked.cpp
43  HDRS
44    clearerr_unlocked.h
45  DEPENDS
46    libc.include.stdio
47    libc.src.__support.File.file
48    libc.src.__support.File.platform_file
49)
50
51add_entrypoint_object(
52  feof
53  SRCS
54    feof.cpp
55  HDRS
56    feof.h
57  DEPENDS
58    libc.include.stdio
59    libc.src.__support.File.file
60    libc.src.__support.File.platform_file
61)
62
63add_entrypoint_object(
64  feof_unlocked
65  SRCS
66    feof_unlocked.cpp
67  HDRS
68    feof_unlocked.h
69  DEPENDS
70    libc.include.stdio
71    libc.src.__support.File.file
72    libc.src.__support.File.platform_file
73)
74
75add_entrypoint_object(
76  ferror
77  SRCS
78    ferror.cpp
79  HDRS
80    ferror.h
81  DEPENDS
82    libc.include.stdio
83    libc.src.__support.File.file
84    libc.src.__support.File.platform_file
85)
86
87add_entrypoint_object(
88  ferror_unlocked
89  SRCS
90    ferror_unlocked.cpp
91  HDRS
92    ferror_unlocked.h
93  DEPENDS
94    libc.include.stdio
95    libc.src.__support.File.file
96    libc.src.__support.File.platform_file
97)
98
99add_entrypoint_object(
100  fflush
101  SRCS
102    fflush.cpp
103  HDRS
104    fflush.h
105  DEPENDS
106    libc.include.stdio
107    libc.src.__support.File.file
108    libc.src.__support.File.platform_file
109)
110
111add_entrypoint_object(
112  flockfile
113  SRCS
114    flockfile.cpp
115  HDRS
116    flockfile.h
117  DEPENDS
118    libc.include.stdio
119    libc.src.__support.File.file
120    libc.src.__support.File.platform_file
121)
122
123add_entrypoint_object(
124  funlockfile
125  SRCS
126    funlockfile.cpp
127  HDRS
128    funlockfile.h
129  DEPENDS
130    libc.include.stdio
131    libc.src.__support.File.file
132    libc.src.__support.File.platform_file
133)
134
135add_entrypoint_object(
136  fread_unlocked
137  SRCS
138    fread_unlocked.cpp
139  HDRS
140    fread_unlocked.h
141  DEPENDS
142    libc.include.stdio
143    libc.src.__support.File.file
144    libc.src.__support.File.platform_file
145)
146
147add_entrypoint_object(
148  fread
149  SRCS
150    fread.cpp
151  HDRS
152    fread.h
153  DEPENDS
154    libc.include.stdio
155    libc.src.__support.File.file
156    libc.src.__support.File.platform_file
157)
158
159add_entrypoint_object(
160  fwrite_unlocked
161  SRCS
162    fwrite_unlocked.cpp
163  HDRS
164    fwrite_unlocked.h
165  DEPENDS
166    libc.include.stdio
167    libc.src.__support.File.file
168    libc.src.__support.File.platform_file
169)
170
171add_entrypoint_object(
172  fwrite
173  SRCS
174    fwrite.cpp
175  HDRS
176    fwrite.h
177  DEPENDS
178    libc.include.stdio
179    libc.src.__support.File.file
180    libc.src.__support.File.platform_file
181)
182
183add_entrypoint_object(
184  fseek
185  SRCS
186    fseek.cpp
187  HDRS
188    fseek.h
189  DEPENDS
190    libc.include.stdio
191    libc.src.__support.File.file
192    libc.src.__support.File.platform_file
193)
194
195add_entrypoint_object(
196  fopencookie
197  SRCS
198    fopencookie.cpp
199  HDRS
200    fopencookie.h
201  DEPENDS
202    libc.include.stdio
203    libc.src.__support.File.file
204)
205
206add_entrypoint_object(
207  stdout
208  SRCS
209    stdout.cpp
210  HDRS
211    stdout.h
212  DEPENDS
213    libc.include.stdio
214    libc.src.__support.File.file
215    libc.src.__support.File.platform_file
216)
217
218add_entrypoint_object(
219  stderr
220  SRCS
221    stderr.cpp
222  HDRS
223    stderr.h
224  DEPENDS
225    libc.include.stdio
226    libc.src.__support.File.file
227    libc.src.__support.File.platform_file
228)
229
230add_entrypoint_object(
231  sprintf
232  SRCS
233    sprintf.cpp
234  HDRS
235    sprintf.h
236  DEPENDS
237    libc.src.stdio.printf_core.printf_main
238    libc.src.stdio.printf_core.string_writer
239    libc.src.stdio.printf_core.writer
240)
241
242add_entrypoint_object(
243  snprintf
244  SRCS
245    snprintf.cpp
246  HDRS
247    snprintf.h
248  DEPENDS
249    libc.src.stdio.printf_core.printf_main
250    libc.src.stdio.printf_core.string_writer
251    libc.src.stdio.printf_core.writer
252)
253
254add_entrypoint_object(
255  fprintf
256  SRCS
257    fprintf.cpp
258  HDRS
259    fprintf.h
260  DEPENDS
261    libc.src.__support.arg_list
262    libc.src.stdio.printf_core.vfprintf_internal
263)
264
265
266add_entrypoint_object(
267  printf
268  SRCS
269    printf.cpp
270  HDRS
271    printf.h
272  DEPENDS
273    libc.src.__support.File.file
274    libc.src.__support.File.platform_file
275    libc.src.__support.arg_list
276    libc.src.stdio.printf_core.vfprintf_internal
277)
278