tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Makefile.in (1277B)


      1 # -*- Makefile -*-
      2 #
      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/.
      6 
      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
     12 
     13 include $(topsrcdir)/config/config.mk
     14 
     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
     19 
     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 $@
     25 
     26 NSINSTALL_EXECUTABLES := nsinstall$(HOST_BIN_SUFFIX)
     27 NSINSTALL_DEST := $(DIST)/bin
     28 NSINSTALL_TARGET := host
     29 INSTALL_TARGETS += NSINSTALL
     30 endif
     31 endif
     32 
     33 include $(topsrcdir)/config/rules.mk
     34 
     35 FORCE:
     36 
     37 ifndef JS_STANDALONE
     38 check-preqs += check-jar-mn
     39 endif
     40 
     41 check:: $(check-preqs)
     42 
     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