xref: /haiku/src/system/runtime_loader/arch/x86/Jamfile (revision bddcee2a27042b4d8d6b0142b466f30abc886648)
1SubDir HAIKU_TOP src system runtime_loader arch x86 ;
2
3local architectureObject ;
4for architectureObject in [ MultiArchSubDirSetup x86 x86_gcc2 ] {
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		StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a :
14			arch_relocate.cpp
15			:
16			<src!system!libroot!os!arch!$(TARGET_ARCH)!$(architecture)>atomic.o
17			<src!system!libroot!os!arch!$(TARGET_ARCH)!$(architecture)>thread.o
18
19			[ MultiArchIfPrimary
20				<src!system!libroot!posix!string!arch!$(TARGET_ARCH)!$(architecture)>memcpy.o
21				<src!system!libroot!posix!string!arch!$(TARGET_ARCH)!$(architecture)>memset.o
22				:
23				<src!system!libroot!posix!string!arch!$(TARGET_ARCH)!$(architecture)>arch_string.o
24				: x86_64 ]
25			;
26	}
27}
28