michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: # You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: include ../webidlsrcs.mk michael@0: michael@0: # $(test_sources) comes from webidlsrcs.mk. michael@0: # TODO Update this variable in backend.mk. michael@0: CPPSRCS += $(addprefix ../,$(test_sources)) michael@0: michael@0: ifdef GNU_CC michael@0: OS_CXXFLAGS += -Wno-uninitialized michael@0: endif michael@0: michael@0: # Bug 932082 tracks having bindings use namespaced includes. michael@0: LOCAL_INCLUDES += -I$(DIST)/include/mozilla/dom michael@0: michael@0: # Include rules.mk before any of our targets so our first target is coming from michael@0: # rules.mk and running make with no target in this dir does the right thing. michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: check:: michael@0: PYTHONDONTWRITEBYTECODE=1 $(PYTHON) $(topsrcdir)/config/pythonpath.py \ michael@0: $(PLY_INCLUDE) $(srcdir)/../parser/runtests.py