xref: /aoo41x/main/sdext/source/presenter/makefile.mk (revision cdf0e10c)
1*cdf0e10cSrcweir#*************************************************************************
2*cdf0e10cSrcweir#
3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir#
5*cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir#
7*cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir#
9*cdf0e10cSrcweir# This file is part of OpenOffice.org.
10*cdf0e10cSrcweir#
11*cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir#
15*cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir#
21*cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir#
26*cdf0e10cSrcweir#*************************************************************************
27*cdf0e10cSrcweir
28*cdf0e10cSrcweirPRJ=..$/..
29*cdf0e10cSrcweirPRJNAME=sdext
30*cdf0e10cSrcweirTARGET=PresenterScreen
31*cdf0e10cSrcweirGEN_HID=FALSE
32*cdf0e10cSrcweirEXTNAME=PresenterScreen
33*cdf0e10cSrcweir
34*cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
35*cdf0e10cSrcweir# survive zip dependencies
36*cdf0e10cSrcweirMAXLINELENGTH:=80000
37*cdf0e10cSrcweir
38*cdf0e10cSrcweir# --- Settings ----------------------------------
39*cdf0e10cSrcweir
40*cdf0e10cSrcweir.INCLUDE : rtlbootstrap.mk
41*cdf0e10cSrcweir.INCLUDE : settings.mk
42*cdf0e10cSrcweir
43*cdf0e10cSrcweirPACKAGE=com.sun.PresenterScreen-$(PLATFORMID)
44*cdf0e10cSrcweir
45*cdf0e10cSrcweir.IF "$(L10N_framework)"==""
46*cdf0e10cSrcweir.INCLUDE :  $(PRJ)$/util$/makefile.pmk
47*cdf0e10cSrcweir
48*cdf0e10cSrcweir.IF "$(ENABLE_PRESENTER_SCREEN)" == "NO"
49*cdf0e10cSrcweir@all:
50*cdf0e10cSrcweir	@echo "Presenter Screen build disabled."
51*cdf0e10cSrcweir.ELSE
52*cdf0e10cSrcweir
53*cdf0e10cSrcweirDLLPRE=
54*cdf0e10cSrcweircommon_build_zip=
55*cdf0e10cSrcweir
56*cdf0e10cSrcweir# --- Files -------------------------------------
57*cdf0e10cSrcweir
58*cdf0e10cSrcweirSLOFILES=										\
59*cdf0e10cSrcweir	$(SLO)$/PresenterAccessibility.obj			\
60*cdf0e10cSrcweir	$(SLO)$/PresenterAnimation.obj				\
61*cdf0e10cSrcweir	$(SLO)$/PresenterAnimator.obj				\
62*cdf0e10cSrcweir	$(SLO)$/PresenterBitmapContainer.obj		\
63*cdf0e10cSrcweir	$(SLO)$/PresenterButton.obj					\
64*cdf0e10cSrcweir	$(SLO)$/PresenterCanvasHelper.obj			\
65*cdf0e10cSrcweir	$(SLO)$/PresenterConfigurationAccess.obj	\
66*cdf0e10cSrcweir	$(SLO)$/PresenterController.obj				\
67*cdf0e10cSrcweir	$(SLO)$/PresenterCurrentSlideObserver.obj	\
68*cdf0e10cSrcweir	$(SLO)$/PresenterFrameworkObserver.obj		\
69*cdf0e10cSrcweir	$(SLO)$/PresenterGeometryHelper.obj			\
70*cdf0e10cSrcweir	$(SLO)$/PresenterHelper.obj					\
71*cdf0e10cSrcweir	$(SLO)$/PresenterHelpView.obj				\
72*cdf0e10cSrcweir	$(SLO)$/PresenterNotesView.obj				\
73*cdf0e10cSrcweir	$(SLO)$/PresenterPaintManager.obj			\
74*cdf0e10cSrcweir	$(SLO)$/PresenterPane.obj					\
75*cdf0e10cSrcweir	$(SLO)$/PresenterPaneAnimator.obj			\
76*cdf0e10cSrcweir	$(SLO)$/PresenterPaneBase.obj				\
77*cdf0e10cSrcweir	$(SLO)$/PresenterPaneBorderManager.obj		\
78*cdf0e10cSrcweir	$(SLO)$/PresenterPaneBorderPainter.obj		\
79*cdf0e10cSrcweir	$(SLO)$/PresenterPaneContainer.obj			\
80*cdf0e10cSrcweir	$(SLO)$/PresenterPaneFactory.obj			\
81*cdf0e10cSrcweir	$(SLO)$/PresenterProtocolHandler.obj		\
82*cdf0e10cSrcweir	$(SLO)$/PresenterScreen.obj					\
83*cdf0e10cSrcweir	$(SLO)$/PresenterScrollBar.obj				\
84*cdf0e10cSrcweir	$(SLO)$/PresenterSlidePreview.obj			\
85*cdf0e10cSrcweir	$(SLO)$/PresenterSlideShowView.obj			\
86*cdf0e10cSrcweir	$(SLO)$/PresenterSlideSorter.obj			\
87*cdf0e10cSrcweir	$(SLO)$/PresenterSprite.obj					\
88*cdf0e10cSrcweir	$(SLO)$/PresenterSpritePane.obj				\
89*cdf0e10cSrcweir	$(SLO)$/PresenterTextView.obj				\
90*cdf0e10cSrcweir	$(SLO)$/PresenterTheme.obj					\
91*cdf0e10cSrcweir	$(SLO)$/PresenterTimer.obj					\
92*cdf0e10cSrcweir	$(SLO)$/PresenterToolBar.obj				\
93*cdf0e10cSrcweir	$(SLO)$/PresenterUIPainter.obj				\
94*cdf0e10cSrcweir	$(SLO)$/PresenterViewFactory.obj			\
95*cdf0e10cSrcweir	$(SLO)$/PresenterWindowManager.obj			\
96*cdf0e10cSrcweir	$(SLO)$/PresenterComponent.obj
97*cdf0e10cSrcweir
98*cdf0e10cSrcweir
99*cdf0e10cSrcweir# --- Library -----------------------------------
100*cdf0e10cSrcweir
101*cdf0e10cSrcweirSHL1TARGET=		$(TARGET).uno
102*cdf0e10cSrcweir
103*cdf0e10cSrcweirSHL1STDLIBS=	$(CPPUHELPERLIB)	\
104*cdf0e10cSrcweir				$(CPPULIB)			\
105*cdf0e10cSrcweir				$(SALLIB)
106*cdf0e10cSrcweir
107*cdf0e10cSrcweirSHL1DEPN=
108*cdf0e10cSrcweirSHL1IMPLIB=		i$(SHL1TARGET)
109*cdf0e10cSrcweirSHL1LIBS=		$(SLB)$/$(TARGET).lib
110*cdf0e10cSrcweirSHL1DEF=		$(MISC)$/$(SHL1TARGET).def
111*cdf0e10cSrcweirSHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map
112*cdf0e10cSrcweirSHL1RPATH=      OXT
113*cdf0e10cSrcweirDEF1NAME=		$(SHL1TARGET)
114*cdf0e10cSrcweir
115*cdf0e10cSrcweirZIP2TARGET=		presenter-screen_develop
116*cdf0e10cSrcweirZIP2DIR=		$(COMMONMISC)
117*cdf0e10cSrcweirZIP2EXT=		.zip
118*cdf0e10cSrcweirZIP2FLAGS=-r
119*cdf0e10cSrcweirZIP2LIST=		*/com.sun.PresenterScreen/*.xhp
120*cdf0e10cSrcweir
121*cdf0e10cSrcweirZIP1TARGET=		presenter-screen
122*cdf0e10cSrcweirZIP1DIR=		$(MISC)$/$(TARGET)
123*cdf0e10cSrcweirZIP1EXT=		.oxt
124*cdf0e10cSrcweirZIP1FLAGS=-r
125*cdf0e10cSrcweirZIP1LIST=		*
126*cdf0e10cSrcweir
127*cdf0e10cSrcweirDESCRIPTION:=$(ZIP1DIR)$/description.xml
128*cdf0e10cSrcweir
129*cdf0e10cSrcweir.IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT"
130*cdf0e10cSrcweirPACKLICS:=$(foreach,i,$(alllangiso) $(ZIP1DIR)$/registry$/license_$i)
131*cdf0e10cSrcweir.ELSE
132*cdf0e10cSrcweirPACKLICS:=$(foreach,i,$(alllangiso) $(ZIP1DIR)$/registry$/LICENSE_$i)
133*cdf0e10cSrcweir.ENDIF
134*cdf0e10cSrcweir
135*cdf0e10cSrcweir.IF "$(WITH_LANG)"==""
136*cdf0e10cSrcweirFIND_XCU=registry/data
137*cdf0e10cSrcweir.ELSE			# "$(WITH_LANG)"==""
138*cdf0e10cSrcweirFIND_XCU=$(MISC)$/$(EXTNAME)_in$/merge
139*cdf0e10cSrcweir.ENDIF			# "$(WITH_LANG)"==""
140*cdf0e10cSrcweir
141*cdf0e10cSrcweirCOMPONENT_FILES=																			\
142*cdf0e10cSrcweir    $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/Jobs.xcu							\
143*cdf0e10cSrcweir    $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/ProtocolHandler.xcu				\
144*cdf0e10cSrcweir    $(ZIP1DIR)$/registry$/schema/org$/openoffice$/Office$/extension$/PresenterScreen.xcs   	\
145*cdf0e10cSrcweir	$(ZIP1DIR)$/registry$/data/$/org$/openoffice$/Office$/extension$/PresenterScreen.xcu
146*cdf0e10cSrcweir
147*cdf0e10cSrcweir#COMPONENT_MERGED_XCU= \
148*cdf0e10cSrcweir#	$(FIND_XCU)$/org$/openoffice$/Office$/extension$/PresenterScreen.xcu
149*cdf0e10cSrcweir
150*cdf0e10cSrcweirCOMPONENT_BITMAPS=												\
151*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderTop.png							\
152*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderTopLeft.png						\
153*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderTopRight.png						\
154*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderLeft.png							\
155*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderRight.png						\
156*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderBottomLeft.png					\
157*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderBottomRight.png					\
158*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderBottom.png						\
159*cdf0e10cSrcweir																\
160*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderActiveTop.png					\
161*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderActiveTopLeft.png				\
162*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderActiveTopRight.png				\
163*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderActiveLeft.png					\
164*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderActiveRight.png					\
165*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderActiveBottomLeft.png				\
166*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderActiveBottomRight.png			\
167*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderActiveBottom.png					\
168*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderActiveBottomCallout.png			\
169*cdf0e10cSrcweir																\
170*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTop.png				\
171*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTopLeft.png			\
172*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderCurrentSlideTopRight.png			\
173*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderCurrentSlideLeft.png				\
174*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderCurrentSlideRight.png			\
175*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottomLeft.png		\
176*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottomRight.png		\
177*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderCurrentSlideBottom.png			\
178*cdf0e10cSrcweir																\
179*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderToolbarTop.png					\
180*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderToolbarTopLeft.png				\
181*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderToolbarTopRight.png				\
182*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderToolbarLeft.png					\
183*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderToolbarRight.png					\
184*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/BorderToolbarBottom.png				\
185*cdf0e10cSrcweir																\
186*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/Background.png							\
187*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ViewBackground.png						\
188*cdf0e10cSrcweir																\
189*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousNormal.png			\
190*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousMouseOver.png		\
191*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousSelected.png		\
192*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonSlidePreviousDisabled.png		\
193*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonEffectNextNormal.png				\
194*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonEffectNextMouseOver.png			\
195*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonEffectNextSelected.png			\
196*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonEffectNextDisabled.png			\
197*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonNotesNormal.png					\
198*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonNotesMouseOver.png				\
199*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonNotesSelected.png				\
200*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonNotesDisabled.png				\
201*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonSlideSorterNormal.png			\
202*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonSlideSorterMouseOver.png			\
203*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonSlideSorterSelected.png			\
204*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonSlideSorterDisabled.png			\
205*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonHelpNormal.png					\
206*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonHelpMouseOver.png				\
207*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonHelpSelected.png					\
208*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonHelpDisabled.png					\
209*cdf0e10cSrcweir																\
210*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarArrowUpNormal.png				\
211*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarArrowUpMouseOver.png			\
212*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarArrowUpSelected.png			\
213*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarArrowUpDisabled.png			\
214*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarArrowDownNormal.png			\
215*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarArrowDownMouseOver.png			\
216*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarArrowDownSelected.png			\
217*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarArrowDownDisabled.png			\
218*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarPagerMiddleNormal.png			\
219*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarPagerMiddleMouseOver.png		\
220*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarThumbTopNormal.png				\
221*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarThumbTopMouseOver.png			\
222*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarThumbBottomNormal.png			\
223*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarThumbBottomMouseOver.png		\
224*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarThumbMiddleNormal.png			\
225*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps/ScrollbarThumbMiddleMouseOver.png		\
226*cdf0e10cSrcweir																\
227*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonPlusNormal.png					\
228*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonPlusMouseOver.png				\
229*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonPlusSelected.png					\
230*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonPlusDisabled.png					\
231*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonMinusNormal.png					\
232*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonMinusMouseOver.png				\
233*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonMinusSelected.png				\
234*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonMinusDisabled.png				\
235*cdf0e10cSrcweir																\
236*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonFrameLeftNormal.png				\
237*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonFrameCenterNormal.png			\
238*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonFrameRightNormal.png				\
239*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonFrameLeftMouseOver.png			\
240*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonFrameCenterMouseOver.png			\
241*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/ButtonFrameRightMouseOver.png			\
242*cdf0e10cSrcweir																\
243*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/LabelMouseOverLeft.png					\
244*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/LabelMouseOverCenter.png				\
245*cdf0e10cSrcweir    $(ZIP1DIR)$/bitmaps$/LabelMouseOverRight.png
246*cdf0e10cSrcweir
247*cdf0e10cSrcweirCOMPONENT_IMAGES=\
248*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/extension_32.png \
249*cdf0e10cSrcweir	$(ZIP1DIR)$/bitmaps$/extension_32_h.png
250*cdf0e10cSrcweir
251*cdf0e10cSrcweirCOMPONENT_MANIFEST= 							\
252*cdf0e10cSrcweir	$(ZIP1DIR)$/META-INF$/manifest.xml
253*cdf0e10cSrcweir
254*cdf0e10cSrcweirCOMPONENT_LIBRARY= 								\
255*cdf0e10cSrcweir	$(ZIP1DIR)$/$(TARGET).uno$(DLLPOST)
256*cdf0e10cSrcweir
257*cdf0e10cSrcweirPLATFORMID:=$(RTL_OS:l)_$(RTL_ARCH:l)
258*cdf0e10cSrcweir
259*cdf0e10cSrcweirCOMPONENT_HELP= 								\
260*cdf0e10cSrcweir	$(ZIP1DIR)$/help/component.txt				\
261*cdf0e10cSrcweir	$(foreach,l,$(alllangiso) $(ZIP1DIR)$/help$/$l$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp)
262*cdf0e10cSrcweir
263*cdf0e10cSrcweirZIP1DEPS=					\
264*cdf0e10cSrcweir	$(PACKLICS) 			\
265*cdf0e10cSrcweir	$(DESCRIPTION)			\
266*cdf0e10cSrcweir	$(COMPONENT_MANIFEST)	\
267*cdf0e10cSrcweir	$(COMPONENT_FILES)		\
268*cdf0e10cSrcweir	$(COMPONENT_BITMAPS)	\
269*cdf0e10cSrcweir	$(COMPONENT_IMAGES)    	\
270*cdf0e10cSrcweir	$(COMPONENT_LIBRARY)	\
271*cdf0e10cSrcweir	$(COMPONENT_HELP)
272*cdf0e10cSrcweir
273*cdf0e10cSrcweir#	$(COMPONENT_MERGED_XCU) \
274*cdf0e10cSrcweir
275*cdf0e10cSrcweir
276*cdf0e10cSrcweirLINKNAME:=help
277*cdf0e10cSrcweirXHPLINKSRC:=$(ZIP1DIR)/help
278*cdf0e10cSrcweir
279*cdf0e10cSrcweirmy_XHPFILES= \
280*cdf0e10cSrcweir    presenter.xhp
281*cdf0e10cSrcweir
282*cdf0e10cSrcweirLINKLINKFILES= \
283*cdf0e10cSrcweir    $(PACKAGE)/{$(my_XHPFILES)}
284*cdf0e10cSrcweir
285*cdf0e10cSrcweir# --- Targets ----------------------------------
286*cdf0e10cSrcweir.ENDIF # L10N_framework
287*cdf0e10cSrcweir
288*cdf0e10cSrcweir.INCLUDE : target.mk
289*cdf0e10cSrcweir.INCLUDE : extension_helplink.mk
290*cdf0e10cSrcweir
291*cdf0e10cSrcweir.IF "$(L10N_framework)"==""
292*cdf0e10cSrcweir$(SLO)$/PresenterComponent.obj : $(INCCOM)$/PresenterExtensionIdentifier.hxx
293*cdf0e10cSrcweir
294*cdf0e10cSrcweir$(INCCOM)$/PresenterExtensionIdentifier.hxx : PresenterExtensionIdentifier.txx
295*cdf0e10cSrcweir	$(TYPE) $< | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@
296*cdf0e10cSrcweir
297*cdf0e10cSrcweir$(COMPONENT_MANIFEST) : $$(@:f)
298*cdf0e10cSrcweir	@-$(MKDIRHIER) $(@:d)
299*cdf0e10cSrcweir    +$(TYPE) $< | $(SED) "s/SHARED_EXTENSION/$(DLLPOST)/" > $@
300*cdf0e10cSrcweir
301*cdf0e10cSrcweir$(ZIP1DIR)$/help$/component.txt : help$/$$(@:f)
302*cdf0e10cSrcweir	@@-$(MKDIRHIER) $(@:d)
303*cdf0e10cSrcweir    $(COPY) $< $@
304*cdf0e10cSrcweir
305*cdf0e10cSrcweir$(ZIP1DIR)/help/%/com.sun.PresenterScreen-$(PLATFORMID)/presenter.xhp : $(COMMONMISC)/%/com.sun.PresenterScreen/presenter.xhp
306*cdf0e10cSrcweir	@echo creating $@
307*cdf0e10cSrcweir	@-$(MKDIRHIER) $(@:d)
308*cdf0e10cSrcweir	$(TYPE) $< | sed "s/PLATFORMID/$(PLATFORMID)/" | sed 's/@PRESENTEREXTENSIONPRODUCTNAME@/Presenter Console/g' > $@
309*cdf0e10cSrcweir
310*cdf0e10cSrcweir.IF "$(ZIP1TARGETN)"!=""
311*cdf0e10cSrcweir$(ZIP1TARGETN) : $(HELPLINKALLTARGETS)
312*cdf0e10cSrcweir
313*cdf0e10cSrcweir.ENDIF          # "$(ZIP1TARGETN)"!=""
314*cdf0e10cSrcweir
315*cdf0e10cSrcweir$(COMPONENT_BITMAPS) : bitmaps$/$$(@:f)
316*cdf0e10cSrcweir	@-$(MKDIRHIER) $(@:d)
317*cdf0e10cSrcweir    +$(COPY) $< $@
318*cdf0e10cSrcweir
319*cdf0e10cSrcweir$(COMPONENT_IMAGES) : $(SOLARSRC)$/$(RSCDEFIMG)$/desktop$/res$/$$(@:f)
320*cdf0e10cSrcweir	@@-$(MKDIRHIER) $(@:d)
321*cdf0e10cSrcweir    $(COPY) $< $@
322*cdf0e10cSrcweir
323*cdf0e10cSrcweir$(COMPONENT_LIBRARY) : $(DLLDEST)$/$$(@:f)
324*cdf0e10cSrcweir	@-$(MKDIRHIER) $(@:d)
325*cdf0e10cSrcweir    +$(COPY) $< $@
326*cdf0e10cSrcweir.IF "$(OS)$(CPU)"=="WNTI"
327*cdf0e10cSrcweir .IF "$(COM)"=="GCC"
328*cdf0e10cSrcweir    $(GNUCOPY) $(SOLARBINDIR)$/mingwm10.dll $(ZIP1DIR)
329*cdf0e10cSrcweir .ELSE
330*cdf0e10cSrcweir	.IF "$(PACKMS)"!=""
331*cdf0e10cSrcweir		.IF "$(CCNUMVER)" <= "001399999999"
332*cdf0e10cSrcweir			$(GNUCOPY) $(PACKMS)$/msvcr71.dll $(ZIP1DIR)
333*cdf0e10cSrcweir			$(GNUCOPY) $(PACKMS)$/msvcp71.dll $(ZIP1DIR)
334*cdf0e10cSrcweir		.ELSE
335*cdf0e10cSrcweir			.IF "$(CCNUMVER)" <= "001499999999"
336*cdf0e10cSrcweir				$(GNUCOPY) $(PACKMS)$/msvcr80.dll $(ZIP1DIR)
337*cdf0e10cSrcweir				$(GNUCOPY) $(PACKMS)$/msvcp80.dll $(ZIP1DIR)
338*cdf0e10cSrcweir		    	$(GNUCOPY) $(PACKMS)$/msvcm80.dll $(ZIP1DIR)
339*cdf0e10cSrcweir				$(GNUCOPY) $(PACKMS)$/Microsoft.VC80.CRT.manifest $(ZIP1DIR)
340*cdf0e10cSrcweir			.ELSE
341*cdf0e10cSrcweir				$(GNUCOPY) $(PACKMS)$/msvcr90.dll $(ZIP1DIR)
342*cdf0e10cSrcweir				$(GNUCOPY) $(PACKMS)$/msvcp90.dll $(ZIP1DIR)
343*cdf0e10cSrcweir		    	$(GNUCOPY) $(PACKMS)$/msvcm90.dll $(ZIP1DIR)
344*cdf0e10cSrcweir			    $(GNUCOPY) $(PACKMS)$/Microsoft.VC90.CRT.manifest $(ZIP1DIR)
345*cdf0e10cSrcweir			.ENDIF
346*cdf0e10cSrcweir	    .ENDIF
347*cdf0e10cSrcweir	.ELSE        # "$(PACKMS)"!=""
348*cdf0e10cSrcweir		.IF "$(CCNUMVER)" <= "001399999999"
349*cdf0e10cSrcweir			$(GNUCOPY) $(SOLARBINDIR)$/msvcr71.dll $(ZIP1DIR)
350*cdf0e10cSrcweir			$(GNUCOPY) $(SOLARBINDIR)$/msvcp71.dll $(ZIP1DIR)
351*cdf0e10cSrcweir		.ELSE
352*cdf0e10cSrcweir			.IF "$(CCNUMVER)" <= "001499999999"
353*cdf0e10cSrcweir		    	$(GNUCOPY) $(SOLARBINDIR)$/msvcr80.dll $(ZIP1DIR)
354*cdf0e10cSrcweir			    $(GNUCOPY) $(SOLARBINDIR)$/msvcp80.dll $(ZIP1DIR)
355*cdf0e10cSrcweir				$(GNUCOPY) $(SOLARBINDIR)$/msvcm80.dll $(ZIP1DIR)
356*cdf0e10cSrcweir				$(GNUCOPY) $(SOLARBINDIR)$/Microsoft.VC80.CRT.manifest $(ZIP1DIR)
357*cdf0e10cSrcweir			.ELSE
358*cdf0e10cSrcweir	    		$(GNUCOPY) $(SOLARBINDIR)$/msvcr90.dll $(ZIP1DIR)
359*cdf0e10cSrcweir	    		$(GNUCOPY) $(SOLARBINDIR)$/msvcp90.dll $(ZIP1DIR)
360*cdf0e10cSrcweir		    	$(GNUCOPY) $(SOLARBINDIR)$/msvcm90.dll $(ZIP1DIR)
361*cdf0e10cSrcweir		    	$(GNUCOPY) $(SOLARBINDIR)$/Microsoft.VC90.CRT.manifest $(ZIP1DIR)
362*cdf0e10cSrcweir			.ENDIF
363*cdf0e10cSrcweir	    .ENDIF
364*cdf0e10cSrcweir	.ENDIF         # "$(PACKMS)"!=""
365*cdf0e10cSrcweir .ENDIF	#"$(COM)"=="GCC"
366*cdf0e10cSrcweir.ENDIF
367*cdf0e10cSrcweir
368*cdf0e10cSrcweir
369*cdf0e10cSrcweir.IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT"
370*cdf0e10cSrcweir$(PACKLICS) : $(SOLARBINDIR)$/osl$/license$$(@:b:s/_/./:e:s/./_/)$$(@:e).txt
371*cdf0e10cSrcweir	@@-$(MKDIRHIER) $(@:d)
372*cdf0e10cSrcweir	$(GNUCOPY) $< $@
373*cdf0e10cSrcweir.ELSE
374*cdf0e10cSrcweir$(PACKLICS) : $(SOLARBINDIR)$/osl$/LICENSE$$(@:b:s/_/./:e:s/./_/)$$(@:e)
375*cdf0e10cSrcweir	@@-$(MKDIRHIER) $(@:d)
376*cdf0e10cSrcweir	$(GNUCOPY) $< $@
377*cdf0e10cSrcweir.ENDIF
378*cdf0e10cSrcweir
379*cdf0e10cSrcweir
380*cdf0e10cSrcweir$(ZIP1DIR)/%.xcu : %.xcu
381*cdf0e10cSrcweir	@@-$(MKDIRHIER) $(@:d)
382*cdf0e10cSrcweir	$(GNUCOPY) $< $@
383*cdf0e10cSrcweir
384*cdf0e10cSrcweir$(ZIP1DIR)$/%.xcs : %.xcs
385*cdf0e10cSrcweir	@@-$(MKDIRHIER) $(@:d)
386*cdf0e10cSrcweir	$(GNUCOPY) $< $@
387*cdf0e10cSrcweir
388*cdf0e10cSrcweir# Temporary file that is used to replace some placeholders in description.xml.
389*cdf0e10cSrcweirDESCRIPTION_TMP:=$(ZIP1DIR)$/description.xml.tmp
390*cdf0e10cSrcweir
391*cdf0e10cSrcweir.INCLUDE .IGNORE : $(ZIP1DIR)_lang_track.mk
392*cdf0e10cSrcweir.IF "$(LAST_WITH_LANG)"!="$(WITH_LANG)"
393*cdf0e10cSrcweirPHONYDESC=.PHONY
394*cdf0e10cSrcweir.ENDIF			# "$(LAST_WITH_LANG)"!="$(WITH_LANG)"
395*cdf0e10cSrcweir$(DESCRIPTION) $(PHONYDESC) : $$(@:f)
396*cdf0e10cSrcweir	@-$(MKDIRHIER) $(@:d)
397*cdf0e10cSrcweir	$(PERL) $(SOLARENV)$/bin$/licinserter.pl description.xml registry/LICENSE_xxx $(DESCRIPTION_TMP)
398*cdf0e10cSrcweir	@echo LAST_WITH_LANG=$(WITH_LANG) > $(ZIP1DIR)_lang_track.mk
399*cdf0e10cSrcweir	$(TYPE) $(DESCRIPTION_TMP) | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@
400*cdf0e10cSrcweir	@@-$(RM) $(DESCRIPTION_TMP)
401*cdf0e10cSrcweir
402*cdf0e10cSrcweir
403*cdf0e10cSrcweir.ENDIF # "$(ENABLE_PRESENTER_SCREEN)" != "NO"
404*cdf0e10cSrcweir.ELSE
405*cdf0e10cSrcweirivo:
406*cdf0e10cSrcweir	$(ECHO)
407*cdf0e10cSrcweir.ENDIF # L10N_framework
408*cdf0e10cSrcweir
409