xref: /haiku/src/system/libroot/posix/glibc/misc/Jamfile (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
1SubDir HAIKU_TOP src system libroot posix glibc misc ;
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 libio ;
16		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc misc ;
17		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc locale ;
18		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ;
19
20		UsePrivateHeaders libroot ;
21
22		MergeObject <$(architecture)>posix_gnu_misc.o :
23			hsearch.c
24			hsearch_r.c
25			insremque.c
26			lsearch.c
27			tsearch.c
28			efgcvt.c
29			efgcvt_r.c
30			;
31	}
32}
33