xref: /haiku/src/system/libroot/os/arch/x86_64/Jamfile (revision 83b1a68c52ba3e0e8796282759f694b7fdddf06d)
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 += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
16
17		MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o :
18			byteorder.S
19			get_stack_frame.S
20			system_info.cpp
21			system_time.cpp
22			thread.cpp
23			time.cpp
24			tls.cpp
25
26			generic_atomic.cpp
27			;
28	}
29}
30