vfs: check userland buffers before reading them.
[haiku.git] / src / system / libroot / os / Jamfile
blob572f8921e7f161cc9d6e62a356a34df150a63645
1 SubDir HAIKU_TOP src system libroot os ;
3 UsePrivateHeaders kernel ;
4         # for util/KMessage.h
5 UsePrivateHeaders app libroot runtime_loader shared ;
7 local architectureObject ;
8 for architectureObject in [ MultiArchSubDirSetup ] {
9         on $(architectureObject) {
10                 local architecture = $(TARGET_PACKAGING_ARCH) ;
12                 UsePrivateSystemHeaders ;
14                 SEARCH_SOURCE += [ FDirName $(SUBDIR) locks ] ;
16                 MergeObject <$(architecture)>os_main.o :
17                         Architecture.cpp
18                         area.c
19                         atomic.c
20                         debug.c
21                         driver_settings.cpp
22                         extended_system_info.cpp
23                         find_directory.cpp
24                         find_paths.cpp
25                         fs_attr.cpp
26                         fs_index.c
27                         fs_info.c
28                         fs_query.cpp
29                         fs_volume.c
30                         image.cpp
31                         launch.cpp
32                         memory.cpp
33                         parsedate.cpp
34                         port.c
35                         scheduler.c
36                         sem.c
37                         system_info.cpp
38                         system_revision.c
39                         team.c
40                         thread.c
41                         time.cpp
42                         syscalls.S
43                         wait_for_objects.cpp
45                         # locks
46                         init_once.cpp
47                         mutex.cpp
48                         recursive_lock.cpp
49                         rw_lock.cpp
51                         KMessage.cpp
52                         ;
54                 SEARCH on [ FGristFiles KMessage.cpp ]
55                         = [ FDirName $(HAIKU_TOP) src system kernel messaging ] ;
57                 # We need to specify the dependency on the generated syscalls file
58                 # explicitly.
59                 Depends [ FGristFiles syscalls.o ]
60                         : <syscalls!$(architecture)>syscalls.S.inc ;
61         }
64 local arch ;
65 for arch in $(TARGET_ARCHS) {
66         HaikuSubInclude arch $(arch) ;