xref: /haiku/src/kits/interface/Jamfile (revision d25503d3dbd8e3f526fd0a9bdd884b8e43c1b794)
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	local defines = [ FDefines COMPILE_FOR_R5 ] ;
22	SubDirCcFlags $(defines) ;
23	SubDirC++Flags $(defines) ;
24}
25
26SetSubDirSupportedPlatforms haiku libbe_test ;
27
28UseLibraryHeaders agg ;
29UsePrivateHeaders app input print interface shared tracker ;
30
31local pngDump ;
32if $(TARGET_PLATFORM) = haiku {
33	UseLibraryHeaders icon ;
34} else {
35	pngDump = PNGDump.cpp ;
36	UseLibraryHeaders icon png zlib ;
37}
38
39SEARCH_SOURCE += [ FDirName $(SUBDIR) textview_support ] ;
40SEARCH_SOURCE += [ FDirName $(SUBDIR) layouter ] ;
41
42MergeObject <libbe>interface_kit.o :
43	AbstractLayoutItem.cpp
44	Alert.cpp
45	Alignment.cpp
46	Bitmap.cpp
47	BMCPrivate.cpp
48	Box.cpp
49	Button.cpp
50	CardLayout.cpp
51	ChannelControl.cpp
52	ChannelSlider.cpp
53	CheckBox.cpp
54	ColorConversion.cpp
55	ColorControl.cpp
56	ColorTools.cpp
57	Control.cpp
58	ControlLook.cpp
59	Deskbar.cpp
60	Dragger.cpp
61	Font.cpp
62	Gradient.cpp
63	GradientLinear.cpp
64	GradientRadial.cpp
65	GradientRadialFocus.cpp
66	GradientDiamond.cpp
67	GradientConic.cpp
68	GraphicsDefs.cpp
69	GridLayout.cpp
70	GridLayoutBuilder.cpp
71	GridView.cpp
72	GroupLayout.cpp
73	GroupLayoutBuilder.cpp
74	GroupView.cpp
75	Input.cpp
76	InterfaceDefs.cpp
77	Layout.cpp
78	LayoutContext.cpp
79	LayoutItem.cpp
80	LayoutUtils.cpp
81	ListItem.cpp
82	ListView.cpp
83	Menu.cpp
84	MenuBar.cpp
85	MenuField.cpp
86	MenuItem.cpp
87	MenuPrivate.cpp
88	MenuWindow.cpp
89	OptionControl.cpp
90	OptionPopUp.cpp
91	OutlineListView.cpp
92	Picture.cpp
93	PictureButton.cpp
94	PictureDataWriter.cpp
95	PicturePlayer.cpp
96	Point.cpp
97	Polygon.cpp
98	PopUpMenu.cpp
99	PrintJob.cpp
100	PrivateScreen.cpp
101	RadioButton.cpp
102	Rect.cpp
103	Region.cpp
104	RegionSupport.cpp
105	Screen.cpp
106	ScrollBar.cpp
107	ScrollView.cpp
108	SeparatorItem.cpp
109	SeparatorView.cpp
110	Shape.cpp
111	Shelf.cpp
112	Size.cpp
113	Slider.cpp
114	SpaceLayoutItem.cpp
115	SplitLayout.cpp
116	SplitLayoutBuilder.cpp
117	SplitView.cpp
118	StatusBar.cpp
119	StringItem.cpp
120	StringView.cpp
121	TabView.cpp
122	TextControl.cpp
123	TextInput.cpp
124	TextView.cpp
125	ToolTip.cpp
126	ToolTipManager.cpp
127	TwoDimensionalLayout.cpp
128	View.cpp
129	ViewLayoutItem.cpp
130	Window.cpp
131	ZombieReplicantView.cpp
132
133	# BTextView support
134	InlineInput.cpp
135	LineBuffer.cpp
136	StyleBuffer.cpp
137	TextGapBuffer.cpp
138	UndoBuffer.cpp
139	WidthBuffer.cpp
140
141	# layouter
142	ComplexLayouter.cpp
143	Layouter.cpp
144	LayoutOptimizer.cpp
145	OneElementLayouter.cpp
146	SimpleLayouter.cpp
147
148	# required on R5
149	$(pngDump)
150	: libshared.a
151;
152
153StaticLibrary libcolumnlistview.a :
154	ColumnListView.cpp
155	ColumnTypes.cpp
156;
157