xref: /haiku/src/system/libroot/posix/glibc/stdio-common/Jamfile (revision 97f11716bfaa0f385eb0e28a52bf56a5023b9e99)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system libroot posix glibc stdio-common ;
25af32e75SAxel Dörfler
35af32e75SAxel DörflerSubDirCcFlags -D_GNU_SOURCE -DUSE_IN_LIBIO ;
45af32e75SAxel Dörfler
5b0944c78SIngo Weinholdlocal architectureObject ;
6b0944c78SIngo Weinholdfor architectureObject in [ MultiArchSubDirSetup ] {
7b0944c78SIngo Weinhold	on $(architectureObject) {
8b0944c78SIngo Weinhold		local architecture = $(TARGET_PACKAGING_ARCH) ;
9b0944c78SIngo Weinhold
10338b8dc3SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc libio ;
11338b8dc3SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
12338b8dc3SIngo Weinhold			$(TARGET_ARCH) ;
13b0944c78SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
14b0944c78SIngo Weinhold			generic ;
15338b8dc3SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ;
16338b8dc3SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc stdio-common ;
17*d338200eSTrung Nguyen		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ctype ;
18338b8dc3SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc locale ;
19338b8dc3SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ;
205af32e75SAxel Dörfler
21ae901935SOliver Tappe		UsePrivateHeaders libroot ;
22ae901935SOliver Tappe
23b0944c78SIngo Weinhold		MergeObject <$(architecture)>posix_gnu_stdio.o :
24353d20c0SIngo Weinhold			_itoa.c
25353d20c0SIngo Weinhold			_itowa.c
26353d20c0SIngo Weinhold			asprintf.c
27db9d2a6fSJérôme Duval			dprintf.c
28353d20c0SIngo Weinhold			fprintf.c
29353d20c0SIngo Weinhold			fscanf.c
30353d20c0SIngo Weinhold			getline.c
31353d20c0SIngo Weinhold			getw.c
32353d20c0SIngo Weinhold			itoa-digits.c
33353d20c0SIngo Weinhold			itoa-udigits.c
34353d20c0SIngo Weinhold			itowa-digits.c
35353d20c0SIngo Weinhold			perror.c
36353d20c0SIngo Weinhold			printf-prs.c
37353d20c0SIngo Weinhold			printf.c
38353d20c0SIngo Weinhold			printf_fp.c
39353d20c0SIngo Weinhold			printf_fphex.c
4016d5c24eSOliver Tappe			printf_size.c
41353d20c0SIngo Weinhold			putw.c
42353d20c0SIngo Weinhold			reg-printf.c
43353d20c0SIngo Weinhold			scanf.c
44353d20c0SIngo Weinhold			snprintf.c
45353d20c0SIngo Weinhold			sprintf.c
46353d20c0SIngo Weinhold			sscanf.c
47353d20c0SIngo Weinhold			tempnam.c
48353d20c0SIngo Weinhold			tempname.c
49d75882bfSJérôme Duval			tmpfile.c
50353d20c0SIngo Weinhold			tmpnam.c
51353d20c0SIngo Weinhold			tmpnam_r.c
52353d20c0SIngo Weinhold			vfprintf.c
53353d20c0SIngo Weinhold#			vfprintf_stub.c
54353d20c0SIngo Weinhold#			vfscanf_stub.c
55353d20c0SIngo Weinhold			vfscanf.c
56353d20c0SIngo Weinhold			vfwprintf.c
5716d5c24eSOliver Tappe			vfwscanf.c
58353d20c0SIngo Weinhold			vprintf.c
595af32e75SAxel Dörfler			;
60b0944c78SIngo Weinhold	}
61b0944c78SIngo Weinhold}
62