xref: /haiku/src/system/libroot/Jamfile (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
1SubDir HAIKU_TOP src system libroot ;
2
3UsePrivateHeaders libroot ;
4UsePrivateHeaders kernel ;
5
6UnarchiveObjects $(TARGET_GCC_LIBGCC_OBJECTS) : $(TARGET_GCC_LIBGCC) ;
7	# we need to link against libgcc.a objects and make
8	# it available to other applications as in BeOS
9
10local librootObjects =
11	os_main.o
12	os_arch_$(TARGET_ARCH).o
13
14	posix_arch_$(TARGET_ARCH).o
15	posix_crypt.o
16	posix_locale.o
17	posix_main.o
18	posix_malloc.o
19	posix_pthread.o
20	posix_signal.o
21	posix_stdio.o
22	posix_gnu_arch_$(TARGET_ARCH).o
23	posix_gnu_ctype.o
24	posix_gnu_ext.o
25	posix_gnu_libio.o
26	posix_gnu_locale.o
27	posix_gnu_regex.o
28	posix_gnu_stdio.o
29	posix_gnu_stdlib.o
30	posix_gnu_string.o
31	posix_gnu_wcsmbs.o
32	posix_gnu_wctype.o
33	posix_stdlib.o
34	posix_string.o
35	posix_sys.o
36	posix_time.o
37	posix_unistd.o
38;
39
40DONT_LINK_AGAINST_LIBROOT on libroot.so = true ;
41
42SharedLibrary libroot.so
43	:
44	libroot_init.c
45	:
46	$(TARGET_GCC_LIBGCC_OBJECTS)
47
48	$(librootObjects:G=nogrist)
49;
50
51SubInclude HAIKU_TOP src system libroot os ;
52SubInclude HAIKU_TOP src system libroot posix ;
53