diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-04-03 15:08:10 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-04-03 15:08:10 +0000 |
commit | 386d413278b2a28b0010511f3234569dbd79d73a (patch) | |
tree | efae87755a6692892ef290ce35fedb22e4b18452 /sdext/source/presenter/makefile.mk | |
parent | 8e18607966f4d014cc788e98dbca21c009921982 (diff) |
INTEGRATION: CWS presenterview (1.1.2); FILE ADDED
2008/04/02 15:07:13 af 1.1.2.13: #i84791# Changed default for conditional build.
2008/04/02 15:02:16 af 1.1.2.12: #i84791# Conditional build depending on configure options.
2008/02/28 16:57:53 af 1.1.2.11: #i18486# Removed unnecessary PresenterSubController.
2008/02/26 14:53:03 af 1.1.2.10: #i18486# Added PresenterSpritePane
2008/01/23 12:23:05 af 1.1.2.9: #i18486# Moved several files here from the sd project. Impress.xcs no longer used.
2008/01/09 18:36:42 cl 1.1.2.8: #i18486# trigger extension as a job for onDocumentOpened event
2008/01/07 14:15:59 af 1.1.2.7: #i18486# Using licinserter for choosing the right set of licenses.
2007/12/14 09:38:39 af 1.1.2.6: #i18486# Resolved resync problems.
2007/11/19 09:50:21 af 1.1.2.5: #i18486# Added PresenterProtocolHandler class and xcu/xcs files.
2007/10/25 07:54:54 af 1.1.2.4: #i18486# Added description.xml to ZIP1DEPS.
2007/10/24 15:51:18 af 1.1.2.3: #i18486# Fixed ZIP1DEPS target.
2007/10/24 12:37:00 af 1.1.2.2: #i18486# Removed unused Impress.xcs
2007/10/24 12:30:51 af 1.1.2.1: #i18486# Initial revision.
Diffstat (limited to 'sdext/source/presenter/makefile.mk')
-rw-r--r-- | sdext/source/presenter/makefile.mk | 246 |
1 files changed, 246 insertions, 0 deletions
diff --git a/sdext/source/presenter/makefile.mk b/sdext/source/presenter/makefile.mk new file mode 100644 index 000000000000..024af450247d --- /dev/null +++ b/sdext/source/presenter/makefile.mk @@ -0,0 +1,246 @@ +#************************************************************************* +# +# OpenOffice.org - a multi-platform office productivity suite +# +# $RCSfile: makefile.mk,v $ +# +# $Revision: 1.2 $ +# +# last change: $Author: kz $ $Date: 2008-04-03 16:08:10 $ +# +# The Contents of this file are made available subject to +# the terms of GNU Lesser General Public License Version 2.1. +# +# +# GNU Lesser General Public License Version 2.1 +# ============================================= +# Copyright 2005 by Sun Microsystems, Inc. +# 901 San Antonio Road, Palo Alto, CA 94303, USA +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License version 2.1, as published by the Free Software Foundation. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# +#************************************************************************* + +PRJ=..$/.. +PRJNAME=presenter +TARGET=PresenterScreen +GEN_HID=FALSE +EXTNAME=presenter + +ENABLE_EXCEPTIONS=TRUE + +# --- Settings ---------------------------------- + +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/util$/makefile.pmk + +.IF "$(ENABLE_PRESENTER_SCREEN)" == "NO" +@all: + @echo "Presenter Screen build disabled." +.ELSE + +DLLPRE= +common_build_zip= + +PRIVATERDB = slideshow.rdb +UNOUCRRDB = $(SOLARBINDIR)$/$(PRIVATERDB) +UNOUCRDEP = $(UNOUCRRDB) +UNOUCROUT = $(OUT)$/inc + +CPPUMAKERFLAGS += -C -X$(SOLARBINDIR)$/types.rdb + +# --- Files ------------------------------------- + +SLOFILES= \ + $(SLO)$/PresenterAnimation.obj \ + $(SLO)$/PresenterAnimator.obj \ + $(SLO)$/PresenterBitmapContainer.obj \ + $(SLO)$/PresenterClock.obj \ + $(SLO)$/PresenterConfigurationAccess.obj \ + $(SLO)$/PresenterControlCreator.obj \ + $(SLO)$/PresenterController.obj \ + $(SLO)$/PresenterCurrentSlideObserver.obj \ + $(SLO)$/PresenterFrameworkObserver.obj \ + $(SLO)$/PresenterGeometryHelper.obj \ + $(SLO)$/PresenterHelper.obj \ + $(SLO)$/PresenterHelpView.obj \ + $(SLO)$/PresenterNotesView.obj \ + $(SLO)$/PresenterPane.obj \ + $(SLO)$/PresenterPaneAnimator.obj \ + $(SLO)$/PresenterPaneBase.obj \ + $(SLO)$/PresenterPaneBorderManager.obj \ + $(SLO)$/PresenterPaneBorderPainter.obj \ + $(SLO)$/PresenterPaneContainer.obj \ + $(SLO)$/PresenterPaneFactory.obj \ + $(SLO)$/PresenterProtocolHandler.obj \ + $(SLO)$/PresenterScreen.obj \ + $(SLO)$/PresenterScrollBar.obj \ + $(SLO)$/PresenterSlidePreview.obj \ + $(SLO)$/PresenterSlideShowView.obj \ + $(SLO)$/PresenterSlideSorter.obj \ + $(SLO)$/PresenterSprite.obj \ + $(SLO)$/PresenterSpritePane.obj \ + $(SLO)$/PresenterTheme.obj \ + $(SLO)$/PresenterToolBar.obj \ + $(SLO)$/PresenterViewFactory.obj \ + $(SLO)$/PresenterWindowManager.obj \ + $(SLO)$/PresenterComponent.obj + +#$(SLO)$/PresenterAboutDialog.obj \ + + +DESCRIPTION:=$(MISC)$/$(TARGET)$/description.xml + +.IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT" +PACKLICS:=$(foreach,i,$(alllangiso) $(MISC)$/$(TARGET)$/registry$/license_$i) +.ELSE +PACKLICS:=$(foreach,i,$(alllangiso) $(MISC)$/$(TARGET)$/registry$/LICENSE_$i) +.ENDIF + + +# --- Library ----------------------------------- + +SHL1TARGET= $(TARGET).uno + +SHL1STDLIBS= $(COMPHELPERLIB) \ + $(CPPUHELPERLIB) \ + $(CPPULIB) \ + $(SALLIB) \ + $(VOSLIB) +SHL1DEPN= +SHL1IMPLIB= i$(SHL1TARGET) +SHL1LIBS= $(SLB)$/$(TARGET).lib +SHL1DEF= $(MISC)$/$(SHL1TARGET).def +SHL1VERSIONMAP= exports.map +DEF1NAME= $(SHL1TARGET) + +COMPONENT_FILES= \ + $(MISC)$/$(TARGET)$/configuration$/Jobs.xcu \ + $(MISC)$/$(TARGET)$/configuration$/Addons.xcu \ + $(MISC)$/$(TARGET)$/configuration$/ProtocolHandler.xcu \ + $(MISC)$/$(TARGET)$/configuration$/PresenterScreen.xcs \ + $(MISC)$/$(TARGET)$/configuration$/PresenterScreen.xcu + +COMPONENT_BITMAPS= \ + $(MISC)$/$(TARGET)$/bitmaps$/TitleTopPaneBorder.png \ + $(MISC)$/$(TARGET)$/bitmaps$/TitleTopLeftPaneBorder.png \ + $(MISC)$/$(TARGET)$/bitmaps$/TitleTopRightPaneBorder.png \ + $(MISC)$/$(TARGET)$/bitmaps$/TopPaneBorder.png \ + $(MISC)$/$(TARGET)$/bitmaps$/TopLeftPaneBorder.png \ + $(MISC)$/$(TARGET)$/bitmaps$/TopRightPaneBorder.png \ + $(MISC)$/$(TARGET)$/bitmaps$/LeftPaneBorder.png \ + $(MISC)$/$(TARGET)$/bitmaps$/RightPaneBorder.png \ + $(MISC)$/$(TARGET)$/bitmaps$/BottomLeftPaneBorder.png \ + $(MISC)$/$(TARGET)$/bitmaps$/BottomRightPaneBorder.png \ + $(MISC)$/$(TARGET)$/bitmaps$/BottomPaneBorder.png \ + \ + $(MISC)$/$(TARGET)$/bitmaps$/NextEffectButton.png \ + $(MISC)$/$(TARGET)$/bitmaps$/NextEffectButtonGlow.png \ + $(MISC)$/$(TARGET)$/bitmaps$/NextEffectButtonPressed.png \ + $(MISC)$/$(TARGET)$/bitmaps$/NextSlideButton.png \ + $(MISC)$/$(TARGET)$/bitmaps$/NextSlideButtonGlow.png \ + $(MISC)$/$(TARGET)$/bitmaps$/NextSlideButtonPressed.png \ + $(MISC)$/$(TARGET)$/bitmaps$/PrevSlideButton.png \ + $(MISC)$/$(TARGET)$/bitmaps$/PrevSlideButtonGlow.png \ + $(MISC)$/$(TARGET)$/bitmaps$/PrevSlideButtonPressed.png \ + \ + $(MISC)$/$(TARGET)$/bitmaps$/Left.png \ + $(MISC)$/$(TARGET)$/bitmaps$/Right.png \ + $(MISC)$/$(TARGET)$/bitmaps$/Up.png \ + $(MISC)$/$(TARGET)$/bitmaps$/Down.png \ + \ + $(MISC)$/$(TARGET)$/bitmaps$/PagerHorizontal.png \ + $(MISC)$/$(TARGET)$/bitmaps$/PagerVertical.png \ + \ + $(MISC)$/$(TARGET)$/bitmaps$/ThumbLeft.png \ + $(MISC)$/$(TARGET)$/bitmaps$/ThumbRight.png \ + $(MISC)$/$(TARGET)$/bitmaps$/ThumbTop.png \ + $(MISC)$/$(TARGET)$/bitmaps$/ThumbBottom.png \ + $(MISC)$/$(TARGET)$/bitmaps$/ThumbHorizontal.png \ + $(MISC)$/$(TARGET)$/bitmaps$/ThumbVertical.png + + +#$(MISC)$/$(TARGET)$/bitmaps$/Clock-Face.png +#$(MISC)$/$(TARGET)$/bitmaps$/Clock-Hour-Hand.png +#$(MISC)$/$(TARGET)$/bitmaps$/Clock-Minute-Hand.png +# $(MISC)$/$(TARGET)$/bitmaps$/PagerLeft.png \ +# $(MISC)$/$(TARGET)$/bitmaps$/PagerRight.png \ +# $(MISC)$/$(TARGET)$/bitmaps$/PagerTop.png \ +# $(MISC)$/$(TARGET)$/bitmaps$/PagerBottom.png \ + +COMPONENT_MANIFEST= \ + $(MISC)$/$(TARGET)$/META-INF$/manifest.xml + +COMPONENT_LIBRARY= \ + $(MISC)$/$(TARGET)$/$(TARGET).uno$(DLLPOST) + +ZIP1DEPS= \ + $(PACKLICS) \ + $(DESCRIPTION) \ + $(COMPONENT_MANIFEST) \ + $(COMPONENT_FILES) \ + $(COMPONENT_BITMAPS) \ + $(COMPONENT_LIBRARY) + +ZIP1TARGET= presenter-screen +ZIP1DIR= $(MISC)$/$(TARGET) +ZIP1EXT= .oxt +ZIP1FLAGS=-r +ZIP1LIST= * + +# --- Targets ---------------------------------- + +.INCLUDE : target.mk + +$(COMPONENT_MANIFEST) : $$(@:f) + @-$(MKDIRHIER) $(@:d) + +$(TYPE) $< | $(SED) "s/SHARED_EXTENSION/$(DLLPOST)/" > $@ + +$(COMPONENT_FILES) : $$(@:f) + @-$(MKDIRHIER) $(@:d) + +$(COPY) $< $@ + +$(COMPONENT_BITMAPS) : bitmaps$/$$(@:f) + @-$(MKDIRHIER) $(@:d) + +$(COPY) $< $@ + +#$(COMPONENT_HELP) : help$/$$(@:f) +# @-$(MKDIRHIER) $(@:d) +# +$(COPY) $< $@ + +$(COMPONENT_LIBRARY) : $(DLLDEST)$/$$(@:f) + @-$(MKDIRHIER) $(@:d) + +$(COPY) $< $@ + +.IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT" +$(PACKLICS) : $(SOLARBINDIR)$/osl$/license$$(@:b:s/_/./:e:s/./_/)$$(@:e).txt + @@-$(MKDIRHIER) $(@:d) + $(GNUCOPY) $< $@ +.ELSE +$(PACKLICS) : $(SOLARBINDIR)$/osl$/LICENSE$$(@:b:s/_/./:e:s/./_/)$$(@:e) + @@-$(MKDIRHIER) $(@:d) + $(GNUCOPY) $< $@ +.ENDIF + +.INCLUDE .IGNORE : $(MISC)$/$(TARGET)_lang_track.mk +.IF "$(LAST_WITH_LANG)"!="$(WITH_LANG)" +PHONYDESC=.PHONY +.ENDIF # "$(LAST_WITH_LANG)"!="$(WITH_LANG)" +$(DESCRIPTION) $(PHONYDESC) : $$(@:f) + @@-$(MKDIRHIER) $(@:d) + $(PERL) $(SOLARENV)$/bin$/licinserter.pl description.xml registry/LICENSE_xxx $@ + @echo LAST_WITH_LANG=$(WITH_LANG) > $(MISC)$/$(TARGET)_lang_track.mk + +.ENDIF # "$(ENABLE_PRESENTER_SCREEN)" != "NO" |