1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28PRJ=.. 29 30PRJNAME=desktop 31TARGET=zipintro 32# --- Settings ----------------------------------------------------------- 33 34.INCLUDE : settings.mk 35 36DEFAULT_FLAVOURS=dev dev_nologo nologo intro 37 38ZIP1LIST= \ 39 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/dev$/introabout$/intro.png $(INTRO_BITMAPS)) \ 40 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS)) 41ZIP2LIST= \ 42 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/dev_nologo$/introabout$/intro.png $(INTRO_BITMAPS)) \ 43 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS)) 44ZIP3LIST= \ 45 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/nologo$/introabout$/intro.png $(INTRO_BITMAPS)) \ 46 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS)) 47ZIP4LIST= \ 48 $(null,$(INTRO_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/intro.png $(INTRO_BITMAPS)) \ 49 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS)) 50 51ZIP1TARGET=dev_intro 52ZIP1DEPS=$(ZIP1LIST) 53 54ZIP2TARGET=dev_nologo_intro 55ZIP2DEPS=$(ZIP2LIST) 56 57ZIP3TARGET=nologo_intro 58ZIP3DEPS=$(ZIP3LIST) 59 60ZIP4TARGET=intro_intro 61ZIP4DEPS=$(ZIP4LIST) 62 63.INCLUDE : target.mk 64 65ALLTAR : $(foreach,i,$(DEFAULT_FLAVOURS) $(COMMONBIN)$/$i$/intro.zip) 66 67# now duplicate for deliver... 68# Because of issue 78837 we cannot use a % rule here (Commented out below) 69# but have to write individual rules. 70#$(COMMONBIN)$/%$/intro.zip : $(COMMONBIN)$/%_intro.zip 71 72$(COMMONBIN)$/dev$/intro.zip : $(COMMONBIN)$/dev_intro.zip 73 @@-$(MKDIR) $(@:d) 74 @$(COPY) $< $@ 75 76$(COMMONBIN)$/dev_nologo$/intro.zip : $(COMMONBIN)$/dev_nologo_intro.zip 77 @@-$(MKDIR) $(@:d) 78 @$(COPY) $< $@ 79 80$(COMMONBIN)$/nologo$/intro.zip : $(COMMONBIN)$/nologo_intro.zip 81 @@-$(MKDIR) $(@:d) 82 @$(COPY) $< $@ 83 84$(COMMONBIN)$/intro$/intro.zip : $(COMMONBIN)$/intro_intro.zip 85 @@-$(MKDIR) $(@:d) 86 @$(COPY) $< $@ 87 88$(MISC)$/%.bmp : $(SOLARSRC)$/%.bmp 89 @@-$(MKDIRHIER) $(@:d) 90 $(COPY) $< $@ 91 92$(MISC)$/%.png : $(SOLARSRC)$/%.png 93 @@-$(MKDIRHIER) $(@:d) 94 $(COPY) $< $@ 95