xref: /haiku/src/apps/icon-o-matic/Jamfile (revision 00c90992ff6fb68f75796c55942486f00fa1a37f)
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	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
303		[ BuildFeatureAttribute expat : library ]
304		[ TargetLibstdc++ ] localestub
305
306	: Icon-O-Matic.rdef
307;
308
309Includes [ FGristFiles SVGParser.cpp ]
310	: [ BuildFeatureAttribute expat : headers ] ;
311
312DoCatalogs Icon-O-Matic :
313	x-vnd.haiku-icon_o_matic
314	:
315	MainWindow.cpp
316	IconEditorApp.cpp
317	SetPropertiesCommand.cpp
318	ColorPickerPanel.cpp
319	PropertyListView.cpp
320	CommonPropertyIDs.cpp
321	IconObjectListView.cpp
322	PathListView.cpp
323	SavePanel.cpp
324	ShapeListView.cpp
325	StyleListView.cpp
326	StyleView.cpp
327	TransformerListView.cpp
328	StyledTextImporter.cpp
329	SVGExporter.cpp
330	SVGImporter.cpp
331	Exporter.cpp
332	AddPathsCommand.cpp
333	AddPointCommand.cpp
334	AddShapesCommand.cpp
335	AddTransformersCommand.cpp
336	ChangePointCommand.cpp
337	CleanUpPathCommand.cpp
338	FlipPointsCommand.cpp
339	FreezeTransformationCommand.cpp
340	InsertPointCommand.cpp
341	MovePathsCommand.cpp
342	MoveShapesCommand.cpp
343	MoveTransformersCommand.cpp
344	NudgePointsCommand.cpp
345	PathCommand.cpp
346	RemovePathsCommand.cpp
347	RemovePointsCommand.cpp
348	RemoveShapesCommand.cpp
349	RemoveTransformersCommand.cpp
350	ReversePathCommand.cpp
351	RotatePathIndicesCommand.cpp
352	SplitPointsCommand.cpp
353	UnassignPathCommand.cpp
354	PathManipulator.cpp
355	AddStylesCommand.cpp
356	AssignStyleCommand.cpp
357	MoveStylesCommand.cpp
358	RemoveStylesCommand.cpp
359	SetColorCommand.cpp
360	SetGradientCommand.cpp
361	ResetTransformationCommand.cpp
362	TransformBoxStates.cpp
363	TransformerFactory.cpp
364;
365