DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (5b81998bb7ab)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
#
# 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@

include $(DEPTH)/config/autoconf.mk

LIBRARY_NAME   = necko
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
IS_COMPONENT   = 1
MODULE_NAME    = necko
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS := 1

SHARED_LIBRARY_LIBS = \
  ../base/src/$(LIB_PREFIX)neckobase_s.$(LIB_SUFFIX) \
  ../dns/$(LIB_PREFIX)neckodns_s.$(LIB_SUFFIX) \
  ../socket/$(LIB_PREFIX)neckosocket_s.$(LIB_SUFFIX) \
  ../streamconv/src/$(LIB_PREFIX)nkconv_s.$(LIB_SUFFIX) \
  ../streamconv/converters/$(LIB_PREFIX)nkcnvts_s.$(LIB_SUFFIX) \
  ../mime/$(LIB_PREFIX)nkmime_s.$(LIB_SUFFIX) \
  ../cache/$(LIB_PREFIX)nkcache_s.$(LIB_SUFFIX) \
  ../protocol/about/$(LIB_PREFIX)nkabout_s.$(LIB_SUFFIX) \
  $(foreach d,$(filter-out about,$(NECKO_PROTOCOLS)), \
    ../protocol/$(d)/$(LIB_PREFIX)nk$(d)_s.$(LIB_SUFFIX)) \
  ../ipc/$(LIB_PREFIX)neckoipc_s.$(LIB_SUFFIX) \
  $(NULL)

ifdef MOZ_SRTP
SHARED_LIBRARY_LIBS += \
  ../srtp/src/$(LIB_PREFIX)nksrtp_s.$(LIB_SUFFIX) \
  $(NULL)
endif

ifdef MOZ_SCTP
SHARED_LIBRARY_LIBS += \
  ../sctp/src/$(LIB_PREFIX)nksctp_s.$(LIB_SUFFIX) \
  ../sctp/datachannel/$(LIB_PREFIX)nkdatachan_s.$(LIB_SUFFIX) \
  $(NULL)
endif

ifeq ($(OS_ARCH),WINNT)
    SHARED_LIBRARY_LIBS += \
        ../system/win32/$(LIB_PREFIX)neckosystem_s.$(LIB_SUFFIX)
endif

ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
    SHARED_LIBRARY_LIBS += \
        ../system/mac/$(LIB_PREFIX)neckosystem_s.$(LIB_SUFFIX)
endif

ifdef MOZ_ENABLE_LIBCONIC
    SHARED_LIBRARY_LIBS += \
        ../system/maemo/$(LIB_PREFIX)neckosystem_s.$(LIB_SUFFIX)
endif

ifdef MOZ_ENABLE_QTNETWORK
    SHARED_LIBRARY_LIBS += \
        ../system/qt/$(LIB_PREFIX)neckosystem_s.$(LIB_SUFFIX)
endif

ifeq (android,$(MOZ_WIDGET_TOOLKIT))
    SHARED_LIBRARY_LIBS += \
        ../system/android/$(LIB_PREFIX)neckosystem_s.$(LIB_SUFFIX)
endif

ifdef MOZ_DASH
    SHARED_LIBRARY_LIBS += \
        ../dash/mpd/$(LIB_PREFIX)nkdashmpd_s.$(LIB_SUFFIX)
endif

LOCAL_INCLUDES = \
  -I$(srcdir)/../base/src \
  -I$(srcdir)/../dns \
  -I$(srcdir)/../socket \
  -I$(srcdir)/../streamconv/src \
  -I$(srcdir)/../streamconv/converters \
  -I$(srcdir)/../mime \
  -I$(srcdir)/../cache \
  -I$(srcdir)/../protocol/about \
  -I../dns \
  $(foreach d,$(filter-out about,$(NECKO_PROTOCOLS)), \
    -I$(srcdir)/../protocol/$(d)) \
  $(NULL)

ifeq ($(OS_ARCH),WINNT)
    LOCAL_INCLUDES += -I$(srcdir)/../system/win32
endif

ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
    LOCAL_INCLUDES += -I$(srcdir)/../system/mac
endif

ifdef MOZ_ENABLE_LIBCONIC
    LOCAL_INCLUDES += -I$(srcdir)/../system/maemo
endif

ifdef MOZ_ENABLE_QTNETWORK
    LOCAL_INCLUDES += -I$(srcdir)/../system/qt
endif

ifeq (android,$(MOZ_WIDGET_TOOLKIT))
    LOCAL_INCLUDES += -I$(srcdir)/../system/android
endif

ifdef NECKO_COOKIES
SHARED_LIBRARY_LIBS += \
  ../cookie/$(LIB_PREFIX)neckocookie_s.$(LIB_SUFFIX) \
  $(NULL)
LOCAL_INCLUDES += -I$(srcdir)/../cookie
endif

ifdef NECKO_WIFI
SHARED_LIBRARY_LIBS += \
  ../wifi/$(LIB_PREFIX)neckowifi_s.$(LIB_SUFFIX) \
  $(NULL)
LOCAL_INCLUDES += -I$(srcdir)/../wifi

endif

include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
include $(topsrcdir)/config/rules.mk

DEFINES += -DIMPL_NS_NET