xref: /haiku/src/system/libroot/posix/glibc/libio/Jamfile (revision fc7456e9b1ec38c941134ed6d01c438cf289381e)
1SubDir HAIKU_TOP src system libroot posix glibc libio ;
2
3# For now, all wide character functions are disabled,
4# obprintf() is also disabled, because we don't have
5# obstack functionality
6
7SubDirCcFlags -D_GNU_SOURCE -DUSE_IN_LIBIO ;
8
9local architectureObject ;
10for architectureObject in [ MultiArchSubDirSetup ] {
11	on $(architectureObject) {
12		local architecture = $(TARGET_PACKAGING_ARCH) ;
13
14		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
15			$(TARGET_ARCH) ;
16		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
17			generic ;
18		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc stdio-common ;
19		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc libio ;
20		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ;
21		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc locale ;
22		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ;
23		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc iconv ;
24
25		UsePrivateHeaders libroot ;
26
27		MergeObject <$(architecture)>posix_gnu_libio.o :
28			__fpurge.c
29			__fsetlocking.c
30			clearerr.c
31			clearerr_u.c
32			fcloseall.c
33			feof.c
34			feof_u.c
35			ferror.c
36			ferror_u.c
37			fileno.c
38			filedoalloc.c
39			fileops.c
40			flockfile.c
41			fmemopen.c
42			fputc.c
43			fputc_u.c
44			freopen.c
45			fseek.c
46			fseeko.c
47			ftello.c
48			fwide.c
49			genops.c
50			getc.c
51			getc_u.c
52			getchar.c
53			getchar_u.c
54			iofclose.c
55			iofdopen.c
56			iofflush.c
57			iofgetpos.c
58			iofgets.c
59			iofgets_u.c
60			iofopen.c
61			iofopncook.c
62			iofputs.c
63			iofputs_u.c
64			iofread.c
65			iofread_u.c
66			iofsetpos.c
67			ioftell.c
68			iofwrite.c
69			iofwrite_u.c
70			iofwide.c
71			iogetdelim.c
72			iogetline.c
73			iogets.c
74			iopadn.c
75			iopopen.c
76			ioputs.c
77			ioseekoff.c
78			ioseekpos.c
79			iosetbuffer.c
80			iosetvbuf.c
81			ioungetc.c
82			iovdprintf.c
83			iovsprintf.c
84			iovsscanf.c
85			memstream.c
86#			obprintf.c
87			pclose.c
88			peekc.c
89			putc.c
90			putc_u.c
91			putchar.c
92			putchar_u.c
93			rewind.c
94			setbuf.c
95			setlinebuf.c
96			stdfiles.c
97			stdio.c
98			strops.c
99			vasprintf.c
100			vscanf.c
101			vsnprintf.c
102
103			# wide character
104
105			fputwc.c
106			fputwc_u.c
107			fwprintf.c
108			fwscanf.c
109			getwc.c
110			getwc_u.c
111			getwchar.c
112			iofgetws.c
113			iofputws.c
114			iofputws_u.c
115			iogetwline.c
116			ioungetwc.c
117			iovswscanf.c
118			iowpadn.c
119			putwc.c
120			putwc_u.c
121			putwchar.c
122			putwchar_u.c
123			swprintf.c
124			swscanf.c
125			vswprintf.c
126			vwprintf.c
127			vwscanf.c
128			wfiledoalloc.c
129			wfileops.c
130			wgenops.c
131			wprintf.c
132			wscanf.c
133			wstrops.c
134			;
135	}
136}
137