xref: /haiku/src/system/libroot/posix/glibc/stdlib/Jamfile (revision 97f11716bfaa0f385eb0e28a52bf56a5023b9e99)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system libroot posix glibc stdlib ;
25af32e75SAxel Dörfler
3b0944c78SIngo WeinholdSubDirCcFlags -D_GNU_SOURCE -DUSE_IN_LIBIO ;
4b0944c78SIngo Weinhold
5b0944c78SIngo Weinholdlocal architectureObject ;
6b0944c78SIngo Weinholdfor architectureObject in [ MultiArchSubDirSetup ] {
7b0944c78SIngo Weinhold	on $(architectureObject) {
8b0944c78SIngo Weinhold		local architecture = $(TARGET_PACKAGING_ARCH) ;
9b0944c78SIngo Weinhold
10b0944c78SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
11b0944c78SIngo Weinhold			$(TARGET_ARCH) ;
12b0944c78SIngo Weinhold		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
13b0944c78SIngo Weinhold			generic ;
1468719375SJérôme Duval		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ;
15*d338200eSTrung Nguyen		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ctype ;
16ef0635bdSJérôme Duval		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc locale ;
174f86db49SOliver Tappe		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc stdlib ;
1868719375SJérôme Duval		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ;
195af32e75SAxel Dörfler
20ae901935SOliver Tappe		UsePrivateHeaders libroot ;
21ae901935SOliver Tappe
22b0944c78SIngo Weinhold		MergeObject <$(architecture)>posix_gnu_stdlib.o :
2368719375SJérôme Duval			drand48.c
2468719375SJérôme Duval			drand48_r.c
2568719375SJérôme Duval			drand48-iter.c
2668719375SJérôme Duval			erand48.c
2768719375SJérôme Duval			erand48_r.c
285af32e75SAxel Dörfler			fpioconst.c
2968719375SJérôme Duval			jrand48.c
3068719375SJérôme Duval			jrand48_r.c
31a2762cadSJérôme Duval			inlines.c
3268719375SJérôme Duval			lcong48.c
3368719375SJérôme Duval			lcong48_r.c
3468719375SJérôme Duval			lrand48.c
3568719375SJérôme Duval			lrand48_r.c
3668719375SJérôme Duval			mrand48.c
3768719375SJérôme Duval			mrand48_r.c
3868719375SJérôme Duval			nrand48.c
3968719375SJérôme Duval			nrand48_r.c
4027c3792dSJérôme Duval			random_r.c
4168719375SJérôme Duval			seed48.c
4268719375SJérôme Duval			seed48_r.c
4368719375SJérôme Duval			srand48.c
4468719375SJérôme Duval			srand48_r.c
454f86db49SOliver Tappe			strtod.c
46e86eb77bSScott McCreary			strtold.c
474f86db49SOliver Tappe			strtof.c
485af32e75SAxel Dörfler			;
49b0944c78SIngo Weinhold	}
50b0944c78SIngo Weinhold}
51