xref: /AOO41X/main/sdext/source/presenter/makefile.mk (revision d3e0dd8eb215533c15e891ee35bd141abe9397ee)
17871dc3eSAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
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
10cdf0e10cSrcweir#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
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.
19cdf0e10cSrcweir#
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
55cdf0e10cSrcweirSLOFILES=\
5679e0a548SAriel Constenla-Haile	$(SLO)$/components.obj \
57cdf0e10cSrcweir	$(SLO)$/PresenterAccessibility.obj \
58cdf0e10cSrcweir	$(SLO)$/PresenterAnimation.obj \
59cdf0e10cSrcweir	$(SLO)$/PresenterAnimator.obj \
60cdf0e10cSrcweir	$(SLO)$/PresenterBitmapContainer.obj \
61cdf0e10cSrcweir	$(SLO)$/PresenterButton.obj \
62cdf0e10cSrcweir	$(SLO)$/PresenterCanvasHelper.obj \
63cdf0e10cSrcweir	$(SLO)$/PresenterConfigurationAccess.obj \
64cdf0e10cSrcweir	$(SLO)$/PresenterController.obj \
65cdf0e10cSrcweir	$(SLO)$/PresenterCurrentSlideObserver.obj \
66cdf0e10cSrcweir	$(SLO)$/PresenterFrameworkObserver.obj \
67cdf0e10cSrcweir	$(SLO)$/PresenterGeometryHelper.obj \
68cdf0e10cSrcweir	$(SLO)$/PresenterHelper.obj \
69cdf0e10cSrcweir	$(SLO)$/PresenterHelpView.obj \
70cdf0e10cSrcweir	$(SLO)$/PresenterNotesView.obj \
71cdf0e10cSrcweir	$(SLO)$/PresenterPaintManager.obj \
72cdf0e10cSrcweir	$(SLO)$/PresenterPane.obj \
73cdf0e10cSrcweir	$(SLO)$/PresenterPaneAnimator.obj \
74cdf0e10cSrcweir	$(SLO)$/PresenterPaneBase.obj \
75cdf0e10cSrcweir	$(SLO)$/PresenterPaneBorderManager.obj \
76cdf0e10cSrcweir	$(SLO)$/PresenterPaneBorderPainter.obj \
77cdf0e10cSrcweir	$(SLO)$/PresenterPaneContainer.obj \
78cdf0e10cSrcweir	$(SLO)$/PresenterPaneFactory.obj \
79cdf0e10cSrcweir	$(SLO)$/PresenterProtocolHandler.obj \
80cdf0e10cSrcweir	$(SLO)$/PresenterScreen.obj \
81cdf0e10cSrcweir	$(SLO)$/PresenterScrollBar.obj \
82cdf0e10cSrcweir	$(SLO)$/PresenterSlidePreview.obj \
83cdf0e10cSrcweir	$(SLO)$/PresenterSlideShowView.obj \
84cdf0e10cSrcweir	$(SLO)$/PresenterSlideSorter.obj \
85cdf0e10cSrcweir	$(SLO)$/PresenterSprite.obj \
86cdf0e10cSrcweir	$(SLO)$/PresenterSpritePane.obj \
87cdf0e10cSrcweir	$(SLO)$/PresenterTextView.obj \
88cdf0e10cSrcweir	$(SLO)$/PresenterTheme.obj \
89cdf0e10cSrcweir	$(SLO)$/PresenterTimer.obj \
90cdf0e10cSrcweir	$(SLO)$/PresenterToolBar.obj \
91cdf0e10cSrcweir	$(SLO)$/PresenterUIPainter.obj \
92cdf0e10cSrcweir	$(SLO)$/PresenterViewFactory.obj \
93cdf0e10cSrcweir	$(SLO)$/PresenterWindowManager.obj \
94cdf0e10cSrcweir
95cdf0e10cSrcweir
96cdf0e10cSrcweir# --- Library -----------------------------------
97cdf0e10cSrcweir
98*fb9073b6SYuri Dario.IF "$(GUI)"=="OS2"
99*fb9073b6SYuri DarioSHL1TARGET=PreScr
100*fb9073b6SYuri Dario.ELSE
101cdf0e10cSrcweirSHL1TARGET=$(TARGET).uno
102*fb9073b6SYuri Dario.ENDIF
103cdf0e10cSrcweir
10479e0a548SAriel Constenla-HaileSHL1STDLIBS= \
10579e0a548SAriel Constenla-Haile	$(CPPUHELPERLIB) \
106cdf0e10cSrcweir	$(CPPULIB) \
107cdf0e10cSrcweir	$(SALLIB)
108cdf0e10cSrcweir
109cdf0e10cSrcweirSHL1DEPN=
110cdf0e10cSrcweirSHL1IMPLIB=    i$(SHL1TARGET)
111cdf0e10cSrcweirSHL1LIBS=    $(SLB)$/$(TARGET).lib
112cdf0e10cSrcweirSHL1DEF=    $(MISC)$/$(SHL1TARGET).def
11379e0a548SAriel Constenla-HaileSHL1VERSIONMAP=$(SOLARENV)/src/component.map
114cdf0e10cSrcweirSHL1RPATH=      OXT
115cdf0e10cSrcweirDEF1NAME=    $(SHL1TARGET)
116cdf0e10cSrcweir
11779e0a548SAriel Constenla-Haile# ------------------------------------------------------------------------------
118cdf0e10cSrcweir
11979e0a548SAriel Constenla-Haile# Resource files
120cdf0e10cSrcweir
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)
130cdf0e10cSrcweir
131cdf0e10cSrcweir
13279e0a548SAriel Constenla-HailePACKAGEDIR=$(subst,.,$/ $(PACKAGE))
13379e0a548SAriel Constenla-HaileSPOOLDIR=$(MISC)$/registry$/spool
134cdf0e10cSrcweir
13579e0a548SAriel Constenla-HaileXCUFILES= \
13679e0a548SAriel Constenla-Haile	Jobs.xcu \
13779e0a548SAriel Constenla-Haile	ProtocolHandler.xcu
138cdf0e10cSrcweir
13979e0a548SAriel Constenla-HaileMYXCUFILES= \
14079e0a548SAriel Constenla-Haile	$(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-presenterscreen.xcu \
14179e0a548SAriel Constenla-Haile	$(SPOOLDIR)$/$(PACKAGEDIR)$/ProtocolHandler/ProtocolHandler-presenterscreen.xcu
14279e0a548SAriel Constenla-Haile
143cdf0e10cSrcweir
144cdf0e10cSrcweir# --- Targets ----------------------------------
145cdf0e10cSrcweir
146cdf0e10cSrcweir.INCLUDE : target.mk
147cdf0e10cSrcweir
14879e0a548SAriel Constenla-HaileALLTAR : $(MYXCUFILES)
149cdf0e10cSrcweir
15079e0a548SAriel Constenla-HaileXCU_SOURCEDIR:=.
151cdf0e10cSrcweir
15279e0a548SAriel Constenla-Haile$(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-presenterscreen.xcu : $(XCU_SOURCEDIR)$/Jobs.xcu
153cdf0e10cSrcweir	@-$(MKDIRHIER) $(@:d)
15479e0a548SAriel Constenla-Haile	@$(COPY) $< $@
155cdf0e10cSrcweir
15679e0a548SAriel Constenla-Haile$(SPOOLDIR)$/$(PACKAGEDIR)$/ProtocolHandler$/ProtocolHandler-presenterscreen.xcu : $(XCU_SOURCEDIR)$/ProtocolHandler.xcu
157cdf0e10cSrcweir	@-$(MKDIRHIER) $(@:d)
15879e0a548SAriel Constenla-Haile	@$(COPY) $< $@
159cdf0e10cSrcweir
16079e0a548SAriel Constenla-HaileALLTAR : $(MISC)/PresenterScreen.component
161cdf0e10cSrcweir
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