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