1SubDir HAIKU_TOP src system libroot ; 2 3UsePrivateHeaders libroot ; 4 5KernelObjects 6 <$(SOURCE_GRIST)>libroot_init.c 7 : -fPIC -DPIC 8 ; 9 10# kernel libroot os files 11 12# until the build system is fixed (and no longer uses kernel build rules 13# for libroot.so), the KERNEL_OS_MAIN is needed to differentiate between 14# kernel and userland builds here 15 16KernelMergeObject kernel_os_main.o : 17 driver_settings.c 18 fs_info.c 19 : -fno-pic -DKERNEL_OS_MAIN 20 ; 21 22SEARCH on [ FGristFiles 23 driver_settings.c fs_info.c 24 ] = [ FDirName $(HAIKU_TOP) src system libroot os ] ; 25 26# kernel libroot posix files 27 28SEARCH_SOURCE += [ FDirName $(SUBDIR) posix ] ; 29SEARCH_SOURCE += [ FDirName $(SUBDIR) posix locale ] ; 30SEARCH_SOURCE += [ FDirName $(SUBDIR) posix stdio ] ; 31SEARCH_SOURCE += [ FDirName $(SUBDIR) posix stdlib ] ; 32SEARCH_SOURCE += [ FDirName $(SUBDIR) posix string ] ; 33SEARCH_SOURCE += [ FDirName $(SUBDIR) posix sys ] ; 34SEARCH_SOURCE += [ FDirName $(SUBDIR) posix time ] ; 35SEARCH_SOURCE += [ FDirName $(SUBDIR) posix unistd ] ; 36 37KernelMergeObject kernel_posix.o : 38 # main 39 kerrno.c 40 dirent.c 41 poll.c 42 utime.c 43 # locale 44 ctype.c 45 # stdio 46 kernel_vsprintf.c 47 # stdlib 48 abs.c 49 atoi.c 50 bsearch.c 51 merge.c 52 qsort.c 53 rand.c 54 random.c 55 strtol.c 56 strtoll.c 57 strtoul.c 58 strtoull.c 59 # sys 60 chmod.c 61 stat.c 62 mkdir.c 63 select.c 64 gettimeofday.c 65 uio.c 66 # time 67 time.c 68 # unistd 69 access.c 70 chown.c 71 close.c 72 conf.c 73 directory.c 74 dup.c 75 fcntl.c 76 hostname.c 77 ioctl.c 78 link.c 79 lseek.c 80 mount.c 81 open.c 82 read.c 83 sync.c 84 truncate.c 85 usergroup.c 86 write.c 87 # string 88 memchr.c 89 memcmp.c 90 memcpy.c 91 memmove.c 92 memset.c 93 strcasecmp.c 94 strcasestr.c 95 strcat.c 96 strchr.c 97 strcmp.c 98 strcpy.c 99 strcspn.c 100 strdup.c 101 strerror.c 102 strlcat.c 103 strlcpy.c 104 strlen.c 105 strncat.c 106 strncmp.c 107 strncpy.c 108 strnlen.c 109 strpbrk.c 110 strrchr.c 111 strspn.c 112 strstr.c 113 strtok.c 114 115 : -fno-pic 116 ; 117 118SubInclude HAIKU_TOP src system libroot os ; 119SubInclude HAIKU_TOP src system libroot posix ; 120