vfs: check userland buffers before reading them.
[haiku.git] / src / kits / shared / Jamfile
blobd76805b77ddf6ae3f1d2414a0c15133a4449c4cd
1 SubDir HAIKU_TOP src kits shared ;
3 SetSubDirSupportedPlatformsBeOSCompatible ;
4 AddSubDirSupportedPlatforms libbe_test ;
6 UseLibraryHeaders agg ;
7 UsePrivateHeaders shared locale ;
9 if [ Glob $(SUBDIR) : DefaultGeolocationServiceKey.h ] {
10         SubDirC++Flags [ FDefines HAVE_DEFAULT_GEOLOCATION_SERVICE_KEY ] ;
13 local architectureObject ;
14 for architectureObject in [ MultiArchSubDirSetup ] {
15         on $(architectureObject) {
16                 local architecture = $(TARGET_PACKAGING_ARCH) ;
18                 UseHeaders [ FDirName
19                         $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCHS[1]))
20                         servers input ] ;
21                         # For the generated SystemKeymap.h. We're fine with the one for the
22                         # primary architecture.
23                 UseHeaders [ FDirName $(HAIKU_TOP) src kits ] ;
25                 # for RWLockManager only
26                 UsePrivateSystemHeaders ;
27                 UsePrivateHeaders kernel libroot ;
29                 StaticLibrary <$(architecture)>libshared.a :
30                         AboutMenuItem.cpp
31                         ArgumentVector.cpp
32                         AttributeUtilities.cpp
33                         CalendarView.cpp
34                         ColorQuantizer.cpp
35                         CommandPipe.cpp
36                         DragTrackingFilter.cpp
37                         DriverSettingsMessageAdapter.cpp
38                         Geolocation.cpp
39                         HashString.cpp
40                         IconButton.cpp
41                         IconView.cpp
42                         JsonWriter.cpp
43                         JsonEventListener.cpp
44                         JsonMessageWriter.cpp
45                         JsonTextWriter.cpp
46                         JsonEvent.cpp
47                         Json.cpp
48                         Keymap.cpp
49                         LongAndDragTrackingFilter.cpp
50                         MessageBuilder.cpp
51                         NaturalCompare.cpp
52                         PromptWindow.cpp
53                         QueryFile.cpp
54                         RegExp.cpp
55                         RWLocker.cpp
56                         RWLockManager.cpp
57                         ShakeTrackingFilter.cpp
58                         StringForRate.cpp
59                         StringForSize.cpp
60                         TextTable.cpp
61                         Thread.cpp
62                         ToolBar.cpp
63                         Variant.cpp
64                         ;
66                 Includes [ FGristFiles Keymap.cpp ]
67                         : <src!servers!input>SystemKeymap.h ;
68         }
72 UseLibraryHeaders mapm ;
74 StaticLibrary libexpression_parser.a :
75         ExpressionParser.cpp
76         ;