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/.
7 topsrcdir
= @top_srcdir@
11 include $(DEPTH
)/config
/autoconf.mk
14 LIBRARY_NAME
= neckodns_s
24 nsEffectiveTLDService.
cpp \
33 EXPORTS_NAMESPACES
= mozilla
/net
35 EXPORTS_mozilla
/net
= \
39 # we don't want the shared lib, but we want to force the creation of a
43 # need to include etld_data.inc
45 -I
$(srcdir)/..
/base
/src \
49 include $(topsrcdir
)/config
/rules.mk
51 DEFINES
+= -DIMPL_NS_NET \
52 -DHB_DONT_DEFINE_STDINT \
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