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