mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
6f32ddf61c
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
#
|
|
# 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
|
|
MSVC_ENABLE_PGO := 1
|
|
LIBXUL_LIBRARY = 1
|
|
FAIL_ON_WARNINGS := 1
|
|
|
|
DISABLED_CSRCS = \
|
|
race.c \
|
|
nameprep.c \
|
|
punycode.c \
|
|
$(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
|