1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #*************************************************************************
36 # --- Settings -----------------------------------------------------------
38 .INCLUDE
: settings.mk
40 DEFAULT_FLAVOURS
=dev dev_nologo nologo broffice dev_broffice nologo_broffice nologo_dev_broffice intro
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
))
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
))
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
))
52 $(null
,$(INTRO_BITMAPS
) $(MISC
)$/$(RSCDEFIMG
)$/introabout
$/intro.bmp
$(INTRO_BITMAPS
)) \
53 $(null
,$(ABOUT_BITMAPS
) $(MISC
)$/$(RSCDEFIMG
)$/introabout
$/about.bmp
$(ABOUT_BITMAPS
))
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
))
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
))
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
))
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
))
70 ZIP2TARGET
=dev_nologo_intro
73 ZIP3TARGET
=nologo_intro
76 ZIP4TARGET
=intro_intro
79 ZIP5TARGET
=dev_broffice_intro
82 ZIP6TARGET
=broffice_intro
85 ZIP7TARGET
=nologo_broffice_intro
88 ZIP8TARGET
=nologo_dev_broffice_intro
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
104 $(COMMONBIN
)$/dev_nologo
$/intro.zip
: $(COMMONBIN
)$/dev_nologo_intro.zip
108 $(COMMONBIN
)$/nologo
$/intro.zip
: $(COMMONBIN
)$/nologo_intro.zip
112 $(COMMONBIN
)$/broffice
$/intro.zip
: $(COMMONBIN
)$/broffice_intro.zip
116 $(COMMONBIN
)$/dev_broffice
$/intro.zip
: $(COMMONBIN
)$/dev_broffice_intro.zip
120 $(COMMONBIN
)$/nologo_broffice
$/intro.zip
: $(COMMONBIN
)$/nologo_broffice_intro.zip
124 $(COMMONBIN
)$/nologo_dev_broffice
$/intro.zip
: $(COMMONBIN
)$/nologo_dev_broffice_intro.zip
128 $(COMMONBIN
)$/intro
$/intro.zip
: $(COMMONBIN
)$/intro_intro.zip
132 $(MISC
)$/%.bmp
: $(SOLARSRC
)$/%.bmp
133 @@
-$(MKDIRHIER
) $(@
:d
)