xref: /aoo42x/main/sdext/source/presenter/makefile.mk (revision fb9073b6)
17871dc3eSAndrew Rist#**************************************************************
279e0a548SAriel Constenla-Haile#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
1079e0a548SAriel Constenla-Haile#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
1279e0a548SAriel Constenla-Haile#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
1979e0a548SAriel Constenla-Haile#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
22cdf0e10cSrcweirPRJ=..$/..
23cdf0e10cSrcweirPRJNAME=sdext
24cdf0e10cSrcweirTARGET=PresenterScreen
25cdf0e10cSrcweirGEN_HID=FALSE
26cdf0e10cSrcweirEXTNAME=PresenterScreen
27cdf0e10cSrcweir
28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
2979e0a548SAriel Constenla-Haile
3079e0a548SAriel Constenla-HailePACKAGE=org.openoffice.Office
3179e0a548SAriel Constenla-HaileABSXCSROOT=$(SOLARXMLDIR)
3279e0a548SAriel Constenla-HaileXCSROOT=..
3379e0a548SAriel Constenla-HaileDTDDIR=$(ABSXCSROOT)
3479e0a548SAriel Constenla-HaileXSLDIR=$(ABSXCSROOT)$/processing
3579e0a548SAriel Constenla-HailePROCESSOUT=$(MISC)$/$(TARGET)
3679e0a548SAriel Constenla-HailePROCESSORDIR=$(SOLARBINDIR)
37cdf0e10cSrcweir
38cdf0e10cSrcweir# --- Settings ----------------------------------
39cdf0e10cSrcweir
40cdf0e10cSrcweir.INCLUDE : settings.mk
41cdf0e10cSrcweir
421e921515SAndre Fischer.IF "$(L10N_framework)" != ""
431e921515SAndre Fischer
441e921515SAndre Fischer@all:
451e921515SAndre Fischer	@echo "L10N framework disabled => Presenter Screen can not be built."
461e921515SAndre Fischer
471e921515SAndre Fischer.ELSE
481e921515SAndre Fischer
491e921515SAndre Fischer.INCLUDE :  $(PRJ)$/util$/makefile.pmk
501e921515SAndre Fischer
51cdf0e10cSrcweirDLLPRE=
52cdf0e10cSrcweir
53cdf0e10cSrcweir# --- Files -------------------------------------
54cdf0e10cSrcweir
5579e0a548SAriel Constenla-HaileSLOFILES=\
5679e0a548SAriel Constenla-Haile	$(SLO)$/components.obj \
5779e0a548SAriel Constenla-Haile	$(SLO)$/PresenterAccessibility.obj \
5879e0a548SAriel Constenla-Haile	$(SLO)$/PresenterAnimation.obj \
5979e0a548SAriel Constenla-Haile	$(SLO)$/PresenterAnimator.obj \
6079e0a548SAriel Constenla-Haile	$(SLO)$/PresenterBitmapContainer.obj \
6179e0a548SAriel Constenla-Haile	$(SLO)$/PresenterButton.obj \
6279e0a548SAriel Constenla-Haile	$(SLO)$/PresenterCanvasHelper.obj \
6379e0a548SAriel Constenla-Haile	$(SLO)$/PresenterConfigurationAccess.obj \
6479e0a548SAriel Constenla-Haile	$(SLO)$/PresenterController.obj \
6579e0a548SAriel Constenla-Haile	$(SLO)$/PresenterCurrentSlideObserver.obj \
6679e0a548SAriel Constenla-Haile	$(SLO)$/PresenterFrameworkObserver.obj \
6779e0a548SAriel Constenla-Haile	$(SLO)$/PresenterGeometryHelper.obj \
6879e0a548SAriel Constenla-Haile	$(SLO)$/PresenterHelper.obj \
6979e0a548SAriel Constenla-Haile	$(SLO)$/PresenterHelpView.obj \
7079e0a548SAriel Constenla-Haile	$(SLO)$/PresenterNotesView.obj \
7179e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaintManager.obj \
7279e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPane.obj \
7379e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneAnimator.obj \
7479e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneBase.obj \
7579e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneBorderManager.obj \
7679e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneBorderPainter.obj \
7779e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneContainer.obj \
7879e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneFactory.obj \
7979e0a548SAriel Constenla-Haile	$(SLO)$/PresenterProtocolHandler.obj \
8079e0a548SAriel Constenla-Haile	$(SLO)$/PresenterScreen.obj \
8179e0a548SAriel Constenla-Haile	$(SLO)$/PresenterScrollBar.obj \
8279e0a548SAriel Constenla-Haile	$(SLO)$/PresenterSlidePreview.obj \
8379e0a548SAriel Constenla-Haile	$(SLO)$/PresenterSlideShowView.obj \
8479e0a548SAriel Constenla-Haile	$(SLO)$/PresenterSlideSorter.obj \
8579e0a548SAriel Constenla-Haile	$(SLO)$/PresenterSprite.obj \
8679e0a548SAriel Constenla-Haile	$(SLO)$/PresenterSpritePane.obj \
8779e0a548SAriel Constenla-Haile	$(SLO)$/PresenterTextView.obj \
8879e0a548SAriel Constenla-Haile	$(SLO)$/PresenterTheme.obj \
8979e0a548SAriel Constenla-Haile	$(SLO)$/PresenterTimer.obj \
9079e0a548SAriel Constenla-Haile	$(SLO)$/PresenterToolBar.obj \
9179e0a548SAriel Constenla-Haile	$(SLO)$/PresenterUIPainter.obj \
9279e0a548SAriel Constenla-Haile	$(SLO)$/PresenterViewFactory.obj \
9379e0a548SAriel Constenla-Haile	$(SLO)$/PresenterWindowManager.obj \
94cdf0e10cSrcweir
95cdf0e10cSrcweir
96cdf0e10cSrcweir# --- Library -----------------------------------
97cdf0e10cSrcweir
98*fb9073b6SYuri Dario.IF "$(GUI)"=="OS2"
99*fb9073b6SYuri DarioSHL1TARGET=PreScr
100*fb9073b6SYuri Dario.ELSE
10179e0a548SAriel Constenla-HaileSHL1TARGET=$(TARGET).uno
102*fb9073b6SYuri Dario.ENDIF
103cdf0e10cSrcweir
10479e0a548SAriel Constenla-HaileSHL1STDLIBS= \
10579e0a548SAriel Constenla-Haile	$(CPPUHELPERLIB) \
10679e0a548SAriel Constenla-Haile	$(CPPULIB) \
10779e0a548SAriel Constenla-Haile	$(SALLIB)
108cdf0e10cSrcweir
109cdf0e10cSrcweirSHL1DEPN=
11079e0a548SAriel Constenla-HaileSHL1IMPLIB=    i$(SHL1TARGET)
11179e0a548SAriel Constenla-HaileSHL1LIBS=    $(SLB)$/$(TARGET).lib
11279e0a548SAriel Constenla-HaileSHL1DEF=    $(MISC)$/$(SHL1TARGET).def
11379e0a548SAriel Constenla-HaileSHL1VERSIONMAP=$(SOLARENV)/src/component.map
114cdf0e10cSrcweirSHL1RPATH=      OXT
11579e0a548SAriel Constenla-HaileDEF1NAME=    $(SHL1TARGET)
1165d03e972SAriel Constenla-Haile
11779e0a548SAriel Constenla-Haile# ------------------------------------------------------------------------------
1185d03e972SAriel Constenla-Haile
11979e0a548SAriel Constenla-Haile# Resource files
12045b93914SAriel Constenla-Haile
12179e0a548SAriel Constenla-HaileSRS1NAME=$(TARGET)
12279e0a548SAriel Constenla-HaileSRC1FILES =  \
12379e0a548SAriel Constenla-Haile        $(TARGET).src \
124cdf0e10cSrcweir
12579e0a548SAriel Constenla-HaileSRSFILELIST=\
12679e0a548SAriel Constenla-Haile        $(SRS)$/$(TARGET).srs \
127cdf0e10cSrcweir
12879e0a548SAriel Constenla-HaileRESLIB1NAME=$(TARGET)
12979e0a548SAriel Constenla-HaileRESLIB1SRSFILES= $(SRSFILELIST)
1305d03e972SAriel Constenla-Haile
13145b93914SAriel Constenla-Haile
13279e0a548SAriel Constenla-HailePACKAGEDIR=$(subst,.,$/ $(PACKAGE))
13379e0a548SAriel Constenla-HaileSPOOLDIR=$(MISC)$/registry$/spool
1345d03e972SAriel Constenla-Haile
13579e0a548SAriel Constenla-HaileXCUFILES= \
13679e0a548SAriel Constenla-Haile	Jobs.xcu \
13779e0a548SAriel Constenla-Haile	ProtocolHandler.xcu
13845b93914SAriel Constenla-Haile
13979e0a548SAriel Constenla-HaileMYXCUFILES= \
14079e0a548SAriel Constenla-Haile	$(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-presenterscreen.xcu \
14179e0a548SAriel Constenla-Haile	$(SPOOLDIR)$/$(PACKAGEDIR)$/ProtocolHandler/ProtocolHandler-presenterscreen.xcu
14279e0a548SAriel Constenla-Haile
14379e0a548SAriel Constenla-Haile
14479e0a548SAriel Constenla-Haile# --- Targets ----------------------------------
14579e0a548SAriel Constenla-Haile
14679e0a548SAriel Constenla-Haile.INCLUDE : target.mk
1475d03e972SAriel Constenla-Haile
14879e0a548SAriel Constenla-HaileALLTAR : $(MYXCUFILES)
1495d03e972SAriel Constenla-Haile
15079e0a548SAriel Constenla-HaileXCU_SOURCEDIR:=.
15179e0a548SAriel Constenla-Haile
15279e0a548SAriel Constenla-Haile$(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-presenterscreen.xcu : $(XCU_SOURCEDIR)$/Jobs.xcu
15379e0a548SAriel Constenla-Haile	@-$(MKDIRHIER) $(@:d)
15479e0a548SAriel Constenla-Haile	@$(COPY) $< $@
15579e0a548SAriel Constenla-Haile
15679e0a548SAriel Constenla-Haile$(SPOOLDIR)$/$(PACKAGEDIR)$/ProtocolHandler$/ProtocolHandler-presenterscreen.xcu : $(XCU_SOURCEDIR)$/ProtocolHandler.xcu
15745b93914SAriel Constenla-Haile	@-$(MKDIRHIER) $(@:d)
15879e0a548SAriel Constenla-Haile	@$(COPY) $< $@
15979e0a548SAriel Constenla-Haile
16079e0a548SAriel Constenla-HaileALLTAR : $(MISC)/PresenterScreen.component
16179e0a548SAriel Constenla-Haile
16279e0a548SAriel Constenla-Haile$(MISC)/PresenterScreen.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt PresenterScreen.component
16379e0a548SAriel Constenla-Haile	$(XSLTPROC) --nonet --stringparam uri \
16479e0a548SAriel Constenla-Haile	'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
16579e0a548SAriel Constenla-Haile	$(SOLARENV)/bin/createcomponent.xslt PresenterScreen.component
166cdf0e10cSrcweir
167cdf0e10cSrcweir.ENDIF # L10N_framework
168