xref: /haiku/src/system/libroot/posix/glibc/libio/Jamfile (revision 93aeb8c3bc3f13cb1f282e3e749258a23790d947)
1SubDir HAIKU_TOP src system libroot posix glibc libio ;
2
3SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
4	$(TARGET_ARCH) ;
5SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc stdio-common ;
6SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc libio ;
7SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ;
8SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc locale ;
9SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ;
10SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc iconv ;
11
12# For now, all wide character functions are disabled,
13# obprintf() is also disabled, because we don't have
14# obstack functionality
15
16KernelMergeObject posix_gnu_libio.o :
17	<$(SOURCE_GRIST)>clearerr.c
18	<$(SOURCE_GRIST)>clearerr_u.c
19	<$(SOURCE_GRIST)>fcloseall.c
20	<$(SOURCE_GRIST)>feof.c
21	<$(SOURCE_GRIST)>feof_u.c
22	<$(SOURCE_GRIST)>ferror.c
23	<$(SOURCE_GRIST)>ferror_u.c
24	<$(SOURCE_GRIST)>fileno.c
25	<$(SOURCE_GRIST)>filedoalloc.c
26	<$(SOURCE_GRIST)>fileops.c
27	<$(SOURCE_GRIST)>flockfile.c
28	<$(SOURCE_GRIST)>fputc.c
29	<$(SOURCE_GRIST)>fputc_u.c
30	<$(SOURCE_GRIST)>freopen.c
31	<$(SOURCE_GRIST)>fseek.c
32	<$(SOURCE_GRIST)>fseeko.c
33	<$(SOURCE_GRIST)>ftello.c
34	<$(SOURCE_GRIST)>fwide.c
35	<$(SOURCE_GRIST)>genops.c
36	<$(SOURCE_GRIST)>getc.c
37	<$(SOURCE_GRIST)>getc_u.c
38	<$(SOURCE_GRIST)>getchar.c
39	<$(SOURCE_GRIST)>getchar_u.c
40	<$(SOURCE_GRIST)>iofclose.c
41	<$(SOURCE_GRIST)>iofdopen.c
42	<$(SOURCE_GRIST)>iofflush.c
43	<$(SOURCE_GRIST)>iofgetpos.c
44	<$(SOURCE_GRIST)>iofgets.c
45	<$(SOURCE_GRIST)>iofgets_u.c
46	<$(SOURCE_GRIST)>iofopen.c
47	<$(SOURCE_GRIST)>iofputs.c
48	<$(SOURCE_GRIST)>iofputs_u.c
49	<$(SOURCE_GRIST)>iofread.c
50	<$(SOURCE_GRIST)>iofread_u.c
51	<$(SOURCE_GRIST)>iofsetpos.c
52	<$(SOURCE_GRIST)>ioftell.c
53	<$(SOURCE_GRIST)>iofwrite.c
54	<$(SOURCE_GRIST)>iofwrite_u.c
55	<$(SOURCE_GRIST)>iofwide.c
56	<$(SOURCE_GRIST)>iogetdelim.c
57	<$(SOURCE_GRIST)>iogetline.c
58	<$(SOURCE_GRIST)>iogets.c
59	<$(SOURCE_GRIST)>iopadn.c
60	<$(SOURCE_GRIST)>iopopen.c
61	<$(SOURCE_GRIST)>ioputs.c
62	<$(SOURCE_GRIST)>ioseekoff.c
63	<$(SOURCE_GRIST)>ioseekpos.c
64	<$(SOURCE_GRIST)>iosetbuffer.c
65	<$(SOURCE_GRIST)>iosetvbuf.c
66	<$(SOURCE_GRIST)>ioungetc.c
67	<$(SOURCE_GRIST)>iovdprintf.c
68	<$(SOURCE_GRIST)>iovsprintf.c
69	<$(SOURCE_GRIST)>iovsscanf.c
70#	<$(SOURCE_GRIST)>obprintf.c
71	<$(SOURCE_GRIST)>pclose.c
72	<$(SOURCE_GRIST)>peekc.c
73	<$(SOURCE_GRIST)>putc.c
74	<$(SOURCE_GRIST)>putc_u.c
75	<$(SOURCE_GRIST)>putchar.c
76	<$(SOURCE_GRIST)>putchar_u.c
77	<$(SOURCE_GRIST)>rewind.c
78	<$(SOURCE_GRIST)>setbuf.c
79	<$(SOURCE_GRIST)>setlinebuf.c
80	<$(SOURCE_GRIST)>stdfiles.c
81	<$(SOURCE_GRIST)>stdio.c
82	<$(SOURCE_GRIST)>strops.c
83	<$(SOURCE_GRIST)>vasprintf.c
84	<$(SOURCE_GRIST)>vscanf.c
85	<$(SOURCE_GRIST)>vsnprintf.c
86	<$(SOURCE_GRIST)>wfile_stubs.c
87
88	# wide character
89
90#	<$(SOURCE_GRIST)>fputwc.c
91#	<$(SOURCE_GRIST)>fputwc_u.c
92#	<$(SOURCE_GRIST)>fwprintf.c
93#	<$(SOURCE_GRIST)>fwscanf.c
94#	<$(SOURCE_GRIST)>getwc.c
95#	<$(SOURCE_GRIST)>getwc_u.c
96#	<$(SOURCE_GRIST)>iofputws.c
97#	<$(SOURCE_GRIST)>iofputws_u.c
98#	<$(SOURCE_GRIST)>iogetwline.c
99#	<$(SOURCE_GRIST)>ioungetwc.c
100#	<$(SOURCE_GRIST)>iovswscanf.c
101	<$(SOURCE_GRIST)>iowpadn.c
102#	<$(SOURCE_GRIST)>putwc.c
103#	<$(SOURCE_GRIST)>putwc_u.c
104#	<$(SOURCE_GRIST)>putwchar.c
105#	<$(SOURCE_GRIST)>putwchar_u.c
106#	<$(SOURCE_GRIST)>swprintf.c
107#	<$(SOURCE_GRIST)>swscanf.c
108#	<$(SOURCE_GRIST)>vswprintf.c
109#	<$(SOURCE_GRIST)>vwprintf.c
110#	<$(SOURCE_GRIST)>vwscanf.c
111#	<$(SOURCE_GRIST)>wfiledoalloc.c
112#	<$(SOURCE_GRIST)>wfileops.c
113	<$(SOURCE_GRIST)>wgenops.c
114#	<$(SOURCE_GRIST)>wprintf.c
115#	<$(SOURCE_GRIST)>wscanf.c
116#	<$(SOURCE_GRIST)>wstrops.c
117	:
118	-fPIC -DPIC
119	;
120
121# use this to build a standalone libio.so
122# using libio.so, haiku's version of libstdc++.r4.so can be tested under R5.
123#SharedLibrary libio.so :
124#	<$(SOURCE_GRIST)>clearerr.c
125#	<$(SOURCE_GRIST)>clearerr_u.c
126#	<$(SOURCE_GRIST)>fcloseall.c
127#	<$(SOURCE_GRIST)>feof.c
128#	<$(SOURCE_GRIST)>feof_u.c
129#	<$(SOURCE_GRIST)>ferror.c
130#	<$(SOURCE_GRIST)>ferror_u.c
131#	<$(SOURCE_GRIST)>fileno.c
132#	<$(SOURCE_GRIST)>filedoalloc.c
133#	<$(SOURCE_GRIST)>fileops.c
134#	<$(SOURCE_GRIST)>flockfile.c
135#	<$(SOURCE_GRIST)>fputc.c
136#	<$(SOURCE_GRIST)>fputc_u.c
137#	<$(SOURCE_GRIST)>fseek.c
138#	<$(SOURCE_GRIST)>fseeko.c
139#	<$(SOURCE_GRIST)>ftello.c
140#	<$(SOURCE_GRIST)>fwide.c
141#	<$(SOURCE_GRIST)>genops.c
142#	<$(SOURCE_GRIST)>getc.c
143#	<$(SOURCE_GRIST)>getc_u.c
144#	<$(SOURCE_GRIST)>getchar.c
145#	<$(SOURCE_GRIST)>getchar_u.c
146#	<$(SOURCE_GRIST)>iofclose.c
147#	<$(SOURCE_GRIST)>iofdopen.c
148#	<$(SOURCE_GRIST)>iofflush.c
149#	<$(SOURCE_GRIST)>iofgets.c
150#	<$(SOURCE_GRIST)>iofgets_u.c
151#	<$(SOURCE_GRIST)>iofopen.c
152#	<$(SOURCE_GRIST)>iofputs.c
153#	<$(SOURCE_GRIST)>iofputs_u.c
154#	<$(SOURCE_GRIST)>iofread.c
155#	<$(SOURCE_GRIST)>iofread_u.c
156#	<$(SOURCE_GRIST)>ioftell.c
157#	<$(SOURCE_GRIST)>iofwrite.c
158#	<$(SOURCE_GRIST)>iofwrite_u.c
159#	<$(SOURCE_GRIST)>iofwide.c
160#	<$(SOURCE_GRIST)>iogetdelim.c
161#	<$(SOURCE_GRIST)>iogetline.c
162#	<$(SOURCE_GRIST)>iogets.c
163#	<$(SOURCE_GRIST)>iopadn.c
164#	<$(SOURCE_GRIST)>iopopen.c
165#	<$(SOURCE_GRIST)>ioputs.c
166#	<$(SOURCE_GRIST)>ioseekoff.c
167#	<$(SOURCE_GRIST)>ioseekpos.c
168#	<$(SOURCE_GRIST)>iosetbuffer.c
169#	<$(SOURCE_GRIST)>iosetvbuf.c
170#	<$(SOURCE_GRIST)>ioungetc.c
171#	<$(SOURCE_GRIST)>iovdprintf.c
172#	<$(SOURCE_GRIST)>iovsprintf.c
173#	<$(SOURCE_GRIST)>iovsscanf.c
174#	<$(SOURCE_GRIST)>peekc.c
175#	<$(SOURCE_GRIST)>putc.c
176#	<$(SOURCE_GRIST)>putc_u.c
177#	<$(SOURCE_GRIST)>putchar.c
178#	<$(SOURCE_GRIST)>putchar_u.c
179#	<$(SOURCE_GRIST)>rewind.c
180#	<$(SOURCE_GRIST)>setbuf.c
181#	<$(SOURCE_GRIST)>setlinebuf.c
182#	<$(SOURCE_GRIST)>stdfiles.c
183#	<$(SOURCE_GRIST)>stdio.c
184#	<$(SOURCE_GRIST)>strops.c
185#	<$(SOURCE_GRIST)>vasprintf.c
186#	<$(SOURCE_GRIST)>vscanf.c
187#	<$(SOURCE_GRIST)>vsnprintf.c
188#	<$(SOURCE_GRIST)>wfile_stubs.c ;
189
190#KernelMergeObject kernel_posix_stdio.o :
191#	<$(SOURCE_GRIST)>kvsprintf.c
192#	:
193#	-fPIC -DPIC
194#	;
195#
196