# 
# 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 mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation.  Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): 
#

DEPTH       = ../../../..
topsrcdir   = /cygdrive/c/mozilla/kompozer
srcdir      = /cygdrive/c/mozilla/kompozer/extensions/webservices/build/src
VPATH       = /cygdrive/c/mozilla/kompozer/extensions/webservices/build/src

include $(DEPTH)/config/autoconf.mk

MODULE          = websrvcs
LIBRARY_NAME    = websrvcs
EXPORT_LIBRARY  = 1
IS_COMPONENT    = 1
MODULE_NAME     = nsWebServicesModule

PACKAGE_FILE    = webservices.pkg

REQUIRES	= xpcom \
		  string \
		  dom \
		  js \
		  content \
		  widget \
		  caps \
		  necko \
		  xpconnect \
		  xmlextras \
		  $(NULL)

CPPSRCS = nsWebServicesModule.cpp


SHARED_LIBRARY_LIBS += \
	$(DIST)/lib/$(LIB_PREFIX)websrvcssecurity_s.$(LIB_SUFFIX) \
	$(DIST)/lib/$(LIB_PREFIX)websrvcsschema_s.$(LIB_SUFFIX) \
	$(DIST)/lib/$(LIB_PREFIX)websrvcssoap_s.$(LIB_SUFFIX) \
	$(DIST)/lib/$(LIB_PREFIX)websrvcsinterfaceinfo_s.$(LIB_SUFFIX) \
	$(DIST)/lib/$(LIB_PREFIX)websrvcswsdl_s.$(LIB_SUFFIX) \
	$(DIST)/lib/$(LIB_PREFIX)websrvcsproxy_s.$(LIB_SUFFIX) \
	$(NULL)

LOCAL_INCLUDES	+= \
		-I$(srcdir)/../../security/src \
		-I$(srcdir)/../../soap/src \
		-I$(srcdir)/../../schema/src \
		-I$(srcdir)/../../interfaceinfo/src \
		-I$(srcdir)/../../wsdl/src \
		-I$(srcdir)/../../proxy/src \


EXTRA_DSO_LDOPTS = \
		$(LIBS_DIR) \
		$(MOZ_COMPONENT_LIBS) \
		$(ZLIB_LIBS) \
		$(MOZ_JS_LIBS) \
		$(NULL)

include $(topsrcdir)/config/rules.mk
