1SubDir HAIKU_TOP src system kernel lib ; 2 3# kernel libroot os files 4 5KernelMergeObject kernel_os_main.o : 6 driver_settings.c 7 find_directory.c 8 fs_info.c 9 : $(TARGET_KERNEL_PIC_CCFLAGS) 10; 11 12SEARCH on [ FGristFiles driver_settings.c find_directory.c fs_info.c ] 13 = [ FDirName $(HAIKU_TOP) src system libroot os ] ; 14 15# kernel libroot posix files 16 17local librootSources = [ FDirName $(HAIKU_TOP) src system libroot ] ; 18local posixSources = [ FDirName $(librootSources) posix ] ; 19 20SEARCH_SOURCE += [ FDirName $(posixSources) ] ; 21SEARCH_SOURCE += [ FDirName $(posixSources) locale ] ; 22SEARCH_SOURCE += [ FDirName $(posixSources) stdio ] ; 23SEARCH_SOURCE += [ FDirName $(posixSources) stdlib ] ; 24SEARCH_SOURCE += [ FDirName $(posixSources) string ] ; 25SEARCH_SOURCE += [ FDirName $(posixSources) sys ] ; 26SEARCH_SOURCE += [ FDirName $(posixSources) time ] ; 27SEARCH_SOURCE += [ FDirName $(posixSources) unistd ] ; 28 29KernelMergeObject kernel_posix.o : 30 # main 31 kernel_errno.c 32 dirent.c 33 poll.c 34 utime.c 35 # locale 36 ctype.c 37 localeconv.c 38 # stdio (this subdir) 39 kernel_vsprintf.c 40 # stdlib 41 abs.c 42 atoi.c 43 bsearch.c 44 merge.c 45 qsort.c 46 rand.c 47 random.c 48 strtod.c 49 strtol.c 50 strtoll.c 51 strtoul.c 52 strtoull.c 53 # sys 54 chmod.c 55 stat.c 56 mkdir.c 57 select.c 58 gettimeofday.c 59 uio.c 60 # time 61 time.c 62 # unistd 63 access.c 64 chown.c 65 close.c 66 conf.c 67 directory.c 68 dup.c 69 fcntl.c 70 hostname.c 71 ioctl.c 72 link.c 73 lseek.c 74 mount.c 75 open.c 76 read.c 77 sync.c 78 truncate.c 79 usergroup.c 80 write.c 81 # string 82 memchr.c 83 memcmp.c 84 memcpy.c 85 memmove.c 86 memset.c 87 strcasecmp.c 88 strcasestr.c 89 strcat.c 90 strchr.c 91 strcmp.c 92 strcpy.c 93 strcspn.c 94 strdup.c 95 strerror.c 96 strlcat.c 97 strlcpy.c 98 strlen.c 99 strncat.c 100 strncmp.c 101 strncpy.c 102 strnlen.c 103 strpbrk.c 104 strrchr.c 105 strspn.c 106 strstr.c 107 strtok.c 108 109 : $(TARGET_KERNEL_PIC_CCFLAGS) 110; 111 112SEARCH_SOURCE += [ FDirName $(librootSources) os arch $(TARGET_ARCH) ] ; 113 114KernelMergeObject kernel_os_arch_$(TARGET_ARCH).o : 115 atomic.S 116 byteorder.S 117 system_time_asm.S 118 system_time.c 119 120 : $(TARGET_KERNEL_PIC_CCFLAGS) 121; 122 123SEARCH_SOURCE += [ FDirName $(posixSources) arch $(TARGET_ARCH) ] ; 124SEARCH_SOURCE += [ FDirName $(posixSources) string arch $(TARGET_ARCH) ] ; 125 126KernelMergeObject kernel_posix_arch_$(TARGET_ARCH).o : 127 setjmp.S 128 siglongjmp.S 129 sigsetjmp.S 130 kernel_setjmp_save_sigs.c 131 arch_string.S 132 133 : $(TARGET_KERNEL_PIC_CCFLAGS) 134; 135