1SubDir HAIKU_TOP src system libroot os arch m68k ;
2
3local architectureObject ;
4for architectureObject in [ MultiArchSubDirSetup m68k ] {
5	on $(architectureObject) {
6		local architecture = $(TARGET_PACKAGING_ARCH) ;
7
8		UsePrivateKernelHeaders ;
9		UsePrivateSystemHeaders ;
10
11		SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
12
13		MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o :
14			atomic.S
15			byteorder.S
16			compatibility.c	# only here until the places where those functions
17							# are used are fixed
18			stack_frame.c
19#			systeminfo.c
20			system_time.c
21			system_time_asm.S
22			thread.c
23			time.c
24			tls.c
25
26			generic_stack_trace.cpp
27			generic_system_time_nsecs.cpp
28			;
29	}
30}
31