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#************************************************************** 21PRJ=.. 22PRJNAME=writerfilter 23.IF "$(GUI)" == "OS2" 24TARGET=wfilt 25.ELSE 26TARGET=writerfilter 27.ENDIF 28ENABLE_EXCEPTIONS=TRUE 29 30# --- Settings ----------------------------------------------------- 31 32.INCLUDE : settings.mk 33 34CDEFS+=-DWRITERFILTER_DLLIMPLEMENTATION 35 36# --- Files -------------------------------------------------------- 37 38LIB1TARGET=$(SLB)$/$(TARGET).lib 39LIB1FILES= \ 40 $(SLB)$/ooxml.lib \ 41 $(SLB)$/doctok.lib \ 42 $(SLB)$/resourcemodel.lib \ 43 $(SLB)$/dmapper.lib \ 44 $(SLB)$/filter.lib 45 46SHL1LIBS=$(SLB)$/$(TARGET).lib 47 48 49SHL1TARGET=$(TARGET)$(DLLPOSTFIX) 50SHL1STDLIBS=\ 51 $(I18NISOLANGLIB) \ 52 $(I18NPAPERLIB) \ 53 $(SOTLIB) \ 54 $(TOOLSLIB) \ 55 $(UNOTOOLSLIB) \ 56 $(CPPUHELPERLIB) \ 57 $(COMPHELPERLIB) \ 58 $(CPPULIB) \ 59 $(SALLIB) \ 60 $(OOXLIB) 61 62 63SHL1DEPN= 64SHL1IMPLIB= i$(SHL1TARGET) 65SHL1DEF= $(MISC)$/$(SHL1TARGET).def 66SHL1VERSIONMAP=$(SOLARENV)/src/component.map 67 68DEF1NAME=$(SHL1TARGET) 69 70 71# --- Targets ------------------------------------------------------ 72 73.INCLUDE : target.mk 74 75ALLTAR : $(MISC)/writerfilter.component 76 77$(MISC)/writerfilter.component .ERRREMOVE : \ 78 $(SOLARENV)/bin/createcomponent.xslt writerfilter.component 79 $(XSLTPROC) --nonet --stringparam uri \ 80 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 81 $(SOLARENV)/bin/createcomponent.xslt writerfilter.component 82