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 123DESCRIPTION:=$(ZIP1DIR)$/description.xml 124 125PACKLICS:=$(ZIP1DIR)$/registry$/LICENSE 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 139#COMPONENT_MERGED_XCU= \ 140# $(FIND_XCU)$/org$/openoffice$/Office$/extension$/PresenterScreen.xcu 141 142COMPONENT_BITMAPS= \ 143 $(ZIP1DIR)$/bitmaps$/BorderTop.png \ 144 $(ZIP1DIR)$/bitmaps$/BorderTopLeft.png \ 145 $(ZIP1DIR)$/bitmaps$/BorderTopRight.png \ 146 $(ZIP1DIR)$/bitmaps$/BorderLeft.png \ 147 $(ZIP1DIR)$/bitmaps$/BorderRight.png \ 148 $(ZIP1DIR)$/bitmaps$/BorderBottomLeft.png \ 149 $(ZIP1DIR)$/bitmaps$/BorderBottomRight.png \ 150 $(ZIP1DIR)$/bitmaps$/BorderBottom.png \ 151 \ 152 $(ZIP1DIR)$/bitmaps$/BorderActiveTop.png \ 153 $(ZIP1DIR)$/bitmaps$/BorderActiveTopLeft.png \ 154 $(ZIP1DIR)$/bitmaps$/BorderActiveTopRight.png \ 155 $(ZIP1DIR)$/bitmaps$/BorderActiveLeft.png \ 156 $(ZIP1DIR)$/bitmaps$/BorderActiveRight.png \ 157 $(ZIP1DIR)$/bitmaps$/BorderActiveBottomLeft.png \ 158 $(ZIP1DIR)$/bitmaps$/BorderActiveBottomRight.png \ 159 $(ZIP1DIR)$/bitmaps$/BorderActiveBottom.png \ 160 $(ZIP1DIR)$/bitmaps$/BorderActiveBottomCallout.png \ 161 \ 162 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTop.png \ 163 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTopLeft.png \ 164 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTopRight.png \ 165 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideLeft.png \ 166 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideRight.png \ 167 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottomLeft.png \ 168 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottomRight.png \ 169 $(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottom.png \ 170 \ 171 $(ZIP1DIR)$/bitmaps$/BorderToolbarTop.png \ 172 $(ZIP1DIR)$/bitmaps$/BorderToolbarTopLeft.png \ 173 $(ZIP1DIR)$/bitmaps$/BorderToolbarTopRight.png \ 174 $(ZIP1DIR)$/bitmaps$/BorderToolbarLeft.png \ 175 $(ZIP1DIR)$/bitmaps$/BorderToolbarRight.png \ 176 $(ZIP1DIR)$/bitmaps$/BorderToolbarBottom.png \ 177 \ 178 $(ZIP1DIR)$/bitmaps$/Background.png \ 179 $(ZIP1DIR)$/bitmaps$/ViewBackground.png \ 180 \ 181 $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousNormal.png \ 182 $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousMouseOver.png \ 183 $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousSelected.png \ 184 $(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousDisabled.png \ 185 $(ZIP1DIR)$/bitmaps$/ButtonEffectNextNormal.png \ 186 $(ZIP1DIR)$/bitmaps$/ButtonEffectNextMouseOver.png \ 187 $(ZIP1DIR)$/bitmaps$/ButtonEffectNextSelected.png \ 188 $(ZIP1DIR)$/bitmaps$/ButtonEffectNextDisabled.png \ 189 $(ZIP1DIR)$/bitmaps$/ButtonNotesNormal.png \ 190 $(ZIP1DIR)$/bitmaps$/ButtonNotesMouseOver.png \ 191 $(ZIP1DIR)$/bitmaps$/ButtonNotesSelected.png \ 192 $(ZIP1DIR)$/bitmaps$/ButtonNotesDisabled.png \ 193 $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterNormal.png \ 194 $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterMouseOver.png \ 195 $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterSelected.png \ 196 $(ZIP1DIR)$/bitmaps$/ButtonSlideSorterDisabled.png \ 197 $(ZIP1DIR)$/bitmaps$/ButtonHelpNormal.png \ 198 $(ZIP1DIR)$/bitmaps$/ButtonHelpMouseOver.png \ 199 $(ZIP1DIR)$/bitmaps$/ButtonHelpSelected.png \ 200 $(ZIP1DIR)$/bitmaps$/ButtonHelpDisabled.png \ 201 \ 202 $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpNormal.png \ 203 $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpMouseOver.png \ 204 $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpSelected.png \ 205 $(ZIP1DIR)$/bitmaps/ScrollbarArrowUpDisabled.png \ 206 $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownNormal.png \ 207 $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownMouseOver.png \ 208 $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownSelected.png \ 209 $(ZIP1DIR)$/bitmaps/ScrollbarArrowDownDisabled.png \ 210 $(ZIP1DIR)$/bitmaps/ScrollbarPagerMiddleNormal.png \ 211 $(ZIP1DIR)$/bitmaps/ScrollbarPagerMiddleMouseOver.png \ 212 $(ZIP1DIR)$/bitmaps/ScrollbarThumbTopNormal.png \ 213 $(ZIP1DIR)$/bitmaps/ScrollbarThumbTopMouseOver.png \ 214 $(ZIP1DIR)$/bitmaps/ScrollbarThumbBottomNormal.png \ 215 $(ZIP1DIR)$/bitmaps/ScrollbarThumbBottomMouseOver.png \ 216 $(ZIP1DIR)$/bitmaps/ScrollbarThumbMiddleNormal.png \ 217 $(ZIP1DIR)$/bitmaps/ScrollbarThumbMiddleMouseOver.png \ 218 \ 219 $(ZIP1DIR)$/bitmaps$/ButtonPlusNormal.png \ 220 $(ZIP1DIR)$/bitmaps$/ButtonPlusMouseOver.png \ 221 $(ZIP1DIR)$/bitmaps$/ButtonPlusSelected.png \ 222 $(ZIP1DIR)$/bitmaps$/ButtonPlusDisabled.png \ 223 $(ZIP1DIR)$/bitmaps$/ButtonMinusNormal.png \ 224 $(ZIP1DIR)$/bitmaps$/ButtonMinusMouseOver.png \ 225 $(ZIP1DIR)$/bitmaps$/ButtonMinusSelected.png \ 226 $(ZIP1DIR)$/bitmaps$/ButtonMinusDisabled.png \ 227 \ 228 $(ZIP1DIR)$/bitmaps$/ButtonFrameLeftNormal.png \ 229 $(ZIP1DIR)$/bitmaps$/ButtonFrameCenterNormal.png \ 230 $(ZIP1DIR)$/bitmaps$/ButtonFrameRightNormal.png \ 231 $(ZIP1DIR)$/bitmaps$/ButtonFrameLeftMouseOver.png \ 232 $(ZIP1DIR)$/bitmaps$/ButtonFrameCenterMouseOver.png \ 233 $(ZIP1DIR)$/bitmaps$/ButtonFrameRightMouseOver.png \ 234 \ 235 $(ZIP1DIR)$/bitmaps$/LabelMouseOverLeft.png \ 236 $(ZIP1DIR)$/bitmaps$/LabelMouseOverCenter.png \ 237 $(ZIP1DIR)$/bitmaps$/LabelMouseOverRight.png 238 239COMPONENT_IMAGES=\ 240 $(ZIP1DIR)$/bitmaps$/extension_32.png \ 241 $(ZIP1DIR)$/bitmaps$/extension_32_h.png 242 243COMPONENT_MANIFEST= \ 244 $(ZIP1DIR)$/META-INF$/manifest.xml 245 246COMPONENT_LIBRARY= \ 247 $(ZIP1DIR)$/$(TARGET).uno$(DLLPOST) 248 249PLATFORMID:=$(RTL_OS:l)_$(RTL_ARCH:l) 250 251COMPONENT_HELP= \ 252 $(ZIP1DIR)$/help/component.txt \ 253 $(foreach,l,$(alllangiso) $(ZIP1DIR)$/help$/$l$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp) 254 255ZIP1DEPS= \ 256 $(PACKLICS) \ 257 $(DESCRIPTION) \ 258 $(COMPONENT_MANIFEST) \ 259 $(COMPONENT_FILES) \ 260 $(COMPONENT_BITMAPS) \ 261 $(COMPONENT_IMAGES) \ 262 $(COMPONENT_LIBRARY) \ 263 $(COMPONENT_HELP) 264 265# $(COMPONENT_MERGED_XCU) \ 266 267 268LINKNAME:=help 269XHPLINKSRC:=$(ZIP1DIR)/help 270 271my_XHPFILES= \ 272 presenter.xhp 273 274LINKLINKFILES= \ 275 $(PACKAGE)/{$(my_XHPFILES)} 276 277# --- Targets ---------------------------------- 278.ENDIF # L10N_framework 279 280.INCLUDE : target.mk 281.INCLUDE : extension_helplink.mk 282 283.IF "$(L10N_framework)"=="" 284$(SLO)$/PresenterComponent.obj : $(INCCOM)$/PresenterExtensionIdentifier.hxx 285 286$(INCCOM)$/PresenterExtensionIdentifier.hxx : PresenterExtensionIdentifier.txx 287 $(TYPE) $< | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@ 288 289$(COMPONENT_MANIFEST) : $$(@:f) 290 @-$(MKDIRHIER) $(@:d) 291 +$(TYPE) $< | $(SED) "s/SHARED_EXTENSION/$(DLLPOST)/" > $@ 292 293$(ZIP1DIR)$/help$/component.txt : help$/$$(@:f) 294 @@-$(MKDIRHIER) $(@:d) 295 $(COPY) $< $@ 296 297$(ZIP1DIR)/help/%/com.sun.PresenterScreen-$(PLATFORMID)/presenter.xhp : $(COMMONMISC)/%/com.sun.PresenterScreen/presenter.xhp 298 @echo creating $@ 299 @-$(MKDIRHIER) $(@:d) 300 $(TYPE) $< | sed "s/PLATFORMID/$(PLATFORMID)/" | sed 's/@PRESENTEREXTENSIONPRODUCTNAME@/Presenter Console/g' > $@ 301 302.IF "$(ZIP1TARGETN)"!="" 303$(ZIP1TARGETN) : $(HELPLINKALLTARGETS) 304 305.ENDIF # "$(ZIP1TARGETN)"!="" 306 307$(COMPONENT_BITMAPS) : bitmaps$/$$(@:f) 308 @-$(MKDIRHIER) $(@:d) 309 +$(COPY) $< $@ 310 311$(COMPONENT_IMAGES) : $(SOLARSRC)$/$(RSCDEFIMG)$/desktop$/res$/$$(@:f) 312 @@-$(MKDIRHIER) $(@:d) 313 $(COPY) $< $@ 314 315$(COMPONENT_LIBRARY) : $(DLLDEST)$/$$(@:f) 316 @-$(MKDIRHIER) $(@:d) 317 +$(COPY) $< $@ 318.IF "$(OS)$(CPU)"=="WNTI" 319 .IF "$(COM)"=="GCC" 320 $(GNUCOPY) $(SOLARBINDIR)$/mingwm10.dll $(ZIP1DIR) 321 .ELSE 322 .IF "$(PACKMS)"!="" 323 .IF "$(CCNUMVER)" <= "001399999999" 324 $(GNUCOPY) $(PACKMS)$/msvcr71.dll $(ZIP1DIR) 325 $(GNUCOPY) $(PACKMS)$/msvcp71.dll $(ZIP1DIR) 326 .ELSE 327 .IF "$(CCNUMVER)" <= "001499999999" 328 $(GNUCOPY) $(PACKMS)$/msvcr80.dll $(ZIP1DIR) 329 $(GNUCOPY) $(PACKMS)$/msvcp80.dll $(ZIP1DIR) 330 $(GNUCOPY) $(PACKMS)$/msvcm80.dll $(ZIP1DIR) 331 $(GNUCOPY) $(PACKMS)$/Microsoft.VC80.CRT.manifest $(ZIP1DIR) 332 .ELSE 333 $(GNUCOPY) $(PACKMS)$/msvcr90.dll $(ZIP1DIR) 334 $(GNUCOPY) $(PACKMS)$/msvcp90.dll $(ZIP1DIR) 335 $(GNUCOPY) $(PACKMS)$/msvcm90.dll $(ZIP1DIR) 336 $(GNUCOPY) $(PACKMS)$/Microsoft.VC90.CRT.manifest $(ZIP1DIR) 337 .ENDIF 338 .ENDIF 339 .ELSE # "$(PACKMS)"!="" 340 .IF "$(CCNUMVER)" <= "001399999999" 341 $(GNUCOPY) $(SOLARBINDIR)$/msvcr71.dll $(ZIP1DIR) 342 $(GNUCOPY) $(SOLARBINDIR)$/msvcp71.dll $(ZIP1DIR) 343 .ELSE 344 .IF "$(CCNUMVER)" <= "001499999999" 345 $(GNUCOPY) $(SOLARBINDIR)$/msvcr80.dll $(ZIP1DIR) 346 $(GNUCOPY) $(SOLARBINDIR)$/msvcp80.dll $(ZIP1DIR) 347 $(GNUCOPY) $(SOLARBINDIR)$/msvcm80.dll $(ZIP1DIR) 348 $(GNUCOPY) $(SOLARBINDIR)$/Microsoft.VC80.CRT.manifest $(ZIP1DIR) 349 .ELSE 350 $(GNUCOPY) $(SOLARBINDIR)$/msvcr90.dll $(ZIP1DIR) 351 $(GNUCOPY) $(SOLARBINDIR)$/msvcp90.dll $(ZIP1DIR) 352 $(GNUCOPY) $(SOLARBINDIR)$/msvcm90.dll $(ZIP1DIR) 353 $(GNUCOPY) $(SOLARBINDIR)$/Microsoft.VC90.CRT.manifest $(ZIP1DIR) 354 .ENDIF 355 .ENDIF 356 .ENDIF # "$(PACKMS)"!="" 357 .ENDIF #"$(COM)"=="GCC" 358.ENDIF 359 360 361$(DESCRIPTION) : description.xml 362 @@-$(MKDIRHIER) $(@:d) 363 $(GNUCOPY) $< $@ 364 365$(PACKLICS) : $(SOLARBINDIR)$/osl$/LICENSE_ALv2 366 @@-$(MKDIRHIER) $(@:d) 367 $(GNUCOPY) $< $@ 368 369$(ZIP1DIR)/%.xcu : %.xcu 370 @@-$(MKDIRHIER) $(@:d) 371 $(GNUCOPY) $< $@ 372 373$(ZIP1DIR)$/%.xcs : %.xcs 374 @@-$(MKDIRHIER) $(@:d) 375 $(GNUCOPY) $< $@ 376 377.ENDIF # "$(ENABLE_PRESENTER_SCREEN)" != "NO" 378.ELSE 379ivo: 380 $(ECHO) 381.ENDIF # L10N_framework 382 383