xref: /haiku/src/apps/icon-o-matic/Jamfile (revision e6b30aee0fd7a23d6a6baab9f3718945a0cd838a)
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	SourceExporter.cpp
226
227	# import_export/message
228	MessageExporter.cpp
229	MessageImporter.cpp
230
231	# import_export/svg
232	DocumentBuilder.cpp
233	PathTokenizer.cpp
234	SVGExporter.cpp
235	SVGGradients.cpp
236	SVGImporter.cpp
237	SVGParser.cpp
238
239	# shape
240	PathManipulator.cpp
241
242	# shape/commands
243	AddPathsCommand.cpp
244	AddPointCommand.cpp
245	AddShapesCommand.cpp
246	AddTransformersCommand.cpp
247	ChangePointCommand.cpp
248	CleanUpPathCommand.cpp
249	FlipPointsCommand.cpp
250	FreezeTransformationCommand.cpp
251	InsertPointCommand.cpp
252	MoveShapesCommand.cpp
253	MovePathsCommand.cpp
254	MoveTransformersCommand.cpp
255	NudgePointsCommand.cpp
256	PathCommand.cpp
257	RemovePathsCommand.cpp
258	RemovePointsCommand.cpp
259	RemoveShapesCommand.cpp
260	RemoveTransformersCommand.cpp
261	ReversePathCommand.cpp
262	SplitPointsCommand.cpp
263	TransformPointsCommand.cpp
264	UnassignPathCommand.cpp
265
266	# style
267	AddStylesCommand.cpp
268	AssignStyleCommand.cpp
269	CurrentColor.cpp
270	MoveStylesCommand.cpp
271	RemoveStylesCommand.cpp
272	SetColorCommand.cpp
273	SetGradientCommand.cpp
274
275	# transformable
276	CanvasTransformBox.cpp
277	ChannelTransform.cpp
278	ResetTransformationCommand.cpp
279	TransformBox.cpp
280	TransformBoxStates.cpp
281	TransformCommand.cpp
282	TransformGradientBox.cpp
283	TransformObjectsCommand.cpp
284	TransformPointsBox.cpp
285	TransformShapesBox.cpp
286
287	#
288	CanvasView.cpp
289	IconEditorApp.cpp
290	IconView.cpp
291	main.cpp
292	MainWindow.cpp
293	Util.cpp
294
295	: be tracker translation libagg.a libexpat.a
296
297	: Icon-O-Matic.rdef
298;
299
300
301
302# also install in app_server test environment
303if ( $(TARGET_PLATFORM) = libbe_test ) {
304	HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : Icon-O-Matic
305		: tests!apps ;
306}
307
308