1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24 25PRJ=..$/.. 26 27PRJNAME=extensions 28TARGET=oooimprovement 29ENABLE_EXCEPTIONS=TRUE 30 31PACKAGE=org.openoffice.Office 32ABSXCSROOT=$(SOLARXMLDIR) 33XCSROOT=.. 34DTDDIR=$(ABSXCSROOT) 35XSLDIR=$(ABSXCSROOT)$/processing 36PROCESSOUT=$(MISC)$/$(TARGET) 37PROCESSORDIR=$(SOLARBINDIR) 38 39# --- Settings ----------------------------------------------------- 40 41.INCLUDE : settings.mk 42 43# --- Files -------------------------------------------------------- 44 45SLOFILES= \ 46 $(SLO)$/myconfigurationhelper.obj \ 47 $(SLO)$/config.obj \ 48 $(SLO)$/corecontroller.obj \ 49 $(SLO)$/errormail.obj \ 50 $(SLO)$/invite_job.obj \ 51 $(SLO)$/logpacker.obj \ 52 $(SLO)$/logstorage.obj \ 53 $(SLO)$/onlogrotate_job.obj \ 54 $(SLO)$/oooimprovement_exports.obj \ 55 $(SLO)$/soaprequest.obj \ 56 $(SLO)$/soapsender.obj \ 57 58SHL1STDLIBS= \ 59 $(CPPUHELPERLIB) \ 60 $(CPPULIB) \ 61 $(SALLIB) \ 62 $(UNOTOOLSLIB) \ 63 64SHL1TARGET= $(TARGET)$(DLLPOSTFIX) 65.IF "$(GUI)"=="OS2" 66SHL1TARGET= oooimp$(DLLPOSTFIX) 67.ENDIF 68 69SHL1LIBS= $(SLB)$/$(TARGET).lib 70SHL1DEF= $(MISC)$/$(SHL1TARGET).def 71DEF1NAME= $(SHL1TARGET) 72SHL1VERSIONMAP=$(SOLARENV)/src/component.map 73 74PACKAGEDIR=$(subst,.,$/ $(PACKAGE)) 75SPOOLDIR=$(MISC)$/registry$/spool 76 77XCUFILES= \ 78 Jobs.xcu \ 79 Logging.xcu 80 81MYXCUFILES= \ 82 $(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-oooimprovement.xcu \ 83 $(SPOOLDIR)$/$(PACKAGEDIR)$/Logging$/Logging-oooimprovement.xcu 84 85 86# --- Targets --- 87 88.INCLUDE : target.mk 89 90ALLTAR : $(MYXCUFILES) 91 92XCU_SOURCEDIR:=. 93 94$(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-oooimprovement.xcu : $(XCU_SOURCEDIR)$/Jobs.xcu 95 @-$(MKDIRHIER) $(@:d) 96 @$(COPY) $< $@ 97 98$(SPOOLDIR)$/$(PACKAGEDIR)$/Logging$/Logging-oooimprovement.xcu : $(XCU_SOURCEDIR)$/Logging.xcu 99 @-$(MKDIRHIER) $(@:d) 100 @$(COPY) $< $@ 101 102ALLTAR : $(MISC)/oooimprovement.component 103 104$(MISC)/oooimprovement.component .ERRREMOVE : \ 105 $(SOLARENV)/bin/createcomponent.xslt oooimprovement.component 106 $(XSLTPROC) --nonet --stringparam uri \ 107 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 108 $(SOLARENV)/bin/createcomponent.xslt oooimprovement.component 109