mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
93933b0de8
* * * FOLD
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# vim: noexpandtab ts=8 sw=8
|
|
#
|
|
# 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@
|
|
relativesrcdir = @relativesrcdir@
|
|
FAIL_ON_WARNINGS := 1
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
LIBS = $(XPCOM_LIBS) \
|
|
$(NSPR_LIBS) \
|
|
$(NULL)
|
|
|
|
DEFINES += $(TK_CFLAGS)
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
check::
|
|
$(RUN_TEST_PROGRAM) $(DIST)/bin/TestCookie$(BIN_SUFFIX)
|
|
|
|
_RES_FILES = urlparse.dat \
|
|
urlparse_unx.dat \
|
|
$(NULL)
|
|
libs:: $(_RES_FILES)
|
|
$(INSTALL) $^ $(DIST)/bin/res
|
|
install:: $(_RES_FILES)
|
|
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/res
|
|
|
|
# One of the xpcshell unit tests needs this file, so make sure it winds
|
|
# up in the test directory.
|
|
libs::
|
|
$(NSINSTALL) -D $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/unit/data
|
|
$(INSTALL) $(topsrcdir)/netwerk/dns/effective_tld_names.dat \
|
|
$(DEPTH)/_tests/xpcshell/$(relativesrcdir)/unit/
|