xref: /haiku/src/kits/interface/Jamfile (revision 040a81419dda83d1014e9dc94936a4cb3f027303)
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			Window.cpp
133			WindowStack.cpp
134			ZombieReplicantView.cpp
135
136			# BTextView support
137			InlineInput.cpp
138			LineBuffer.cpp
139			StyleBuffer.cpp
140			TextGapBuffer.cpp
141			UndoBuffer.cpp
142			WidthBuffer.cpp
143
144			# layouter
145			CollapsingLayouter.cpp
146			ComplexLayouter.cpp
147			Layouter.cpp
148			LayoutOptimizer.cpp
149			OneElementLayouter.cpp
150			SimpleLayouter.cpp
151
152			: [ MultiArchDefaultGristFiles libshared.a ]
153			;
154	}
155}
156
157StaticLibrary libcolumnlistview.a :
158	ColumnListView.cpp
159	ColumnTypes.cpp
160;
161