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-05-18 14:37:00 +00:00
|
|
|
REQUIRES = xpcom string dom docshell necko layout widget caps webbrwsr js uriloader locale xpconnect gfx2 appshell embedcomponents xsl_doc
|
2000-05-25 01:03:29 +00:00
|
|
|
IS_COMPONENT = 1
|
|
|
|
|
|
|
|
|
|
|
|
CPPSRCS = XSLTProcessorModule.cpp
|
2001-05-22 07:52:30 +00:00
|
|
|
LOBJS =../source/base/ArrayList.o \
|
2000-05-25 01:03:29 +00:00
|
|
|
../source/base/DefaultStringComparator.o \
|
|
|
|
../source/base/Double.o \
|
|
|
|
../source/base/Integer.o \
|
|
|
|
../source/base/List.o \
|
2001-04-08 14:40:12 +00:00
|
|
|
../source/base/TxObjectWrapper.o \
|
2000-05-25 01:03:29 +00:00
|
|
|
../source/base/Map.o \
|
|
|
|
../source/base/NamedMap.o \
|
|
|
|
../source/base/SimpleErrorObserver.o \
|
|
|
|
../source/base/Stack.o \
|
|
|
|
../source/base/StringComparator.o \
|
|
|
|
../source/base/StringList.o \
|
|
|
|
../source/base/Tokenizer.o \
|
2000-05-26 15:04:52 +00:00
|
|
|
../source/base/MozillaString.o \
|
2000-05-25 01:03:29 +00:00
|
|
|
../source/net/URIUtils.o \
|
2000-09-04 16:25:27 +00:00
|
|
|
../source/xml/dom/mozImpl/MozillaObjectWrapper.o \
|
2000-05-25 01:03:29 +00:00
|
|
|
../source/xml/dom/mozImpl/MozillaAttr.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaCDATASection.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaCharacterData.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaComment.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaDOMImplementation.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaDocument.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaDocumentFragment.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaDocumentType.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaElement.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaEntity.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaEntityReference.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaNamedNodeMap.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaNode.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaNodeList.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaNotation.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaProcInstruction.o \
|
|
|
|
../source/xml/dom/mozImpl/MozillaText.o \
|
|
|
|
../source/xpath/AdditiveExpr.o \
|
|
|
|
../source/xpath/AttributeExpr.o \
|
|
|
|
../source/xpath/AttributeValueTemplate.o \
|
|
|
|
../source/xpath/BasicNodeExpr.o \
|
|
|
|
../source/xpath/BooleanExpr.o \
|
|
|
|
../source/xpath/BooleanFunctionCall.o \
|
|
|
|
../source/xpath/BooleanResult.o \
|
|
|
|
../source/xpath/ElementExpr.o \
|
|
|
|
../source/xpath/ErrorFunctionCall.o \
|
|
|
|
../source/xpath/ExprLexer.o \
|
|
|
|
../source/xpath/ExprParser.o \
|
|
|
|
../source/xpath/ExtensionFunctionCall.o \
|
|
|
|
../source/xpath/FilterExpr.o \
|
|
|
|
../source/xpath/FunctionCall.o \
|
|
|
|
../source/xpath/IdentityExpr.o \
|
|
|
|
../source/xpath/LocationStep.o \
|
|
|
|
../source/xpath/MultiplicativeExpr.o \
|
|
|
|
../source/xpath/NodeSet.o \
|
|
|
|
../source/xpath/NodeSetFunctionCall.o \
|
2001-01-22 14:12:16 +00:00
|
|
|
../source/xpath/nsNodeSet.o \
|
2000-05-25 01:03:29 +00:00
|
|
|
../source/xpath/NumberExpr.o \
|
|
|
|
../source/xpath/NumberFunctionCall.o \
|
|
|
|
../source/xpath/NumberResult.o \
|
|
|
|
../source/xpath/ParentExpr.o \
|
|
|
|
../source/xpath/PathExpr.o \
|
|
|
|
../source/xpath/PredicateList.o \
|
|
|
|
../source/xpath/RelationalExpr.o \
|
|
|
|
../source/xpath/RootExpr.o \
|
|
|
|
../source/xpath/StringExpr.o \
|
|
|
|
../source/xpath/StringFunctionCall.o \
|
|
|
|
../source/xpath/StringResult.o \
|
|
|
|
../source/xpath/TextExpr.o \
|
|
|
|
../source/xpath/UnionExpr.o \
|
|
|
|
../source/xpath/VariableRefExpr.o \
|
|
|
|
../source/xpath/XPathNames.o \
|
2001-01-12 20:06:48 +00:00
|
|
|
../source/xpath/XPathProcessor.o \
|
2000-05-25 01:03:29 +00:00
|
|
|
../source/xml/XMLUtils.o \
|
|
|
|
../source/xml/XMLDOMUtils.o \
|
|
|
|
../source/xml/util/DOMHelper.o \
|
|
|
|
../source/xml/parser/XMLParser.o \
|
2001-01-12 20:06:48 +00:00
|
|
|
../source/xml/parser/nsSyncLoader.o \
|
2000-05-25 01:03:29 +00:00
|
|
|
../source/xslt/OutputFormat.o \
|
|
|
|
../source/xslt/Names.o \
|
|
|
|
../source/xslt/Numbering.o \
|
|
|
|
../source/xslt/ProcessorState.o \
|
|
|
|
../source/xslt/VariableBinding.o \
|
|
|
|
../source/xslt/XSLTProcessor.o \
|
2001-01-12 20:06:48 +00:00
|
|
|
../source/xslt/functions/CurrentFunctionCall.o \
|
2000-05-25 01:03:29 +00:00
|
|
|
../source/xslt/functions/DocumentFunctionCall.o \
|
2001-01-24 14:44:05 +00:00
|
|
|
../source/xslt/functions/ElementAvailableFnCall.o \
|
|
|
|
../source/xslt/functions/FunctionAvailableFnCall.o \
|
2000-05-25 01:03:29 +00:00
|
|
|
../source/xslt/functions/GenerateIdFunctionCall.o \
|
2001-01-12 20:06:48 +00:00
|
|
|
../source/xslt/functions/SystemPropertyFunctionCall.o \
|
2000-05-25 01:03:29 +00:00
|
|
|
../source/xslt/util/NodeSorter.o \
|
|
|
|
../source/xslt/util/NodeStack.o \
|
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
|