xref: /haiku/src/apps/icon-o-matic/Jamfile (revision 83b1a68c52ba3e0e8796282759f694b7fdddf06d)
1SubDir HAIKU_TOP src apps icon-o-matic ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6# defines (get all the extra stuff in from libicon.a classes)
7DEFINES = ICON_O_MATIC=1 ;
8
9# libicon.a source directories
10local iconSourceDirs =
11	icon
12	icon/flat_icon
13	icon/message
14	icon/shape
15	icon/style
16	icon/transformable
17	icon/transformer
18;
19
20local iconSourceDir ;
21for iconSourceDir in $(iconSourceDirs) {
22	SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src libs $(iconSourceDir) ] ;
23}
24
25
26# source directories
27local sourceDirs =
28	document
29	document/savers
30	generic
31	generic/command
32	generic/gui
33	generic/gui/panel
34	generic/gui/panel/color_picker
35	generic/gui/popup_control
36	generic/gui/scrollview
37	generic/gui/stateview
38	generic/listener
39	generic/property
40	generic/property/specific_properties
41	generic/property/view
42	generic/property/view/specific_properties
43	generic/selection
44	generic/support
45	gui
46	import_export
47	import_export/bitmap
48	import_export/flat_icon
49	import_export/message
50	import_export/svg
51	import_export/styled_text
52	shape
53	shape/commands
54	style
55	transformable
56	transformer
57;
58
59local sourceDir ;
60for sourceDir in $(sourceDirs) {
61	SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src apps icon-o-matic $(sourceDir) ] ;
62}
63
64# system headers
65UseLibraryHeaders agg expat 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	Referenceable.cpp
202	RWLocker.cpp
203	support.cpp
204	support_ui.cpp
205	support_settings.cpp
206
207	# gui
208	GradientControl.cpp
209	IconObjectListView.cpp
210	PathListView.cpp
211	SavePanel.cpp
212	ShapeListView.cpp
213	StyleListView.cpp
214	StyleView.cpp
215	SwatchGroup.cpp
216	TransformerListView.cpp
217
218	# import_export
219	Exporter.cpp
220	Importer.cpp
221
222	# import_export/bitmap
223	BitmapExporter.cpp
224
225	# import_export/flat_icon
226	FlatIconExporter.cpp
227	RDefExporter.cpp
228	SourceExporter.cpp
229
230	# import_export/message
231	MessageExporter.cpp
232
233	# import_export/styled_text
234	StyledTextImporter.cpp
235
236	# import_export/svg
237	DocumentBuilder.cpp
238	PathTokenizer.cpp
239	SVGExporter.cpp
240	SVGGradients.cpp
241	SVGImporter.cpp
242	SVGParser.cpp
243
244	# shape
245	PathManipulator.cpp
246
247	# shape/commands
248	AddPathsCommand.cpp
249	AddPointCommand.cpp
250	AddShapesCommand.cpp
251	AddTransformersCommand.cpp
252	ChangePointCommand.cpp
253	CleanUpPathCommand.cpp
254	FlipPointsCommand.cpp
255	FreezeTransformationCommand.cpp
256	InsertPointCommand.cpp
257	MoveShapesCommand.cpp
258	MovePathsCommand.cpp
259	MoveTransformersCommand.cpp
260	NudgePointsCommand.cpp
261	PathCommand.cpp
262	RemovePathsCommand.cpp
263	RemovePointsCommand.cpp
264	RemoveShapesCommand.cpp
265	RemoveTransformersCommand.cpp
266	ReversePathCommand.cpp
267	RotatePathIndicesCommand.cpp
268	SplitPointsCommand.cpp
269	TransformPointsCommand.cpp
270	UnassignPathCommand.cpp
271
272	# style
273	AddStylesCommand.cpp
274	AssignStyleCommand.cpp
275	CurrentColor.cpp
276	MoveStylesCommand.cpp
277	RemoveStylesCommand.cpp
278	SetColorCommand.cpp
279	SetGradientCommand.cpp
280
281	# transformable
282	CanvasTransformBox.cpp
283	ChannelTransform.cpp
284	ResetTransformationCommand.cpp
285	TransformBox.cpp
286	TransformBoxStates.cpp
287	TransformCommand.cpp
288	TransformGradientBox.cpp
289	TransformGradientCommand.cpp
290	TransformObjectsCommand.cpp
291	TransformPointsBox.cpp
292	TransformShapesBox.cpp
293
294	#
295	CanvasView.cpp
296	IconEditorApp.cpp
297	IconView.cpp
298	main.cpp
299	MainWindow.cpp
300	Util.cpp
301
302	: be tracker translation libshared.a libagg.a libexpat.a
303		[ TargetLibstdc++ ] localestub
304
305	: Icon-O-Matic.rdef
306;
307
308DoCatalogs Icon-O-Matic :
309	x-vnd.haiku-icon_o_matic
310	:
311	MainWindow.cpp
312	IconEditorApp.cpp
313	SetPropertiesCommand.cpp
314	ColorPickerPanel.cpp
315	PropertyListView.cpp
316	CommonPropertyIDs.cpp
317	IconObjectListView.cpp
318	PathListView.cpp
319	SavePanel.cpp
320	ShapeListView.cpp
321	StyleListView.cpp
322	StyleView.cpp
323	TransformerListView.cpp
324	StyledTextImporter.cpp
325	SVGExporter.cpp
326	SVGImporter.cpp
327	Exporter.cpp
328	AddPathsCommand.cpp
329	AddPointCommand.cpp
330	AddShapesCommand.cpp
331	AddTransformersCommand.cpp
332	ChangePointCommand.cpp
333	CleanUpPathCommand.cpp
334	FlipPointsCommand.cpp
335	FreezeTransformationCommand.cpp
336	InsertPointCommand.cpp
337	MovePathsCommand.cpp
338	MoveShapesCommand.cpp
339	MoveTransformersCommand.cpp
340	NudgePointsCommand.cpp
341	PathCommand.cpp
342	RemovePathsCommand.cpp
343	RemovePointsCommand.cpp
344	RemoveShapesCommand.cpp
345	RemoveTransformersCommand.cpp
346	ReversePathCommand.cpp
347	RotatePathIndicesCommand.cpp
348	SplitPointsCommand.cpp
349	UnassignPathCommand.cpp
350	PathManipulator.cpp
351	AddStylesCommand.cpp
352	AssignStyleCommand.cpp
353	MoveStylesCommand.cpp
354	RemoveStylesCommand.cpp
355	SetColorCommand.cpp
356	SetGradientCommand.cpp
357	ResetTransformationCommand.cpp
358	TransformBoxStates.cpp
359	TransformerFactory.cpp
360;
361