makefile.mk (7871dc3e) makefile.mk (77f0f650)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 108 unchanged lines hidden (view full) ---

117ZIP1TARGET= presenter-screen
118ZIP1DIR= $(MISC)$/$(TARGET)
119ZIP1EXT= .oxt
120ZIP1FLAGS=-r
121ZIP1LIST= *
122
123DESCRIPTION:=$(ZIP1DIR)$/description.xml
124
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 108 unchanged lines hidden (view full) ---

117ZIP1TARGET= presenter-screen
118ZIP1DIR= $(MISC)$/$(TARGET)
119ZIP1EXT= .oxt
120ZIP1FLAGS=-r
121ZIP1LIST= *
122
123DESCRIPTION:=$(ZIP1DIR)$/description.xml
124
125.IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT"
126PACKLICS:=$(foreach,i,$(alllangiso) $(ZIP1DIR)$/registry$/license_$i)
127.ELSE
128PACKLICS:=$(foreach,i,$(alllangiso) $(ZIP1DIR)$/registry$/LICENSE_$i)
129.ENDIF
125PACKLICS:=$(ZIP1DIR)$/registry$/LICENSE
130
131.IF "$(WITH_LANG)"==""
132FIND_XCU=registry/data
133.ELSE # "$(WITH_LANG)"==""
134FIND_XCU=$(MISC)$/$(EXTNAME)_in$/merge
135.ENDIF # "$(WITH_LANG)"==""
136
137COMPONENT_FILES= \

--- 149 unchanged lines hidden (view full) ---

287.IF "$(L10N_framework)"==""
288$(SLO)$/PresenterComponent.obj : $(INCCOM)$/PresenterExtensionIdentifier.hxx
289
290$(INCCOM)$/PresenterExtensionIdentifier.hxx : PresenterExtensionIdentifier.txx
291 $(TYPE) $< | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@
292
293$(COMPONENT_MANIFEST) : $$(@:f)
294 @-$(MKDIRHIER) $(@:d)
126
127.IF "$(WITH_LANG)"==""
128FIND_XCU=registry/data
129.ELSE # "$(WITH_LANG)"==""
130FIND_XCU=$(MISC)$/$(EXTNAME)_in$/merge
131.ENDIF # "$(WITH_LANG)"==""
132
133COMPONENT_FILES= \

--- 149 unchanged lines hidden (view full) ---

283.IF "$(L10N_framework)"==""
284$(SLO)$/PresenterComponent.obj : $(INCCOM)$/PresenterExtensionIdentifier.hxx
285
286$(INCCOM)$/PresenterExtensionIdentifier.hxx : PresenterExtensionIdentifier.txx
287 $(TYPE) $< | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@
288
289$(COMPONENT_MANIFEST) : $$(@:f)
290 @-$(MKDIRHIER) $(@:d)
295 +$(TYPE) $< | $(SED) "s/SHARED_EXTENSION/$(DLLPOST)/" > $@
291 +$(TYPE) $< | $(SED) "s/SHARED_EXTENSION/$(DLLPOST)/" > $@
296
297$(ZIP1DIR)$/help$/component.txt : help$/$$(@:f)
298 @@-$(MKDIRHIER) $(@:d)
292
293$(ZIP1DIR)$/help$/component.txt : help$/$$(@:f)
294 @@-$(MKDIRHIER) $(@:d)
299 $(COPY) $< $@
295 $(COPY) $< $@
300
301$(ZIP1DIR)/help/%/com.sun.PresenterScreen-$(PLATFORMID)/presenter.xhp : $(COMMONMISC)/%/com.sun.PresenterScreen/presenter.xhp
302 @echo creating $@
303 @-$(MKDIRHIER) $(@:d)
304 $(TYPE) $< | sed "s/PLATFORMID/$(PLATFORMID)/" | sed 's/@PRESENTEREXTENSIONPRODUCTNAME@/Presenter Console/g' > $@
305
306.IF "$(ZIP1TARGETN)"!=""
307$(ZIP1TARGETN) : $(HELPLINKALLTARGETS)
308
309.ENDIF # "$(ZIP1TARGETN)"!=""
310
311$(COMPONENT_BITMAPS) : bitmaps$/$$(@:f)
312 @-$(MKDIRHIER) $(@:d)
296
297$(ZIP1DIR)/help/%/com.sun.PresenterScreen-$(PLATFORMID)/presenter.xhp : $(COMMONMISC)/%/com.sun.PresenterScreen/presenter.xhp
298 @echo creating $@
299 @-$(MKDIRHIER) $(@:d)
300 $(TYPE) $< | sed "s/PLATFORMID/$(PLATFORMID)/" | sed 's/@PRESENTEREXTENSIONPRODUCTNAME@/Presenter Console/g' > $@
301
302.IF "$(ZIP1TARGETN)"!=""
303$(ZIP1TARGETN) : $(HELPLINKALLTARGETS)
304
305.ENDIF # "$(ZIP1TARGETN)"!=""
306
307$(COMPONENT_BITMAPS) : bitmaps$/$$(@:f)
308 @-$(MKDIRHIER) $(@:d)
313 +$(COPY) $< $@
309 +$(COPY) $< $@
314
315$(COMPONENT_IMAGES) : $(SOLARSRC)$/$(RSCDEFIMG)$/desktop$/res$/$$(@:f)
316 @@-$(MKDIRHIER) $(@:d)
310
311$(COMPONENT_IMAGES) : $(SOLARSRC)$/$(RSCDEFIMG)$/desktop$/res$/$$(@:f)
312 @@-$(MKDIRHIER) $(@:d)
317 $(COPY) $< $@
313 $(COPY) $< $@
318
319$(COMPONENT_LIBRARY) : $(DLLDEST)$/$$(@:f)
320 @-$(MKDIRHIER) $(@:d)
314
315$(COMPONENT_LIBRARY) : $(DLLDEST)$/$$(@:f)
316 @-$(MKDIRHIER) $(@:d)
321 +$(COPY) $< $@
317 +$(COPY) $< $@
322.IF "$(OS)$(CPU)"=="WNTI"
323 .IF "$(COM)"=="GCC"
324 $(GNUCOPY) $(SOLARBINDIR)$/mingwm10.dll $(ZIP1DIR)
325 .ELSE
326 .IF "$(PACKMS)"!=""
327 .IF "$(CCNUMVER)" <= "001399999999"
328 $(GNUCOPY) $(PACKMS)$/msvcr71.dll $(ZIP1DIR)
329 $(GNUCOPY) $(PACKMS)$/msvcp71.dll $(ZIP1DIR)

--- 27 unchanged lines hidden (view full) ---

357 $(GNUCOPY) $(SOLARBINDIR)$/Microsoft.VC90.CRT.manifest $(ZIP1DIR)
358 .ENDIF
359 .ENDIF
360 .ENDIF # "$(PACKMS)"!=""
361 .ENDIF #"$(COM)"=="GCC"
362.ENDIF
363
364
318.IF "$(OS)$(CPU)"=="WNTI"
319 .IF "$(COM)"=="GCC"
320 $(GNUCOPY) $(SOLARBINDIR)$/mingwm10.dll $(ZIP1DIR)
321 .ELSE
322 .IF "$(PACKMS)"!=""
323 .IF "$(CCNUMVER)" <= "001399999999"
324 $(GNUCOPY) $(PACKMS)$/msvcr71.dll $(ZIP1DIR)
325 $(GNUCOPY) $(PACKMS)$/msvcp71.dll $(ZIP1DIR)

--- 27 unchanged lines hidden (view full) ---

353 $(GNUCOPY) $(SOLARBINDIR)$/Microsoft.VC90.CRT.manifest $(ZIP1DIR)
354 .ENDIF
355 .ENDIF
356 .ENDIF # "$(PACKMS)"!=""
357 .ENDIF #"$(COM)"=="GCC"
358.ENDIF
359
360
365.IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT"
366$(PACKLICS) : $(SOLARBINDIR)$/osl$/license$$(@:b:s/_/./:e:s/./_/)$$(@:e).txt
361$(DESCRIPTION) : description.xml
367 @@-$(MKDIRHIER) $(@:d)
368 $(GNUCOPY) $< $@
362 @@-$(MKDIRHIER) $(@:d)
363 $(GNUCOPY) $< $@
369.ELSE
370$(PACKLICS) : $(SOLARBINDIR)$/osl$/LICENSE$$(@:b:s/_/./:e:s/./_/)$$(@:e)
364
365$(PACKLICS) : $(SOLARBINDIR)$/osl$/LICENSE_ALv2
371 @@-$(MKDIRHIER) $(@:d)
372 $(GNUCOPY) $< $@
366 @@-$(MKDIRHIER) $(@:d)
367 $(GNUCOPY) $< $@
373.ENDIF
374
368
375
376$(ZIP1DIR)/%.xcu : %.xcu
377 @@-$(MKDIRHIER) $(@:d)
378 $(GNUCOPY) $< $@
379
380$(ZIP1DIR)$/%.xcs : %.xcs
381 @@-$(MKDIRHIER) $(@:d)
382 $(GNUCOPY) $< $@
383
369$(ZIP1DIR)/%.xcu : %.xcu
370 @@-$(MKDIRHIER) $(@:d)
371 $(GNUCOPY) $< $@
372
373$(ZIP1DIR)$/%.xcs : %.xcs
374 @@-$(MKDIRHIER) $(@:d)
375 $(GNUCOPY) $< $@
376
384# Temporary file that is used to replace some placeholders in description.xml.
385DESCRIPTION_TMP:=$(ZIP1DIR)$/description.xml.tmp
386
387.INCLUDE .IGNORE : $(ZIP1DIR)_lang_track.mk
388.IF "$(LAST_WITH_LANG)"!="$(WITH_LANG)"
389PHONYDESC=.PHONY
390.ENDIF # "$(LAST_WITH_LANG)"!="$(WITH_LANG)"
391$(DESCRIPTION) $(PHONYDESC) : $$(@:f)
392 @-$(MKDIRHIER) $(@:d)
393 $(PERL) $(SOLARENV)$/bin$/licinserter.pl description.xml registry/LICENSE_xxx $(DESCRIPTION_TMP)
394 @echo LAST_WITH_LANG=$(WITH_LANG) > $(ZIP1DIR)_lang_track.mk
395 $(TYPE) $(DESCRIPTION_TMP) | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@
396 @@-$(RM) $(DESCRIPTION_TMP)
397
398
399.ENDIF # "$(ENABLE_PRESENTER_SCREEN)" != "NO"
400.ELSE
401ivo:
402 $(ECHO)
403.ENDIF # L10N_framework
404
377.ENDIF # "$(ENABLE_PRESENTER_SCREEN)" != "NO"
378.ELSE
379ivo:
380 $(ECHO)
381.ENDIF # L10N_framework
382