SubDir HAIKU_TOP src system kernel lib arch ppc ; SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; local librootSources = [ FDirName $(HAIKU_TOP) src system libroot ] ; local posixSources = [ FDirName $(librootSources) posix ] ; SEARCH_SOURCE += [ FDirName $(librootSources) os arch $(TARGET_ARCH) ] ; SEARCH_SOURCE += [ FDirName $(librootSources) os arch generic ] ; KernelMergeObject kernel_os_arch_$(TARGET_ARCH).o : atomic.S byteorder.S system_time_asm.S system_time.c generic_system_time_nsecs.cpp : $(TARGET_KERNEL_PIC_CCFLAGS) ; SEARCH_SOURCE += [ FDirName $(posixSources) arch $(TARGET_ARCH) ] ; SEARCH_SOURCE += [ FDirName $(posixSources) string arch generic ] ; KernelMergeObject kernel_lib_posix_arch_$(TARGET_ARCH).o : siglongjmp.S sigsetjmp.S kernel_longjmp_return.c kernel_setjmp_save_sigs.c memcpy.c memset.c : $(TARGET_KERNEL_PIC_CCFLAGS) ;