1*7871dc3eSAndrew Rist#************************************************************** 2*7871dc3eSAndrew Rist# 3*7871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*7871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 5*7871dc3eSAndrew Rist# distributed with this work for additional information 6*7871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*7871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 8*7871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 9*7871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 10*7871dc3eSAndrew Rist# 11*7871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12*7871dc3eSAndrew Rist# 13*7871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 14*7871dc3eSAndrew Rist# software distributed under the License is distributed on an 15*7871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*7871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 17*7871dc3eSAndrew Rist# specific language governing permissions and limitations 18*7871dc3eSAndrew Rist# under the License. 19*7871dc3eSAndrew Rist# 20*7871dc3eSAndrew Rist#************************************************************** 21*7871dc3eSAndrew Rist 22*7871dc3eSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirPRJ=..$/.. 25cdf0e10cSrcweirPRJNAME=sdext 26cdf0e10cSrcweirTARGET=SunPresentationMinimizer 27cdf0e10cSrcweirGEN_HID=FALSE 28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE 29cdf0e10cSrcweir 30cdf0e10cSrcweir# --- Settings ---------------------------------- 31cdf0e10cSrcweir.INCLUDE : settings.mk 32cdf0e10cSrcweir.IF "$(L10N_framework)"=="" 33cdf0e10cSrcweir.INCLUDE : $(PRJ)$/source$/minimizer$/minimizer.pmk 34cdf0e10cSrcweir.INCLUDE : $(PRJ)$/util$/makefile.pmk 35cdf0e10cSrcweir 36cdf0e10cSrcweir# set in minimizer.pmk 37cdf0e10cSrcweir#EXTENSIONNAME:=PresentationMinimizer 38cdf0e10cSrcweirEXTENSION_ZIPNAME:=presentation-minimizer 39cdf0e10cSrcweir 40cdf0e10cSrcweir.IF "$(ENABLE_MINIMIZER)" != "YES" 41cdf0e10cSrcweir@all: 42cdf0e10cSrcweir @echo "Presentation Minimizer build disabled." 43cdf0e10cSrcweir.ENDIF 44cdf0e10cSrcweir 45cdf0e10cSrcweirDLLPRE= 46cdf0e10cSrcweir 47cdf0e10cSrcweir# --- Files ------------------------------------- 48cdf0e10cSrcweir 49cdf0e10cSrcweirSLOFILES= $(SLO)$/unodialog.obj \ 50cdf0e10cSrcweir $(SLO)$/optimizerdialog.obj \ 51cdf0e10cSrcweir $(SLO)$/optimizerdialogcontrols.obj \ 52cdf0e10cSrcweir $(SLO)$/configurationaccess.obj \ 53cdf0e10cSrcweir $(SLO)$/impoptimizer.obj \ 54cdf0e10cSrcweir $(SLO)$/pppoptimizer.obj \ 55cdf0e10cSrcweir $(SLO)$/pppoptimizeruno.obj \ 56cdf0e10cSrcweir $(SLO)$/pppoptimizertoken.obj \ 57cdf0e10cSrcweir $(SLO)$/pppoptimizerdialog.obj \ 58cdf0e10cSrcweir $(SLO)$/fileopendialog.obj \ 59cdf0e10cSrcweir $(SLO)$/optimizationstats.obj \ 60cdf0e10cSrcweir $(SLO)$/graphiccollector.obj \ 61cdf0e10cSrcweir $(SLO)$/pagecollector.obj \ 62cdf0e10cSrcweir $(SLO)$/informationdialog.obj 63cdf0e10cSrcweir 64cdf0e10cSrcweir# --- Library ----------------------------------- 65cdf0e10cSrcweir 66cdf0e10cSrcweirSHL1TARGET= $(TARGET).uno 67cdf0e10cSrcweir 68cdf0e10cSrcweirSHL1STDLIBS= $(CPPUHELPERLIB) \ 69cdf0e10cSrcweir $(CPPULIB) \ 70cdf0e10cSrcweir $(SALLIB) 71cdf0e10cSrcweirSHL1DEPN= 72cdf0e10cSrcweirSHL1IMPLIB= i$(SHL1TARGET) 73cdf0e10cSrcweirSHL1LIBS= $(SLB)$/$(TARGET).lib 74cdf0e10cSrcweirSHL1DEF= $(MISC)$/$(SHL1TARGET).def 75cdf0e10cSrcweirSHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map 76cdf0e10cSrcweirSHL1RPATH= OXT 77cdf0e10cSrcweirDEF1NAME= $(SHL1TARGET) 78cdf0e10cSrcweir 79cdf0e10cSrcweirCOMPONENT_XCU_REPLACEMENT=s/@MINIMIZEREXTENSIONPRODUCTNAME@/Presentation Minimizer/g 80cdf0e10cSrcweir 81cdf0e10cSrcweirCOMPONENT_MERGED_XCU= \ 82cdf0e10cSrcweir $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/Addons.xcu \ 83cdf0e10cSrcweir $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/ProtocolHandler.xcu \ 84cdf0e10cSrcweir $(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/extension$/SunPresentationMinimizer.xcu 85cdf0e10cSrcweir 86cdf0e10cSrcweirCOMPONENT_FILES= \ 87cdf0e10cSrcweir $(EXTENSIONDIR)$/registry$/schema$/org$/openoffice$/Office$/extension$/SunPresentationMinimizer.xcs 88cdf0e10cSrcweir 89cdf0e10cSrcweir# native libraries 90cdf0e10cSrcweirCOMPONENT_LIBRARIES= \ 91cdf0e10cSrcweir $(EXTENSIONDIR)$/SunPresentationMinimizer.uno$(DLLPOST) 92cdf0e10cSrcweir 93cdf0e10cSrcweir# rather freestyle or common to all? 94cdf0e10cSrcweirCOMPONENT_BITMAPS= \ 95cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/opt_16.png \ 96cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/opt_26.png \ 97cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/opt_16_h.png \ 98cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/opt_26_h.png \ 99cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/minimizepresi_80.png \ 100cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/minimizepresi_80_h.png 101cdf0e10cSrcweir 102cdf0e10cSrcweirCOMPONENT_IMAGES=\ 103cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/extension_32.png \ 104cdf0e10cSrcweir $(EXTENSIONDIR)$/bitmaps$/extension_32_h.png 105cdf0e10cSrcweir 106cdf0e10cSrcweir# rather freestyle or common to all? 107cdf0e10cSrcweirCOMPONENT_HELP= \ 108cdf0e10cSrcweir $(EXTENSIONDIR)$/help$/help_de.odt \ 109cdf0e10cSrcweir $(EXTENSIONDIR)$/help$/help_en-US.odt \ 110cdf0e10cSrcweir $(EXTENSIONDIR)$/help$/component.txt 111cdf0e10cSrcweir 112cdf0e10cSrcweir# make sure to add your custom files here 113cdf0e10cSrcweirEXTENSION_PACKDEPS=$(COMPONENT_BITMAPS) $(COMPONENT_IMAGES) $(COMPONENT_HELP) 114cdf0e10cSrcweir 115cdf0e10cSrcweirZIP2TARGET= presentation_minimizer_develop 116cdf0e10cSrcweir.IF "$(WITH_LANG)"!="" 117cdf0e10cSrcweirZIP2DIR= $(MISC)/$(EXTENSIONNAME)_in/merge 118cdf0e10cSrcweir.ELSE # "$(WITH_LANG)"!="" 119cdf0e10cSrcweirZIP2DIR= registry/data 120cdf0e10cSrcweir.ENDIF # "$(WITH_LANG)"!="" 121cdf0e10cSrcweirZIP2EXT= .zip 122cdf0e10cSrcweirZIP2FLAGS=-r 123cdf0e10cSrcweirZIP2LIST= \ 124cdf0e10cSrcweir org/openoffice/Office/Addons.xcu \ 125cdf0e10cSrcweir org/openoffice/Office/extension/*.xcu 126cdf0e10cSrcweir 127cdf0e10cSrcweir# --- Targets ---------------------------------- 128cdf0e10cSrcweir 129cdf0e10cSrcweir.INCLUDE : extension_pre.mk 130cdf0e10cSrcweir 131cdf0e10cSrcweir.ENDIF # L10N_framework 132cdf0e10cSrcweir.INCLUDE : target.mk 133cdf0e10cSrcweir 134cdf0e10cSrcweir.IF "$(L10N_framework)"=="" 135cdf0e10cSrcweir.INCLUDE : extension_post.mk 136cdf0e10cSrcweir 137cdf0e10cSrcweir$(COMPONENT_BITMAPS) : $(SOLARSRC)$/$(RSCDEFIMG)$/minimizer$/$$(@:f) 138cdf0e10cSrcweir @@-$(MKDIRHIER) $(@:d) 139cdf0e10cSrcweir $(COPY) $< $@ 140cdf0e10cSrcweir 141cdf0e10cSrcweir$(COMPONENT_IMAGES) : $(SOLARSRC)$/$(RSCDEFIMG)$/desktop$/res$/$$(@:f) 142cdf0e10cSrcweir @@-$(MKDIRHIER) $(@:d) 143cdf0e10cSrcweir $(COPY) $< $@ 144cdf0e10cSrcweir 145cdf0e10cSrcweir$(COMPONENT_HELP) : help$/$$(@:f) 146cdf0e10cSrcweir @@-$(MKDIRHIER) $(@:d) 147cdf0e10cSrcweir $(COPY) $< $@ 148cdf0e10cSrcweir 149cdf0e10cSrcweir.ENDIF # L10N_framework 150