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