2000-05-18 21:17:27 +00:00
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public
|
|
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy of
|
|
|
|
# the License at http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS
|
|
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
# implied. See the License for the specific language governing
|
|
|
|
# rights and limitations under the License.
|
|
|
|
#
|
|
|
|
# The Original Code is Transformiix XSLT Processor.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Axel Hecht.
|
|
|
|
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
|
|
|
|
# All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
# Axel Hecht <axel@pike.org>
|
|
|
|
#
|
|
|
|
|
2000-05-25 01:03:29 +00:00
|
|
|
DEPTH = ../../..
|
2000-05-18 21:17:27 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2000-05-25 01:03:29 +00:00
|
|
|
MODULE = transformiix
|
|
|
|
LIBRARY_NAME = transformiix
|
2001-04-28 19:48:12 +00:00
|
|
|
EXPORT_LIBRARY = 1
|
2000-05-25 01:03:29 +00:00
|
|
|
SHORT_LIBNAME = t8iix
|
2001-09-18 13:41:47 +00:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
dom \
|
|
|
|
layout \
|
|
|
|
content \
|
2001-09-24 12:03:02 +00:00
|
|
|
content_xsl \
|
2001-09-18 13:41:47 +00:00
|
|
|
widget \
|
|
|
|
necko \
|
2001-09-28 14:55:30 +00:00
|
|
|
js \
|
|
|
|
appshell \
|
|
|
|
xpconnect \
|
|
|
|
caps \
|
2001-09-28 16:21:39 +00:00
|
|
|
locale \
|
2001-09-18 13:41:47 +00:00
|
|
|
$(NULL)
|
2000-05-25 01:03:29 +00:00
|
|
|
IS_COMPONENT = 1
|
2001-06-20 20:21:49 +00:00
|
|
|
MODULE_NAME = TransformiixModule
|
2000-05-25 01:03:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
CPPSRCS = XSLTProcessorModule.cpp
|
2001-09-22 12:49:53 +00:00
|
|
|
LOBJS =../source/base/ArrayList.$(OBJ_SUFFIX) \
|
|
|
|
../source/base/Double.$(OBJ_SUFFIX) \
|
|
|
|
../source/base/Integer.$(OBJ_SUFFIX) \
|
|
|
|
../source/base/List.$(OBJ_SUFFIX) \
|
|
|
|
../source/base/TxObjectWrapper.$(OBJ_SUFFIX) \
|
|
|
|
../source/base/Map.$(OBJ_SUFFIX) \
|
|
|
|
../source/base/NamedMap.$(OBJ_SUFFIX) \
|
|
|
|
../source/base/SimpleErrorObserver.$(OBJ_SUFFIX) \
|
|
|
|
../source/base/Stack.$(OBJ_SUFFIX) \
|
|
|
|
../source/base/StringList.$(OBJ_SUFFIX) \
|
|
|
|
../source/base/Tokenizer.$(OBJ_SUFFIX) \
|
|
|
|
../source/base/MozillaString.$(OBJ_SUFFIX) \
|
|
|
|
../source/net/URIUtils.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaObjectWrapper.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaAttr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaCDATASection.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaCharacterData.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaComment.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaDOMImplementation.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaDocument.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaDocumentFragment.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaDocumentType.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaElement.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaEntity.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaEntityReference.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaNamedNodeMap.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaNode.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaNodeList.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaNotation.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaProcInstruction.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/dom/mozImpl/MozillaText.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/AdditiveExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/AttributeExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/AttributeValueTemplate.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/BasicNodeExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/BooleanExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/BooleanFunctionCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/BooleanResult.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/ElementExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/ErrorFunctionCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/Expr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/ExprLexer.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/ExprLexerChars.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/ExprParser.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/ExtensionFunctionCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/FilterExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/FunctionCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/LocationStep.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/MultiplicativeExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/NodeSet.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/NodeSetFunctionCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/nsNodeSet.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/NumberExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/NumberFunctionCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/NumberResult.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/PathExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/PredicateList.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/RelationalExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/RootExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/StringExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/StringFunctionCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/StringResult.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/TextExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/UnionExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/UnaryExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/VariableRefExpr.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/XPathNames.$(OBJ_SUFFIX) \
|
|
|
|
../source/xpath/XPathProcessor.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/XMLUtils.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/XMLDOMUtils.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/util/DOMHelper.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/parser/XMLParser.$(OBJ_SUFFIX) \
|
|
|
|
../source/xml/parser/nsSyncLoader.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/OutputFormat.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/Names.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/Numbering.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/ProcessorState.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/VariableBinding.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/XSLTProcessor.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/functions/CurrentFunctionCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/functions/DocumentFunctionCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/functions/ElementAvailableFnCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/functions/FunctionAvailableFnCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/functions/GenerateIdFunctionCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/functions/SystemPropertyFunctionCall.$(OBJ_SUFFIX) \
|
2001-10-15 12:33:54 +00:00
|
|
|
../source/xslt/functions/txFormatNumberFunctionCall.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/functions/txKeyFunctionCall.$(OBJ_SUFFIX) \
|
2001-09-22 12:49:53 +00:00
|
|
|
../source/xslt/util/NodeStack.$(OBJ_SUFFIX) \
|
2001-09-28 12:58:57 +00:00
|
|
|
../source/xslt/util/txNodeSorter.$(OBJ_SUFFIX) \
|
|
|
|
../source/xslt/util/txXPathResultComparator.$(OBJ_SUFFIX) \
|
2001-05-22 07:52:30 +00:00
|
|
|
$(NULL)
|
2000-05-18 21:17:27 +00:00
|
|
|
|
2001-05-12 09:54:16 +00:00
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(MOZ_JS_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2000-05-18 21:17:27 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2000-05-25 01:03:29 +00:00
|
|
|
|
|
|
|
INCLUDES += -I$(srcdir)/../source/xslt -I$(srcdir)/../source/base \
|
|
|
|
-I$(srcdir)/../source/net \
|
|
|
|
-I$(srcdir)/../source/xml -I$(srcdir)/../source/xml/dom \
|
|
|
|
-I$(srcdir)/../source/xml/util \
|
2001-05-11 08:33:21 +00:00
|
|
|
-I$(srcdir)/../source/xml/parser \
|
2000-05-25 01:03:29 +00:00
|
|
|
-I$(srcdir)/../source/xml/printer -I$(srcdir)/../source/xpath \
|
|
|
|
-I$(srcdir)/../source/xslt/util -I$(srcdir)/../source/xslt/functions
|
2000-10-04 22:47:01 +00:00
|
|
|
|
|
|
|
_T_VERSION = $(shell date +%Y%m%d%H)
|
|
|
|
|
|
|
|
GARBAGE += install.js $(wildcard transformiix*.xpi)
|
|
|
|
|
|
|
|
xpi:
|
|
|
|
$(PERL) $(topsrcdir)/xpinstall/packager/unix/makejs.pl $(srcdir)/transformiix.jst $(_T_VERSION) . install.js
|
|
|
|
zip transformiix$(_T_VERSION).xpi install.js
|
|
|
|
cd $(DIST); zip -u ../extensions/transformiix/build/transformiix$(_T_VERSION).xpi bin/components/libtransformiix.so
|