xref: /haiku/src/apps/icon-o-matic/Jamfile (revision 3af8011358bd4c624a0979336d48dabb466171ed)
1SubDir HAIKU_TOP src apps icon-o-matic ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5# defines (get all the extra stuff in from libicon.a classes)
6DEFINES = ICON_O_MATIC=1 ;
7
8# libicon.a source directories
9local iconSourceDirs =
10	icon
11	icon/flat_icon
12	icon/message
13	icon/shape
14	icon/style
15	icon/transformable
16	icon/transformer
17;
18
19local iconSourceDir ;
20for iconSourceDir in $(iconSourceDirs) {
21	SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src libs $(iconSourceDir) ] ;
22}
23
24
25# source directories
26local sourceDirs =
27	document
28	document/savers
29	generic
30	generic/command
31	generic/gui
32	generic/gui/panel
33	generic/gui/panel/color_picker
34	generic/gui/popup_control
35	generic/gui/scrollview
36	generic/gui/stateview
37	generic/listener
38	generic/property
39	generic/property/specific_properties
40	generic/property/view
41	generic/property/view/specific_properties
42	generic/selection
43	generic/support
44	gui
45	import_export
46	import_export/bitmap
47	import_export/flat_icon
48	import_export/message
49	import_export/svg
50	import_export/styled_text
51	shape
52	shape/commands
53	style
54	transformable
55	transformer
56;
57
58local sourceDir ;
59for sourceDir in $(sourceDirs) {
60	SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src apps icon-o-matic $(sourceDir) ] ;
61}
62
63# system headers
64UseBuildFeatureHeaders expat ;
65UseLibraryHeaders agg icon ;
66UsePrivateHeaders shared ;
67
68
69
70Application Icon-O-Matic :
71	########  libicon.a  ########
72
73	# icon/flat_icon
74	FlatIconFormat.cpp
75	FlatIconImporter.cpp
76	LittleEndianBuffer.cpp
77	PathCommandQueue.cpp
78
79	# icon/message
80	Defines.cpp
81	MessageImporter.cpp
82
83	# icon/shape
84	PathContainer.cpp
85	Shape.cpp
86	ShapeContainer.cpp
87	VectorPath.cpp
88
89	# icon/style
90	GradientTransformable.cpp
91	Style.cpp
92	StyleContainer.cpp
93
94	# icon/transformable
95	Transformable.cpp
96
97	# icon/transformer
98	AffineTransformer.cpp
99	ContourTransformer.cpp
100	PathSource.cpp
101	PerspectiveTransformer.cpp
102	StrokeTransformer.cpp
103	Transformer.cpp
104	TransformerFactory.cpp
105
106	# icon
107	Icon.cpp
108	IconRenderer.cpp
109
110	########  Icon-O-Matic  ########
111
112	# document
113	Document.cpp
114	IconObject.cpp
115	SetPropertiesCommand.cpp
116
117	# document/savers
118	AttributeSaver.cpp
119	BitmapSetSaver.cpp
120	DocumentSaver.cpp
121	FileSaver.cpp
122	MessengerSaver.cpp
123	NativeSaver.cpp
124	SimpleFileSaver.cpp
125
126	# generic/command
127	Command.cpp
128	CommandStack.cpp
129	CompoundCommand.cpp
130
131	# generic/gui
132	Group.cpp
133	InputTextView.cpp
134	NummericalTextView.cpp
135	StringTextView.cpp
136	ListViews.cpp
137	SwatchView.cpp
138
139	# generic/gui/panel
140	Panel.cpp
141
142	# generic/gui/panel/color_picker
143	AlphaSlider.cpp
144	ColorField.cpp
145	ColorPickerPanel.cpp
146	ColorPickerView.cpp
147	ColorPreview.cpp
148	ColorSlider.cpp
149
150	# generic/gui/popup_control
151
152	# generic/gui/scrollview
153	Scrollable.cpp
154	Scroller.cpp
155	ScrollView.cpp
156
157	# generic/gui/stateview
158	Manipulator.cpp
159	MultipleManipulatorState.cpp
160	StateView.cpp
161	ViewState.cpp
162
163	# generic/listener
164	Observable.cpp
165	Observer.cpp
166
167	# generic/property
168	CommonPropertyIDs.cpp
169	Property.cpp
170	PropertyObject.cpp
171
172	# generic/property/specific_properties
173	ColorProperty.cpp
174	IconProperty.cpp
175	Int64Property.cpp
176	OptionProperty.cpp
177
178	# generic/property/view
179	PropertyEditorFactory.cpp
180	PropertyEditorView.cpp
181	PropertyItemView.cpp
182	PropertyListView.cpp
183
184	# generic/property/view/specific_properties
185	BoolValueView.cpp
186	ColorValueView.cpp
187	FloatValueView.cpp
188	IconValueView.cpp
189	Int64ValueView.cpp
190	IntValueView.cpp
191	OptionValueView.cpp
192	StringValueView.cpp
193	SwatchValueView.cpp
194	TextInputValueView.cpp
195
196	# generic/selection
197	Selectable.cpp
198	Selection.cpp
199
200	# generic/support
201	support.cpp
202	support_ui.cpp
203	support_settings.cpp
204
205	# gui
206	GradientControl.cpp
207	IconObjectListView.cpp
208	PathListView.cpp
209	SavePanel.cpp
210	ShapeListView.cpp
211	StyleListView.cpp
212	StyleView.cpp
213	SwatchGroup.cpp
214	TransformerListView.cpp
215
216	# import_export
217	Exporter.cpp
218	Importer.cpp
219
220	# import_export/bitmap
221	BitmapExporter.cpp
222
223	# import_export/flat_icon
224	FlatIconExporter.cpp
225	RDefExporter.cpp
226	SourceExporter.cpp
227
228	# import_export/message
229	MessageExporter.cpp
230
231	# import_export/styled_text
232	StyledTextImporter.cpp
233
234	# import_export/svg
235	DocumentBuilder.cpp
236	SVGExporter.cpp
237	SVGImporter.cpp
238
239	# shape
240	PathManipulator.cpp
241
242	# shape/commands
243	AddPathsCommand.cpp
244	AddPointCommand.cpp
245	AddShapesCommand.cpp
246	AddTransformersCommand.cpp
247	ChangePointCommand.cpp
248	CleanUpPathCommand.cpp
249	FlipPointsCommand.cpp
250	FreezeTransformationCommand.cpp
251	InsertPointCommand.cpp
252	MoveShapesCommand.cpp
253	MovePathsCommand.cpp
254	MoveTransformersCommand.cpp
255	NudgePointsCommand.cpp
256	PathCommand.cpp
257	RemovePathsCommand.cpp
258	RemovePointsCommand.cpp
259	RemoveShapesCommand.cpp
260	RemoveTransformersCommand.cpp
261	ReversePathCommand.cpp
262	RotatePathIndicesCommand.cpp
263	SplitPointsCommand.cpp
264	TransformPointsCommand.cpp
265	UnassignPathCommand.cpp
266
267	# style
268	AddStylesCommand.cpp
269	AssignStyleCommand.cpp
270	CurrentColor.cpp
271	MoveStylesCommand.cpp
272	RemoveStylesCommand.cpp
273	SetColorCommand.cpp
274	SetGradientCommand.cpp
275
276	# transformable
277	CanvasTransformBox.cpp
278	ChannelTransform.cpp
279	ResetTransformationCommand.cpp
280	TransformBox.cpp
281	TransformBoxStates.cpp
282	TransformCommand.cpp
283	TransformGradientBox.cpp
284	TransformGradientCommand.cpp
285	TransformObjectsCommand.cpp
286	TransformPointsBox.cpp
287	TransformShapesBox.cpp
288
289	#
290	CanvasView.cpp
291	IconEditorApp.cpp
292	IconView.cpp
293	main.cpp
294	MainWindow.cpp
295	Util.cpp
296
297	: be tracker translation shared libagg.a
298		[ BuildFeatureAttribute expat : library ]
299		[ TargetLibstdc++ ] localestub
300
301	: Icon-O-Matic.rdef
302;
303
304Includes [ FGristFiles SVGParser.cpp ]
305	: [ BuildFeatureAttribute expat : headers ] ;
306
307DoCatalogs Icon-O-Matic :
308	x-vnd.haiku-icon_o_matic
309	:
310	MainWindow.cpp
311	IconEditorApp.cpp
312	SetPropertiesCommand.cpp
313	ColorPickerPanel.cpp
314	PropertyListView.cpp
315	CommonPropertyIDs.cpp
316	IconObjectListView.cpp
317	PathListView.cpp
318	SavePanel.cpp
319	ShapeListView.cpp
320	StyleListView.cpp
321	StyleView.cpp
322	TransformerListView.cpp
323	StyledTextImporter.cpp
324	SVGExporter.cpp
325	SVGImporter.cpp
326	Exporter.cpp
327	AddPathsCommand.cpp
328	AddPointCommand.cpp
329	AddShapesCommand.cpp
330	AddTransformersCommand.cpp
331	ChangePointCommand.cpp
332	CleanUpPathCommand.cpp
333	FlipPointsCommand.cpp
334	FreezeTransformationCommand.cpp
335	InsertPointCommand.cpp
336	MovePathsCommand.cpp
337	MoveShapesCommand.cpp
338	MoveTransformersCommand.cpp
339	NudgePointsCommand.cpp
340	PathCommand.cpp
341	RemovePathsCommand.cpp
342	RemovePointsCommand.cpp
343	RemoveShapesCommand.cpp
344	RemoveTransformersCommand.cpp
345	ReversePathCommand.cpp
346	RotatePathIndicesCommand.cpp
347	SplitPointsCommand.cpp
348	UnassignPathCommand.cpp
349	PathManipulator.cpp
350	AddStylesCommand.cpp
351	AssignStyleCommand.cpp
352	MoveStylesCommand.cpp
353	RemoveStylesCommand.cpp
354	SetColorCommand.cpp
355	SetGradientCommand.cpp
356	ResetTransformationCommand.cpp
357	TransformBoxStates.cpp
358	TransformerFactory.cpp
359;
360