xref: /haiku/src/kits/interface/Jamfile (revision 6018afcd9d9c974bd7fbe3d5f09d752e1897d22a)
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
20SetSubDirSupportedPlatforms haiku libbe_test ;
21
22UseLibraryHeaders agg ;
23UsePrivateHeaders app input print interface locale shared support tracker ;
24
25UseHeaders [ FDirName $(HAIKU_TOP) src kits tracker ] ;
26
27
28local architectureObject ;
29for architectureObject in [ MultiArchSubDirSetup ] {
30	on $(architectureObject) {
31		local architecture = $(TARGET_PACKAGING_ARCH) ;
32
33		SEARCH_SOURCE += [ FDirName $(SUBDIR) textview_support ] ;
34		SEARCH_SOURCE += [ FDirName $(SUBDIR) layouter ] ;
35
36		MergeObject <libbe!$(architecture)>interface_kit.o :
37			AboutWindow.cpp
38			AbstractLayout.cpp
39			AbstractLayoutItem.cpp
40			AbstractSpinner.cpp
41			AffineTransform.cpp
42			Alert.cpp
43			Alignment.cpp
44			Bitmap.cpp
45			BMCPrivate.cpp
46			Box.cpp
47			Button.cpp
48			CardLayout.cpp
49			CardView.cpp
50			ChannelControl.cpp
51			ChannelSlider.cpp
52			CheckBox.cpp
53			ColorConversion.cpp
54			ColorControl.cpp
55			ColorMenuItem.cpp
56			Control.cpp
57			ControlLook.cpp
58			DecorInfo.cpp
59			Deskbar.cpp
60			DecimalSpinner.cpp
61			Dragger.cpp
62			Font.cpp
63			Gradient.cpp
64			GradientLinear.cpp
65			GradientRadial.cpp
66			GradientRadialFocus.cpp
67			GradientDiamond.cpp
68			GradientConic.cpp
69			GraphicsDefs.cpp
70			GridLayout.cpp
71			GridLayoutBuilder.cpp
72			GridView.cpp
73			GroupLayout.cpp
74			GroupLayoutBuilder.cpp
75			GroupView.cpp
76			HaikuControlLook.cpp
77			Icon.cpp
78			Input.cpp
79			InterfaceDefs.cpp
80			Layout.cpp
81			LayoutContext.cpp
82			LayoutItem.cpp
83			LayoutUtils.cpp
84			ListItem.cpp
85			ListView.cpp
86			Menu.cpp
87			MenuBar.cpp
88			MenuField.cpp
89			MenuItem.cpp
90			MenuItemPrivate.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			Spinner.cpp
120			SplitLayout.cpp
121			SplitLayoutBuilder.cpp
122			SplitView.cpp
123			StatusBar.cpp
124			StringItem.cpp
125			StringView.cpp
126			TabView.cpp
127			TextControl.cpp
128			TextInput.cpp
129			TextView.cpp
130			ToolTip.cpp
131			ToolTipManager.cpp
132			TwoDimensionalLayout.cpp
133			View.cpp
134			ViewLayoutItem.cpp
135			ViewPort.cpp
136			Window.cpp
137			WindowStack.cpp
138			ZombieReplicantView.cpp
139
140			# BTextView support
141			InlineInput.cpp
142			LineBuffer.cpp
143			StyleBuffer.cpp
144			TextGapBuffer.cpp
145			UndoBuffer.cpp
146			WidthBuffer.cpp
147
148			# layouter
149			CollapsingLayouter.cpp
150			ComplexLayouter.cpp
151			Layouter.cpp
152			LayoutOptimizer.cpp
153			OneElementLayouter.cpp
154			SimpleLayouter.cpp
155
156			: <$(architecture)>libshared.a
157			;
158
159		StaticLibrary [ MultiArchDefaultGristFiles libcolumnlistview.a ] :
160			ColumnListView.cpp
161			ColumnTypes.cpp
162		;
163	}
164}
165
166