Added: incubator/ooo/branches/buildsys/main/writerfilter/source/Makefile
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/writerfilter/source/Makefile?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/writerfilter/source/Makefile (added)
+++ incubator/ooo/branches/buildsys/main/writerfilter/source/Makefile Wed Oct 
10 21:12:40 2012
@@ -0,0 +1,230 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2009 by Sun Microsystems, Inc.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+WFDIR := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
+
+include $(WFDIR)generated.mk
+include $(GBUILDDIR)/gbuild_simple.mk
+
+# doctok
+
+doctok :
+       mkdir doctok
+
+wf_SRC_doctok_Model=$(WFDIR)doctok/resources.xmi
+wf_SRC_doctok_Resources_xsl=$(WFDIR)doctok/resources.xsl
+wf_SRC_doctok_ResourcesImpl_xsl=$(WFDIR)doctok/resourcesimpl.xsl
+wf_SRC_doctok_ResourceIds_xsl=$(WFDIR)doctok/resourceids.xsl
+wf_SRC_doctok_SprmIds_xsl=$(WFDIR)doctok/sprmids.xsl
+wf_SRC_doctok_ResourceTools_xsl=$(WFDIR)doctok/resourcetools.xsl
+
+wf_GEN_doctok_SprmIds_hxx=doctok/sprmids.hxx
+wf_GEN_doctok_ResourceIds_hxx=doctok/resourceids.hxx
+wf_GEN_doctok_Resources_hxx=doctok/resources.hxx
+wf_GEN_doctok_Resources_cxx=resources.cxx
+
+$(wf_GEN_doctok_SprmIds_hxx) : doctok $(wf_SRC_doctok_SprmIds_xsl) 
$(wf_SRC_doctok_Model)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_doctok_SprmIds_xsl) $(wf_SRC_doctok_Model)) > $@
+
+$(wf_GEN_doctok_ResourceIds_hxx) : doctok $(wf_SRC_doctok_ResourceIds_xsl) 
$(wf_SRC_doctok_Model)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_doctok_ResourceIds_xsl) $(wf_SRC_doctok_Model)) > $@
+
+$(wf_GEN_doctok_Resources_hxx) : doctok $(wf_SRC_doctok_Resources_xsl) 
$(wf_SRC_doctok_Model)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_doctok_Resources_xsl) $(wf_SRC_doctok_Model)) > $@
+
+$(wf_GEN_doctok_Resources_cxx) : doctok $(wf_SRC_doctok_ResourcesImpl_xsl) 
$(wf_SRC_doctok_Model) $(wf_SRC_doctok_ResourceTools_xsl)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_doctok_ResourcesImpl_xsl) $(wf_SRC_doctok_Model)) > $@
+
+# ooxml
+
+ooxml :
+       mkdir ooxml
+
+wf_SRC_ooxml_Model=$(WFDIR)ooxml/model.xml
+wf_SRC_ooxml_Preprocess_xsl=$(WFDIR)ooxml/modelpreprocess.xsl
+wf_SRC_ooxml_FactoryTools_xsl=$(WFDIR)ooxml/factorytools.xsl
+wf_SRC_ooxml_FastTokens_xsl=$(WFDIR)ooxml/fasttokens.xsl
+wf_SRC_ooxml_NamespaceIds_xsl=$(WFDIR)ooxml/namespaceids.xsl
+wf_SRC_ooxml_FactoryValues_xsl=$(WFDIR)ooxml/factory_values.xsl
+wf_SRC_ooxml_FactoryValuesImpl_xsl=$(WFDIR)ooxml/factoryimpl_values.xsl
+wf_SRC_ooxml_ResourceIds_xsl=$(WFDIR)ooxml/resourceids.xsl
+wf_SRC_ooxml_GperfFastTokenHandler_xsl=$(WFDIR)ooxml/gperffasttokenhandler.xsl
+wf_SRC_ooxml_Analyze_model_xsl=$(WFDIR)ooxml/analyzemodel.xsl
+wf_SRC_ooxml_Status_stage1_sh=$(WFDIR)ooxml/stage1.sh
+wf_SRC_ooxml_Status_stage2_xsl=$(WFDIR)ooxml/analyzestage2.xsl
+wf_SRC_ooxml_Status_stage3_xsl=$(WFDIR)ooxml/analyzestage3.xsl
+wf_SRC_ooxml_Status_todo_xsl=$(WFDIR)ooxml/todo.xsl
+wf_SRC_ooxml_Status_efforts_xsl=$(WFDIR)ooxml/effort.xsl
+
+wf_GEN_ooxml_ResourceIds_hxx=ooxml/resourceids.hxx
+
+wf_GEN_ooxml_token_xml=token.xml
+wf_GEN_ooxml_token_tmp=token.tmp
+
+wf_GEN_ooxml_Factory_hxx=OOXMLFactory_generated.hxx
+wf_GEN_ooxml_Factory_cxx=OOXMLFactory_generated.cxx
+wf_GEN_ooxml_FastTokens_hxx=ooxml/OOXMLFastTokens.hxx
+wf_GEN_ooxml_NamespaceIds_hxx=ooxml/OOXMLnamespaceids.hxx
+wf_GEN_ooxml_FactoryValues_hxx=OOXMLFactory_values.hxx
+wf_GEN_ooxml_FactoryValues_cxx=OOXMLFactory_values.cxx
+wf_GEN_ooxml_GperfFastToken_hxx=gperffasttoken.hxx
+wf_GEN_ooxml_Model_processed=model_preprocessed.xml
+wf_GEN_ooxml_Model_analyzed=ooxml/model_analyzed.xml
+wf_GEN_ooxml_Status_stage1=ooxml/status_stage1.xml
+wf_GEN_ooxml_Status_stage2=ooxml/status_stage2.xml
+wf_GEN_ooxml_Status_stage3=ooxml/status_stage3.xml
+wf_GEN_ooxml_Status_todo=ooxml/todo.xml
+wf_GEN_ooxml_Status_efforts=ooxml/efforts.csv
+
+$(wf_GEN_ooxml_token_tmp) : $(OUTDIR)/inc$(UPDMINOREXT)/oox/token/tokens.txt
+       cat $(OUTDIR)/inc$(UPDMINOREXT)/oox/token/tokens.txt \
+       | sed "s#\(.*\)#<fasttoken>\1</fasttoken>#" > $@
+
+$(wf_GEN_ooxml_token_xml) : $(WFDIR)ooxml/tokenxmlheader 
$(wf_GEN_ooxml_token_tmp) $(WFDIR)ooxml/tokenxmlfooter
+       cat $(WFDIR)ooxml/tokenxmlheader $(wf_GEN_ooxml_token_tmp) 
$(WFDIR)ooxml/tokenxmlfooter > $@
+
+$(wf_GEN_ooxml_FastTokens_hxx) : $(wf_SRC_ooxml_FastTokens_xsl) 
$(wf_GEN_ooxml_token_xml)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_ooxml_FastTokens_xsl) $(wf_GEN_ooxml_token_xml)) > $@
+
+$(wf_GEN_ooxml_Factory_hxx) : $(WFDIR)ooxml/factoryinc.xsl 
$(wf_GEN_ooxml_Model_processed)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) $< 
$(wf_GEN_ooxml_Model_processed)) > $@
+
+$(wf_GEN_ooxml_Factory_cxx) : $(WFDIR)ooxml/factoryimpl.xsl 
$(wf_GEN_ooxml_Model_processed)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) $< 
$(wf_GEN_ooxml_Model_processed)) > $@
+
+OOXMLFactory%.cxx : $(WFDIR)ooxml/factoryimpl_ns.xsl 
$(wf_GEN_ooxml_Model_processed)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) --stringparam 
file $@ $< $(wf_GEN_ooxml_Model_processed)) > $@
+
+OOXMLFactory%.hxx : $(WFDIR)ooxml/factory_ns.xsl 
$(wf_GEN_ooxml_Model_processed)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) --stringparam 
file $@ $< $(wf_GEN_ooxml_Model_processed)) > $@
+
+$(wf_GEN_ooxml_FactoryValues_hxx) : $(wf_SRC_ooxml_FactoryValues_xsl) 
$(wf_GEN_ooxml_Model_processed)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_ooxml_FactoryValues_xsl) $(wf_GEN_ooxml_Model_processed)) > $@
+
+$(wf_GEN_ooxml_FactoryValues_cxx) : $(wf_SRC_ooxml_FactoryValuesImpl_xsl) 
$(wf_GEN_ooxml_Model_processed)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_ooxml_FactoryValuesImpl_xsl) $(wf_GEN_ooxml_Model_processed)) > $@
+
+$(wf_GEN_ooxml_ResourceIds_hxx) : ooxml $(wf_SRC_ooxml_ResourceIds_xsl) 
$(wf_GEN_ooxml_Model_processed)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_ooxml_ResourceIds_xsl) $(wf_GEN_ooxml_Model_processed)) > $@
+
+$(wf_GEN_ooxml_NamespaceIds_hxx) : $(wf_SRC_ooxml_NamespaceIds_xsl) 
$(wf_GEN_ooxml_Model_processed)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_ooxml_NamespaceIds_xsl) $(wf_GEN_ooxml_Model_processed)) > $@
+
+$(wf_GEN_ooxml_GperfFastToken_hxx) : $(wf_SRC_ooxml_GperfFastTokenHandler_xsl) 
$(wf_GEN_ooxml_Model_processed)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_ooxml_GperfFastTokenHandler_xsl) $(wf_GEN_ooxml_Model_processed)) \
+       | tr -d '\r' | gperf -I -t -E -S1 -c -G -LC++ > $@
+
+$(wf_GEN_ooxml_Model_analyzed): $(wf_SRC_ooxml_Analyze_model_xsl) 
$(wf_SRC_ooxml_Model)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) $^) > $@
+
+$(wf_GEN_ooxml_Status_stage1) : $(wf_GEN_ooxml_Model_analyzed) 
$(wf_SRC_ooxml_stage1_sh)
+       $(wf_SRC_ooxml_Status_stage1_sh) $(wf_GEN_ooxml_Model_analyzed) 
$(WFDIR)dmapper > $@
+
+$(wf_GEN_ooxml_Status_stage2) : $(wf_SRC_ooxml_Status_stage2_xsl) 
$(wf_GEN_ooxml_Status_stage1)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) $^) > $@
+
+$(wf_GEN_ooxml_Status_stage3) : $(wf_SRC_ooxml_Status_stage3_xsl) 
$(wf_GEN_ooxml_Status_stage2)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) $^) > $@
+
+$(wf_GEN_ooxml_Status_todo) : $(wf_SRC_ooxml_Status_todo_xsl) 
$(wf_GEN_ooxml_Status_stage3)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) $^) > $@
+
+$(wf_GEN_ooxml_Status_efforts) : $(wf_SRC_ooxml_Status_efforts_xsl) 
$(wf_GEN_ooxml_Status_todo)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) $^) > $@
+
+# rtftok
+
+wf_SRC_rtftok_scanner_lex=$(WFDIR)rtftok/RTFScanner.lex
+wf_SRC_rtftok_scanner_skl=$(WFDIR)rtftok/RTFScanner.skl
+
+wf_GEN_rtftok_scanner_cxx=RTFScanner.cxx
+
+# does not build, currently unused
+#$(wf_GEN_rtftok_scanner_cxx) : $(wf_SRC_rtftok_scanner_lex) 
$(wf_SRC_rtftok_scanner_skl)
+#      flex -+ -S$(wf_SRC_rtftok_scanner_skl) -o$@ $(wf_SRC_rtftok_scanner_lex)
+
+# resourcemodel
+
+wf_GEN_model_QNameToStr_cxx=qnametostr.cxx
+wf_GEN_ooxml_QNameToStr_tmp=OOXMLqnameToStr.tmp
+wf_GEN_model_SprmCodeToStr_cxx=sprmcodetostr.cxx
+wf_GEN_model_SprmCodeToStr_tmp=sprmcodetostr.tmp
+wf_GEN_doctok_QnameToStr_tmp=DOCTOKqnameToStr.tmp
+wf_SRC_doctok_SprmCodeToStr_xsl=$(WFDIR)doctok/sprmcodetostr.xsl
+wf_SRC_doctok_QNameToStr_xsl=$(WFDIR)doctok/qnametostr.xsl
+wf_SRC_ooxml_QNameToStr_xsl=$(WFDIR)ooxml/qnametostr.xsl
+wf_SRC_model_NamespacePreprocess=$(WFDIR)resourcemodel/namespace_preprocess.pl
+wf_GEN_ooxml_Namespacesmap_xsl=namespacesmap.xsl
+wf_DEP_ooxml_namespaces_txt=$(OUTDIR)/inc$(UPDMINOREXT)/oox/token/namespaces.txt
+wf_GEN_ooxml_preprocess_xsl=modelpreprocess.xsl
+
+$(wf_GEN_ooxml_QNameToStr_tmp): $(wf_SRC_ooxml_QNameToStr_xsl) 
$(wf_GEN_ooxml_Model_processed)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_ooxml_QNameToStr_xsl) $(wf_GEN_ooxml_Model_processed)) > $@
+
+$(wf_GEN_doctok_QnameToStr_tmp): $(wf_SRC_doctok_QNameToStr_xsl) 
$(wf_SRC_doctok_Model)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_doctok_QNameToStr_xsl) $(wf_SRC_doctok_Model)) > $@
+
+$(wf_GEN_model_QNameToStr_cxx): $(wf_GEN_ooxml_QNameToStr_tmp) 
$(wf_GEN_doctok_QnameToStr_tmp) $(WFDIR)resourcemodel/qnametostrheader 
$(WFDIR)resourcemodel/qnametostrfooter $(wf_SRC_ooxml_FactoryTools_xsl) 
$(wf_SRC_doctok_ResourceTools_xsl)
+       cat $(WFDIR)resourcemodel/qnametostrheader 
$(wf_GEN_ooxml_QNameToStr_tmp) $(wf_GEN_doctok_QnameToStr_tmp) 
$(WFDIR)resourcemodel/qnametostrfooter > $@
+
+$(wf_GEN_model_SprmCodeToStr_tmp) : $(wf_SRC_doctok_SprmCodeToStr_xsl) 
$(wf_SRC_doctok_Model)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_SRC_doctok_SprmCodeToStr_xsl) $(wf_SRC_doctok_Model)) > $@
+
+$(wf_GEN_model_SprmCodeToStr_cxx): $(WFDIR)resourcemodel/sprmcodetostrheader 
$(wf_GEN_model_SprmCodeToStr_tmp) $(WFDIR)resourcemodel/sprmcodetostrfooter
+       cat $^ > $@
+
+$(wf_GEN_ooxml_Namespacesmap_xsl) : $(wf_SRC_ooxml_Model) 
$(wf_DEP_ooxml_namespaces_txt) $(wf_SRC_model_NamespacePreprocess)
+       $(PERL) $(wf_SRC_model_NamespacePreprocess) 
$(wf_DEP_ooxml_namespaces_txt) > $@
+
+$(wf_GEN_ooxml_preprocess_xsl) : $(wf_SRC_ooxml_Preprocess_xsl)
+       cp -f $(wf_SRC_ooxml_Preprocess_xsl) $@
+
+$(wf_GEN_ooxml_Model_processed) : $(wf_GEN_ooxml_Namespacesmap_xsl) 
$(wf_GEN_ooxml_preprocess_xsl) $(wf_SRC_ooxml_Model)
+       $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) 
$(wf_GEN_ooxml_Namespacesmap_xsl) $(wf_SRC_ooxml_Model)) > $@
+
+# all
+
+.DEFAULT_GOAL:=all
+.PHONY: all
+all : \
+       $(wf_GEN_doctok_SprmIds_hxx) \
+       $(wf_GEN_doctok_ResourceIds_hxx) \
+       $(wf_GEN_doctok_Resources_hxx) \
+       $(wf_GEN_doctok_Resources_cxx) \
+       $(wf_GEN_ooxml_ResourceIds_hxx) \
+       $(wf_GEN_ooxml_Factory_hxx) \
+       $(wf_GEN_ooxml_Factory_cxx) \
+       $(wf_GEN_ooxml_FactoryValues_hxx) \
+       $(wf_GEN_ooxml_FactoryValues_cxx) \
+       $(wf_GEN_ooxml_FastTokens_hxx) \
+       $(wf_GEN_ooxml_GperfFastToken_hxx) \
+       $(wf_GEN_ooxml_NamespaceIds_hxx) \
+       $(wf_GEN_ooxml_Status_efforts) \
+       $(wf_GEN_model_QNameToStr_cxx) \
+       $(wf_GEN_model_SprmCodeToStr_cxx) \
+       $(patsubst %,OOXMLFactory_%.hxx,$(WRITERFILTER_OOXMLNAMESPACES)) \
+       $(patsubst %,OOXMLFactory_%.cxx,$(WRITERFILTER_OOXMLNAMESPACES)) \

Added: incubator/ooo/branches/buildsys/main/writerfilter/source/generated.mk
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/writerfilter/source/generated.mk?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/writerfilter/source/generated.mk 
(added)
+++ incubator/ooo/branches/buildsys/main/writerfilter/source/generated.mk Wed 
Oct 10 21:12:40 2012
@@ -0,0 +1,55 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2009 by Sun Microsystems, Inc.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+# this namespace list is needed both in the library and the custom makefile
+WRITERFILTER_OOXMLNAMESPACES= \
+       wml \
+       dml-stylesheet \
+       dml-styleDefaults \
+       dml-shape3DLighting \
+       dml-shape3DScene \
+       dml-shape3DStyles \
+       dml-shape3DCamera \
+       dml-baseStylesheet \
+       dml-textCharacter \
+       dml-shapeEffects \
+       dml-shapeLineProperties \
+       dml-shapeProperties \
+       dml-baseTypes \
+       dml-documentProperties \
+       dml-graphicalObject \
+       dml-shapeGeometry \
+       dml-wordprocessingDrawing \
+       sml-customXmlMappings \
+       shared-math \
+       shared-relationshipReference \
+       dml-chartDrawing \
+       vml-main \
+       vml-officeDrawing \
+       vml-wordprocessingDrawing \
+
+

Added: incubator/ooo/branches/buildsys/main/writerfilter/source/ooxml/stage1.sh
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/writerfilter/source/ooxml/stage1.sh?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/writerfilter/source/ooxml/stage1.sh 
(added)
+++ incubator/ooo/branches/buildsys/main/writerfilter/source/ooxml/stage1.sh 
Wed Oct 10 21:12:40 2012
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+SEARCHIN=$2
+
+echo '<?xml version="1.0"?>'
+echo "<stage1>"
+
+cat $1 | tail -n +2
+
+find $SEARCHIN -name "*.cxx" -exec grep -nH -A 1 "case NS_" {} \; | 
+grep -v "//.*case NS_" |
+sed 's#'$SEARCHIN'##' |
+sed 's#\(^[^:]*\):\([0-9]*\):#<qname file="\1" line="\2"#' |
+sed 's#[/* ]*case \(NS_.*\):.*# qname="\1"/>#' |
+sed 's#.*WRITERFILTERSTATUS: done: \([0-9]*\), planned: \([0-9.]*\), spent: 
\([0-9.]*\).*#<status done="\1" planned="\2" spent="\3"/>#' |
+sed 's#.*WRITERFILTERSTATUS:.*#<status done="100"/>#' |
+sed 's#^.*-[0-9][0-9]*-.*$#<nostatus/>#' |
+grep -v "^--"
+
+echo "</stage1>"

Propchange: 
incubator/ooo/branches/buildsys/main/writerfilter/source/ooxml/stage1.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: 
incubator/ooo/branches/buildsys/main/writerfilter/source/resourcemodel/Token.cxx
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/writerfilter/source/resourcemodel/Token.cxx?rev=1396797&view=auto
==============================================================================
--- 
incubator/ooo/branches/buildsys/main/writerfilter/source/resourcemodel/Token.cxx
 (added)
+++ 
incubator/ooo/branches/buildsys/main/writerfilter/source/resourcemodel/Token.cxx
 Wed Oct 10 21:12:40 2012
@@ -0,0 +1,82 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#include <iostream>
+#include "resourcemodel/WW8ResourceModel.hxx"
+#include "ooxml/OOXMLFastTokens.hxx"
+
+namespace writerfilter 
+{
+
+size_t TokenHash::operator()(const Token_t & rToken) const
+{
+    return rToken.getId();
+}
+
+Token_t::Token_t()
+{
+    assign(ooxml::OOXML_FAST_TOKENS_END);
+}
+
+Token_t::Token_t(sal_Int32 nId)
+{
+    assign(nId);
+}
+
+void Token_t::assign(sal_Int32 nId)
+{
+    m_nId = nId;
+}
+
+Token_t::~Token_t()
+{
+}
+
+sal_Int32 Token_t::getId() const
+{
+    return m_nId;
+}
+
+Token_t::operator sal_Int32() const
+{
+    return getId();
+}
+
+Token_t & Token_t::operator = (sal_Int32 nId)
+{
+    assign(nId);
+
+    return *this;
+}
+
+#ifdef DEBUG
+::std::string Token_t::toString() const
+{
+    return m_string;
+}
+#endif
+}

Added: incubator/ooo/branches/buildsys/main/xmlreader/Library_xmlreader.mk
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlreader/Library_xmlreader.mk?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlreader/Library_xmlreader.mk (added)
+++ incubator/ooo/branches/buildsys/main/xmlreader/Library_xmlreader.mk Wed Oct 
10 21:12:40 2012
@@ -0,0 +1,52 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org.  If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Library_Library,xmlreader))
+
+$(eval $(call gb_Library_add_package_headers,xmlreader,xmlreader_inc))
+
+$(eval $(call gb_Library_add_api,xmlreader,\
+       udkapi \
+))
+
+$(eval $(call gb_Library_add_defs,xmlreader,\
+       -DOOO_DLLIMPLEMENTATION_XMLREADER \
+))
+
+$(eval $(call gb_Library_add_linked_libs,xmlreader,\
+       sal \
+       stl \
+    $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,xmlreader,\
+       xmlreader/source/pad \
+       xmlreader/source/span \
+       xmlreader/source/xmlreader \
+))
+
+# vim: set noet sw=4 ts=4:

Propchange: incubator/ooo/branches/buildsys/main/xmlreader/Library_xmlreader.mk
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/ooo/branches/buildsys/main/xmlreader/Makefile
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlreader/Makefile?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlreader/Makefile (added)
+++ incubator/ooo/branches/buildsys/main/xmlreader/Makefile Wed Oct 10 21:12:40 
2012
@@ -0,0 +1,38 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org.  If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
+
+gb_PARTIALBUILD := T
+GBUILDDIR := $(SOLARENV)/gbuild
+include $(GBUILDDIR)/gbuild.mk
+
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath 
$(firstword $(MAKEFILE_LIST))))/Module*.mk)))
+
+# vim: set noet sw=4 ts=4:

Propchange: incubator/ooo/branches/buildsys/main/xmlreader/Makefile
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/ooo/branches/buildsys/main/xmlreader/Module_xmlreader.mk
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlreader/Module_xmlreader.mk?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlreader/Module_xmlreader.mk (added)
+++ incubator/ooo/branches/buildsys/main/xmlreader/Module_xmlreader.mk Wed Oct 
10 21:12:40 2012
@@ -0,0 +1,35 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org.  If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Module_Module,xmlreader))
+
+$(eval $(call gb_Module_add_targets,xmlreader,\
+       Library_xmlreader \
+       Package_inc \
+))
+
+# vim: set noet sw=4 ts=4:

Propchange: incubator/ooo/branches/buildsys/main/xmlreader/Module_xmlreader.mk
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/ooo/branches/buildsys/main/xmlreader/Package_inc.mk
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlreader/Package_inc.mk?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlreader/Package_inc.mk (added)
+++ incubator/ooo/branches/buildsys/main/xmlreader/Package_inc.mk Wed Oct 10 
21:12:40 2012
@@ -0,0 +1,34 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org.  If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Package_Package,xmlreader_inc,$(SRCDIR)/xmlreader/inc))
+$(eval $(call 
gb_Package_add_file,xmlreader_inc,inc/xmlreader/pad.hxx,xmlreader/pad.hxx))
+$(eval $(call 
gb_Package_add_file,xmlreader_inc,inc/xmlreader/span.hxx,xmlreader/span.hxx))
+$(eval $(call 
gb_Package_add_file,xmlreader_inc,inc/xmlreader/xmlreader.hxx,xmlreader/xmlreader.hxx))
+$(eval $(call 
gb_Package_add_file,xmlreader_inc,inc/xmlreader/detail/xmlreaderdllapi.hxx,xmlreader/detail/xmlreaderdllapi.hxx))
+
+# vim: set noet sw=4 ts=4:

Propchange: incubator/ooo/branches/buildsys/main/xmlreader/Package_inc.mk
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/ooo/branches/buildsys/main/xmlreader/prj/makefile.mk
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlreader/prj/makefile.mk?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlreader/prj/makefile.mk (added)
+++ incubator/ooo/branches/buildsys/main/xmlreader/prj/makefile.mk Wed Oct 10 
21:12:40 2012
@@ -0,0 +1,40 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org.  If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ=..
+TARGET=prj
+
+.INCLUDE : settings.mk
+
+.IF "$(VERBOSE)"!=""
+VERBOSEFLAG :=
+.ELSE
+VERBOSEFLAG := -s
+.ENDIF
+
+all:
+       cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) 
$(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog

Propchange: incubator/ooo/branches/buildsys/main/xmlreader/prj/makefile.mk
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/ooo/branches/buildsys/main/xmlscript/Library_xcr.mk
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlscript/Library_xcr.mk?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlscript/Library_xcr.mk (added)
+++ incubator/ooo/branches/buildsys/main/xmlscript/Library_xcr.mk Wed Oct 10 
21:12:40 2012
@@ -0,0 +1,75 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org.  If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Library_Library,xcr))
+
+$(eval $(call gb_Library_add_package_headers,xcr,xmlscript_inc))
+
+$(eval $(call gb_Library_set_componentfile,xcr,xmlscript/util/xcr))
+
+$(eval $(call gb_Library_add_api,xcr,\
+       udkapi \
+       offapi \
+))
+
+$(eval $(call gb_Library_set_include,xcr,\
+       -I$(SRCDIR)/xmlscript/source/inc \
+       -I$(SRCDIR)/xmlscript/inc/pch \
+       $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_add_defs,xcr,\
+       -DXCR_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_add_linked_libs,xcr,\
+       sal \
+       cppu \
+       cppuhelper \
+       stl \
+    $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,xcr,\
+       xmlscript/source/xmldlg_imexp/xmldlg_impmodels \
+       xmlscript/source/xmldlg_imexp/xmldlg_import \
+       xmlscript/source/xmldlg_imexp/xmldlg_addfunc \
+       xmlscript/source/xmldlg_imexp/xmldlg_export \
+       xmlscript/source/xmldlg_imexp/xmldlg_expmodels \
+       xmlscript/source/misc/unoservices \
+       xmlscript/source/xml_helper/xml_byteseq \
+       xmlscript/source/xml_helper/xml_impctx \
+       xmlscript/source/xml_helper/xml_element \
+       xmlscript/source/xmlflat_imexp/xmlbas_import \
+       xmlscript/source/xmlflat_imexp/xmlbas_export \
+       xmlscript/source/xmllib_imexp/xmllib_import \
+       xmlscript/source/xmllib_imexp/xmllib_export \
+       xmlscript/source/xmlmod_imexp/xmlmod_import \
+       xmlscript/source/xmlmod_imexp/xmlmod_export \
+))
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/buildsys/main/xmlscript/Makefile
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlscript/Makefile?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlscript/Makefile (added)
+++ incubator/ooo/branches/buildsys/main/xmlscript/Makefile Wed Oct 10 21:12:40 
2012
@@ -0,0 +1,38 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org.  If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
+
+gb_PARTIALBUILD := T
+GBUILDDIR := $(SOLARENV)/gbuild
+include $(GBUILDDIR)/gbuild.mk
+
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath 
$(firstword $(MAKEFILE_LIST))))/Module*.mk)))
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/buildsys/main/xmlscript/Module_xmlscript.mk
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlscript/Module_xmlscript.mk?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlscript/Module_xmlscript.mk (added)
+++ incubator/ooo/branches/buildsys/main/xmlscript/Module_xmlscript.mk Wed Oct 
10 21:12:40 2012
@@ -0,0 +1,36 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org.  If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Module_Module,xmlscript))
+
+$(eval $(call gb_Module_add_targets,xmlscript,\
+       Library_xcr \
+       Package_inc \
+       Package_dtd \
+))
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/buildsys/main/xmlscript/Package_dtd.mk
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlscript/Package_dtd.mk?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlscript/Package_dtd.mk (added)
+++ incubator/ooo/branches/buildsys/main/xmlscript/Package_dtd.mk Wed Oct 10 
21:12:40 2012
@@ -0,0 +1,34 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org.  If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Package_Package,xmlscript_inc,$(SRCDIR)/xmlscript/dtd))
+$(eval $(call gb_Package_add_file,xmlscript_inc,bin/dialog.dtd,dialog.dtd))
+$(eval $(call 
gb_Package_add_file,xmlscript_inc,bin/libraries.dtd,libraries.dtd))
+$(eval $(call gb_Package_add_file,xmlscript_inc,bin/library.dtd,library.dtd))
+$(eval $(call gb_Package_add_file,xmlscript_inc,bin/module.dtd,module.dtd))
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/buildsys/main/xmlscript/Package_inc.mk
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlscript/Package_inc.mk?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlscript/Package_inc.mk (added)
+++ incubator/ooo/branches/buildsys/main/xmlscript/Package_inc.mk Wed Oct 10 
21:12:40 2012
@@ -0,0 +1,37 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org.  If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Package_Package,xmlscript_inc,$(SRCDIR)/xmlscript/inc))
+
+$(eval $(call 
gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmldlg_imexp.hxx,xmlscript/xmldlg_imexp.hxx))
+$(eval $(call 
gb_Package_add_file,xmlscript_inc,inc/xmlscript/xml_helper.hxx,xmlscript/xml_helper.hxx))
+$(eval $(call 
gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmllib_imexp.hxx,xmlscript/xmllib_imexp.hxx))
+$(eval $(call 
gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmlmod_imexp.hxx,xmlscript/xmlmod_imexp.hxx))
+$(eval $(call 
gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmlns.h,xmlscript/xmlns.h))
+$(eval $(call 
gb_Package_add_file,xmlscript_inc,inc/xmlscript/xcrdllapi.h,xmlscript/xcrdllapi.h))
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/buildsys/main/xmlscript/inc/xmlscript/xcrdllapi.h
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlscript/inc/xmlscript/xcrdllapi.h?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlscript/inc/xmlscript/xcrdllapi.h 
(added)
+++ incubator/ooo/branches/buildsys/main/xmlscript/inc/xmlscript/xcrdllapi.h 
Wed Oct 10 21:12:40 2012
@@ -0,0 +1,43 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XCRdllapi.h,v $
+ * $Revision: 1.4 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef INCLUDED_XCRDLLAPI_H
+#define INCLUDED_XCRDLLAPI_H
+
+#include "sal/types.h"
+
+#if defined(XCR_DLLIMPLEMENTATION)
+#define XCR_DLLPUBLIC  SAL_DLLPUBLIC_EXPORT
+#else
+#define XCR_DLLPUBLIC  SAL_DLLPUBLIC_IMPORT
+#endif
+#define XCR_DLLPRIVATE SAL_DLLPRIVATE
+
+#endif

Added: incubator/ooo/branches/buildsys/main/xmlscript/prj/makefile.mk
URL: 
http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/xmlscript/prj/makefile.mk?rev=1396797&view=auto
==============================================================================
--- incubator/ooo/branches/buildsys/main/xmlscript/prj/makefile.mk (added)
+++ incubator/ooo/branches/buildsys/main/xmlscript/prj/makefile.mk Wed Oct 10 
21:12:40 2012
@@ -0,0 +1,40 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org.  If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ=..
+TARGET=prj
+
+.INCLUDE : settings.mk
+
+.IF "$(VERBOSE)"!=""
+VERBOSEFLAG :=
+.ELSE
+VERBOSEFLAG := -s
+.ENDIF
+
+all:
+       cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) 
$(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog


Reply via email to