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 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=.. 25 26PRJNAME=desktop 27TARGET=zipintro 28# --- Settings ----------------------------------------------------------- 29 30.INCLUDE : settings.mk 31 32DEFAULT_FLAVOURS=dev dev_nologo nologo intro 33 34ZIP1LIST= \ 35 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/dev$/introabout$/intro.png $(INTRO_BITMAPS)) \ 36 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS)) 37ZIP2LIST= \ 38 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/dev_nologo$/introabout$/intro.png $(INTRO_BITMAPS)) \ 39 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS)) 40ZIP3LIST= \ 41 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/nologo$/introabout$/intro.png $(INTRO_BITMAPS)) \ 42 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS)) 43ZIP4LIST= \ 44 $(null,$(INTRO_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/intro.png $(INTRO_BITMAPS)) \ 45 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS)) 46 47ZIP1TARGET=dev_intro 48ZIP1DEPS=$(ZIP1LIST) 49 50ZIP2TARGET=dev_nologo_intro 51ZIP2DEPS=$(ZIP2LIST) 52 53ZIP3TARGET=nologo_intro 54ZIP3DEPS=$(ZIP3LIST) 55 56ZIP4TARGET=intro_intro 57ZIP4DEPS=$(ZIP4LIST) 58 59.INCLUDE : target.mk 60 61ALLTAR : $(foreach,i,$(DEFAULT_FLAVOURS) $(COMMONBIN)$/$i$/intro.zip) 62 63# now duplicate for deliver... 64# Because of issue 78837 we cannot use a % rule here (Commented out below) 65# but have to write individual rules. 66#$(COMMONBIN)$/%$/intro.zip : $(COMMONBIN)$/%_intro.zip 67 68$(COMMONBIN)$/dev$/intro.zip : $(COMMONBIN)$/dev_intro.zip 69 @@-$(MKDIR) $(@:d) 70 @$(COPY) $< $@ 71 72$(COMMONBIN)$/dev_nologo$/intro.zip : $(COMMONBIN)$/dev_nologo_intro.zip 73 @@-$(MKDIR) $(@:d) 74 @$(COPY) $< $@ 75 76$(COMMONBIN)$/nologo$/intro.zip : $(COMMONBIN)$/nologo_intro.zip 77 @@-$(MKDIR) $(@:d) 78 @$(COPY) $< $@ 79 80$(COMMONBIN)$/intro$/intro.zip : $(COMMONBIN)$/intro_intro.zip 81 @@-$(MKDIR) $(@:d) 82 @$(COPY) $< $@ 83 84$(MISC)$/%.bmp : $(SOLARSRC)$/%.bmp 85 @@-$(MKDIRHIER) $(@:d) 86 $(COPY) $< $@ 87 88$(MISC)$/%.png : $(SOLARSRC)$/%.png 89 @@-$(MKDIRHIER) $(@:d) 90 $(COPY) $< $@ 91