SubDir HAIKU_TOP src system runtime_loader arch x86_64 ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup x86_64 ] { on $(architectureObject) { local architecture = $(TARGET_PACKAGING_ARCH) ; UsePrivateHeaders runtime_loader ; UsePrivateSystemHeaders ; SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ; DEFINES += _LOADER_MODE ; StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a : arch_relocate.cpp : thread.o arch_string.o ; } }