xref: /haiku/src/apps/icon-o-matic/Jamfile (revision f09ba8ea46ba2f4e482d7cd03e8eb77f37a60663)
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	Defines.cpp
110	Document.cpp
111	IconObject.cpp
112	SetPropertiesCommand.cpp
113
114	# document/savers
115	AttributeSaver.cpp
116	BitmapSetSaver.cpp
117	DocumentSaver.cpp
118	FileSaver.cpp
119	MessengerSaver.cpp
120	NativeSaver.cpp
121	SimpleFileSaver.cpp
122
123	# generic/command
124	Command.cpp
125	CommandStack.cpp
126	CompoundCommand.cpp
127
128	# generic/gui
129	Group.cpp
130	InputTextView.cpp
131	NummericalTextView.cpp
132	StringTextView.cpp
133	ListViews.cpp
134	SwatchView.cpp
135
136	# generic/gui/panel
137	Panel.cpp
138
139	# generic/gui/panel/color_picker
140	AlphaSlider.cpp
141	ColorField.cpp
142	ColorPickerPanel.cpp
143	ColorPickerView.cpp
144	ColorPreview.cpp
145	ColorSlider.cpp
146
147	# generic/gui/popup_control
148
149	# generic/gui/scrollview
150	Scrollable.cpp
151	Scroller.cpp
152	ScrollView.cpp
153
154	# generic/gui/stateview
155	Manipulator.cpp
156	MultipleManipulatorState.cpp
157	StateView.cpp
158	ViewState.cpp
159
160	# generic/listener
161	Observable.cpp
162	Observer.cpp
163
164	# generic/property
165	CommonPropertyIDs.cpp
166	Property.cpp
167	PropertyObject.cpp
168
169	# generic/property/specific_properties
170	ColorProperty.cpp
171	IconProperty.cpp
172	Int64Property.cpp
173	OptionProperty.cpp
174
175	# generic/property/view
176	PropertyEditorFactory.cpp
177	PropertyEditorView.cpp
178	PropertyItemView.cpp
179	PropertyListView.cpp
180
181	# generic/property/view/specific_properties
182	BoolValueView.cpp
183	ColorValueView.cpp
184	FloatValueView.cpp
185	IconValueView.cpp
186	Int64ValueView.cpp
187	IntValueView.cpp
188	OptionValueView.cpp
189	StringValueView.cpp
190	SwatchValueView.cpp
191	TextInputValueView.cpp
192
193	# generic/selection
194	Selectable.cpp
195	Selection.cpp
196
197	# generic/support
198	Referenceable.cpp
199	RWLocker.cpp
200	support.cpp
201	support_ui.cpp
202	support_settings.cpp
203
204	# gui
205	GradientControl.cpp
206	IconObjectListView.cpp
207	PathListView.cpp
208	SavePanel.cpp
209	ShapeListView.cpp
210	StyleListView.cpp
211	StyleView.cpp
212	SwatchGroup.cpp
213	TransformerListView.cpp
214
215	# import_export
216	Exporter.cpp
217	Importer.cpp
218
219	# import_export/bitmap
220	BitmapExporter.cpp
221
222	# import_export/flat_icon
223	FlatIconExporter.cpp
224	RDefExporter.cpp
225
226	# import_export/message
227	MessageExporter.cpp
228	MessageImporter.cpp
229
230	# import_export/svg
231	DocumentBuilder.cpp
232	PathTokenizer.cpp
233	SVGExporter.cpp
234	SVGGradients.cpp
235	SVGImporter.cpp
236	SVGParser.cpp
237
238	# shape
239	PathManipulator.cpp
240
241	# shape/commands
242	AddPathsCommand.cpp
243	AddPointCommand.cpp
244	AddShapesCommand.cpp
245	AddTransformersCommand.cpp
246	ChangePointCommand.cpp
247	CleanUpPathCommand.cpp
248	FlipPointsCommand.cpp
249	FreezeTransformationCommand.cpp
250	InsertPointCommand.cpp
251	MoveShapesCommand.cpp
252	MovePathsCommand.cpp
253	MoveTransformersCommand.cpp
254	NudgePointsCommand.cpp
255	PathCommand.cpp
256	RemovePathsCommand.cpp
257	RemovePointsCommand.cpp
258	RemoveShapesCommand.cpp
259	RemoveTransformersCommand.cpp
260	ReversePathCommand.cpp
261	SplitPointsCommand.cpp
262	TransformPointsCommand.cpp
263	UnassignPathCommand.cpp
264
265	# style
266	AddStylesCommand.cpp
267	AssignStyleCommand.cpp
268	CurrentColor.cpp
269	MoveStylesCommand.cpp
270	RemoveStylesCommand.cpp
271	SetColorCommand.cpp
272	SetGradientCommand.cpp
273
274	# transformable
275	CanvasTransformBox.cpp
276	ChannelTransform.cpp
277	ResetTransformationCommand.cpp
278	TransformBox.cpp
279	TransformBoxStates.cpp
280	TransformCommand.cpp
281	TransformGradientBox.cpp
282	TransformObjectsCommand.cpp
283	TransformPointsBox.cpp
284	TransformShapesBox.cpp
285
286	#
287	CanvasView.cpp
288	IconEditorApp.cpp
289	IconView.cpp
290	main.cpp
291	MainWindow.cpp
292	Util.cpp
293
294	: be tracker translation libagg.a libexpat.a
295
296	: Icon-O-Matic.rdef
297;
298
299
300
301# also install in app_server test environment
302if ( $(TARGET_PLATFORM) = libbe_test ) {
303	HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : Icon-O-Matic
304		: tests!apps ;
305}
306
307