netwerk/dns/Makefile.in
author Kyle Machulis <kyle@nonpolynomial.com>
Fri, 29 Mar 2013 15:12:58 -0700
changeset 137136 0db3022ca2e6bec95897850f797f078464a7f529
parent 136192 c0dc803fc4b56a7c6c94692d78a3cdfc7bc5b11e
child 139919 51644264df6d5b25226a49f8641ed13cb8b0aa27
permissions -rw-r--r--
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot

#
# 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   = neckodns_s
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS := 1

CPPSRCS = \
  DNS.cpp \
  nsIDNService.cpp \
  nsHostResolver.cpp \
  nsDNSService2.cpp \
  nsEffectiveTLDService.cpp \
  $(NULL)

CSRCS = \
  race.c \
  nameprep.c \
  punycode.c \
  $(NULL)

EXPORTS_NAMESPACES = mozilla/net

EXPORTS_mozilla/net = \
  DNS.h \
  $(null)

# we don't want the shared lib, but we want to force the creation of a
# static lib.
FORCE_STATIC_LIB = 1

# need to include etld_data.inc
LOCAL_INCLUDES = \
  -I$(srcdir)/../base/src \
  -I. \
  $(NULL)

include $(topsrcdir)/config/rules.mk

DEFINES += -DIMPL_NS_NET \
           -DHB_DONT_DEFINE_STDINT \
           $(NULL)

# Generate the include file containing compact, static definitions
# for effective TLD data.
nsEffectiveTLDService.$(OBJ_SUFFIX): etld_data.inc
nsEffectiveTLDService.h: etld_data.inc

etld_data.inc: $(srcdir)/prepare_tlds.py $(srcdir)/effective_tld_names.dat
	$(PYTHON) $(srcdir)/prepare_tlds.py $(srcdir)/effective_tld_names.dat > etld_data.inc

GARBAGE += etld_data.inc