mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
43 lines
885 B
Makefile
43 lines
885 B
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
|
|
|
|
MODULE = necko
|
|
LIBRARY_NAME = nkconv_s
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
|
ifeq (x86_64,$(OS_TEST))
|
|
# nsAppleFileDecoder.cpp has warnings I don't understand.
|
|
FAIL_ON_WARNINGS := 1
|
|
endif
|
|
endif
|
|
|
|
CPPSRCS = \
|
|
nsStreamConverterService.cpp \
|
|
$(NULL)
|
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
|
ifneq (x86_64,$(OS_TEST))
|
|
CPPSRCS += \
|
|
nsAppleFileDecoder.cpp \
|
|
$(NULL)
|
|
endif
|
|
endif
|
|
|
|
# we don't want the shared lib, but we want to force the creation of a
|
|
# static lib.
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
DEFINES += -DIMPL_NS_NET
|