1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=..$/.. 25PRJNAME=sdext 26TARGET=PresenterScreen 27GEN_HID=FALSE 28EXTNAME=PresenterScreen 29 30ENABLE_EXCEPTIONS=TRUE 31# survive zip dependencies 32MAXLINELENGTH:=80000 33 34# --- Settings ---------------------------------- 35 36.INCLUDE : rtlbootstrap.mk 37.INCLUDE : settings.mk 38 39PACKAGE=com.sun.PresenterScreen-$(PLATFORMID) 40 41.IF "$(L10N_framework)"=="" 42.INCLUDE : $(PRJ)$/util$/makefile.pmk 43 44.IF "$(ENABLE_PRESENTER_SCREEN)" == "NO" 45@all: 46 @echo "Presenter Screen build disabled." 47.ELSE 48 49DLLPRE= 50common_build_zip= 51 52# --- Files ------------------------------------- 53 54SLOFILES= \ 55 $(SLO)$/PresenterAccessibility.obj \ 56 $(SLO)$/PresenterAnimation.obj \ 57 $(SLO)$/PresenterAnimator.obj \ 58 $(SLO)$/PresenterBitmapContainer.obj \ 59 $(SLO)$/PresenterButton.obj \ 60 $(SLO)$/PresenterCanvasHelper.obj \ 61 $(SLO)$/PresenterConfigurationAccess.obj \ 62 $(SLO)$/PresenterController.obj \ 63 $(SLO)$/PresenterCurrentSlideObserver.obj \ 64 $(SLO)$/PresenterFrameworkObserver.obj \ 65 $(SLO)$/PresenterGeometryHelper.obj \ 66 $(SLO)$/PresenterHelper.obj \ 67 $(SLO)$/PresenterHelpView.obj \ 68 $(SLO)$/PresenterNotesView.obj \ 69 $(SLO)$/PresenterPaintManager.obj \ 70 $(SLO)$/PresenterPane.obj \ 71 $(SLO)$/PresenterPaneAnimator.obj \ 72 $(SLO)$/PresenterPaneBase.obj \ 73 $(SLO)$/PresenterPaneBorderManager.obj \ 74 $(SLO)$/PresenterPaneBorderPainter.obj \ 75 $(SLO)$/PresenterPaneContainer.obj \ 76 $(SLO)$/PresenterPaneFactory.obj \ 77 $(SLO)$/PresenterProtocolHandler.obj \ 78 $(SLO)$/PresenterScreen.obj \ 79 $(SLO)$/PresenterScrollBar.obj \ 80 $(SLO)$/PresenterSlidePreview.obj \ 81 $(SLO)$/PresenterSlideShowView.obj \ 82 $(SLO)$/PresenterSlideSorter.obj \ 83 $(SLO)$/PresenterSprite.obj \ 84 $(SLO)$/PresenterSpritePane.obj \ 85 $(SLO)$/PresenterTextView.obj \ 86 $(SLO)$/PresenterTheme.obj \ 87 $(SLO)$/PresenterTimer.obj \ 88 $(SLO)$/PresenterToolBar.obj \ 89 $(SLO)$/PresenterUIPainter.obj \ 90 $(SLO)$/PresenterViewFactory.obj \ 91 $(SLO)$/PresenterWindowManager.obj \ 92 $(SLO)$/PresenterComponent.obj 93 94 95# --- Library ----------------------------------- 96 97SHL1TARGET= $(TARGET).uno 98 99SHL1STDLIBS= $(CPPUHELPERLIB) \ 100 $(CPPULIB) \ 101 $(SALLIB) 102 103SHL1DEPN= 104SHL1IMPLIB= i$(SHL1TARGET) 105SHL1LIBS= $(SLB)$/$(TARGET).lib 106SHL1DEF= $(MISC)$/$(SHL1TARGET).def 107SHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map 108SHL1RPATH= OXT 109DEF1NAME= $(SHL1TARGET) 110 111ZIP2TARGET= presenter-screen_develop 112ZIP2DIR= $(COMMONMISC) 113ZIP2EXT= .zip 114ZIP2FLAGS=-r 115ZIP2LIST= */com.sun.PresenterScreen/*.xhp 116 117ZIP1TARGET= presenter-screen 118ZIP1DIR= $(MISC)$/$(TARGET) 119ZIP1EXT= .oxt 120ZIP1FLAGS=-r 121ZIP1LIST= * 122 123EXTENSIONDIR=$(ZIP1DIR) 124 125.INCLUDE : extension_pre.mk 126 127.IF "$(WITH_LANG)"=="" 128FIND_XCU=registry/data 129.ELSE # "$(WITH_LANG)"=="" 130FIND_XCU=$(MISC)$/$(EXTNAME)_in$/merge 131.ENDIF # "$(WITH_LANG)"=="" 132 133COMPONENT_FILES= \ 134 $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/Jobs.xcu \ 135 $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/ProtocolHandler.xcu \ 136 $(ZIP1DIR)$/registry$/schema/org$/openoffice$/Office$/extension$/PresenterScreen.xcs \ 137 $(ZIP1DIR)$/registry$/data/$/org$/openoffice$/Office$/extension$/PresenterScreen.xcu 138 139COMPONENT_BITMAPS= \ 140 $(ZIP1DIR)$/bitmaps$/BorderTop.png \ 141 $(ZIP1DIR)$/bitmaps$/BorderTopLeft.png \ 142 $(ZIP1DIR)$/bitmaps$/BorderTopRight.png \ 143 $(ZIP1DIR)$/bitmaps$/BorderLeft.png \ 144 $(ZIP1DIR)$/bitmaps$/BorderRight.png \ 145 $(ZIP1DIR)$/bitmaps$/BorderBottomLeft.png \ 146 $(ZIP1DIR)$/bitmaps$/BorderBottomRight.png \ 147 $(ZIP1DIR)$/bitmaps$/BorderBottom.png \ 148 \ 149 $(ZIP1DIR)$/bitmaps$/BorderActiveTop.png \ 150 $(ZIP1DIR)$/bitmaps$/BorderActiveTopLeft.png \ 151 $(ZIP1DIR)$/bitmaps$/BorderActiveTopRight.png \ 152 $(ZIP1DIR)$/bitmaps$/BorderActiveLeft.png \ 153 $(ZIP1DIR)$/bitmaps$/BorderActiveRight.png \ 154 $(ZIP1DIR)$/bitmaps$/BorderActiveBottomLeft.png \ 155 $(ZIP1DIR)$/bitmaps$/BorderActiveBottomRight.png \ 156 $(ZIP1DIR)$/bitmaps$/BorderActiveBottom.png \ 157 $(ZIP1DIR)$/bitmaps$/BorderActiveBottomCallout.png \ 158 \ 159 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTop.png \ 160 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTopLeft.png \ 161 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTopRight.png \ 162 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideLeft.png \ 163 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideRight.png \ 164 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottomLeft.png \ 165 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottomRight.png \ 166 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottom.png \ 167 \ 168 $(ZIP1DIR)$/bitmaps$/BorderToolbarTop.png \ 169 $(ZIP1DIR)$/bitmaps$/BorderToolbarTopLeft.png \ 170 $(ZIP1DIR)$/bitmaps$/BorderToolbarTopRight.png \ 171 $(ZIP1DIR)$/bitmaps$/BorderToolbarLeft.png \ 172 $(ZIP1DIR)$/bitmaps$/BorderToolbarRight.png \ 173 $(ZIP1DIR)$/bitmaps$/BorderToolbarBottom.png \ 174 \ 175 $(ZIP1DIR)$/bitmaps$/Background.png \ 176 $(ZIP1DIR)$/bitmaps$/ViewBackground.png \ 177 \ 178 $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousNormal.png \ 179 $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousMouseOver.png \ 180 $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousSelected.png \ 181 $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousDisabled.png \ 182 $(ZIP1DIR)$/bitmaps$/ButtonEffectNextNormal.png \ 183 $(ZIP1DIR)$/bitmaps$/ButtonEffectNextMouseOver.png \ 184 $(ZIP1DIR)$/bitmaps$/ButtonEffectNextSelected.png \ 185 $(ZIP1DIR)$/bitmaps$/ButtonEffectNextDisabled.png \ 186 $(ZIP1DIR)$/bitmaps$/ButtonNotesNormal.png \ 187 $(ZIP1DIR)$/bitmaps$/ButtonNotesMouseOver.png \ 188 $(ZIP1DIR)$/bitmaps$/ButtonNotesSelected.png \ 189 $(ZIP1DIR)$/bitmaps$/ButtonNotesDisabled.png \ 190 $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterNormal.png \ 191 $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterMouseOver.png \ 192 $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterSelected.png \ 193 $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterDisabled.png \ 194 $(ZIP1DIR)$/bitmaps$/ButtonHelpNormal.png \ 195 $(ZIP1DIR)$/bitmaps$/ButtonHelpMouseOver.png \ 196 $(ZIP1DIR)$/bitmaps$/ButtonHelpSelected.png \ 197 $(ZIP1DIR)$/bitmaps$/ButtonHelpDisabled.png \ 198 \ 199 $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpNormal.png \ 200 $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpMouseOver.png \ 201 $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpSelected.png \ 202 $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpDisabled.png \ 203 $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownNormal.png \ 204 $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownMouseOver.png \ 205 $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownSelected.png \ 206 $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownDisabled.png \ 207 $(ZIP1DIR)$/bitmaps/ScrollbarPagerMiddleNormal.png \ 208 $(ZIP1DIR)$/bitmaps/ScrollbarPagerMiddleMouseOver.png \ 209 $(ZIP1DIR)$/bitmaps/ScrollbarThumbTopNormal.png \ 210 $(ZIP1DIR)$/bitmaps/ScrollbarThumbTopMouseOver.png \ 211 $(ZIP1DIR)$/bitmaps/ScrollbarThumbBottomNormal.png \ 212 $(ZIP1DIR)$/bitmaps/ScrollbarThumbBottomMouseOver.png \ 213 $(ZIP1DIR)$/bitmaps/ScrollbarThumbMiddleNormal.png \ 214 $(ZIP1DIR)$/bitmaps/ScrollbarThumbMiddleMouseOver.png \ 215 \ 216 $(ZIP1DIR)$/bitmaps$/ButtonPlusNormal.png \ 217 $(ZIP1DIR)$/bitmaps$/ButtonPlusMouseOver.png \ 218 $(ZIP1DIR)$/bitmaps$/ButtonPlusSelected.png \ 219 $(ZIP1DIR)$/bitmaps$/ButtonPlusDisabled.png \ 220 $(ZIP1DIR)$/bitmaps$/ButtonMinusNormal.png \ 221 $(ZIP1DIR)$/bitmaps$/ButtonMinusMouseOver.png \ 222 $(ZIP1DIR)$/bitmaps$/ButtonMinusSelected.png \ 223 $(ZIP1DIR)$/bitmaps$/ButtonMinusDisabled.png \ 224 \ 225 $(ZIP1DIR)$/bitmaps$/ButtonFrameLeftNormal.png \ 226 $(ZIP1DIR)$/bitmaps$/ButtonFrameCenterNormal.png \ 227 $(ZIP1DIR)$/bitmaps$/ButtonFrameRightNormal.png \ 228 $(ZIP1DIR)$/bitmaps$/ButtonFrameLeftMouseOver.png \ 229 $(ZIP1DIR)$/bitmaps$/ButtonFrameCenterMouseOver.png \ 230 $(ZIP1DIR)$/bitmaps$/ButtonFrameRightMouseOver.png \ 231 \ 232 $(ZIP1DIR)$/bitmaps$/LabelMouseOverLeft.png \ 233 $(ZIP1DIR)$/bitmaps$/LabelMouseOverCenter.png \ 234 $(ZIP1DIR)$/bitmaps$/LabelMouseOverRight.png 235 236COMPONENT_IMAGES=\ 237 $(ZIP1DIR)$/bitmaps$/extension_32.png \ 238 $(ZIP1DIR)$/bitmaps$/extension_32_h.png 239 240COMPONENT_LIBRARY= \ 241 $(ZIP1DIR)$/$(TARGET).uno$(DLLPOST) 242 243PLATFORMID:=$(RTL_OS:l)_$(RTL_ARCH:l) 244 245COMPONENT_HELP= \ 246 $(ZIP1DIR)$/help/component.txt \ 247 $(foreach,l,$(alllangiso) $(ZIP1DIR)$/help$/$l$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp) 248 249ZIP1DEPS= \ 250 $(PACKLICS) \ 251 $(DESCRIPTION) \ 252 $(COMPONENT_MANIFEST) \ 253 $(COMPONENT_FILES) \ 254 $(COMPONENT_BITMAPS) \ 255 $(COMPONENT_IMAGES) \ 256 $(COMPONENT_LIBRARY) \ 257 $(COMPONENT_HELP) 258 259# $(COMPONENT_MERGED_XCU) \ 260 261 262LINKNAME:=help 263XHPLINKSRC:=$(ZIP1DIR)/help 264 265my_XHPFILES= \ 266 presenter.xhp 267 268LINKLINKFILES= \ 269 $(PACKAGE)/{$(my_XHPFILES)} 270 271# --- Targets ---------------------------------- 272.ENDIF # L10N_framework 273 274.INCLUDE : target.mk 275.INCLUDE : extension_helplink.mk 276 277.IF "$(L10N_framework)"=="" 278$(SLO)$/PresenterComponent.obj : $(INCCOM)$/PresenterExtensionIdentifier.hxx 279 280$(INCCOM)$/PresenterExtensionIdentifier.hxx : PresenterExtensionIdentifier.txx 281 $(TYPE) $< | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@ 282 283$(ZIP1DIR)$/help$/component.txt : help$/$$(@:f) 284 @@-$(MKDIRHIER) $(@:d) 285 $(COPY) $< $@ 286 287$(ZIP1DIR)/help/%/com.sun.PresenterScreen-$(PLATFORMID)/presenter.xhp : $(COMMONMISC)/%/com.sun.PresenterScreen/presenter.xhp 288 @echo creating $@ 289 @-$(MKDIRHIER) $(@:d) 290 $(TYPE) $< | sed "s/PLATFORMID/$(PLATFORMID)/" | sed 's/@PRESENTEREXTENSIONPRODUCTNAME@/Presenter Console/g' > $@ 291 292.IF "$(ZIP1TARGETN)"!="" 293$(ZIP1TARGETN) : $(HELPLINKALLTARGETS) 294 295.ENDIF # "$(ZIP1TARGETN)"!="" 296 297$(COMPONENT_BITMAPS) : bitmaps$/$$(@:f) 298 @-$(MKDIRHIER) $(@:d) 299 +$(COPY) $< $@ 300 301$(COMPONENT_IMAGES) : $(SOLARSRC)$/$(RSCDEFIMG)$/desktop$/res$/$$(@:f) 302 @@-$(MKDIRHIER) $(@:d) 303 $(COPY) $< $@ 304 305$(COMPONENT_LIBRARY) : $(DLLDEST)$/$$(@:f) 306 @-$(MKDIRHIER) $(@:d) 307 +$(COPY) $< $@ 308.IF "$(OS)$(CPU)"=="WNTI" 309 .IF "$(COM)"=="GCC" 310 $(GNUCOPY) $(SOLARBINDIR)$/mingwm10.dll $(ZIP1DIR) 311 .ELSE 312 .IF "$(PACKMS)"!="" 313 .IF "$(CCNUMVER)" <= "001399999999" 314 $(GNUCOPY) $(PACKMS)$/msvcr71.dll $(ZIP1DIR) 315 $(GNUCOPY) $(PACKMS)$/msvcp71.dll $(ZIP1DIR) 316 .ELSE 317 .IF "$(CCNUMVER)" <= "001499999999" 318 $(GNUCOPY) $(PACKMS)$/msvcr80.dll $(ZIP1DIR) 319 $(GNUCOPY) $(PACKMS)$/msvcp80.dll $(ZIP1DIR) 320 $(GNUCOPY) $(PACKMS)$/msvcm80.dll $(ZIP1DIR) 321 $(GNUCOPY) $(PACKMS)$/Microsoft.VC80.CRT.manifest $(ZIP1DIR) 322 .ELSE 323 $(GNUCOPY) $(PACKMS)$/msvcr90.dll $(ZIP1DIR) 324 $(GNUCOPY) $(PACKMS)$/msvcp90.dll $(ZIP1DIR) 325 $(GNUCOPY) $(PACKMS)$/msvcm90.dll $(ZIP1DIR) 326 $(GNUCOPY) $(PACKMS)$/Microsoft.VC90.CRT.manifest $(ZIP1DIR) 327 .ENDIF 328 .ENDIF 329 .ELSE # "$(PACKMS)"!="" 330 .IF "$(CCNUMVER)" <= "001399999999" 331 $(GNUCOPY) $(SOLARBINDIR)$/msvcr71.dll $(ZIP1DIR) 332 $(GNUCOPY) $(SOLARBINDIR)$/msvcp71.dll $(ZIP1DIR) 333 .ELSE 334 .IF "$(CCNUMVER)" <= "001499999999" 335 $(GNUCOPY) $(SOLARBINDIR)$/msvcr80.dll $(ZIP1DIR) 336 $(GNUCOPY) $(SOLARBINDIR)$/msvcp80.dll $(ZIP1DIR) 337 $(GNUCOPY) $(SOLARBINDIR)$/msvcm80.dll $(ZIP1DIR) 338 $(GNUCOPY) $(SOLARBINDIR)$/Microsoft.VC80.CRT.manifest $(ZIP1DIR) 339 .ELSE 340 $(GNUCOPY) $(SOLARBINDIR)$/msvcr90.dll $(ZIP1DIR) 341 $(GNUCOPY) $(SOLARBINDIR)$/msvcp90.dll $(ZIP1DIR) 342 $(GNUCOPY) $(SOLARBINDIR)$/msvcm90.dll $(ZIP1DIR) 343 $(GNUCOPY) $(SOLARBINDIR)$/Microsoft.VC90.CRT.manifest $(ZIP1DIR) 344 .ENDIF 345 .ENDIF 346 .ENDIF # "$(PACKMS)"!="" 347 .ENDIF #"$(COM)"=="GCC" 348.ENDIF 349 350.INCLUDE : extension_post.mk 351 352.ENDIF # "$(ENABLE_PRESENTER_SCREEN)" != "NO" 353.ELSE 354ivo: 355 $(ECHO) 356.ENDIF # L10N_framework 357 358