xref: /haiku/src/apps/icon-o-matic/Jamfile (revision 2f470aec1c92ce6917b8a903e343795dc77af41f)
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)
7local defines = [ FDefines ICON_O_MATIC=1 ] ;
8
9SubDirCcFlags $(defines) ;
10SubDirC++Flags $(defines) ;
11
12# libicon.a source directories
13local iconSourceDirs =
14	icon
15	icon/flat_icon
16	icon/shape
17	icon/style
18	icon/transformable
19	icon/transformer
20;
21
22local iconSourceDir ;
23for iconSourceDir in $(iconSourceDirs) {
24	SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src libs $(iconSourceDir) ] ;
25}
26
27
28# source directories
29local sourceDirs =
30	document
31	document/savers
32	generic
33	generic/command
34	generic/gui
35	generic/gui/panel
36	generic/gui/panel/color_picker
37	generic/gui/popup_control
38	generic/gui/scrollview
39	generic/gui/stateview
40	generic/listener
41	generic/property
42	generic/property/specific_properties
43	generic/property/view
44	generic/property/view/specific_properties
45	generic/selection
46	generic/support
47	gui
48	import_export
49	import_export/bitmap
50	import_export/flat_icon
51	import_export/message
52	import_export/svg
53	shape
54	shape/commands
55	style
56	transformable
57	transformer
58;
59
60local sourceDir ;
61for sourceDir in $(sourceDirs) {
62	SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src apps icon-o-matic $(sourceDir) ] ;
63}
64
65# system headers
66UseLibraryHeaders agg expat icon ;
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/shape
80	PathContainer.cpp
81	Shape.cpp
82	ShapeContainer.cpp
83	VectorPath.cpp
84
85	# icon/style
86	Gradient.cpp
87	Style.cpp
88	StyleContainer.cpp
89
90	# icon/transformable
91	Transformable.cpp
92
93	# icon/transformer
94	AffineTransformer.cpp
95	ContourTransformer.cpp
96	PathSource.cpp
97	PerspectiveTransformer.cpp
98	StrokeTransformer.cpp
99	Transformer.cpp
100	TransformerFactory.cpp
101
102	# icon
103	Icon.cpp
104	IconRenderer.cpp
105
106	########  Icon-O-Matic  ########
107
108	# document
109	Document.cpp
110	IconObject.cpp
111	SetPropertiesCommand.cpp
112
113	# document/savers
114	AttributeSaver.cpp
115	BitmapSetSaver.cpp
116	DocumentSaver.cpp
117	FileSaver.cpp
118	MessengerSaver.cpp
119	SimpleFileSaver.cpp
120
121	# generic/command
122	Command.cpp
123	CommandStack.cpp
124	CompoundCommand.cpp
125
126	# generic/gui
127	Group.cpp
128	InputTextView.cpp
129	NummericalTextView.cpp
130	StringTextView.cpp
131	ListViews.cpp
132	SwatchView.cpp
133
134	# generic/gui/panel
135	Panel.cpp
136
137	# generic/gui/panel/color_picker
138	AlphaSlider.cpp
139	ColorField.cpp
140	ColorPickerPanel.cpp
141	ColorPickerView.cpp
142	ColorPreview.cpp
143	ColorSlider.cpp
144
145	# generic/gui/popup_control
146
147	# generic/gui/scrollview
148	Scrollable.cpp
149	Scroller.cpp
150	ScrollView.cpp
151
152	# generic/gui/stateview
153	Manipulator.cpp
154	MultipleManipulatorState.cpp
155	StateView.cpp
156	ViewState.cpp
157
158	# generic/listener
159	Observable.cpp
160	Observer.cpp
161
162	# generic/property
163	CommonPropertyIDs.cpp
164	Property.cpp
165	PropertyObject.cpp
166
167	# generic/property/specific_properties
168	ColorProperty.cpp
169	IconProperty.cpp
170	Int64Property.cpp
171	OptionProperty.cpp
172
173	# generic/property/view
174	PropertyEditorFactory.cpp
175	PropertyEditorView.cpp
176	PropertyItemView.cpp
177	PropertyListView.cpp
178
179	# generic/property/view/specific_properties
180	BoolValueView.cpp
181	ColorValueView.cpp
182	FloatValueView.cpp
183	IconValueView.cpp
184	Int64ValueView.cpp
185	IntValueView.cpp
186	OptionValueView.cpp
187	StringValueView.cpp
188	SwatchValueView.cpp
189	TextInputValueView.cpp
190
191	# generic/selection
192	Selectable.cpp
193	Selection.cpp
194
195	# generic/support
196	Referenceable.cpp
197	RWLocker.cpp
198	support.cpp
199	support_ui.cpp
200	support_settings.cpp
201
202	# gui
203	GradientControl.cpp
204	IconObjectListView.cpp
205	PathListView.cpp
206	SavePanel.cpp
207	ShapeListView.cpp
208	StyleListView.cpp
209	StyleView.cpp
210	SwatchGroup.cpp
211	TransformerListView.cpp
212
213	# import_export
214	Exporter.cpp
215	Importer.cpp
216
217	# import_export/bitmap
218	BitmapExporter.cpp
219
220	# import_export/flat_icon
221	FlatIconExporter.cpp
222	RDefExporter.cpp
223
224	# import_export/message
225	MessageExporter.cpp
226	MessageImporter.cpp
227
228	# import_export/svg
229	DocumentBuilder.cpp
230	PathTokenizer.cpp
231	SVGExporter.cpp
232	SVGGradients.cpp
233	SVGImporter.cpp
234	SVGParser.cpp
235
236	# shape
237	PathManipulator.cpp
238
239	# shape/commands
240	AddPathsCommand.cpp
241	AddPointCommand.cpp
242	AddShapesCommand.cpp
243	AddTransformersCommand.cpp
244	ChangePointCommand.cpp
245	CleanUpPathCommand.cpp
246	FlipPointsCommand.cpp
247	FreezeTransformationCommand.cpp
248	InsertPointCommand.cpp
249	MoveShapesCommand.cpp
250	MovePathsCommand.cpp
251	MoveTransformersCommand.cpp
252	NudgePointsCommand.cpp
253	PathCommand.cpp
254	RemovePathsCommand.cpp
255	RemovePointsCommand.cpp
256	RemoveShapesCommand.cpp
257	RemoveTransformersCommand.cpp
258	ReversePathCommand.cpp
259	SplitPointsCommand.cpp
260	TransformPointsCommand.cpp
261	UnassignPathCommand.cpp
262
263	# style
264	AddStylesCommand.cpp
265	AssignStyleCommand.cpp
266	CurrentColor.cpp
267	MoveStylesCommand.cpp
268	RemoveStylesCommand.cpp
269	SetColorCommand.cpp
270	SetGradientCommand.cpp
271
272	# transformable
273	CanvasTransformBox.cpp
274	ChannelTransform.cpp
275	ResetTransformationCommand.cpp
276	TransformBox.cpp
277	TransformBoxStates.cpp
278	TransformCommand.cpp
279	TransformGradientBox.cpp
280	TransformObjectsCommand.cpp
281	TransformPointsBox.cpp
282	TransformShapesBox.cpp
283
284	#
285	CanvasView.cpp
286	IconEditorApp.cpp
287	IconView.cpp
288	main.cpp
289	MainWindow.cpp
290	Util.cpp
291
292	: be tracker translation libagg.a libexpat.a
293
294	: Icon-O-Matic.rdef
295;
296
297
298
299# also install in app_server test environment
300if ( $(TARGET_PLATFORM) = libbe_test ) {
301	HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : Icon-O-Matic
302		: tests!apps ;
303}
304
305