summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml/makefile.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-04-14 12:35:11 +0200
committerDavid Tardon <dtardon@redhat.com>2011-04-14 16:15:22 +0200
commitfd5a147a6366d828edb97dd7c6731a14794611ab (patch)
treecc9a35241e522683cadabb3eed334f3280c58e77 /writerfilter/source/ooxml/makefile.mk
parent2fe24238e898853d95ba5483c896c749ef97a404 (diff)
gbuildize writerfilter
Diffstat (limited to 'writerfilter/source/ooxml/makefile.mk')
-rw-r--r--writerfilter/source/ooxml/makefile.mk251
1 files changed, 0 insertions, 251 deletions
diff --git a/writerfilter/source/ooxml/makefile.mk b/writerfilter/source/ooxml/makefile.mk
deleted file mode 100644
index e0f108a88cc6..000000000000
--- a/writerfilter/source/ooxml/makefile.mk
+++ /dev/null
@@ -1,251 +0,0 @@
-#************************************************************************
-#
-# 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=..$/..
-PRJNAME=writerfilter
-TARGET=ooxml
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/inc$/writerfilter.mk
-
-NAMESPACES= \
- 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
-
-# --- Files --------------------------------------------------------
-
-SLOFACTORIESNAMESPACES= \
- $(SLO)$/OOXMLFactory_{$(NAMESPACES)}.obj
-
-SLOFILES= \
- $(SLOFACTORIESNAMESPACES) \
- $(SLOFASTNAMESPACES) \
- $(SLO)$/OOXMLFactory_generated.obj \
- $(SLO)$/OOXMLFactory.obj \
- $(SLO)$/OOXMLBinaryObjectReference.obj\
- $(SLO)$/OOXMLFactory_values.obj \
- $(SLO)$/OOXMLPropertySetImpl.obj \
- $(SLO)$/OOXMLParserState.obj \
- $(SLO)$/Handler.obj \
- $(SLO)$/OOXMLDocumentImpl.obj \
- $(SLO)$/OOXMLStreamImpl.obj \
- $(SLO)$/OOXMLFastDocumentHandler.obj \
- $(SLO)$/OOXMLFastContextHandler.obj \
- $(SLO)$/OOXMLFastTokenHandler.obj
-
-SHL1TARGET=$(TARGET)
-
-.IF "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
-RESOURCEMODELLIB=-lresourcemodel
-.ELIF "$(GUI)"=="OS2"
-RESOURCEMODELLIB=$(LB)$/iresourcemodel.lib
-.ELIF "$(GUI)"=="WNT"
-.IF "$(COM)"=="GCC"
-RESOURCEMODELLIB=-lresourcemodel
-.ELSE
-RESOURCEMODELLIB=$(LB)$/iresourcemodel.lib
-.ENDIF
-.ENDIF
-
-SHL1STDLIBS=$(SALLIB)\
- $(CPPULIB)\
- $(CPPUHELPERLIB) \
- $(COMPHELPERLIB) \
- $(RESOURCEMODELLIB)
-SHL1IMPLIB=i$(SHL1TARGET)
-SHL1USE_EXPORTS=name
-
-SHL1OBJS=$(SLOFILES)
-
-SHL1DEF=$(MISC)$/$(SHL1TARGET).def
-DEF1NAME=$(SHL1TARGET)
-DEFLIB1NAME=$(TARGET)
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
-.PHONY : check
-
-check:
- echo $(SLOFILES)
-
-OOXMLCXXOUTDIR=$(MISC)
-OOXMLHXXOUTDIR=$(INCCOM)/ooxml
-OOXMLHXXOUTDIRCREATED=$(OOXMLHXXOUTDIR)/created
-
-OOXMLFACTORYCXXS=$(OOXMLCXXOUTDIR)$/OOXMLFactory_{$(NAMESPACES)}.cxx
-OOXMLFACTORYHXXS=$(OOXMLHXXOUTDIR)$/OOXMLFactory_{$(NAMESPACES)}.hxx
-
-OOXMLMODEL=model.xml
-OOXMLPREPROCESSXSL=modelpreprocess.xsl
-OOXMLFACTORYTOOLSXSL=factorytools.xsl
-OOXMLRESORUCETOKENSXSL=resourcestokens.xsl
-OOXMLFASTTOKENSXSL=fasttokens.xsl
-OOXMLRESOURCESIMPLXSL=resourcesimpl.xsl
-OOXMLNAMESPACEIDSXSL=namespaceids.xsl
-OOXMLFACTORYVALUESXSL=factory_values.xsl
-OOXMLFACTORYVALUESIMPLXSL=factoryimpl_values.xsl
-OOXMLRESOURCEIDSXSL=resourceids.xsl
-OOXMLGPERFFASTTOKENXSL=gperffasttokenhandler.xsl
-
-OOXMLRESOURCEIDSHXX=$(OOXMLHXXOUTDIR)$/resourceids.hxx
-
-TOKENXML=$(OOXMLCXXOUTDIR)$/token.xml
-TOKENXMLTMP=$(OOXMLCXXOUTDIR)$/token.tmp
-
-OOXMLFACTORYGENERATEDHXX=$(OOXMLHXXOUTDIR)$/OOXMLFactory_generated.hxx
-OOXMLFACTORYGENERATEDCXX=$(OOXMLCXXOUTDIR)$/OOXMLFactory_generated.cxx
-OOXMLFASTTOKENSHXX=$(OOXMLHXXOUTDIR)$/OOXMLFastTokens.hxx
-OOXMLNAMESPACEIDSHXX=$(OOXMLHXXOUTDIR)$/OOXMLnamespaceids.hxx
-OOXMLFACTORYVALUESHXX=$(OOXMLCXXOUTDIR)$/OOXMLFactory_values.hxx
-OOXMLFACTORYVALUESCXX=$(OOXMLCXXOUTDIR)$/OOXMLFactory_values.cxx
-GPERFFASTTOKENHXX=$(OOXMLHXXOUTDIR)$/gperffasttoken.hxx
-MODELPROCESSED=$(MISC)$/model_preprocessed.xml
-
-OOXMLGENHEADERS= \
- $(OOXMLFACTORYGENERATEDHXX) \
- $(OOXMLFACTORYHXXS) \
- $(OOXMLFASTTOKENSHXX) \
- $(OOXMLFACTORYVALUESHXX) \
- $(GPERFFASTTOKENHXX) \
- $(OOXMLRESOURCEIDSHXX) \
- $(OOXMLNAMESPACEIDSHXX)
-
-GENERATEDFILES= \
- $(OOXMLGENHEADERS) \
- $(OOXMLFACTORYGENERATEDCXX) \
- $(OOXMLFACTORYCXXS) \
- $(OOXMLFACTORYVALUESCXX) \
- $(TOKENXMLTMP) \
- $(TOKENXML)
-
-$(TOKENXMLTMP): $(SOLARVER)$/$(INPATH)$/inc$(UPDMINOREXT)$/oox$/token.txt
- @$(TYPE) $(SOLARVER)$/$(INPATH)$/inc$(UPDMINOREXT)$/oox$/token.txt | $(SED) "s#\(.*\)#<fasttoken>\1</fasttoken>#" > $@
-
-$(TOKENXML): tokenxmlheader $(TOKENXMLTMP) tokenxmlfooter
- @$(TYPE) tokenxmlheader $(TOKENXMLTMP) tokenxmlfooter > $@
-
-$(OOXMLHXXOUTDIRCREATED):
- $(MKDIRHIER) $(OOXMLHXXOUTDIR)
- @$(TOUCH) $@
-
-$(OOXMLGENHEADERS): $(OOXMLHXXOUTDIRCREATED)
-
-$(OOXMLFASTTOKENSHXX): $(OOXMLFASTTOKENSXSL) $(TOKENXML)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLFASTTOKENSXSL) $(TOKENXML) > $@
-
-$(OOXMLFACTORYGENERATEDHXX): factoryinc.xsl
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $< $(MODELPROCESSED) > $@
-
-$(OOXMLFACTORYGENERATEDCXX): factoryimpl.xsl
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $< $(MODELPROCESSED) > $@
-
-$(OOXMLFACTORYGENERATEDCXX): $(MODELPROCESSED)
-
-$(OOXMLFACTORYGENERATEDHXX): $(MODELPROCESSED)
-
-$(OOXMLFACTORYCXXS): $(MODELPROCESSED)
-
-$(OOXMLFACTORYHXXS): $(MODELPROCESSED)
-
-$(OOXMLCXXOUTDIR)$/OOXMLFactory%.cxx: factoryimpl_ns.xsl
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) --stringparam file $@ $< $(MODELPROCESSED) > $@
-
-$(OOXMLHXXOUTDIR)$/OOXMLFactory%.hxx: factory_ns.xsl
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) --stringparam file $@ $< $(MODELPROCESSED) > $@
-
-$(OOXMLFACTORYVALUESHXX): $(OOXMLFACTORYVALUESXSL) $(MODELPROCESSED)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLFACTORYVALUESXSL) $(MODELPROCESSED) > $@
-
-$(OOXMLFACTORYVALUESCXX): $(OOXMLFACTORYVALUESIMPLXSL) $(MODELPROCESSED)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLFACTORYVALUESIMPLXSL) $(MODELPROCESSED) > $@
-
-$(OOXMLRESOURCEIDSHXX): $(OOXMLHXXOUTDIRCREATED) $(OOXMLRESOURCEIDSXSL) \
- $(MODELPROCESSED)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLRESOURCEIDSXSL) $(MODELPROCESSED) > $@
-
-$(OOXMLNAMESPACEIDSHXX): $(OOXMLHXXOUTDIRCREATED) $(OOXMLNAMESPACEIDSXSL) \
- $(MODELPROCESSED)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLNAMESPACEIDSXSL) $(MODELPROCESSED) > $@
-
-$(GPERFFASTTOKENHXX): $(OOXMLGPERFFASTTOKENXSL) $(MODELPROCESSED)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLGPERFFASTTOKENXSL) $(MODELPROCESSED) | tr -d '\r' | $(GPERF) -I -t -E -S1 -c -G -LC++ > $@
-
-$(SLOFACTORIESNAMESPACES): $(OOXMLFACTORYSCXXS) $(OOXMLGENHEADERS)
-
-$(GENERATEDFILES): $(OOXMLFACTORYTOOLSXSL)
-
-$(SLOFILES): $(OOXMLGENHEADERS)
-
-$(SLO)/OOXMLFactory_values.obj: $(OOXMLFACTORYVALUESCXX) $(OOXMLFACTORYVALUESHXX)
-
-$(SLO)$/OOXMLFactory_generated.obj: $(OOXMLFACTORYGENERATEDCXX) $(OOXMLGENHEADERS)
-
-.PHONY: genclean genmake genheaders
-
-genclean:
- rm -f $(GENERATEDFILES)
-
-genmake: $(GENERATEDFILES)
-
-genheaders: $(GENHEADERS)