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 #*************************************************************************
34 TARGET
=SunPresentationMinimizer
36 ENABLE_EXCEPTIONS
=TRUE
38 # --- Settings ----------------------------------
39 .INCLUDE
: settings.mk
40 .INCLUDE
: $(PRJ
)$/source
$/minimizer
$/minimizer.pmk
41 .INCLUDE
: $(PRJ
)$/util
$/makefile.pmk
43 # set in minimizer.pmk
44 #EXTENSIONNAME:=SunPresentationMinimizer
45 EXTENSION_ZIPNAME
:=sun-presentation-minimizer
47 .IF
"$(ENABLE_MINIMIZER)" != "YES"
49 @echo
"Presentation Minimizer build disabled."
54 # --- Files -------------------------------------
56 SLOFILES
= $(SLO
)$/unodialog.obj \
57 $(SLO
)$/optimizerdialog.obj \
58 $(SLO
)$/optimizerdialogcontrols.obj \
59 $(SLO
)$/configurationaccess.obj \
60 $(SLO
)$/impoptimizer.obj \
61 $(SLO
)$/pppoptimizer.obj \
62 $(SLO
)$/pppoptimizeruno.obj \
63 $(SLO
)$/pppoptimizertoken.obj \
64 $(SLO
)$/pppoptimizerdialog.obj \
65 $(SLO
)$/fileopendialog.obj \
66 $(SLO
)$/optimizationstats.obj \
67 $(SLO
)$/aboutdialog.obj \
68 $(SLO
)$/graphiccollector.obj \
69 $(SLO
)$/pagecollector.obj \
70 $(SLO
)$/informationdialog.obj
72 # --- Library -----------------------------------
74 SHL1TARGET
= $(TARGET
).uno
76 SHL1STDLIBS
= $(CPPUHELPERLIB
) \
80 SHL1IMPLIB
= i
$(SHL1TARGET
)
81 SHL1LIBS
= $(SLB
)$/$(TARGET
).lib
82 SHL1DEF
= $(MISC
)$/$(SHL1TARGET
).def
83 SHL1VERSIONMAP
= exports.map
85 DEF1NAME
= $(SHL1TARGET
)
87 COMPONENT_MERGED_XCU
= \
88 $(EXTENSIONDIR
)$/registry
$/data
$/org
$/openoffice
$/Office
$/Addons.xcu \
89 $(EXTENSIONDIR
)$/registry
$/data
$/org
$/openoffice
$/Office
$/extension
$/SunPresentationMinimizer.xcu \
90 $(EXTENSIONDIR
)$/registry
$/data
$/org
$/openoffice
$/Office
$/UI
$/ImpressWindowState.xcu
93 $(EXTENSIONDIR
)$/registry
$/data
$/org
$/openoffice
$/Office
$/ProtocolHandler.xcu
96 $(EXTENSIONDIR
)$/registry
$/schema
$/org
$/openoffice
$/Office
$/extension
$/SunPresentationMinimizer.xcs
99 COMPONENT_LIBRARIES
= \
100 $(EXTENSIONDIR
)$/SunPresentationMinimizer.uno
$(DLLPOST
)
102 # rather freestyle or common to all?
104 $(EXTENSIONDIR
)$/bitmaps
$/aboutlogo.png \
105 $(EXTENSIONDIR
)$/bitmaps
$/opt_16.png \
106 $(EXTENSIONDIR
)$/bitmaps
$/opt_26.png \
107 $(EXTENSIONDIR
)$/bitmaps
$/opt_16_h.png \
108 $(EXTENSIONDIR
)$/bitmaps
$/opt_26_h.png \
109 $(EXTENSIONDIR
)$/bitmaps
$/minimizepresi_80.png \
110 $(EXTENSIONDIR
)$/bitmaps
$/minimizepresi_80_h.png
112 # rather freestyle or common to all?
114 $(EXTENSIONDIR
)$/help
$/help_de.odt \
115 $(EXTENSIONDIR
)$/help
$/help_en-US.odt \
116 $(EXTENSIONDIR
)$/help
$/component.txt
118 # make sure to add your custom files here
119 EXTENSION_PACKDEPS
=$(COMPONENT_BITMAPS
) $(COMPONENT_HELP
)
121 # --- Targets ----------------------------------
123 .INCLUDE
: extension_pre.mk
127 .INCLUDE
: extension_post.mk
129 $(COMPONENT_BITMAPS
) : $(SOLARSRC
)$/$(RSCDEFIMG
)$/minimizer
$/$$(@
:f
)
130 @@
-$(MKDIRHIER
) $(@
:d
)
133 $(COMPONENT_HELP
) : help
$/$$(@
:f
)
134 @@
-$(MKDIRHIER
) $(@
:d
)