xref: /haiku/src/system/libroot/os/arch/x86_64/Jamfile (revision d3b1caa62d83444c7c95a73cdc2094d2087fb818)
1fd9f32c0SAlex SmithSubDir HAIKU_TOP src system libroot os arch x86_64 ;
2fd9f32c0SAlex Smith
3ea7e57c9SPawel DziepakSubDirC++Flags -std=gnu++11 ;
4ea7e57c9SPawel Dziepak
5b0944c78SIngo Weinholdlocal architectureObject ;
6b0944c78SIngo Weinholdfor architectureObject in [ MultiArchSubDirSetup x86_64 ] {
7b0944c78SIngo Weinhold	on $(architectureObject) {
8b0944c78SIngo Weinhold		local architecture = $(TARGET_PACKAGING_ARCH) ;
9b0944c78SIngo Weinhold
10fd9f32c0SAlex Smith		UsePrivateKernelHeaders ;
11b0944c78SIngo Weinhold			# TODO: Replace by "UsePrivateHeaders libroot" after resolving the
12b0944c78SIngo Weinhold			# TODO in time.c!
13fd9f32c0SAlex Smith		UsePrivateSystemHeaders ;
14fd9f32c0SAlex Smith
15*d3b1caa6SPaweł Dziepak		SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
16*d3b1caa6SPaweł Dziepak
17b0944c78SIngo Weinhold		MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o :
18fd9f32c0SAlex Smith			byteorder.S
19fd9f32c0SAlex Smith			get_stack_frame.S
20fd9f32c0SAlex Smith			system_info.cpp
21fd9f32c0SAlex Smith			system_time_asm.S
22fd9f32c0SAlex Smith			thread.cpp
23fd9f32c0SAlex Smith			time.cpp
24fd9f32c0SAlex Smith			tls.cpp
25*d3b1caa6SPaweł Dziepak
26*d3b1caa6SPaweł Dziepak			generic_atomic.cpp
27fd9f32c0SAlex Smith			;
28b0944c78SIngo Weinhold	}
29b0944c78SIngo Weinhold}
30