Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla
[gecko.git] / netwerk / dns / Makefile.in
bloba5ce592f82abe83483713f7708fc11f751bdd95b
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 DEPTH = @DEPTH@
7 topsrcdir = @top_srcdir@
8 srcdir = @srcdir@
9 VPATH = @srcdir@
11 include $(DEPTH)/config/autoconf.mk
13 MODULE = necko
14 LIBRARY_NAME = neckodns_s
15 LIBXUL_LIBRARY = 1
16 GRE_MODULE = 1
17 FAIL_ON_WARNINGS := 1
19 CPPSRCS = \
20 DNS.cpp \
21 nsIDNService.cpp \
22 nsHostResolver.cpp \
23 nsDNSService2.cpp \
24 nsEffectiveTLDService.cpp \
25 $(NULL)
27 CSRCS = \
28 race.c \
29 nameprep.c \
30 punycode.c \
31 $(NULL)
33 EXPORTS_NAMESPACES = mozilla/net
35 EXPORTS_mozilla/net = \
36 DNS.h \
37 $(null)
39 # we don't want the shared lib, but we want to force the creation of a
40 # static lib.
41 FORCE_STATIC_LIB = 1
43 # need to include etld_data.inc
44 LOCAL_INCLUDES = \
45 -I$(srcdir)/../base/src \
46 -I. \
47 $(NULL)
49 include $(topsrcdir)/config/rules.mk
51 DEFINES += -DIMPL_NS_NET \
52 -DHB_DONT_DEFINE_STDINT \
53 $(NULL)
55 # Generate the include file containing compact, static definitions
56 # for effective TLD data.
57 nsEffectiveTLDService.$(OBJ_SUFFIX): etld_data.inc
58 nsEffectiveTLDService.h: etld_data.inc
60 etld_data.inc: $(srcdir)/prepare_tlds.py $(srcdir)/effective_tld_names.dat
61 $(PYTHON) $(srcdir)/prepare_tlds.py $(srcdir)/effective_tld_names.dat > etld_data.inc
63 GARBAGE += etld_data.inc