1*cdf0e10cSrcweir#************************************************************************* 2*cdf0e10cSrcweir# 3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir# 5*cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir# 7*cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir# 9*cdf0e10cSrcweir# This file is part of OpenOffice.org. 10*cdf0e10cSrcweir# 11*cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir# only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir# 15*cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir# 21*cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir# version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir# <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir# for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir# 26*cdf0e10cSrcweir#************************************************************************* 27*cdf0e10cSrcweir 28*cdf0e10cSrcweirPRJ=..$/.. 29*cdf0e10cSrcweirPRJNAME=sdext 30*cdf0e10cSrcweirTARGET=SunPresentationMinimizer 31*cdf0e10cSrcweirGEN_HID=FALSE 32*cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir# --- Settings ---------------------------------- 35*cdf0e10cSrcweir.INCLUDE : settings.mk 36*cdf0e10cSrcweir.IF "$(L10N_framework)"=="" 37*cdf0e10cSrcweir.INCLUDE : $(PRJ)$/source$/minimizer$/minimizer.pmk 38*cdf0e10cSrcweir.INCLUDE : $(PRJ)$/util$/makefile.pmk 39*cdf0e10cSrcweir 40*cdf0e10cSrcweir# set in minimizer.pmk 41*cdf0e10cSrcweir#EXTENSIONNAME:=PresentationMinimizer 42*cdf0e10cSrcweirEXTENSION_ZIPNAME:=presentation-minimizer 43*cdf0e10cSrcweir 44*cdf0e10cSrcweir.IF "$(ENABLE_MINIMIZER)" != "YES" 45*cdf0e10cSrcweir@all: 46*cdf0e10cSrcweir @echo "Presentation Minimizer build disabled." 47*cdf0e10cSrcweir.ENDIF 48*cdf0e10cSrcweir 49*cdf0e10cSrcweirDLLPRE= 50*cdf0e10cSrcweir 51*cdf0e10cSrcweir# --- Files ------------------------------------- 52*cdf0e10cSrcweir 53*cdf0e10cSrcweirSLOFILES= $(SLO)$/unodialog.obj \ 54*cdf0e10cSrcweir $(SLO)$/optimizerdialog.obj \ 55*cdf0e10cSrcweir $(SLO)$/optimizerdialogcontrols.obj \ 56*cdf0e10cSrcweir $(SLO)$/configurationaccess.obj \ 57*cdf0e10cSrcweir $(SLO)$/impoptimizer.obj \ 58*cdf0e10cSrcweir $(SLO)$/pppoptimizer.obj \ 59*cdf0e10cSrcweir $(SLO)$/pppoptimizeruno.obj \ 60*cdf0e10cSrcweir $(SLO)$/pppoptimizertoken.obj \ 61*cdf0e10cSrcweir $(SLO)$/pppoptimizerdialog.obj \ 62*cdf0e10cSrcweir $(SLO)$/fileopendialog.obj \ 63*cdf0e10cSrcweir $(SLO)$/optimizationstats.obj \ 64*cdf0e10cSrcweir $(SLO)$/graphiccollector.obj \ 65*cdf0e10cSrcweir $(SLO)$/pagecollector.obj \ 66*cdf0e10cSrcweir $(SLO)$/informationdialog.obj 67*cdf0e10cSrcweir 68*cdf0e10cSrcweir# --- Library ----------------------------------- 69*cdf0e10cSrcweir 70*cdf0e10cSrcweirSHL1TARGET= $(TARGET).uno 71*cdf0e10cSrcweir 72*cdf0e10cSrcweirSHL1STDLIBS= $(CPPUHELPERLIB) \ 73*cdf0e10cSrcweir $(CPPULIB) \ 74*cdf0e10cSrcweir $(SALLIB) 75*cdf0e10cSrcweirSHL1DEPN= 76*cdf0e10cSrcweirSHL1IMPLIB= i$(SHL1TARGET) 77*cdf0e10cSrcweirSHL1LIBS= $(SLB)$/$(TARGET).lib 78*cdf0e10cSrcweirSHL1DEF= $(MISC)$/$(SHL1TARGET).def 79*cdf0e10cSrcweirSHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map 80*cdf0e10cSrcweirSHL1RPATH= OXT 81*cdf0e10cSrcweirDEF1NAME= $(SHL1TARGET) 82*cdf0e10cSrcweir 83*cdf0e10cSrcweirCOMPONENT_XCU_REPLACEMENT=s/@MINIMIZEREXTENSIONPRODUCTNAME@/Presentation Minimizer/g 84*cdf0e10cSrcweir 85*cdf0e10cSrcweirCOMPONENT_MERGED_XCU= \ 86*cdf0e10cSrcweir $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/Addons.xcu \ 87*cdf0e10cSrcweir $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/ProtocolHandler.xcu \ 88*cdf0e10cSrcweir $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/extension$/SunPresentationMinimizer.xcu 89*cdf0e10cSrcweir 90*cdf0e10cSrcweirCOMPONENT_FILES= \ 91*cdf0e10cSrcweir $(EXTENSIONDIR)$/registry$/schema$/org$/openoffice$/Office$/extension$/SunPresentationMinimizer.xcs 92*cdf0e10cSrcweir 93*cdf0e10cSrcweir# native libraries 94*cdf0e10cSrcweirCOMPONENT_LIBRARIES= \ 95*cdf0e10cSrcweir $(EXTENSIONDIR)$/SunPresentationMinimizer.uno$(DLLPOST) 96*cdf0e10cSrcweir 97*cdf0e10cSrcweir# rather freestyle or common to all? 98*cdf0e10cSrcweirCOMPONENT_BITMAPS= \ 99*cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/opt_16.png \ 100*cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/opt_26.png \ 101*cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/opt_16_h.png \ 102*cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/opt_26_h.png \ 103*cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/minimizepresi_80.png \ 104*cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/minimizepresi_80_h.png 105*cdf0e10cSrcweir 106*cdf0e10cSrcweirCOMPONENT_IMAGES=\ 107*cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/extension_32.png \ 108*cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/extension_32_h.png 109*cdf0e10cSrcweir 110*cdf0e10cSrcweir# rather freestyle or common to all? 111*cdf0e10cSrcweirCOMPONENT_HELP= \ 112*cdf0e10cSrcweir $(EXTENSIONDIR)$/help$/help_de.odt \ 113*cdf0e10cSrcweir $(EXTENSIONDIR)$/help$/help_en-US.odt \ 114*cdf0e10cSrcweir $(EXTENSIONDIR)$/help$/component.txt 115*cdf0e10cSrcweir 116*cdf0e10cSrcweir# make sure to add your custom files here 117*cdf0e10cSrcweirEXTENSION_PACKDEPS=$(COMPONENT_BITMAPS) $(COMPONENT_IMAGES) $(COMPONENT_HELP) 118*cdf0e10cSrcweir 119*cdf0e10cSrcweirZIP2TARGET= presentation_minimizer_develop 120*cdf0e10cSrcweir.IF "$(WITH_LANG)"!="" 121*cdf0e10cSrcweirZIP2DIR= $(MISC)/$(EXTENSIONNAME)_in/merge 122*cdf0e10cSrcweir.ELSE # "$(WITH_LANG)"!="" 123*cdf0e10cSrcweirZIP2DIR= registry/data 124*cdf0e10cSrcweir.ENDIF # "$(WITH_LANG)"!="" 125*cdf0e10cSrcweirZIP2EXT= .zip 126*cdf0e10cSrcweirZIP2FLAGS=-r 127*cdf0e10cSrcweirZIP2LIST= \ 128*cdf0e10cSrcweir org/openoffice/Office/Addons.xcu \ 129*cdf0e10cSrcweir org/openoffice/Office/extension/*.xcu 130*cdf0e10cSrcweir 131*cdf0e10cSrcweir# --- Targets ---------------------------------- 132*cdf0e10cSrcweir 133*cdf0e10cSrcweir.INCLUDE : extension_pre.mk 134*cdf0e10cSrcweir 135*cdf0e10cSrcweir.ENDIF # L10N_framework 136*cdf0e10cSrcweir.INCLUDE : target.mk 137*cdf0e10cSrcweir 138*cdf0e10cSrcweir.IF "$(L10N_framework)"=="" 139*cdf0e10cSrcweir.INCLUDE : extension_post.mk 140*cdf0e10cSrcweir 141*cdf0e10cSrcweir$(COMPONENT_BITMAPS) : $(SOLARSRC)$/$(RSCDEFIMG)$/minimizer$/$$(@:f) 142*cdf0e10cSrcweir @@-$(MKDIRHIER) $(@:d) 143*cdf0e10cSrcweir $(COPY) $< $@ 144*cdf0e10cSrcweir 145*cdf0e10cSrcweir$(COMPONENT_IMAGES) : $(SOLARSRC)$/$(RSCDEFIMG)$/desktop$/res$/$$(@:f) 146*cdf0e10cSrcweir @@-$(MKDIRHIER) $(@:d) 147*cdf0e10cSrcweir $(COPY) $< $@ 148*cdf0e10cSrcweir 149*cdf0e10cSrcweir$(COMPONENT_HELP) : help$/$$(@:f) 150*cdf0e10cSrcweir @@-$(MKDIRHIER) $(@:d) 151*cdf0e10cSrcweir $(COPY) $< $@ 152*cdf0e10cSrcweir 153*cdf0e10cSrcweir.ENDIF # L10N_framework 154