# # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. DEPTH = @DEPTH@ topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ FAIL_ON_WARNINGS = 1 include $(DEPTH)/config/autoconf.mk MODULE = necko LIBRARY_NAME = nkftp_s LIBXUL_LIBRARY = 1 XPIDL_MODULE = necko_ftp GRE_MODULE = 1 FORCE_STATIC_LIB = 1 EXPORTS = ftpCore.h XPIDLSRCS = \ nsIFTPChannel.idl \ $(NULL) EXPORTS_NAMESPACES = mozilla/net EXPORTS_mozilla/net += \ FTPChannelParent.h \ FTPChannelChild.h \ $(NULL) CPPSRCS = \ nsFtpProtocolHandler.cpp \ nsFTPChannel.cpp \ nsFtpConnectionThread.cpp \ nsFtpControlConnection.cpp \ FTPChannelParent.cpp \ FTPChannelChild.cpp \ $(NULL) LOCAL_INCLUDES = \ -I$(srcdir)/../../base/src \ -I$(topsrcdir)/xpcom/ds \ $(NULL) include $(topsrcdir)/config/config.mk include $(topsrcdir)/ipc/chromium/chromium-config.mk include $(topsrcdir)/config/rules.mk ifeq ($(OS_ARCH),WINNT) ifndef MOZ_DEBUG ifndef NO_LOGGING DEFINES += -DFORCE_PR_LOG endif endif endif # WINNT DEFINES += -DIMPL_NS_NET