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