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