mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 13:54:27 +00:00
11bcc1cd9e
--HG-- extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
35 lines
817 B
Makefile
35 lines
817 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
|
|
|
|
MOZILLA_INTERNAL_API = 1
|
|
FORCE_STATIC_LIB = 1
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
DISABLED_EXTRA_COMPONENTS = FeedProcessor.js FeedProcessor.manifest
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
ABS_SRCDIR := $(call core_abspath,$(srcdir))
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
ABS_DEPTH := $(call core_abspath,$(DEPTH))
|
|
|
|
check::
|
|
cd $(srcdir)/test; $(LIBXUL_DIST)/bin/xpcshell$(BIN_SUFFIX) shell.js
|
|
|
|
else
|
|
|
|
check::
|
|
$(RUN_TEST_PROGRAM) $(LIBXUL_DIST)/bin/xpcshell$(BIN_SUFFIX) $(srcdir)/test/shell.js $(ABS_SRCDIR)/test
|
|
|
|
endif # WINNT
|