1 SubDir HAIKU_TOP src system runtime_loader ;
3 local architecture = $(TARGET_PACKAGING_ARCH) ;
5 UsePrivateHeaders libroot runtime_loader shared ;
6 UsePrivateHeaders kernel ;
7 # for <util/KMessage.h>
8 UsePrivateHeaders libroot os ;
10 UsePrivateSystemHeaders ;
12 ObjectHdrs find_directory.cpp : $(HAIKU_TOP)/src/system/libroot/os ;
14 # Don't let gcc inject built-in function code. This will cause dependencies
15 # to libroot, which we don't link against.
16 SubDirCcFlags -fno-builtin ;
17 SubDirC++Flags -fno-builtin -fno-exceptions ;
20 KMESSAGE_CONTAINER_ONLY
25 AddResources runtime_loader : runtime_loader.rdef ;
27 # needed for "runtime_loader" only
28 StaticLibrary libruntime_loader.a :
34 <src!system!libroot!os!$(architecture)>mutex.o
35 <src!system!libroot!os!$(architecture)>recursive_lock.o
36 <src!system!libroot!os!$(architecture)>syscalls.o
37 <src!system!libroot!os!$(architecture)>sem.o
38 <src!system!libroot!os!arch!$(TARGET_ARCH)!$(architecture)>tls.o
40 <src!system!libroot!posix!$(architecture)>errno.o
41 <src!system!libroot!posix!$(architecture)>fcntl.o
43 <src!system!libroot!posix!locale!$(architecture)>ctype.o
44 <src!system!libroot!posix!locale!$(architecture)>LocaleData.o
46 <src!system!libroot!posix!string!$(architecture)>memchr.o
47 <src!system!libroot!posix!string!$(architecture)>memcmp.o
48 <src!system!libroot!posix!string!$(architecture)>memmove.o
49 <src!system!libroot!posix!string!$(architecture)>strcasecmp.o
50 <src!system!libroot!posix!string!$(architecture)>strcat.o
51 <src!system!libroot!posix!string!$(architecture)>strchr.o
52 <src!system!libroot!posix!string!$(architecture)>strcmp.o
53 <src!system!libroot!posix!string!$(architecture)>strcpy.o
54 <src!system!libroot!posix!string!$(architecture)>strcspn.o
55 <src!system!libroot!posix!string!$(architecture)>strdup.o
56 <src!system!libroot!posix!string!$(architecture)>strerror.o
57 <src!system!libroot!posix!string!$(architecture)>strlcat.o
58 <src!system!libroot!posix!string!$(architecture)>strlcpy.o
59 <src!system!kernel!lib>strlen.o
60 <src!system!libroot!posix!string!$(architecture)>strncmp.o
61 <src!system!libroot!posix!string!$(architecture)>strnlen.o
62 <src!system!libroot!posix!string!$(architecture)>strpbrk.o
63 <src!system!libroot!posix!string!$(architecture)>strrchr.o
64 <src!system!libroot!posix!string!$(architecture)>strspn.o
65 <src!system!libroot!posix!string!$(architecture)>strstr.o
67 [ FGristFiles kernel_vsprintf.o ]
70 SEARCH on [ FGristFiles kernel_cpp.cpp ]
71 = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
72 SEARCH on [ FGristFiles kernel_vsprintf.cpp ]
73 = [ FDirName $(HAIKU_TOP) src system kernel lib ] ;
74 SEARCH on [ FGristFiles KMessage.cpp ]
75 = [ FDirName $(HAIKU_TOP) src system kernel messaging ] ;
76 SEARCH on [ FGristFiles find_directory.cpp ]
77 = [ FDirName $(HAIKU_TOP) src system libroot os ] ;
99 [ FGristFiles $(sources:S=$(SUFOBJ)) ]
101 libruntime_loader_$(TARGET_ARCH).a
102 [ TargetKernelLibsupc++ ]
103 [ TargetKernelLibgcc ]
104 [ TargetKernelLibgcceh ]
105 : $(HAIKU_TOP)/src/system/ldscripts/$(TARGET_ARCH)/runtime_loader.ld
106 : --no-undefined -shared -soname=runtime_loader
109 HaikuSubInclude arch $(TARGET_ARCH) ;