gecko/toolkit/components/feeds/Makefile.in

36 lines
830 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
LIBRARY_NAME = feed_s
MOZILLA_INTERNAL_API = 1
FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1
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