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$(eval $(call \ 25 gb_Package_Package,writerfilter_generated,$(WORKDIR)/CustomTarget/writerfilter/source)) 26 27$(eval $(call \ 28 gb_Package_add_customtarget,writerfilter_generated,writerfilter/source,SRCDIR)) 29 30$(eval $(call \ 31 gb_CustomTarget_add_outdir_dependencies,writerfilter/source,\ 32 $(gb_XSLTPROCTARGET) \ 33 $(OUTDIR)/inc$(UPDMINOREXT)/oox/token/tokens.txt \ 34 $(OUTDIR)/inc$(UPDMINOREXT)/oox/token/namespaces.txt \ 35)) 36 37$(eval $(call \ 38 gb_CustomTarget_add_dependencies,writerfilter/source,\ 39 writerfilter/source/doctok/resources.xmi \ 40 writerfilter/source/doctok/resources.xsl \ 41 writerfilter/source/doctok/resourcesimpl.xsl \ 42 writerfilter/source/doctok/resourceids.xsl \ 43 writerfilter/source/doctok/sprmids.xsl \ 44 writerfilter/source/doctok/resourcetools.xsl \ 45 writerfilter/source/ooxml/model.xml \ 46 writerfilter/source/ooxml/modelpreprocess.xsl \ 47 writerfilter/source/ooxml/factorytools.xsl \ 48 writerfilter/source/ooxml/fasttokens.xsl \ 49 writerfilter/source/ooxml/namespaceids.xsl \ 50 writerfilter/source/ooxml/factory_values.xsl \ 51 writerfilter/source/ooxml/factoryimpl_values.xsl \ 52 writerfilter/source/ooxml/resourceids.xsl \ 53 writerfilter/source/ooxml/gperffasttokenhandler.xsl \ 54 writerfilter/source/ooxml/gperffasttokenhandler.xsl \ 55 writerfilter/source/ooxml/tokenxmlheader \ 56 writerfilter/source/ooxml/tokenxmlfooter \ 57 writerfilter/source/ooxml/factoryinc.xsl \ 58 writerfilter/source/ooxml/factoryimpl.xsl \ 59 writerfilter/source/ooxml/factoryimpl_ns.xsl \ 60 writerfilter/source/ooxml/factory_ns.xsl \ 61 writerfilter/source/rtftok/RTFScanner.lex \ 62 writerfilter/source/rtftok/RTFScanner.skl \ 63 writerfilter/source/doctok/sprmcodetostr.xsl \ 64 writerfilter/source/doctok/qnametostr.xsl \ 65 writerfilter/source/ooxml/qnametostr.xsl \ 66 writerfilter/source/resourcemodel/namespace_preprocess.pl \ 67 writerfilter/source/resourcemodel/qnametostrheader \ 68 writerfilter/source/resourcemodel/qnametostrfooter \ 69 writerfilter/source/resourcemodel/sprmcodetostrheader \ 70 writerfilter/source/resourcemodel/sprmcodetostrfooter \ 71)) 72 73$(eval $(call gb_Package_add_file,writerfilter_generated,inc/writerfilter/doctok/sprmids.hxx,doctok/sprmids.hxx)) 74$(eval $(call gb_Package_add_file,writerfilter_generated,inc/writerfilter/doctok/resourceids.hxx,doctok/resourceids.hxx)) 75$(eval $(call gb_Package_add_file,writerfilter_generated,inc/writerfilter/ooxml/resourceids.hxx,ooxml/resourceids.hxx)) 76 77