xref: /haiku/src/system/libroot/os/arch/x86_64/Jamfile (revision bddcee2a27042b4d8d6b0142b466f30abc886648)
1SubDir HAIKU_TOP src system libroot os arch x86_64 ;
2
3local architectureObject ;
4for architectureObject in [ MultiArchSubDirSetup x86_64 ] {
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		SEARCH_SOURCE +=
14			[ FDirName $(SUBDIR) $(DOTDOT) generic ]
15			[ FDirName $(SUBDIR) $(DOTDOT) x86_common ]
16			;
17
18		MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o :
19			byteorder.S
20			get_stack_frame.S
21			system_info.cpp
22			system_time.cpp
23			thread.cpp
24			time.cpp
25			tls.cpp
26
27			# sources from x86_common
28			stack_trace.cpp
29
30			# sources from generic
31			generic_atomic.cpp
32			;
33	}
34}
35