1SubDir HAIKU_TOP src system runtime_loader arch ppc ;
2
3local architectureObject ;
4for architectureObject in [ MultiArchSubDirSetup ppc ] {
5	on $(architectureObject) {
6		local architecture = $(TARGET_PACKAGING_ARCH) ;
7
8		UsePrivateHeaders runtime_loader ;
9		UsePrivateSystemHeaders ;
10
11		SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ;
12
13		DEFINES += _LOADER_MODE ;
14
15		StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a :
16			arch_relocate.cpp
17			:
18			<src!system!libroot!os!arch!$(TARGET_ARCH)!$(architecture)>atomic.o
19			<src!system!libroot!os!arch!$(TARGET_ARCH)!$(architecture)>thread.o
20
21			<src!system!libroot!posix!string!arch!$(TARGET_ARCH)!$(architecture)>memcpy.o
22			<src!system!libroot!posix!string!arch!$(TARGET_ARCH)!$(architecture)>memset.o
23			;
24	}
25}
26