SubDir HAIKU_TOP src system libroot os arch x86 ;

UsePrivateKernelHeaders ;
	# TODO: Replace by "UsePrivateHeaders libroot" after resolving the TODO in
	# time.c!
UsePrivateSystemHeaders ;

local compatibilitySources ;
if $(HAIKU_GCC_VERSION[1]) = 2 {
	compatibilitySources =
		compatibility.c
	;
}

MergeObject os_arch_$(TARGET_ARCH).o :
	atomic.S
	byteorder.S
	get_stack_frame.S
	system_info.c
	system_time_asm.S
	thread.c
	time.c
	tls.c

	$(compatibilitySources)
;
