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