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