61 lines
1.5 KiB
Makefile
61 lines
1.5 KiB
Makefile
#
|
|
# 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>
|
|
#
|
|
|
|
DEPTH = ../../../../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@ @srcdir@/xmltok @srcdir@/xmlparse
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
ifndef TX_EXE
|
|
MODULE = transformiix
|
|
REQUIRES = string \
|
|
xpcom \
|
|
necko \
|
|
dom \
|
|
layout \
|
|
content \
|
|
widget \
|
|
js \
|
|
appshell \
|
|
xpconnect \
|
|
caps \
|
|
$(NULL)
|
|
endif
|
|
|
|
CPPSRCS = XMLParser.cpp
|
|
ifndef TX_EXE
|
|
CPPSRCS += nsSyncLoader.cpp
|
|
else
|
|
CSRCS = xmltok.c xmlrole.c xmlparse.c hashtable.c
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
INCLUDES += -I$(srcdir)/../../base -I$(srcdir)/../../net -I$(srcdir)/../dom
|
|
ifdef TX_EXE
|
|
INCLUDES += -I$(srcdir)/xmlparse -I$(srcdir)/xmltok
|
|
COMPILE_CFLAGS += -DXML_UNICODE
|
|
endif
|
|
|
|
libs:: $(OBJS)
|