xref: /haiku/src/apps/icon-o-matic/Jamfile (revision f2762b2d5658b0b6c9ff62997a1485194cc77e7c)
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	PathTokenizer.cpp
237	SVGExporter.cpp
238	SVGGradients.cpp
239	SVGImporter.cpp
240	SVGParser.cpp
241
242	# shape
243	PathManipulator.cpp
244
245	# shape/commands
246	AddPathsCommand.cpp
247	AddPointCommand.cpp
248	AddShapesCommand.cpp
249	AddTransformersCommand.cpp
250	ChangePointCommand.cpp
251	CleanUpPathCommand.cpp
252	FlipPointsCommand.cpp
253	FreezeTransformationCommand.cpp
254	InsertPointCommand.cpp
255	MoveShapesCommand.cpp
256	MovePathsCommand.cpp
257	MoveTransformersCommand.cpp
258	NudgePointsCommand.cpp
259	PathCommand.cpp
260	RemovePathsCommand.cpp
261	RemovePointsCommand.cpp
262	RemoveShapesCommand.cpp
263	RemoveTransformersCommand.cpp
264	ReversePathCommand.cpp
265	RotatePathIndicesCommand.cpp
266	SplitPointsCommand.cpp
267	TransformPointsCommand.cpp
268	UnassignPathCommand.cpp
269
270	# style
271	AddStylesCommand.cpp
272	AssignStyleCommand.cpp
273	CurrentColor.cpp
274	MoveStylesCommand.cpp
275	RemoveStylesCommand.cpp
276	SetColorCommand.cpp
277	SetGradientCommand.cpp
278
279	# transformable
280	CanvasTransformBox.cpp
281	ChannelTransform.cpp
282	ResetTransformationCommand.cpp
283	TransformBox.cpp
284	TransformBoxStates.cpp
285	TransformCommand.cpp
286	TransformGradientBox.cpp
287	TransformGradientCommand.cpp
288	TransformObjectsCommand.cpp
289	TransformPointsBox.cpp
290	TransformShapesBox.cpp
291
292	#
293	CanvasView.cpp
294	IconEditorApp.cpp
295	IconView.cpp
296	main.cpp
297	MainWindow.cpp
298	Util.cpp
299
300	: be tracker translation shared libagg.a
301		[ BuildFeatureAttribute expat : library ]
302		[ TargetLibstdc++ ] localestub
303
304	: Icon-O-Matic.rdef
305;
306
307Includes [ FGristFiles SVGParser.cpp ]
308	: [ BuildFeatureAttribute expat : headers ] ;
309
310DoCatalogs Icon-O-Matic :
311	x-vnd.haiku-icon_o_matic
312	:
313	MainWindow.cpp
314	IconEditorApp.cpp
315	SetPropertiesCommand.cpp
316	ColorPickerPanel.cpp
317	PropertyListView.cpp
318	CommonPropertyIDs.cpp
319	IconObjectListView.cpp
320	PathListView.cpp
321	SavePanel.cpp
322	ShapeListView.cpp
323	StyleListView.cpp
324	StyleView.cpp
325	TransformerListView.cpp
326	StyledTextImporter.cpp
327	SVGExporter.cpp
328	SVGImporter.cpp
329	Exporter.cpp
330	AddPathsCommand.cpp
331	AddPointCommand.cpp
332	AddShapesCommand.cpp
333	AddTransformersCommand.cpp
334	ChangePointCommand.cpp
335	CleanUpPathCommand.cpp
336	FlipPointsCommand.cpp
337	FreezeTransformationCommand.cpp
338	InsertPointCommand.cpp
339	MovePathsCommand.cpp
340	MoveShapesCommand.cpp
341	MoveTransformersCommand.cpp
342	NudgePointsCommand.cpp
343	PathCommand.cpp
344	RemovePathsCommand.cpp
345	RemovePointsCommand.cpp
346	RemoveShapesCommand.cpp
347	RemoveTransformersCommand.cpp
348	ReversePathCommand.cpp
349	RotatePathIndicesCommand.cpp
350	SplitPointsCommand.cpp
351	UnassignPathCommand.cpp
352	PathManipulator.cpp
353	AddStylesCommand.cpp
354	AssignStyleCommand.cpp
355	MoveStylesCommand.cpp
356	RemoveStylesCommand.cpp
357	SetColorCommand.cpp
358	SetGradientCommand.cpp
359	ResetTransformationCommand.cpp
360	TransformBoxStates.cpp
361	TransformerFactory.cpp
362;
363