netwerk/dns/Makefile.in
author Landry Breuil <landry@openbsd.org>
Wed, 14 Aug 2013 13:03:40 +0200
changeset 142627 93c54132c3cbc6d72156e8c2adc033f5a09b07be
parent 140951 3ac5fdcbb36685ab5eff3ad3a30c210f38740c09
child 142487 adb013097db236d2a9ce65c1d921e00b8034ab62
permissions -rw-r--r--
Bug 899722 Part 1: Fix ECMAScript intl on BSD by stripping the extra 's' added to the library name, as done on linux. r=norbert

#
# 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

MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS := 1

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

include $(topsrcdir)/config/rules.mk

DEFINES += \
           -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