2002-07-10 00:15:44 +04:00
|
|
|
SubDir OBOS_TOP src kernel libroot ;
|
2002-07-09 16:24:59 +04:00
|
|
|
|
2004-10-12 20:35:02 +04:00
|
|
|
UsePrivateHeaders libroot ;
|
|
|
|
|
2002-10-05 21:04:37 +04:00
|
|
|
KernelObjects
|
|
|
|
<$(SOURCE_GRIST)>libroot_init.c
|
2004-08-10 16:46:19 +04:00
|
|
|
: -fPIC -DPIC
|
|
|
|
;
|
|
|
|
|
2004-10-28 21:00:29 +04:00
|
|
|
# kernel libroot os files
|
|
|
|
|
2005-01-10 04:32:11 +03:00
|
|
|
# until the build system is fixed (and no longer uses kernel build rules
|
|
|
|
# for libroot.so), the KERNEL_OS_MAIN is needed to differentiate between
|
|
|
|
# kernel and userland builds here
|
|
|
|
|
2004-10-28 21:00:29 +04:00
|
|
|
KernelMergeObject kernel_os_main.o :
|
|
|
|
driver_settings.c
|
2005-01-15 17:36:31 +03:00
|
|
|
fs_info.c
|
2005-01-10 04:32:11 +03:00
|
|
|
: -fno-pic -DKERNEL_OS_MAIN
|
2004-10-28 21:00:29 +04:00
|
|
|
;
|
|
|
|
|
|
|
|
SEARCH on [ FGristFiles
|
2005-01-15 17:36:31 +03:00
|
|
|
driver_settings.c fs_info.c
|
2004-10-28 21:00:29 +04:00
|
|
|
] = [ FDirName $(OBOS_TOP) src kernel libroot os ] ;
|
|
|
|
|
2004-08-10 16:46:19 +04:00
|
|
|
# kernel libroot posix files
|
|
|
|
|
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) posix ] ;
|
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) posix locale ] ;
|
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) posix stdio ] ;
|
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) posix stdlib ] ;
|
2004-11-02 04:37:16 +03:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) posix string ] ;
|
2004-08-10 16:46:19 +04:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) posix sys ] ;
|
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) posix time ] ;
|
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) posix unistd ] ;
|
|
|
|
|
|
|
|
KernelMergeObject kernel_posix.o :
|
|
|
|
# main
|
2004-11-19 23:19:53 +03:00
|
|
|
kerrno.c
|
|
|
|
dirent.c
|
|
|
|
poll.c
|
|
|
|
utime.c
|
2004-08-10 16:46:19 +04:00
|
|
|
# locale
|
2004-11-19 23:19:53 +03:00
|
|
|
ctype.c
|
2004-08-10 16:46:19 +04:00
|
|
|
# stdio
|
2004-11-19 23:19:53 +03:00
|
|
|
kernel_vsprintf.c
|
2004-08-10 16:46:19 +04:00
|
|
|
# stdlib
|
2004-11-19 23:19:53 +03:00
|
|
|
abs.c
|
|
|
|
atoi.c
|
|
|
|
bsearch.c
|
|
|
|
merge.c
|
|
|
|
qsort.c
|
|
|
|
rand.c
|
|
|
|
random.c
|
|
|
|
strtol.c
|
|
|
|
strtoll.c
|
|
|
|
strtoul.c
|
|
|
|
strtoull.c
|
2004-08-10 16:46:19 +04:00
|
|
|
# sys
|
2004-11-03 19:23:45 +03:00
|
|
|
chmod.c
|
|
|
|
stat.c
|
|
|
|
mkdir.c
|
|
|
|
select.c
|
|
|
|
gettimeofday.c
|
|
|
|
uio.c
|
2004-08-10 16:46:19 +04:00
|
|
|
# time
|
2004-11-19 23:19:53 +03:00
|
|
|
time.c
|
2004-08-10 16:46:19 +04:00
|
|
|
# unistd
|
2004-11-19 23:19:53 +03:00
|
|
|
access.c
|
|
|
|
chown.c
|
|
|
|
close.c
|
|
|
|
conf.c
|
|
|
|
directory.c
|
|
|
|
dup.c
|
|
|
|
fcntl.c
|
|
|
|
hostname.c
|
|
|
|
ioctl.c
|
|
|
|
link.c
|
|
|
|
lseek.c
|
|
|
|
mount.c
|
|
|
|
open.c
|
|
|
|
read.c
|
|
|
|
sync.c
|
|
|
|
truncate.c
|
|
|
|
usergroup.c
|
|
|
|
write.c
|
2004-11-02 04:37:16 +03:00
|
|
|
# string
|
|
|
|
memchr.c
|
|
|
|
memcmp.c
|
|
|
|
memcpy.c
|
|
|
|
memmove.c
|
|
|
|
memset.c
|
|
|
|
strcasecmp.c
|
|
|
|
strcasestr.c
|
|
|
|
strcat.c
|
|
|
|
strchr.c
|
|
|
|
strcmp.c
|
|
|
|
strcpy.c
|
|
|
|
strcspn.c
|
|
|
|
strdup.c
|
|
|
|
strerror.c
|
|
|
|
strlcat.c
|
|
|
|
strlcpy.c
|
|
|
|
strlen.c
|
|
|
|
strncat.c
|
|
|
|
strncmp.c
|
|
|
|
strncpy.c
|
|
|
|
strnlen.c
|
|
|
|
strpbrk.c
|
|
|
|
strrchr.c
|
|
|
|
strspn.c
|
|
|
|
strstr.c
|
|
|
|
strtok.c
|
2004-08-10 16:46:19 +04:00
|
|
|
|
|
|
|
: -fno-pic
|
2002-10-05 21:04:37 +04:00
|
|
|
;
|
|
|
|
|
|
|
|
SubInclude OBOS_TOP src kernel libroot os ;
|
|
|
|
SubInclude OBOS_TOP src kernel libroot posix ;
|