1f76bc433SAlex SmithSubDir HAIKU_TOP src system kernel lib arch x86_64 ; 2f76bc433SAlex Smith 35234e66dSAlex Smith# find the generated asm_offsets.h 4*7aa55747SAugustin CavalierSubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_KERNEL_ARCH)) 5*7aa55747SAugustin Cavalier system kernel arch $(TARGET_KERNEL_ARCH) ] ; 65234e66dSAlex Smith 7f76bc433SAlex SmithSEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; 8f76bc433SAlex Smith 9f76bc433SAlex Smithlocal librootSources = [ FDirName $(HAIKU_TOP) src system libroot ] ; 10f76bc433SAlex Smithlocal posixSources = [ FDirName $(librootSources) posix ] ; 11f76bc433SAlex Smith 12f76bc433SAlex SmithSEARCH_SOURCE += [ FDirName $(librootSources) os arch $(TARGET_ARCH) ] ; 13d3b1caa6SPaweł DziepakSEARCH_SOURCE += [ FDirName $(librootSources) os arch generic ] ; 14f76bc433SAlex Smith 15f76bc433SAlex SmithKernelMergeObject kernel_os_arch_$(TARGET_ARCH).o : 16f76bc433SAlex Smith byteorder.S 176d70d75aSPaweł Dziepak system_time.cpp 18f76bc433SAlex Smith 19d3b1caa6SPaweł Dziepak generic_atomic.cpp 20f76bc433SAlex Smith : $(TARGET_KERNEL_PIC_CCFLAGS) 21f76bc433SAlex Smith; 22f76bc433SAlex Smith 23f76bc433SAlex SmithSEARCH_SOURCE += [ FDirName $(posixSources) arch $(TARGET_ARCH) ] ; 24f2f91078SPaweł DziepakSEARCH_SOURCE += [ FDirName $(posixSources) string arch $(TARGET_ARCH) ] ; 25f76bc433SAlex Smith 26f76bc433SAlex SmithKernelMergeObject kernel_lib_posix_arch_$(TARGET_ARCH).o : 27f76bc433SAlex Smith siglongjmp.S 28f76bc433SAlex Smith sigsetjmp.S 29f76bc433SAlex Smith kernel_longjmp_return.c 30f76bc433SAlex Smith kernel_setjmp_save_sigs.c 31f76bc433SAlex Smith 32f2f91078SPaweł Dziepak arch_string.cpp 33f76bc433SAlex Smith 34f76bc433SAlex Smith : $(TARGET_KERNEL_PIC_CCFLAGS) 35f76bc433SAlex Smith; 365234e66dSAlex Smith 37