3
# This Source Code Form is subject to the terms of the Mozilla Public
4
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
5
# You can obtain one at http://mozilla.org/MPL/2.0/.
8
$(warning loading test)
11
# Limit scope, we only need install_cmd= for testing
12
INCLUDED_AUTOCONF_MK = 1
13
include $(topsrcdir)/config/config.mk
15
USE_AUTOTARGETS_MK = 1
16
include $(topsrcdir)/config/makefiles/makeutils.mk
19
DIST = $(basedir)/dist
21
IDL_DIR = $(basedir)/idl
24
XPIDLSRCS = $(srcdir)/check-xpidl.mk
26
include $(topsrcdir)/config/makefiles/xpidl.mk
29
$(call requiredfunction,topsrcdir)
30
$(call requiredfunction,XPIDL_GEN_DIR)
33
check-xpidl: xpidl-install-src xpidl-install-headers
34
$(HIDE)test -d $(DIST) || exit 90
35
$(HIDE)test -f $(DI)/check-xpidl.mk || exit 91
36
$(HIDE)test -f $(IDL_DIR)/check-xpidl.mk || exit 92
38
# Declare targets to avoid including rules.mk