xref: /haiku/src/system/kernel/lib/Jamfile (revision 22a7fe9695a6685994f516857f10a3e0efaf15c7)
138f62644SIngo WeinholdSubDir HAIKU_TOP src system kernel lib ;
238f62644SIngo Weinhold
3bcfe344cSIngo WeinholdUsePrivateHeaders shared ;
4a3f66598SOliver TappeUsePrivateHeaders [ FDirName libroot locale ] ;
5bcfe344cSIngo Weinhold
638f62644SIngo Weinhold# kernel libroot os files
738f62644SIngo Weinhold
838f62644SIngo WeinholdKernelMergeObject kernel_os_main.o :
985db3873SIngo Weinhold	driver_settings.cpp
1085db3873SIngo Weinhold	find_directory.cpp
1138f62644SIngo Weinhold	fs_info.c
12*22a7fe96SOliver Tappe	system_revision.c
13b2d056ecSIngo Weinhold	wait_for_objects.cpp
14957a1b17SIngo Weinhold	: $(TARGET_KERNEL_PIC_CCFLAGS)
1538f62644SIngo Weinhold;
1638f62644SIngo Weinhold
17b2d056ecSIngo WeinholdSEARCH on [ FGristFiles
1885db3873SIngo Weinhold	driver_settings.cpp
1985db3873SIngo Weinhold	find_directory.cpp
20b2d056ecSIngo Weinhold	fs_info.c
21*22a7fe96SOliver Tappe	system_revision.c
22b2d056ecSIngo Weinhold	wait_for_objects.cpp
23b2d056ecSIngo Weinhold	] = [ FDirName $(HAIKU_TOP) src system libroot os ] ;
2438f62644SIngo Weinhold
2538f62644SIngo Weinhold# kernel libroot posix files
2638f62644SIngo Weinhold
27353d20c0SIngo Weinholdlocal librootSources = [ FDirName $(HAIKU_TOP) src system libroot ] ;
28353d20c0SIngo Weinholdlocal posixSources = [ FDirName $(librootSources) posix ] ;
2938f62644SIngo Weinhold
3038f62644SIngo WeinholdSEARCH_SOURCE += [ FDirName $(posixSources) ] ;
3138f62644SIngo WeinholdSEARCH_SOURCE += [ FDirName $(posixSources) locale ] ;
3238f62644SIngo WeinholdSEARCH_SOURCE += [ FDirName $(posixSources) stdio ] ;
3338f62644SIngo WeinholdSEARCH_SOURCE += [ FDirName $(posixSources) stdlib ] ;
3438f62644SIngo WeinholdSEARCH_SOURCE += [ FDirName $(posixSources) string ] ;
3538f62644SIngo WeinholdSEARCH_SOURCE += [ FDirName $(posixSources) sys ] ;
3638f62644SIngo WeinholdSEARCH_SOURCE += [ FDirName $(posixSources) time ] ;
3738f62644SIngo WeinholdSEARCH_SOURCE += [ FDirName $(posixSources) unistd ] ;
3838f62644SIngo Weinhold
3998e67131SIngo WeinholdKernelMergeObject kernel_lib_posix.o :
4038f62644SIngo Weinhold	# main
41bd185b41SIngo Weinhold 	kernel_errno.cpp
4238f62644SIngo Weinhold 	dirent.c
43fdec1a3fSIngo Weinhold	fcntl.cpp
4438f62644SIngo Weinhold 	poll.c
4538f62644SIngo Weinhold 	utime.c
4638f62644SIngo Weinhold 	# locale
47a3f66598SOliver Tappe	ctype.cpp
48a3f66598SOliver Tappe	localeconv.cpp
49a3f66598SOliver Tappe	LocaleData.cpp
5038f62644SIngo Weinhold	# stdio (this subdir)
51bd185b41SIngo Weinhold	kernel_vsprintf.cpp
5238f62644SIngo Weinhold	# stdlib
5338f62644SIngo Weinhold	abs.c
5438f62644SIngo Weinhold	atoi.c
5538f62644SIngo Weinhold	bsearch.c
5638f62644SIngo Weinhold	merge.c
5738f62644SIngo Weinhold	qsort.c
5838f62644SIngo Weinhold	rand.c
5938f62644SIngo Weinhold	random.c
601822f5ecSIngo Weinhold	strtod.c
6138f62644SIngo Weinhold	strtol.c
6238f62644SIngo Weinhold	strtoll.c
6338f62644SIngo Weinhold	strtoul.c
6438f62644SIngo Weinhold	strtoull.c
6538f62644SIngo Weinhold	# sys
6638f62644SIngo Weinhold	chmod.c
6738f62644SIngo Weinhold	stat.c
6838f62644SIngo Weinhold	mkdir.c
6938f62644SIngo Weinhold	select.c
7038f62644SIngo Weinhold	gettimeofday.c
7138f62644SIngo Weinhold 	uio.c
7238f62644SIngo Weinhold	# time
7338f62644SIngo Weinhold	time.c
7438f62644SIngo Weinhold	# unistd
7538f62644SIngo Weinhold	access.c
7638f62644SIngo Weinhold	chown.c
7738f62644SIngo Weinhold	close.c
7815ebab76SFrançois Revol	#conf.c
7938f62644SIngo Weinhold	directory.c
8038f62644SIngo Weinhold	dup.c
8138f62644SIngo Weinhold	ioctl.c
8238f62644SIngo Weinhold	link.c
8338f62644SIngo Weinhold	lseek.c
8438f62644SIngo Weinhold	mount.c
8538f62644SIngo Weinhold	read.c
8638f62644SIngo Weinhold	sync.c
8738f62644SIngo Weinhold	truncate.c
884eb35609SIngo Weinhold	usergroup.cpp
8938f62644SIngo Weinhold	write.c
9038f62644SIngo Weinhold	# string
91aeae7bf4SMichael Lotz	ffs.cpp
9238f62644SIngo Weinhold	memchr.c
9338f62644SIngo Weinhold	memcmp.c
9438f62644SIngo Weinhold	memmove.c
9538f62644SIngo Weinhold	strcasecmp.c
9638f62644SIngo Weinhold	strcasestr.c
9738f62644SIngo Weinhold	strcat.c
9838f62644SIngo Weinhold	strchr.c
9938f62644SIngo Weinhold	strcmp.c
10038f62644SIngo Weinhold	strcpy.c
10138f62644SIngo Weinhold	strcspn.c
10238f62644SIngo Weinhold	strdup.c
10338f62644SIngo Weinhold	strerror.c
10438f62644SIngo Weinhold	strlcat.c
10538f62644SIngo Weinhold	strlcpy.c
10638f62644SIngo Weinhold	strlen.c
10738f62644SIngo Weinhold	strncat.c
10838f62644SIngo Weinhold	strncmp.c
10938f62644SIngo Weinhold	strncpy.c
110ac20a24eSColin Günther	strndup.cpp
11138f62644SIngo Weinhold	strnlen.c
11238f62644SIngo Weinhold	strpbrk.c
11338f62644SIngo Weinhold	strrchr.c
11438f62644SIngo Weinhold	strspn.c
11538f62644SIngo Weinhold	strstr.c
11638f62644SIngo Weinhold	strtok.c
117765ae3a7SJérôme Duval	strupr.c
11838f62644SIngo Weinhold
119957a1b17SIngo Weinhold	: $(TARGET_KERNEL_PIC_CCFLAGS)
12038f62644SIngo Weinhold;
121353d20c0SIngo Weinhold
122379ad6d0SIngo Weinhold# misc
123bec0386dSAxel Dörfler
124bec0386dSAxel DörflerSEARCH_SOURCE = [ FDirName $(HAIKU_TOP) src kits support ] ;
125bec0386dSAxel Dörfler
126bec0386dSAxel DörflerKernelMergeObject kernel_misc.o :
127bec0386dSAxel Dörfler	Referenceable.cpp
128bec0386dSAxel Dörfler
129bec0386dSAxel Dörfler	: $(TARGET_KERNEL_PIC_CCFLAGS)
130bec0386dSAxel Dörfler;
131379ad6d0SIngo Weinhold
132379ad6d0SIngo WeinholdHaikuSubInclude arch $(TARGET_ARCH) ;
133