1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system libroot os arch ppc ;
2be3d86f7SAxel Dörfler
3b0944c78SIngo Weinholdlocal architectureObject ;
4b0944c78SIngo Weinholdfor architectureObject in [ MultiArchSubDirSetup ppc ] {
5b0944c78SIngo Weinhold	on $(architectureObject) {
6b0944c78SIngo Weinhold		local architecture = $(TARGET_PACKAGING_ARCH) ;
7be3d86f7SAxel Dörfler
8b0944c78SIngo Weinhold		UsePrivateKernelHeaders ;
9b0944c78SIngo Weinhold			# TODO: Replace by "UsePrivateHeaders libroot" after resolving the
10b0944c78SIngo Weinhold			# TODO in time.c!
11b0944c78SIngo Weinhold		UsePrivateSystemHeaders ;
1234a48c70SIngo Weinhold
13b0944c78SIngo Weinhold		SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
1434a48c70SIngo Weinhold
15b0944c78SIngo Weinhold		MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o :
16b0944c78SIngo Weinhold			atomic.S
17b0944c78SIngo Weinhold			byteorder.S
18b0944c78SIngo Weinhold			compatibility.c	# only here until the places where those functions
19b0944c78SIngo Weinhold							# are used are fixed
20b0944c78SIngo Weinhold			stack_frame.c
21b0944c78SIngo Weinhold#			systeminfo.c
22b0944c78SIngo Weinhold			system_time.c
23b0944c78SIngo Weinhold			system_time_asm.S
24b0944c78SIngo Weinhold			thread.c
25b0944c78SIngo Weinhold			time.c
26b0944c78SIngo Weinhold			tls.c
27b0944c78SIngo Weinhold
28936e89e1SAugustin Cavalier			# sources from generic
29b0944c78SIngo Weinhold			generic_system_time_nsecs.cpp
30936e89e1SAugustin Cavalier			generic_stack_trace.cpp
31b0944c78SIngo Weinhold			;
32b0944c78SIngo Weinhold	}
33b0944c78SIngo Weinhold}
34