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 import_export/styled_text 54 shape 55 shape/commands 56 style 57 transformable 58 transformer 59; 60 61local sourceDir ; 62for sourceDir in $(sourceDirs) { 63 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src apps icon-o-matic $(sourceDir) ] ; 64} 65 66# system headers 67UseLibraryHeaders agg expat icon ; 68UsePrivateHeaders shared ; 69 70 71 72Application Icon-O-Matic : 73 ######## libicon.a ######## 74 75 # icon/flat_icon 76 FlatIconFormat.cpp 77 FlatIconImporter.cpp 78 LittleEndianBuffer.cpp 79 PathCommandQueue.cpp 80 81 # icon/shape 82 PathContainer.cpp 83 Shape.cpp 84 ShapeContainer.cpp 85 VectorPath.cpp 86 87 # icon/style 88 GradientTransformable.cpp 89 Style.cpp 90 StyleContainer.cpp 91 92 # icon/transformable 93 Transformable.cpp 94 95 # icon/transformer 96 AffineTransformer.cpp 97 ContourTransformer.cpp 98 PathSource.cpp 99 PerspectiveTransformer.cpp 100 StrokeTransformer.cpp 101 Transformer.cpp 102 TransformerFactory.cpp 103 104 # icon 105 Icon.cpp 106 IconRenderer.cpp 107 108 ######## Icon-O-Matic ######## 109 110 # document 111 Defines.cpp 112 Document.cpp 113 IconObject.cpp 114 SetPropertiesCommand.cpp 115 116 # document/savers 117 AttributeSaver.cpp 118 BitmapSetSaver.cpp 119 DocumentSaver.cpp 120 FileSaver.cpp 121 MessengerSaver.cpp 122 NativeSaver.cpp 123 SimpleFileSaver.cpp 124 125 # generic/command 126 Command.cpp 127 CommandStack.cpp 128 CompoundCommand.cpp 129 130 # generic/gui 131 Group.cpp 132 InputTextView.cpp 133 NummericalTextView.cpp 134 StringTextView.cpp 135 ListViews.cpp 136 SwatchView.cpp 137 138 # generic/gui/panel 139 Panel.cpp 140 141 # generic/gui/panel/color_picker 142 AlphaSlider.cpp 143 ColorField.cpp 144 ColorPickerPanel.cpp 145 ColorPickerView.cpp 146 ColorPreview.cpp 147 ColorSlider.cpp 148 149 # generic/gui/popup_control 150 151 # generic/gui/scrollview 152 Scrollable.cpp 153 Scroller.cpp 154 ScrollView.cpp 155 156 # generic/gui/stateview 157 Manipulator.cpp 158 MultipleManipulatorState.cpp 159 StateView.cpp 160 ViewState.cpp 161 162 # generic/listener 163 Observable.cpp 164 Observer.cpp 165 166 # generic/property 167 CommonPropertyIDs.cpp 168 Property.cpp 169 PropertyObject.cpp 170 171 # generic/property/specific_properties 172 ColorProperty.cpp 173 IconProperty.cpp 174 Int64Property.cpp 175 OptionProperty.cpp 176 177 # generic/property/view 178 PropertyEditorFactory.cpp 179 PropertyEditorView.cpp 180 PropertyItemView.cpp 181 PropertyListView.cpp 182 183 # generic/property/view/specific_properties 184 BoolValueView.cpp 185 ColorValueView.cpp 186 FloatValueView.cpp 187 IconValueView.cpp 188 Int64ValueView.cpp 189 IntValueView.cpp 190 OptionValueView.cpp 191 StringValueView.cpp 192 SwatchValueView.cpp 193 TextInputValueView.cpp 194 195 # generic/selection 196 Selectable.cpp 197 Selection.cpp 198 199 # generic/support 200 Referenceable.cpp 201 RWLocker.cpp 202 support.cpp 203 support_ui.cpp 204 support_settings.cpp 205 206 # gui 207 GradientControl.cpp 208 IconObjectListView.cpp 209 PathListView.cpp 210 SavePanel.cpp 211 ShapeListView.cpp 212 StyleListView.cpp 213 StyleView.cpp 214 SwatchGroup.cpp 215 TransformerListView.cpp 216 217 # import_export 218 Exporter.cpp 219 Importer.cpp 220 221 # import_export/bitmap 222 BitmapExporter.cpp 223 224 # import_export/flat_icon 225 FlatIconExporter.cpp 226 RDefExporter.cpp 227 SourceExporter.cpp 228 229 # import_export/message 230 MessageExporter.cpp 231 MessageImporter.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 SplitPointsCommand.cpp 268 TransformPointsCommand.cpp 269 UnassignPathCommand.cpp 270 271 # style 272 AddStylesCommand.cpp 273 AssignStyleCommand.cpp 274 CurrentColor.cpp 275 MoveStylesCommand.cpp 276 RemoveStylesCommand.cpp 277 SetColorCommand.cpp 278 SetGradientCommand.cpp 279 280 # transformable 281 CanvasTransformBox.cpp 282 ChannelTransform.cpp 283 ResetTransformationCommand.cpp 284 TransformBox.cpp 285 TransformBoxStates.cpp 286 TransformCommand.cpp 287 TransformGradientBox.cpp 288 TransformObjectsCommand.cpp 289 TransformPointsBox.cpp 290 TransformShapesBox.cpp 291 292 # 293 CanvasView.cpp 294 IconEditorApp.cpp 295 IconView.cpp 296 main.cpp 297 MainWindow.cpp 298 Util.cpp 299 300 : be tracker translation libshared.a libagg.a libexpat.a $(TARGET_LIBSTDC++) 301 302 : Icon-O-Matic.rdef 303; 304 305 306 307# also install in app_server test environment 308if ( $(TARGET_PLATFORM) = libbe_test ) { 309 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : Icon-O-Matic 310 : tests!apps ; 311} 312 313