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.
10 override NSBUILDROOT
:=
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
20 ifneq (WINNT
,$(HOST_OS_ARCH
))
21 # Ensure nsinstall is atomically created
22 nsinstall
$(HOST_BIN_SUFFIX
): $(HOST_PROGRAM
)
26 NSINSTALL_EXECUTABLES
:= nsinstall
$(HOST_BIN_SUFFIX
)
27 NSINSTALL_DEST
:= $(DIST
)/bin
28 NSINSTALL_TARGET
:= host
29 INSTALL_TARGETS
+= NSINSTALL
33 include $(topsrcdir
)/config
/rules.mk
38 check-preqs
+= check-jar-mn
41 check:: $(check-preqs
)
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