xref: /aoo41x/main/sdext/source/presenter/makefile.mk (revision 79e0a548)
17871dc3eSAndrew Rist#**************************************************************
2*79e0a548SAriel 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
10*79e0a548SAriel Constenla-Haile#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*79e0a548SAriel 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.
19*79e0a548SAriel Constenla-Haile#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
22cdf0e10cSrcweirPRJ=..$/..
23cdf0e10cSrcweirPRJNAME=sdext
24cdf0e10cSrcweirTARGET=PresenterScreen
25cdf0e10cSrcweirGEN_HID=FALSE
26cdf0e10cSrcweirEXTNAME=PresenterScreen
27cdf0e10cSrcweir
28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
29*79e0a548SAriel Constenla-Haile
30*79e0a548SAriel Constenla-HailePACKAGE=org.openoffice.Office
31*79e0a548SAriel Constenla-HaileABSXCSROOT=$(SOLARXMLDIR)
32*79e0a548SAriel Constenla-HaileXCSROOT=..
33*79e0a548SAriel Constenla-HaileDTDDIR=$(ABSXCSROOT)
34*79e0a548SAriel Constenla-HaileXSLDIR=$(ABSXCSROOT)$/processing
35*79e0a548SAriel Constenla-HailePROCESSOUT=$(MISC)$/$(TARGET)
36*79e0a548SAriel 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
55*79e0a548SAriel Constenla-HaileSLOFILES=\
56*79e0a548SAriel Constenla-Haile	$(SLO)$/components.obj \
57*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterAccessibility.obj \
58*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterAnimation.obj \
59*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterAnimator.obj \
60*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterBitmapContainer.obj \
61*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterButton.obj \
62*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterCanvasHelper.obj \
63*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterConfigurationAccess.obj \
64*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterController.obj \
65*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterCurrentSlideObserver.obj \
66*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterFrameworkObserver.obj \
67*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterGeometryHelper.obj \
68*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterHelper.obj \
69*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterHelpView.obj \
70*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterNotesView.obj \
71*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaintManager.obj \
72*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPane.obj \
73*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneAnimator.obj \
74*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneBase.obj \
75*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneBorderManager.obj \
76*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneBorderPainter.obj \
77*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneContainer.obj \
78*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterPaneFactory.obj \
79*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterProtocolHandler.obj \
80*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterScreen.obj \
81*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterScrollBar.obj \
82*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterSlidePreview.obj \
83*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterSlideShowView.obj \
84*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterSlideSorter.obj \
85*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterSprite.obj \
86*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterSpritePane.obj \
87*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterTextView.obj \
88*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterTheme.obj \
89*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterTimer.obj \
90*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterToolBar.obj \
91*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterUIPainter.obj \
92*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterViewFactory.obj \
93*79e0a548SAriel Constenla-Haile	$(SLO)$/PresenterWindowManager.obj \
94cdf0e10cSrcweir
95cdf0e10cSrcweir
96cdf0e10cSrcweir# --- Library -----------------------------------
97cdf0e10cSrcweir
98*79e0a548SAriel Constenla-HaileSHL1TARGET=$(TARGET).uno
99cdf0e10cSrcweir
100*79e0a548SAriel Constenla-HaileSHL1STDLIBS= \
101*79e0a548SAriel Constenla-Haile	$(CPPUHELPERLIB) \
102*79e0a548SAriel Constenla-Haile	$(CPPULIB) \
103*79e0a548SAriel Constenla-Haile	$(SALLIB)
104cdf0e10cSrcweir
105cdf0e10cSrcweirSHL1DEPN=
106*79e0a548SAriel Constenla-HaileSHL1IMPLIB=    i$(SHL1TARGET)
107*79e0a548SAriel Constenla-HaileSHL1LIBS=    $(SLB)$/$(TARGET).lib
108*79e0a548SAriel Constenla-HaileSHL1DEF=    $(MISC)$/$(SHL1TARGET).def
109*79e0a548SAriel Constenla-HaileSHL1VERSIONMAP=$(SOLARENV)/src/component.map
110cdf0e10cSrcweirSHL1RPATH=      OXT
111*79e0a548SAriel Constenla-HaileDEF1NAME=    $(SHL1TARGET)
1125d03e972SAriel Constenla-Haile
113*79e0a548SAriel Constenla-Haile# ------------------------------------------------------------------------------
1145d03e972SAriel Constenla-Haile
115*79e0a548SAriel Constenla-Haile# Resource files
11645b93914SAriel Constenla-Haile
117*79e0a548SAriel Constenla-HaileSRS1NAME=$(TARGET)
118*79e0a548SAriel Constenla-HaileSRC1FILES =  \
119*79e0a548SAriel Constenla-Haile        $(TARGET).src \
120cdf0e10cSrcweir
121*79e0a548SAriel Constenla-HaileSRSFILELIST=\
122*79e0a548SAriel Constenla-Haile        $(SRS)$/$(TARGET).srs \
123cdf0e10cSrcweir
124*79e0a548SAriel Constenla-HaileRESLIB1NAME=$(TARGET)
125*79e0a548SAriel Constenla-HaileRESLIB1SRSFILES= $(SRSFILELIST)
1265d03e972SAriel Constenla-Haile
12745b93914SAriel Constenla-Haile
128*79e0a548SAriel Constenla-HailePACKAGEDIR=$(subst,.,$/ $(PACKAGE))
129*79e0a548SAriel Constenla-HaileSPOOLDIR=$(MISC)$/registry$/spool
1305d03e972SAriel Constenla-Haile
131*79e0a548SAriel Constenla-HaileXCUFILES= \
132*79e0a548SAriel Constenla-Haile	Jobs.xcu \
133*79e0a548SAriel Constenla-Haile	ProtocolHandler.xcu
13445b93914SAriel Constenla-Haile
135*79e0a548SAriel Constenla-HaileMYXCUFILES= \
136*79e0a548SAriel Constenla-Haile	$(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-presenterscreen.xcu \
137*79e0a548SAriel Constenla-Haile	$(SPOOLDIR)$/$(PACKAGEDIR)$/ProtocolHandler/ProtocolHandler-presenterscreen.xcu
138*79e0a548SAriel Constenla-Haile
139*79e0a548SAriel Constenla-Haile
140*79e0a548SAriel Constenla-Haile# --- Targets ----------------------------------
141*79e0a548SAriel Constenla-Haile
142*79e0a548SAriel Constenla-Haile.INCLUDE : target.mk
1435d03e972SAriel Constenla-Haile
144*79e0a548SAriel Constenla-HaileALLTAR : $(MYXCUFILES)
1455d03e972SAriel Constenla-Haile
146*79e0a548SAriel Constenla-HaileXCU_SOURCEDIR:=.
147*79e0a548SAriel Constenla-Haile
148*79e0a548SAriel Constenla-Haile$(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-presenterscreen.xcu : $(XCU_SOURCEDIR)$/Jobs.xcu
149*79e0a548SAriel Constenla-Haile	@-$(MKDIRHIER) $(@:d)
150*79e0a548SAriel Constenla-Haile	@$(COPY) $< $@
151*79e0a548SAriel Constenla-Haile
152*79e0a548SAriel Constenla-Haile$(SPOOLDIR)$/$(PACKAGEDIR)$/ProtocolHandler$/ProtocolHandler-presenterscreen.xcu : $(XCU_SOURCEDIR)$/ProtocolHandler.xcu
15345b93914SAriel Constenla-Haile	@-$(MKDIRHIER) $(@:d)
154*79e0a548SAriel Constenla-Haile	@$(COPY) $< $@
155*79e0a548SAriel Constenla-Haile
156*79e0a548SAriel Constenla-HaileALLTAR : $(MISC)/PresenterScreen.component
157*79e0a548SAriel Constenla-Haile
158*79e0a548SAriel Constenla-Haile$(MISC)/PresenterScreen.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt PresenterScreen.component
159*79e0a548SAriel Constenla-Haile	$(XSLTPROC) --nonet --stringparam uri \
160*79e0a548SAriel Constenla-Haile	'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
161*79e0a548SAriel Constenla-Haile	$(SOLARENV)/bin/createcomponent.xslt PresenterScreen.component
162cdf0e10cSrcweir
163cdf0e10cSrcweir.ENDIF # L10N_framework
164