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 .IF
"$(L10N_framework)"==""
41 .INCLUDE
: $(PRJ
)$/source
$/minimizer
$/minimizer.pmk
42 .INCLUDE
: $(PRJ
)$/util
$/makefile.pmk
44 # set in minimizer.pmk
45 #EXTENSIONNAME:=SunPresentationMinimizer
46 EXTENSION_ZIPNAME
:=sun-presentation-minimizer
48 .IF
"$(ENABLE_MINIMIZER)" != "YES"
50 @echo
"Presentation Minimizer build disabled."
55 # --- Files -------------------------------------
57 SLOFILES
= $(SLO
)$/unodialog.obj \
58 $(SLO
)$/optimizerdialog.obj \
59 $(SLO
)$/optimizerdialogcontrols.obj \
60 $(SLO
)$/configurationaccess.obj \
61 $(SLO
)$/impoptimizer.obj \
62 $(SLO
)$/pppoptimizer.obj \
63 $(SLO
)$/pppoptimizeruno.obj \
64 $(SLO
)$/pppoptimizertoken.obj \
65 $(SLO
)$/pppoptimizerdialog.obj \
66 $(SLO
)$/fileopendialog.obj \
67 $(SLO
)$/optimizationstats.obj \
68 $(SLO
)$/aboutdialog.obj \
69 $(SLO
)$/graphiccollector.obj \
70 $(SLO
)$/pagecollector.obj \
71 $(SLO
)$/informationdialog.obj
73 # --- Library -----------------------------------
75 SHL1TARGET
= $(TARGET
).uno
77 SHL1STDLIBS
= $(CPPUHELPERLIB
) \
81 SHL1IMPLIB
= i
$(SHL1TARGET
)
82 SHL1LIBS
= $(SLB
)$/$(TARGET
).lib
83 SHL1DEF
= $(MISC
)$/$(SHL1TARGET
).def
84 SHL1VERSIONMAP
= exports.map
86 DEF1NAME
= $(SHL1TARGET
)
88 COMPONENT_MERGED_XCU
= \
89 $(EXTENSIONDIR
)$/registry
$/data
$/org
$/openoffice
$/Office
$/Addons.xcu \
90 $(EXTENSIONDIR
)$/registry
$/data
$/org
$/openoffice
$/Office
$/extension
$/SunPresentationMinimizer.xcu \
91 $(EXTENSIONDIR
)$/registry
$/data
$/org
$/openoffice
$/Office
$/UI
$/ImpressWindowState.xcu
94 $(EXTENSIONDIR
)$/registry
$/data
$/org
$/openoffice
$/Office
$/ProtocolHandler.xcu
97 $(EXTENSIONDIR
)$/registry
$/schema
$/org
$/openoffice
$/Office
$/extension
$/SunPresentationMinimizer.xcs
100 COMPONENT_LIBRARIES
= \
101 $(EXTENSIONDIR
)$/SunPresentationMinimizer.uno
$(DLLPOST
)
103 # rather freestyle or common to all?
105 $(EXTENSIONDIR
)$/bitmaps
$/aboutlogo.png \
106 $(EXTENSIONDIR
)$/bitmaps
$/opt_16.png \
107 $(EXTENSIONDIR
)$/bitmaps
$/opt_26.png \
108 $(EXTENSIONDIR
)$/bitmaps
$/opt_16_h.png \
109 $(EXTENSIONDIR
)$/bitmaps
$/opt_26_h.png \
110 $(EXTENSIONDIR
)$/bitmaps
$/minimizepresi_80.png \
111 $(EXTENSIONDIR
)$/bitmaps
$/minimizepresi_80_h.png
113 # rather freestyle or common to all?
115 $(EXTENSIONDIR
)$/help
$/help_de.odt \
116 $(EXTENSIONDIR
)$/help
$/help_en-US.odt \
117 $(EXTENSIONDIR
)$/help
$/component.txt
119 # make sure to add your custom files here
120 EXTENSION_PACKDEPS
=$(COMPONENT_BITMAPS
) $(COMPONENT_HELP
)
122 # --- Targets ----------------------------------
124 .INCLUDE
: extension_pre.mk
126 .ENDIF
# L10N_framework
129 .IF
"$(L10N_framework)"==""
130 .INCLUDE
: extension_post.mk
132 $(COMPONENT_BITMAPS
) : $(SOLARSRC
)$/$(RSCDEFIMG
)$/minimizer
$/$$(@
:f
)
133 @@
-$(MKDIRHIER
) $(@
:d
)
136 $(COMPONENT_HELP
) : help
$/$$(@
:f
)
137 @@
-$(MKDIRHIER
) $(@
:d
)
140 .ENDIF
# L10N_framework