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