Update ooo320-m1
[ooovba.git] / desktop / zipintro / makefile.mk
blob70e5c801b9f438dd3bb08166983a007c3883c39f
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.6 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..
34 PRJNAME=desktop
35 TARGET=zipintro
36 # --- Settings -----------------------------------------------------------
38 .INCLUDE : settings.mk
40 DEFAULT_FLAVOURS=dev dev_nologo nologo broffice dev_broffice nologo_broffice nologo_dev_broffice intro
42 ZIP1LIST= \
43 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/dev$/introabout$/intro.bmp $(INTRO_BITMAPS)) \
44 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.bmp $(ABOUT_BITMAPS))
45 ZIP2LIST= \
46 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/dev_nologo$/introabout$/intro.bmp $(INTRO_BITMAPS)) \
47 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.bmp $(ABOUT_BITMAPS))
48 ZIP3LIST= \
49 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/nologo$/introabout$/intro.bmp $(INTRO_BITMAPS)) \
50 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.bmp $(ABOUT_BITMAPS))
51 ZIP4LIST= \
52 $(null,$(INTRO_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/intro.bmp $(INTRO_BITMAPS)) \
53 $(null,$(ABOUT_BITMAPS) $(MISC)$/$(RSCDEFIMG)$/introabout$/about.bmp $(ABOUT_BITMAPS))
54 ZIP5LIST= \
55 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/dev_broffice$/introabout$/intro.bmp $(INTRO_BITMAPS)) \
56 $(null,$(ABOUT_BITMAPS) $(MISC)$/ooo_custom_images$/broffice$/introabout$/about.bmp $(ABOUT_BITMAPS))
57 ZIP6LIST= \
58 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/broffice$/introabout$/intro.bmp $(INTRO_BITMAPS)) \
59 $(null,$(ABOUT_BITMAPS) $(MISC)$/ooo_custom_images$/broffice$/introabout$/about.bmp $(ABOUT_BITMAPS))
60 ZIP7LIST= \
61 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/nologo_broffice$/introabout$/intro.bmp $(INTRO_BITMAPS)) \
62 $(null,$(ABOUT_BITMAPS) $(MISC)$/ooo_custom_images$/broffice$/introabout$/about.bmp $(ABOUT_BITMAPS))
63 ZIP8LIST= \
64 $(null,$(INTRO_BITMAPS) $(MISC)$/ooo_custom_images$/dev_nologo_broffice$/introabout$/intro.bmp $(INTRO_BITMAPS)) \
65 $(null,$(ABOUT_BITMAPS) $(MISC)$/ooo_custom_images$/broffice$/introabout$/about.bmp $(ABOUT_BITMAPS))
67 ZIP1TARGET=dev_intro
68 ZIP1DEPS=$(ZIP1LIST)
70 ZIP2TARGET=dev_nologo_intro
71 ZIP2DEPS=$(ZIP2LIST)
73 ZIP3TARGET=nologo_intro
74 ZIP3DEPS=$(ZIP3LIST)
76 ZIP4TARGET=intro_intro
77 ZIP4DEPS=$(ZIP4LIST)
79 ZIP5TARGET=dev_broffice_intro
80 ZIP5DEPS=$(ZIP5LIST)
82 ZIP6TARGET=broffice_intro
83 ZIP6DEPS=$(ZIP6LIST)
85 ZIP7TARGET=nologo_broffice_intro
86 ZIP7DEPS=$(ZIP7LIST)
88 ZIP8TARGET=nologo_dev_broffice_intro
89 ZIP8DEPS=$(ZIP8LIST)
91 .INCLUDE : target.mk
93 ALLTAR : $(foreach,i,$(DEFAULT_FLAVOURS) $(COMMONBIN)$/$i$/intro.zip)
95 # now duplicate for deliver...
96 # Because of issue 78837 we cannot use a % rule here (Commented out below)
97 # but have to write individual rules.
98 #$(COMMONBIN)$/%$/intro.zip : $(COMMONBIN)$/%_intro.zip
100 $(COMMONBIN)$/dev$/intro.zip : $(COMMONBIN)$/dev_intro.zip
101 @@-$(MKDIR) $(@:d)
102 @$(COPY) $< $@
104 $(COMMONBIN)$/dev_nologo$/intro.zip : $(COMMONBIN)$/dev_nologo_intro.zip
105 @@-$(MKDIR) $(@:d)
106 @$(COPY) $< $@
108 $(COMMONBIN)$/nologo$/intro.zip : $(COMMONBIN)$/nologo_intro.zip
109 @@-$(MKDIR) $(@:d)
110 @$(COPY) $< $@
112 $(COMMONBIN)$/broffice$/intro.zip : $(COMMONBIN)$/broffice_intro.zip
113 @@-$(MKDIR) $(@:d)
114 @$(COPY) $< $@
116 $(COMMONBIN)$/dev_broffice$/intro.zip : $(COMMONBIN)$/dev_broffice_intro.zip
117 @@-$(MKDIR) $(@:d)
118 @$(COPY) $< $@
120 $(COMMONBIN)$/nologo_broffice$/intro.zip : $(COMMONBIN)$/nologo_broffice_intro.zip
121 @@-$(MKDIR) $(@:d)
122 @$(COPY) $< $@
124 $(COMMONBIN)$/nologo_dev_broffice$/intro.zip : $(COMMONBIN)$/nologo_dev_broffice_intro.zip
125 @@-$(MKDIR) $(@:d)
126 @$(COPY) $< $@
128 $(COMMONBIN)$/intro$/intro.zip : $(COMMONBIN)$/intro_intro.zip
129 @@-$(MKDIR) $(@:d)
130 @$(COPY) $< $@
132 $(MISC)$/%.bmp : $(SOLARSRC)$/%.bmp
133 @@-$(MKDIRHIER) $(@:d)
134 $(COPY) $< $@