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