vfs: check userland buffers before reading them.
[haiku.git] / src / kits / interface / Jamfile
blobbfc5e4a5872888022e8c27dbf83edf27c3a09e03
1 SubDir HAIKU_TOP src kits interface ;
3 # If defined allows to run applications without the registrar
4 # -- for development only, of course.
5 if $(RUN_WITHOUT_REGISTRAR) {
6         local defines = [ FDefines RUN_WITHOUT_REGISTRAR ] ;
7         SubDirCcFlags $(defines) ;
8         SubDirC++Flags $(defines) ;
11 # If defined allows to run applications without the app server
12 # -- needed until the app server runs on our kernel.
13 RUN_WITHOUT_APP_SERVER ?= 0 ;
14 if $(RUN_WITHOUT_APP_SERVER) != 0 {
15         local defines = [ FDefines RUN_WITHOUT_APP_SERVER ] ;
16         SubDirCcFlags $(defines) ;
17         SubDirC++Flags $(defines) ;
20 if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
21         SubDirCcFlags $(defines) ;
22         SubDirC++Flags $(defines) ;
25 SetSubDirSupportedPlatforms haiku libbe_test ;
27 UseLibraryHeaders agg ;
28 UsePrivateHeaders app input print interface locale shared support tracker ;
30 UseHeaders [ FDirName $(HAIKU_TOP) src kits tracker ] ;
33 local architectureObject ;
34 for architectureObject in [ MultiArchSubDirSetup ] {
35         on $(architectureObject) {
36                 local architecture = $(TARGET_PACKAGING_ARCH) ;
38                 SEARCH_SOURCE += [ FDirName $(SUBDIR) textview_support ] ;
39                 SEARCH_SOURCE += [ FDirName $(SUBDIR) layouter ] ;
41                 MergeObject <libbe!$(architecture)>interface_kit.o :
42                         AboutWindow.cpp
43                         AbstractLayout.cpp
44                         AbstractLayoutItem.cpp
45                         AbstractSpinner.cpp
46                         AffineTransform.cpp
47                         Alert.cpp
48                         Alignment.cpp
49                         Bitmap.cpp
50                         BMCPrivate.cpp
51                         Box.cpp
52                         Button.cpp
53                         CardLayout.cpp
54                         CardView.cpp
55                         ChannelControl.cpp
56                         ChannelSlider.cpp
57                         CheckBox.cpp
58                         ColorConversion.cpp
59                         ColorControl.cpp
60                         ColorMenuItem.cpp
61                         Control.cpp
62                         ControlLook.cpp
63                         DecorInfo.cpp
64                         Deskbar.cpp
65                         DecimalSpinner.cpp
66                         Dragger.cpp
67                         Font.cpp
68                         Gradient.cpp
69                         GradientLinear.cpp
70                         GradientRadial.cpp
71                         GradientRadialFocus.cpp
72                         GradientDiamond.cpp
73                         GradientConic.cpp
74                         GraphicsDefs.cpp
75                         GridLayout.cpp
76                         GridLayoutBuilder.cpp
77                         GridView.cpp
78                         GroupLayout.cpp
79                         GroupLayoutBuilder.cpp
80                         GroupView.cpp
81                         HaikuControlLook.cpp
82                         Icon.cpp
83                         Input.cpp
84                         InterfaceDefs.cpp
85                         Layout.cpp
86                         LayoutContext.cpp
87                         LayoutItem.cpp
88                         LayoutUtils.cpp
89                         ListItem.cpp
90                         ListView.cpp
91                         Menu.cpp
92                         MenuBar.cpp
93                         MenuField.cpp
94                         MenuItem.cpp
95                         MenuItemPrivate.cpp
96                         MenuPrivate.cpp
97                         MenuWindow.cpp
98                         OptionControl.cpp
99                         OptionPopUp.cpp
100                         OutlineListView.cpp
101                         Picture.cpp
102                         PictureButton.cpp
103                         PictureDataWriter.cpp
104                         PicturePlayer.cpp
105                         Point.cpp
106                         Polygon.cpp
107                         PopUpMenu.cpp
108                         PrintJob.cpp
109                         PrivateScreen.cpp
110                         RadioButton.cpp
111                         Rect.cpp
112                         Region.cpp
113                         RegionSupport.cpp
114                         Screen.cpp
115                         ScrollBar.cpp
116                         ScrollView.cpp
117                         SeparatorItem.cpp
118                         SeparatorView.cpp
119                         Shape.cpp
120                         Shelf.cpp
121                         Size.cpp
122                         Slider.cpp
123                         SpaceLayoutItem.cpp
124                         Spinner.cpp
125                         SplitLayout.cpp
126                         SplitLayoutBuilder.cpp
127                         SplitView.cpp
128                         StatusBar.cpp
129                         StringItem.cpp
130                         StringView.cpp
131                         TabView.cpp
132                         TextControl.cpp
133                         TextInput.cpp
134                         TextView.cpp
135                         ToolTip.cpp
136                         ToolTipManager.cpp
137                         TwoDimensionalLayout.cpp
138                         View.cpp
139                         ViewLayoutItem.cpp
140                         ViewPort.cpp
141                         Window.cpp
142                         WindowStack.cpp
143                         ZombieReplicantView.cpp
145                         # BTextView support
146                         InlineInput.cpp
147                         LineBuffer.cpp
148                         StyleBuffer.cpp
149                         TextGapBuffer.cpp
150                         UndoBuffer.cpp
151                         WidthBuffer.cpp
153                         # layouter
154                         CollapsingLayouter.cpp
155                         ComplexLayouter.cpp
156                         Layouter.cpp
157                         LayoutOptimizer.cpp
158                         OneElementLayouter.cpp
159                         SimpleLayouter.cpp
161                         : <$(architecture)>libshared.a
162                         ;
164                 StaticLibrary [ MultiArchDefaultGristFiles libcolumnlistview.a ] :
165                         ColumnListView.cpp
166                         ColumnTypes.cpp
167                 ;
168         }