summaryrefslogtreecommitdiff
path: root/writerfilter/source/resourcemodel/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/resourcemodel/makefile.mk
parent2fe24238e898853d95ba5483c896c749ef97a404 (diff)
gbuildize writerfilter
Diffstat (limited to 'writerfilter/source/resourcemodel/makefile.mk')
-rw-r--r--writerfilter/source/resourcemodel/makefile.mk200
1 files changed, 0 insertions, 200 deletions
diff --git a/writerfilter/source/resourcemodel/makefile.mk b/writerfilter/source/resourcemodel/makefile.mk
deleted file mode 100644
index 73e049fa7bbf..000000000000
--- a/writerfilter/source/resourcemodel/makefile.mk
+++ /dev/null
@@ -1,200 +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=resourcemodel
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/inc$/writerfilter.mk
-
-CDEFS+=-DWRITERFILTER_DLLIMPLEMENTATION
-
-# --- Files --------------------------------------------------------
-
-# work around gcc taking hours and/or OOM'ing on this file
-NOOPTFILES= \
- $(SLO)$/qnametostr.obj
-
-SLOFILES= \
- $(SLO)$/Fraction.obj \
- $(SLO)$/LoggedResources.obj \
- $(SLO)$/Protocol.obj \
- $(SLO)$/ResourceModelHelper.obj \
- $(SLO)$/TagLogger.obj \
- $(SLO)$/WW8Analyzer.obj \
- $(SLO)$/XPathLogger.obj \
- $(SLO)$/qnametostr.obj \
- $(SLO)$/resourcemodel.obj \
- $(SLO)$/sprmcodetostr.obj \
- $(SLO)$/util.obj \
-
-SHL1TARGET=$(TARGET)
-
-.IF "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
-RTFTOKLIB=-lrtftok
-DOCTOKLIB=-ldoctok
-OOXMLLIB=-looxml
-.ELIF "$(GUI)"=="WNT"
-RTFTOKLIB=$(LB)$/irtftok.lib
-DOCTOKLIB=$(LB)$/idoctok.lib
-OOXMLLIB=$(LB)$/iooxml.lib
-.ENDIF
-
-SHL1STDLIBS=$(SALLIB)\
- $(CPPULIB)\
- $(CPPUHELPERLIB) \
- $(COMPHELPERLIB)
-
-# .IF "$(DBG_LEVEL)">="2"
-SHL1STDLIBS+= $(LIBXML2LIB)
-# .ENDIF
-
-SHL1IMPLIB=i$(SHL1TARGET)
-SHL1USE_EXPORTS=name
-
-SHL1OBJS=$(SLOFILES)
-
-SHL1DEF=$(MISC)$/$(SHL1TARGET).def
-DEF1NAME=$(SHL1TARGET)
-DEFLIB1NAME=$(TARGET)
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
-RESOURCEMODELCXXOUTDIR=$(MISC)
-DOCTOKHXXOUTDIR=$(INCCOM)$/doctok
-OOXMLHXXOUTDIR=$(INCCOM)$/ooxml
-
-DOCTOKHXXOUTDIRCREATED=$(DOCTOKHXXOUTDIR)$/created
-OOXMLHXXOUTDIRCREATED=$(OOXMLHXXOUTDIR)$/created
-
-OOXMLMODEL=..$/ooxml$/model.xml
-OOXMLPREPROCESSXSL=..$/ooxml$/modelpreprocess.xsl
-OOXMLPREPROCESSXSLCOPIED=$(MISC)$/modelpreprocess.xsl
-OOXMLQNAMETOSTRXSL=..$/ooxml$/qnametostr.xsl
-OOXMLANALYZERXSL=..$/ooxml$/analyzer.xsl
-OOXMLRESOURCEIDSXSL=..$/ooxml$/resourceids.xsl
-OOXMLFACTORYTOOLSXSL=..$/ooxml$/factorytools.xsl
-DOCTOKMODEL=..$/doctok$/resources.xmi
-DOCTOKQNAMETOSTRXSL=..$/doctok$/qnametostr.xsl
-DOCTOKANALYZERXSL=..$/doctok$/analyzer.xsl
-DOCTOKSPRMCODETOSTRXSL=..$/doctok$/sprmcodetostr.xsl
-DOCTOKRESOURCEIDSXSL=..$/doctok$/resourceids.xsl
-DOCTOKSPRMIDSXSL=..$/doctok$/sprmids.xsl
-DOCTOKRESOURCETOOLS=..$/doctok$/resourcetools.xsl
-
-NSPROCESS=namespace_preprocess.pl
-
-MODELPROCESSED=$(MISC)$/model_preprocessed.xml
-
-QNAMETOSTRCXX=$(RESOURCEMODELCXXOUTDIR)$/qnametostr.cxx
-OOXMLQNAMETOSTRTMP=$(RESOURCEMODELCXXOUTDIR)$/OOXMLqnameToStr.tmp
-DOCTOKQNAMETOSTRTMP=$(RESOURCEMODELCXXOUTDIR)$/DOCTOKqnameToStr.tmp
-SPRMCODETOSTRCXX=$(RESOURCEMODELCXXOUTDIR)$/sprmcodetostr.cxx
-SPRMCODETOSTRTMP=$(RESOURCEMODELCXXOUTDIR)$/sprmcodetostr.tmp
-DOCTOKRESOURCEIDSHXX=$(DOCTOKHXXOUTDIR)$/resourceids.hxx
-SPRMIDSHXX=$(DOCTOKHXXOUTDIR)$/sprmids.hxx
-OOXMLRESOURCEIDSHXX=$(OOXMLHXXOUTDIR)$/resourceids.hxx
-
-NSXSL=$(MISC)$/namespacesmap.xsl
-NAMESPACESTXT=$(SOLARVER)$/$(INPATH)$/inc$(UPDMINOREXT)$/oox$/namespaces.txt
-
-GENERATEDHEADERS=$(DOCTOKRESOURCEIDSHXX) $(OOXMLRESOURCEIDSHXX) $(SPRMIDSHXX)
-GENERATEDFILES= \
- $(GENERATEDHEADERS) \
- $(QNAMETOSTRCXX) \
- $(SPRMCODETOSTRCXX) \
- $(MODELPROCESSED) \
- $(OOXMLQNAMETOSTRTMP) \
- $(DOCTOKQNAMETOSTRTMP) \
- $(SPRMCODETOSTRTMP)
-
-$(OOXMLQNAMETOSTRTMP): $(OOXMLQNAMETOSTRXSL) $(MODELPROCESSED)
- @echo "Making: " $(@:f)
- $(XSLTPROC) $(OOXMLQNAMETOSTRXSL:s!\!/!) $(MODELPROCESSED) > $@
-
-$(DOCTOKQNAMETOSTRTMP): $(DOCTOKQNAMETOSTRXSL) $(DOCTOKMODEL)
- @echo "Making: " $(@:f)
- $(XSLTPROC) $(DOCTOKQNAMETOSTRXSL:s!\!/!) $(DOCTOKMODEL) > $@
-
-$(QNAMETOSTRCXX): $(OOXMLQNAMETOSTRTMP) $(DOCTOKQNAMETOSTRTMP) qnametostrheader qnametostrfooter $(OOXMLFACTORYTOOLSXSL) $(DOCTOKRESOURCETOOLS)
- @$(TYPE) qnametostrheader $(OOXMLQNAMETOSTRTMP) $(DOCTOKQNAMETOSTRTMP) qnametostrfooter > $@
-
-$(SPRMCODETOSTRTMP): $(DOCTOKSPRMCODETOSTRXSL) $(DOCTOKMODEL)
- @echo "Making: " $(@:f)
- $(XSLTPROC) $(DOCTOKSPRMCODETOSTRXSL:s!\!/!) $(DOCTOKMODEL) > $@
-
-$(SPRMCODETOSTRCXX): sprmcodetostrheader $(SPRMCODETOSTRTMP) sprmcodetostrfooter
- @$(TYPE) $< > $@
-
-$(SLO)$/sprmcodetostr.obj: $(SPRMCODETOSTRCXX)
-$(SLO)$/qnametostr.obj: $(QNAMETOSTRCXX)
-
-$(SLOFILES): $(GENERATEDHEADERS)
-
-$(DOCTOKHXXOUTDIRCREATED):
- @$(MKDIRHIER) $(DOCTOKHXXOUTDIR)
- @$(TOUCH) $@
-
-$(DOCTOKRESOURCEIDSHXX): $(DOCTOKHXXOUTDIRCREATED) $(DOCTOKRESOURCETOOLS) $(DOCTOKRESOURCEIDSXSL) $(DOCTOKMODEL)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(DOCTOKRESOURCEIDSXSL:s!\!/!) $(DOCTOKMODEL) > $@
-
-$(OOXMLHXXOUTDIRCREATED):
- @$(MKDIRHIER) $(OOXMLHXXOUTDIR)
- @$(TOUCH) $@
-
-$(OOXMLPREPROCESSXSLCOPIED): $(OOXMLPREPROCESSXSL)
- @$(COPY) $(OOXMLPREPROCESSXSL) $@
-
-$(NSXSL) : $(OOXMLMODEL) $(NAMESPACESTXT) $(NSPROCESS)
- @$(PERL) $(NSPROCESS) $(NAMESPACESTXT) > $@
-
-$(MODELPROCESSED): $(NSXSL) $(OOXMLPREPROCESSXSLCOPIED) $(OOXMLMODEL)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(NSXSL) $(OOXMLMODEL) > $@
-
-$(OOXMLRESOURCEIDSHXX): $(OOXMLHXXOUTDIRCREATED) $(OOXMLFACTORYTOOLSXSL) $(OOXMLRESOURCEIDSXSL) $(MODELPROCESSED)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLRESOURCEIDSXSL:s!\!/!) $(MODELPROCESSED) > $@
-
-$(SPRMIDSHXX): $(DOCTOKHXXOUTDIRCREATED) $(DOCTOKSPRMIDSXSL) $(DOCTOKMODEL)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(DOCTOKSPRMIDSXSL:s!\!/!) $(DOCTOKMODEL) > $@
-
-.PHONY: genclean genmake gendirs
-
-genclean:
- rm -f $(GENERATEDFILES)
-
-genmake: $(GENERATEDFILES)
-