merged tag ooo/DEV300_m102
[LibreOffice.git] / desktop / zipintro / makefile.mk
blobfef106d1e09df7c85196914d8d486c965327143b
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
28 PRJ=..
30 PRJNAME=desktop
31 TARGET=zipintro
32 # --- Settings -----------------------------------------------------------
34 .INCLUDE : settings.mk
36 DEFAULT_FLAVOURS=dev dev_nologo nologo broffice dev_broffice nologo_broffice nologo_dev_broffice intro
38 ZIP1LIST= \
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))
41 ZIP2LIST= \
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))
44 ZIP3LIST= \
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))
47 ZIP4LIST= \
48 $(null,$(INTRO_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/intro.png $(INTRO_BITMAPS)) \
49 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.png $(ABOUT_BITMAPS))
50 ZIP5LIST= \
51 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/dev_broffice$/introabout$/intro.png $(INTRO_BITMAPS)) \
52 $(null,$(ABOUT_BITMAPS) $(MISC)$/ooo_custom_images$/broffice$/introabout$/about.png $(ABOUT_BITMAPS))
53 ZIP6LIST= \
54 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/broffice$/introabout$/intro.png $(INTRO_BITMAPS)) \
55 $(null,$(ABOUT_BITMAPS) $(MISC)$/ooo_custom_images$/broffice$/introabout$/about.png $(ABOUT_BITMAPS))
56 ZIP7LIST= \
57 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/nologo_broffice$/introabout$/intro.png $(INTRO_BITMAPS)) \
58 $(null,$(ABOUT_BITMAPS) $(MISC)$/ooo_custom_images$/broffice$/introabout$/about.png $(ABOUT_BITMAPS))
59 ZIP8LIST= \
60 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/dev_nologo_broffice$/introabout$/intro.png $(INTRO_BITMAPS)) \
61 $(null,$(ABOUT_BITMAPS) $(MISC)$/ooo_custom_images$/broffice$/introabout$/about.png $(ABOUT_BITMAPS))
63 ZIP1TARGET=dev_intro
64 ZIP1DEPS=$(ZIP1LIST)
66 ZIP2TARGET=dev_nologo_intro
67 ZIP2DEPS=$(ZIP2LIST)
69 ZIP3TARGET=nologo_intro
70 ZIP3DEPS=$(ZIP3LIST)
72 ZIP4TARGET=intro_intro
73 ZIP4DEPS=$(ZIP4LIST)
75 ZIP5TARGET=dev_broffice_intro
76 ZIP5DEPS=$(ZIP5LIST)
78 ZIP6TARGET=broffice_intro
79 ZIP6DEPS=$(ZIP6LIST)
81 ZIP7TARGET=nologo_broffice_intro
82 ZIP7DEPS=$(ZIP7LIST)
84 ZIP8TARGET=nologo_dev_broffice_intro
85 ZIP8DEPS=$(ZIP8LIST)
87 .INCLUDE : target.mk
89 ALLTAR : $(foreach,i,$(DEFAULT_FLAVOURS) $(COMMONBIN)$/$i$/intro.zip)
91 # now duplicate for deliver...
92 # Because of issue 78837 we cannot use a % rule here (Commented out below)
93 # but have to write individual rules.
94 #$(COMMONBIN)$/%$/intro.zip : $(COMMONBIN)$/%_intro.zip
96 $(COMMONBIN)$/dev$/intro.zip : $(COMMONBIN)$/dev_intro.zip
97 @@-$(MKDIR) $(@:d)
98 @$(COPY) $< $@
100 $(COMMONBIN)$/dev_nologo$/intro.zip : $(COMMONBIN)$/dev_nologo_intro.zip
101 @@-$(MKDIR) $(@:d)
102 @$(COPY) $< $@
104 $(COMMONBIN)$/nologo$/intro.zip : $(COMMONBIN)$/nologo_intro.zip
105 @@-$(MKDIR) $(@:d)
106 @$(COPY) $< $@
108 $(COMMONBIN)$/broffice$/intro.zip : $(COMMONBIN)$/broffice_intro.zip
109 @@-$(MKDIR) $(@:d)
110 @$(COPY) $< $@
112 $(COMMONBIN)$/dev_broffice$/intro.zip : $(COMMONBIN)$/dev_broffice_intro.zip
113 @@-$(MKDIR) $(@:d)
114 @$(COPY) $< $@
116 $(COMMONBIN)$/nologo_broffice$/intro.zip : $(COMMONBIN)$/nologo_broffice_intro.zip
117 @@-$(MKDIR) $(@:d)
118 @$(COPY) $< $@
120 $(COMMONBIN)$/nologo_dev_broffice$/intro.zip : $(COMMONBIN)$/nologo_dev_broffice_intro.zip
121 @@-$(MKDIR) $(@:d)
122 @$(COPY) $< $@
124 $(COMMONBIN)$/intro$/intro.zip : $(COMMONBIN)$/intro_intro.zip
125 @@-$(MKDIR) $(@:d)
126 @$(COPY) $< $@
128 $(MISC)$/%.bmp : $(SOLARSRC)$/%.bmp
129 @@-$(MKDIRHIER) $(@:d)
130 $(COPY) $< $@
132 $(MISC)$/%.png : $(SOLARSRC)$/%.png
133 @@-$(MKDIRHIER) $(@:d)
134 $(COPY) $< $@