2012-05-29 08:52:43 -07:00
|
|
|
# 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/.
|
2007-07-02 10:29:22 -07:00
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2011-02-17 16:09:40 -08:00
|
|
|
relativesrcdir = extensions/spellcheck/hunspell
|
2007-07-02 10:29:22 -07:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = hunspell
|
2011-02-17 16:09:40 -08:00
|
|
|
DIRS = src
|
|
|
|
|
2011-07-17 03:07:41 -07:00
|
|
|
ifdef ENABLE_TESTS
|
2011-02-17 16:09:40 -08:00
|
|
|
XPCSHELL_TESTS = tests/unit
|
2011-04-07 18:13:03 -07:00
|
|
|
ABS_topsrcdir = $(call core_abspath,$(topsrcdir))
|
2011-02-17 16:09:40 -08:00
|
|
|
libs::
|
|
|
|
$(NSINSTALL) -D $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/tests/unit/data
|
2011-04-07 18:13:03 -07:00
|
|
|
cd $(srcdir)/tests; $(PYTHON) $(ABS_topsrcdir)/config/nsinstall.py \
|
2011-02-17 16:09:40 -08:00
|
|
|
./ \
|
|
|
|
$(call core_abspath,$(DEPTH)/_tests/xpcshell/$(relativesrcdir)/tests/unit/data/)
|
2011-07-17 03:07:41 -07:00
|
|
|
endif
|
2007-07-02 10:29:22 -07:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|