зеркало из https://github.com/mozilla/gecko-dev.git
56 строки
1.2 KiB
Makefile
56 строки
1.2 KiB
Makefile
#
|
|
# 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 = nkcnvts_s
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
|
|
CPPSRCS = \
|
|
mozTXTToHTMLConv.cpp \
|
|
nsUnknownDecoder.cpp \
|
|
nsHTTPCompressConv.cpp \
|
|
nsTXTToHTMLConv.cpp \
|
|
nsDirIndex.cpp \
|
|
nsDirIndexParser.cpp \
|
|
nsIndexedToHTML.cpp \
|
|
nsMultiMixedConv.cpp \
|
|
$(NULL)
|
|
|
|
# only include FTP directory listing support if the FTP
|
|
# protocol is being built.
|
|
ifneq (,$(filter ftp,$(NECKO_PROTOCOLS)))
|
|
CPPSRCS += \
|
|
ParseFTPList.cpp \
|
|
nsFTPDirListingConv.cpp \
|
|
$(NULL)
|
|
endif
|
|
|
|
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
|
CPPSRCS += \
|
|
nsBinHexDecoder.cpp \
|
|
$(NULL)
|
|
endif
|
|
|
|
# we don't want the shared lib, but we want to force the creation of a
|
|
# static lib.
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
LOCAL_INCLUDES = \
|
|
-I$(topsrcdir)/netwerk/base/src \
|
|
$(NULL)
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
DEFINES += -DIMPL_NS_NET
|