1SubDir HAIKU_TOP src system libroot os arch ppc ;
2
3local architectureObject ;
4for architectureObject in [ MultiArchSubDirSetup ppc ] {
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 += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
14
15		MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o :
16			atomic.S
17			byteorder.S
18			compatibility.c	# only here until the places where those functions
19							# are used are fixed
20			stack_frame.c
21#			systeminfo.c
22			system_time.c
23			system_time_asm.S
24			thread.c
25			time.c
26			tls.c
27
28			# sources from generic
29			generic_system_time_nsecs.cpp
30			generic_stack_trace.cpp
31			;
32	}
33}
34