xref: /haiku/src/system/libroot/posix/glibc/stdlib/Jamfile (revision 52f7c9389475e19fc21487b38064b4390eeb6fea)
1SubDir HAIKU_TOP src system libroot posix glibc stdlib ;
2
3SubDirCcFlags -D_GNU_SOURCE -DUSE_IN_LIBIO ;
4
5local architectureObject ;
6for architectureObject in [ MultiArchSubDirSetup ] {
7	on $(architectureObject) {
8		local architecture = $(TARGET_PACKAGING_ARCH) ;
9
10		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
11			$(TARGET_ARCH) ;
12		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
13			generic ;
14		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ;
15		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc locale ;
16		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc stdlib ;
17		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ;
18
19		UsePrivateHeaders libroot ;
20
21		MergeObject <$(architecture)>posix_gnu_stdlib.o :
22			drand48.c
23			drand48_r.c
24			drand48-iter.c
25			erand48.c
26			erand48_r.c
27			fpioconst.c
28			jrand48.c
29			jrand48_r.c
30			inlines.c
31			lcong48.c
32			lcong48_r.c
33			lrand48.c
34			lrand48_r.c
35			mrand48.c
36			mrand48_r.c
37			nrand48.c
38			nrand48_r.c
39			random_r.c
40			seed48.c
41			seed48_r.c
42			srand48.c
43			srand48_r.c
44			strtod.c
45			strtold.c
46			strtof.c
47			;
48	}
49}
50