SubDir HAIKU_TOP src system libroot posix glibc misc ; SubDirCcFlags -D_GNU_SOURCE -DUSE_IN_LIBIO ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup ] { on $(architectureObject) { local architecture = $(TARGET_PACKAGING_ARCH) ; SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch $(TARGET_ARCH) ; SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch generic ; SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ; SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc libio ; SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc misc ; SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc locale ; SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ; UsePrivateHeaders libroot ; MergeObject <$(architecture)>posix_gnu_misc.o : hsearch.c hsearch_r.c insremque.c lsearch.c tsearch.c efgcvt.c efgcvt_r.c ; } }