xref: /haiku/src/kits/interface/Jamfile (revision 632e56d8e514ba6ac41f582ce580e51a3cd8922e)
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			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			Control.cpp
61			ControlLook.cpp
62			DecorInfo.cpp
63			Deskbar.cpp
64			DecimalSpinner.cpp
65			Dragger.cpp
66			Font.cpp
67			Gradient.cpp
68			GradientLinear.cpp
69			GradientRadial.cpp
70			GradientRadialFocus.cpp
71			GradientDiamond.cpp
72			GradientConic.cpp
73			GraphicsDefs.cpp
74			GridLayout.cpp
75			GridLayoutBuilder.cpp
76			GridView.cpp
77			GroupLayout.cpp
78			GroupLayoutBuilder.cpp
79			GroupView.cpp
80			Icon.cpp
81			Input.cpp
82			InterfaceDefs.cpp
83			Layout.cpp
84			LayoutContext.cpp
85			LayoutItem.cpp
86			LayoutUtils.cpp
87			ListItem.cpp
88			ListView.cpp
89			Menu.cpp
90			MenuBar.cpp
91			MenuField.cpp
92			MenuItem.cpp
93			MenuPrivate.cpp
94			MenuWindow.cpp
95			OptionControl.cpp
96			OptionPopUp.cpp
97			OutlineListView.cpp
98			Picture.cpp
99			PictureButton.cpp
100			PictureDataWriter.cpp
101			PicturePlayer.cpp
102			Point.cpp
103			Polygon.cpp
104			PopUpMenu.cpp
105			PrintJob.cpp
106			PrivateScreen.cpp
107			RadioButton.cpp
108			Rect.cpp
109			Region.cpp
110			RegionSupport.cpp
111			Screen.cpp
112			ScrollBar.cpp
113			ScrollView.cpp
114			SeparatorItem.cpp
115			SeparatorView.cpp
116			Shape.cpp
117			Shelf.cpp
118			Size.cpp
119			Slider.cpp
120			SpaceLayoutItem.cpp
121			Spinner.cpp
122			SplitLayout.cpp
123			SplitLayoutBuilder.cpp
124			SplitView.cpp
125			StatusBar.cpp
126			StringItem.cpp
127			StringView.cpp
128			TabView.cpp
129			TextControl.cpp
130			TextInput.cpp
131			TextView.cpp
132			ToolTip.cpp
133			ToolTipManager.cpp
134			TwoDimensionalLayout.cpp
135			View.cpp
136			ViewLayoutItem.cpp
137			ViewPort.cpp
138			Window.cpp
139			WindowStack.cpp
140			ZombieReplicantView.cpp
141
142			# BTextView support
143			InlineInput.cpp
144			LineBuffer.cpp
145			StyleBuffer.cpp
146			TextGapBuffer.cpp
147			UndoBuffer.cpp
148			WidthBuffer.cpp
149
150			# layouter
151			CollapsingLayouter.cpp
152			ComplexLayouter.cpp
153			Layouter.cpp
154			LayoutOptimizer.cpp
155			OneElementLayouter.cpp
156			SimpleLayouter.cpp
157
158			: <$(architecture)>libshared.a
159			;
160
161		StaticLibrary [ MultiArchDefaultGristFiles libcolumnlistview.a ] :
162			ColumnListView.cpp
163			ColumnTypes.cpp
164		;
165	}
166}
167
168