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