vfs: check userland buffers before reading them.
[haiku.git] / src / servers / app / Jamfile
blobd2a9ab724e096891cd3df447dc113a2cc8a5f664
1 SubDir HAIKU_TOP src servers app ;
3 UseLibraryHeaders agg ;
4 UsePrivateHeaders app graphics input interface kernel shared storage support ;
6 UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing ] ;
7 UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing Painter ] ;
8 UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface local ] ;
9 UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface remote ] ;
10 UseHeaders [ FDirName $(HAIKU_TOP) src servers app stackandtile ] ;
12 UseHeaders [ FDirName $(HAIKU_TOP) src servers app decorator ] ;
13 local decorator_src =
14         DecorManager.cpp
15         Decorator.cpp
16         DefaultDecorator.cpp
17         DefaultWindowBehaviour.cpp
18         MagneticBorder.cpp
19         TabDecorator.cpp
20         WindowBehaviour.cpp
21         ;
23 UseHeaders [ FDirName $(HAIKU_TOP) src servers app font ] ;
24 local font_src =
25         FontCache.cpp
26         FontCacheEntry.cpp
27         FontEngine.cpp
28         FontFamily.cpp
29         FontManager.cpp
30         FontStyle.cpp
31         ;
33 UseBuildFeatureHeaders freetype ;
34 if [ FIsBuildFeatureEnabled fontconfig ] {
35         SubDirC++Flags -DFONTCONFIG_ENABLED ;
36         UseBuildFeatureHeaders fontconfig ;
37         Includes [ FGristFiles AppServer.cpp BitmapManager.cpp Canvas.cpp
38         ClientMemoryAllocator.cpp Desktop.cpp DesktopSettings.cpp
39         DrawState.cpp DrawingEngine.cpp Layer.cpp PictureBoundingBoxPlayer.cpp
40         ServerApp.cpp ServerBitmap.cpp ServerCursor.cpp ServerFont.cpp
41         ServerPicture.cpp ServerWindow.cpp View.cpp Window.cpp WorkspacesView.cpp
42         $(decorator_src) $(font_src) ]
43         : [ BuildFeatureAttribute freetype : headers ]
44           [ BuildFeatureAttribute fontconfig : headers ] ;
45 } else {
46         Includes [ FGristFiles AppServer.cpp BitmapManager.cpp Canvas.cpp
47         ClientMemoryAllocator.cpp Desktop.cpp DesktopSettings.cpp
48         DrawState.cpp DrawingEngine.cpp Layer.cpp PictureBoundingBoxPlayer.cpp
49         ServerApp.cpp ServerBitmap.cpp ServerCursor.cpp ServerFont.cpp
50         ServerPicture.cpp ServerWindow.cpp View.cpp Window.cpp WorkspacesView.cpp
51         $(decorator_src) $(font_src) ]
52         : [ BuildFeatureAttribute freetype : headers ] ;
55 Server app_server :
56         Angle.cpp
57         AppServer.cpp
58         #BitfieldRegion.cpp
59         BitmapManager.cpp
60         Canvas.cpp
61         ClientMemoryAllocator.cpp
62         CursorData.cpp
63         CursorManager.cpp
64         CursorSet.cpp
65         DelayedMessage.cpp
66         Desktop.cpp
67         DesktopListener.cpp
68         DesktopSettings.cpp
69         DirectWindowInfo.cpp
70         DrawState.cpp
71         EventDispatcher.cpp
72         EventStream.cpp
73         HashTable.cpp
74         InputManager.cpp
75         IntPoint.cpp
76         IntRect.cpp
77         Layer.cpp
78         MessageLooper.cpp
79         MultiLocker.cpp
80         OffscreenServerWindow.cpp
81         OffscreenWindow.cpp
82         PictureBoundingBoxPlayer.cpp
83         ProfileMessageSupport.cpp
84         RGBColor.cpp
85         RegionPool.cpp
86         Screen.cpp
87         ScreenConfigurations.cpp
88         ScreenManager.cpp
89         ServerApp.cpp
90         ServerBitmap.cpp
91         ServerCursor.cpp
92         ServerFont.cpp
93         ServerPicture.cpp
94         ServerWindow.cpp
95         SystemPalette.cpp
96         View.cpp
97         VirtualScreen.cpp
98         Window.cpp
99         WindowList.cpp
100         Workspace.cpp
101         WorkspacesView.cpp
103         $(decorator_src)
104         $(font_src)
106         # libraries
107         :
108         libtranslation.so libbe.so libbnetapi.so
109         libaslocal.a libasremote.a
110         libasdrawing.a libpainter.a libagg.a
111         [ BuildFeatureAttribute freetype : library ]
112         [ BuildFeatureAttribute fontconfig : library ]
113         libstackandtile.a liblinprog.a libtextencoding.so shared
114         [ TargetLibstdc++ ]
116         : app_server.rdef
119 SEARCH on [ FGristFiles $(decorator_src) ] = [ FDirName $(HAIKU_TOP) src servers app decorator ] ;
120 SEARCH on [ FGristFiles $(font_src) ] = [ FDirName $(HAIKU_TOP) src servers app font ] ;
123 SubInclude HAIKU_TOP src servers app drawing ;
124 SubInclude HAIKU_TOP src servers app stackandtile ;