xref: /haiku/src/system/libroot/os/arch/x86_64/Jamfile (revision 4bd0c1066b227cec4b79883bdef697c7a27f2e90)
1SubDir HAIKU_TOP src system libroot os arch x86_64 ;
2
3SubDirC++Flags -std=gnu++11 ;
4
5local architectureObject ;
6for architectureObject in [ MultiArchSubDirSetup x86_64 ] {
7	on $(architectureObject) {
8		local architecture = $(TARGET_PACKAGING_ARCH) ;
9
10		UsePrivateKernelHeaders ;
11			# TODO: Replace by "UsePrivateHeaders libroot" after resolving the
12			# TODO in time.c!
13		UsePrivateSystemHeaders ;
14
15		SEARCH_SOURCE +=
16			[ FDirName $(SUBDIR) $(DOTDOT) generic ]
17			[ FDirName $(SUBDIR) $(DOTDOT) x86_common ]
18			;
19
20		MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o :
21			byteorder.S
22			get_stack_frame.S
23			system_info.cpp
24			system_time.cpp
25			thread.cpp
26			time.cpp
27			tls.cpp
28
29			# sources from x86_common
30			stack_trace.cpp
31
32			# sources from generic
33			generic_atomic.cpp
34			;
35	}
36}
37