1SubDir HAIKU_TOP src system libroot os arch x86 ; 2 3local architectureObject ; 4for architectureObject in [ MultiArchSubDirSetup x86 x86_gcc2 ] { 5 on $(architectureObject) { 6 local architecture = $(TARGET_PACKAGING_ARCH) ; 7 8 UsePrivateKernelHeaders ; 9 # TODO: Replace by "UsePrivateHeaders libroot" after resolving the 10 # TODO in time.c! 11 UsePrivateSystemHeaders ; 12 13 local compatibilitySources ; 14 if $(TARGET_GCC_VERSION_$(architecture)[1]) = 2 { 15 compatibilitySources = 16 compatibility.c 17 ; 18 } 19 20 MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o : 21 atomic.S 22 byteorder.S 23 get_stack_frame.S 24 system_info.c 25 system_time_asm.S 26 thread.c 27 time.cpp 28 tls.c 29 30 $(compatibilitySources) 31 ; 32 } 33} 34