xref: /haiku/src/system/libroot/posix/glibc/stdlib/Jamfile (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
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			a64l.c
23			drand48.c
24			drand48_r.c
25			drand48-iter.c
26			erand48.c
27			erand48_r.c
28			fpioconst.c
29			jrand48.c
30			jrand48_r.c
31			inlines.c
32			l64a.c
33			lcong48.c
34			lcong48_r.c
35			lrand48.c
36			lrand48_r.c
37			mrand48.c
38			mrand48_r.c
39			nrand48.c
40			nrand48_r.c
41			random_r.c
42			seed48.c
43			seed48_r.c
44			srand48.c
45			srand48_r.c
46			strtod.c
47			strtold.c
48			strtof.c
49			;
50	}
51}
52