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)) \ 37 $(MISC)$/$(RSCDEFIMG)$/introabout$/logo.png 38ZIP2LIST= \ 39 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/dev_nologo$/introabout$/intro.png $(INTRO_BITMAPS)) \ 40 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS)) \ 41 $(MISC)$/$(RSCDEFIMG)$/introabout$/logo.png 42ZIP3LIST= \ 43 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/nologo$/introabout$/intro.png $(INTRO_BITMAPS)) \ 44 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS)) \ 45 $(MISC)$/$(RSCDEFIMG)$/introabout$/logo.png 46ZIP4LIST= \ 47 $(null,$(INTRO_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/intro.png $(INTRO_BITMAPS)) \ 48 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS)) \ 49 $(MISC)$/$(RSCDEFIMG)$/introabout$/logo.png 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