⛏️ index : haiku.git

SubDir HAIKU_TOP src system runtime_loader arch ppc ;

local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ppc ] {
	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
			:
			<src!system!libroot!os!arch!$(TARGET_ARCH)!$(architecture)>atomic.o
			<src!system!libroot!os!arch!$(TARGET_ARCH)!$(architecture)>thread.o
			<$(architecture)>posix_string_arch_$(TARGET_ARCH).o
			;
	}
}