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