xref: /haiku/src/system/libroot/posix/glibc/libio/Jamfile (revision 6b468e56350c5ea319e8142c19f4e2935c5dea40)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system libroot posix glibc libio ;
25af32e75SAxel Dörfler
35af32e75SAxel Dörfler# For now, all wide character functions are disabled,
45af32e75SAxel Dörfler# obprintf() is also disabled, because we don't have
55af32e75SAxel Dörfler# obstack functionality
65af32e75SAxel Dörfler
787e239b9SJérôme DuvalSubDirCcFlags -D_GNU_SOURCE -DUSE_IN_LIBIO ;
887e239b9SJérôme Duval
9b0944c78SIngo Weinholdlocal architectureObject ;
10b0944c78SIngo Weinholdfor architectureObject in [ MultiArchSubDirSetup ] {
11b0944c78SIngo Weinhold	on $(architectureObject) {
12b0944c78SIngo Weinhold		local architecture = $(TARGET_PACKAGING_ARCH) ;
13b0944c78SIngo Weinhold
14b0944c78SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
15b0944c78SIngo Weinhold			$(TARGET_ARCH) ;
16b0944c78SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
17b0944c78SIngo Weinhold			generic ;
18b0944c78SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc stdio-common ;
19b0944c78SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc libio ;
20b0944c78SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ;
21b0944c78SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc locale ;
22b0944c78SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ;
23b0944c78SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc iconv ;
24b0944c78SIngo Weinhold
25b0944c78SIngo Weinhold		UsePrivateHeaders libroot ;
26b0944c78SIngo Weinhold
27b0944c78SIngo Weinhold		MergeObject <$(architecture)>posix_gnu_libio.o :
28*6b468e56SAugustin Cavalier			__fpurge.c
2987e239b9SJérôme Duval			__fsetlocking.c
30353d20c0SIngo Weinhold			clearerr.c
31353d20c0SIngo Weinhold			clearerr_u.c
32353d20c0SIngo Weinhold			fcloseall.c
33353d20c0SIngo Weinhold			feof.c
34353d20c0SIngo Weinhold			feof_u.c
35353d20c0SIngo Weinhold			ferror.c
36353d20c0SIngo Weinhold			ferror_u.c
37353d20c0SIngo Weinhold			fileno.c
38353d20c0SIngo Weinhold			filedoalloc.c
39353d20c0SIngo Weinhold			fileops.c
40353d20c0SIngo Weinhold			flockfile.c
413d08ac92SFrançois Revol			fmemopen.c
42353d20c0SIngo Weinhold			fputc.c
43353d20c0SIngo Weinhold			fputc_u.c
44353d20c0SIngo Weinhold			freopen.c
45353d20c0SIngo Weinhold			fseek.c
46353d20c0SIngo Weinhold			fseeko.c
47353d20c0SIngo Weinhold			ftello.c
48353d20c0SIngo Weinhold			fwide.c
49353d20c0SIngo Weinhold			genops.c
50353d20c0SIngo Weinhold			getc.c
51353d20c0SIngo Weinhold			getc_u.c
52353d20c0SIngo Weinhold			getchar.c
53353d20c0SIngo Weinhold			getchar_u.c
54353d20c0SIngo Weinhold			iofclose.c
55353d20c0SIngo Weinhold			iofdopen.c
56353d20c0SIngo Weinhold			iofflush.c
57353d20c0SIngo Weinhold			iofgetpos.c
58353d20c0SIngo Weinhold			iofgets.c
59353d20c0SIngo Weinhold			iofgets_u.c
60353d20c0SIngo Weinhold			iofopen.c
613d08ac92SFrançois Revol			iofopncook.c
62353d20c0SIngo Weinhold			iofputs.c
63353d20c0SIngo Weinhold			iofputs_u.c
64353d20c0SIngo Weinhold			iofread.c
65353d20c0SIngo Weinhold			iofread_u.c
66353d20c0SIngo Weinhold			iofsetpos.c
67353d20c0SIngo Weinhold			ioftell.c
68353d20c0SIngo Weinhold			iofwrite.c
69353d20c0SIngo Weinhold			iofwrite_u.c
70353d20c0SIngo Weinhold			iofwide.c
71353d20c0SIngo Weinhold			iogetdelim.c
72353d20c0SIngo Weinhold			iogetline.c
73353d20c0SIngo Weinhold			iogets.c
74353d20c0SIngo Weinhold			iopadn.c
75353d20c0SIngo Weinhold			iopopen.c
76353d20c0SIngo Weinhold			ioputs.c
77353d20c0SIngo Weinhold			ioseekoff.c
78353d20c0SIngo Weinhold			ioseekpos.c
79353d20c0SIngo Weinhold			iosetbuffer.c
80353d20c0SIngo Weinhold			iosetvbuf.c
81353d20c0SIngo Weinhold			ioungetc.c
82353d20c0SIngo Weinhold			iovdprintf.c
83353d20c0SIngo Weinhold			iovsprintf.c
84353d20c0SIngo Weinhold			iovsscanf.c
853d08ac92SFrançois Revol			memstream.c
86353d20c0SIngo Weinhold#			obprintf.c
87353d20c0SIngo Weinhold			pclose.c
88353d20c0SIngo Weinhold			peekc.c
89353d20c0SIngo Weinhold			putc.c
90353d20c0SIngo Weinhold			putc_u.c
91353d20c0SIngo Weinhold			putchar.c
92353d20c0SIngo Weinhold			putchar_u.c
93353d20c0SIngo Weinhold			rewind.c
94353d20c0SIngo Weinhold			setbuf.c
95353d20c0SIngo Weinhold			setlinebuf.c
96353d20c0SIngo Weinhold			stdfiles.c
97353d20c0SIngo Weinhold			stdio.c
98353d20c0SIngo Weinhold			strops.c
99353d20c0SIngo Weinhold			vasprintf.c
100353d20c0SIngo Weinhold			vscanf.c
101353d20c0SIngo Weinhold			vsnprintf.c
1025af32e75SAxel Dörfler
1035af32e75SAxel Dörfler			# wide character
1045af32e75SAxel Dörfler
105353d20c0SIngo Weinhold			fputwc.c
106353d20c0SIngo Weinhold			fputwc_u.c
107353d20c0SIngo Weinhold			fwprintf.c
10816d5c24eSOliver Tappe			fwscanf.c
109353d20c0SIngo Weinhold			getwc.c
110353d20c0SIngo Weinhold			getwc_u.c
1118a34e3d4SJérôme Duval			getwchar.c
1128a34e3d4SJérôme Duval			iofgetws.c
113353d20c0SIngo Weinhold			iofputws.c
114353d20c0SIngo Weinhold			iofputws_u.c
115353d20c0SIngo Weinhold			iogetwline.c
116353d20c0SIngo Weinhold			ioungetwc.c
11716d5c24eSOliver Tappe			iovswscanf.c
118353d20c0SIngo Weinhold			iowpadn.c
119353d20c0SIngo Weinhold			putwc.c
120353d20c0SIngo Weinhold			putwc_u.c
121353d20c0SIngo Weinhold			putwchar.c
122353d20c0SIngo Weinhold			putwchar_u.c
123353d20c0SIngo Weinhold			swprintf.c
12416d5c24eSOliver Tappe			swscanf.c
125353d20c0SIngo Weinhold			vswprintf.c
126353d20c0SIngo Weinhold			vwprintf.c
12716d5c24eSOliver Tappe			vwscanf.c
128e0635954SJérôme Duval			wfiledoalloc.c
129e0635954SJérôme Duval			wfileops.c
130353d20c0SIngo Weinhold			wgenops.c
131353d20c0SIngo Weinhold			wprintf.c
13216d5c24eSOliver Tappe			wscanf.c
133353d20c0SIngo Weinhold			wstrops.c
1345af32e75SAxel Dörfler			;
135b0944c78SIngo Weinhold	}
136b0944c78SIngo Weinhold}
137