2012-03-30 21:42:20 -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/.
|
|
|
|
|
2013-09-05 08:20:26 -07:00
|
|
|
include ../webidlsrcs.mk
|
2012-05-23 09:44:48 -07:00
|
|
|
|
2013-12-11 23:26:38 -08:00
|
|
|
# $(test_sources) comes from webidlsrcs.mk.
|
|
|
|
# TODO Update this variable in backend.mk.
|
|
|
|
CPPSRCS += $(addprefix ../,$(test_sources))
|
2012-05-23 09:44:48 -07:00
|
|
|
|
2013-11-19 10:16:51 -08:00
|
|
|
ifdef GNU_CC
|
2013-12-11 23:26:38 -08:00
|
|
|
OS_CXXFLAGS += -Wno-uninitialized
|
2013-11-19 10:16:51 -08:00
|
|
|
endif
|
2013-03-09 23:58:21 -08:00
|
|
|
|
2013-12-11 23:26:38 -08:00
|
|
|
# Bug 932082 tracks having bindings use namespaced includes.
|
|
|
|
LOCAL_INCLUDES += -I$(DIST)/include/mozilla/dom -I..
|
|
|
|
|
2012-07-26 09:38:03 -07:00
|
|
|
# Include rules.mk before any of our targets so our first target is coming from
|
|
|
|
# rules.mk and running make with no target in this dir does the right thing.
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2012-06-10 16:44:50 -07:00
|
|
|
check::
|
2012-07-02 13:32:42 -07:00
|
|
|
PYTHONDONTWRITEBYTECODE=1 $(PYTHON) $(topsrcdir)/config/pythonpath.py \
|
|
|
|
$(PLY_INCLUDE) $(srcdir)/../parser/runtests.py
|