Bug 1835529 [wpt PR 40276] - Update wpt metadata, a=testonly
[gecko.git] / config / Makefile.in
blob79b6db87ad1fc005662702e87383217ba0679824
1 # -*- Makefile -*-
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
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 # IMPORTANT: Disable NSBUILDROOT for this directory only, otherwise we have
8 # a recursive rule for finding nsinstall and the Perl scripts.
9 ifdef NSBUILDROOT
10 override NSBUILDROOT :=
11 endif
13 include $(topsrcdir)/config/config.mk
15 # L10n jobs are doing make -C config manually before anything else,
16 # and need nsinstall to be built as a consequence.
17 ifdef COMPILE_ENVIRONMENT
18 export:: host
20 ifneq (WINNT,$(HOST_OS_ARCH))
21 # Ensure nsinstall is atomically created
22 nsinstall$(HOST_BIN_SUFFIX): $(HOST_PROGRAM)
23 cp $^ $@.tmp
24 mv $@.tmp $@
26 NSINSTALL_EXECUTABLES := nsinstall$(HOST_BIN_SUFFIX)
27 NSINSTALL_DEST := $(DIST)/bin
28 NSINSTALL_TARGET := host
29 INSTALL_TARGETS += NSINSTALL
30 endif
31 endif
33 include $(topsrcdir)/config/rules.mk
35 FORCE:
37 ifndef JS_STANDALONE
38 check-preqs += check-jar-mn
39 endif
41 check:: $(check-preqs)
43 check-jar-mn::
44 $(MAKE) -C tests/src-simple check-jar
45 $(MAKE) -C tests/src-simple check-flat
46 $(MAKE) -C tests/src-simple check-flat USE_EXTENSION_MANIFEST=1
47 ifneq (,$(filter-out WINNT,$(OS_ARCH)))
48 $(MAKE) -C tests/src-simple check-symlink
49 endif