peterv%propagandism.org 0e8ea1e2d4 Fix for bug 103659 (move to static lib per directory). r=Pike, sr=bryner.
git-svn-id: svn://10.0.0.236/trunk@153648 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 13:58:44 +00:00

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@
include $(DEPTH)/config/autoconf.mk
MODULE = transformiix
LIBRARY_NAME = txxmlparser_s
REQUIRES = string \
xpcom \
$(NULL)
ifndef TX_EXE
REQUIRES += necko \
dom \
content \
widget \
js \
xpconnect \
caps \
unicharutil \
$(NULL)
else
REQUIRES += expat \
$(NULL)
endif
CPPSRCS = txXMLParser.cpp
# we don't want the shared lib, but we want to force the creation of a
# static lib.
FORCE_STATIC_LIB = 1
include $(topsrcdir)/config/rules.mk
DEFINES += -DXML_DTD -DXML_UNICODE
INCLUDES += -I$(srcdir)/../../base -I$(srcdir)/../dom -I$(srcdir)/../../xpath