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 SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) x86_common ] ; 21 22 MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o : 23 atomic.S 24 byteorder.S 25 get_stack_frame.S 26 system_info.c 27 system_time_asm.S 28 thread.c 29 time.cpp 30 tls.c 31 32 $(compatibilitySources) 33 34 # sources from x86_common 35 stack_trace.cpp 36 ; 37 } 38} 39