tor-browser

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

Makefile.in (1022B)


      1 # -*- makefile -*-
      2 # This Source Code Form is subject to the terms of the Mozilla Public
      3 # License, v. 2.0. If a copy of the MPL was not distributed with this
      4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      5 
      6 include $(topsrcdir)/config/config.mk
      7 
      8 USE_AUTOTARGETS_MK=1
      9 include $(topsrcdir)/config/makefiles/makeutils.mk
     10 
     11 $(call errorIfEmpty,MOZ_BRANDING_DIRECTORY)
     12 SUBMAKEFILES += \
     13        $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/Makefile \
     14        $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales/Makefile \
     15        $(NULL)
     16 
     17 include $(topsrcdir)/config/rules.mk
     18 
     19 l10n-%: AB_CD=$*
     20 l10n-%:
     21 $(NSINSTALL) -D $(DIST)/install
     22 @$(MAKE) -C $(DEPTH)/toolkit/locales l10n-$*
     23 @$(MAKE) l10n AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref
     24 @$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$*
     25 
     26 # Tailored target to just add the chrome processing for multi-locale builds
     27 chrome-%: AB_CD=$*
     28 chrome-%:
     29 @$(MAKE) chrome AB_CD=$*
     30 @$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales chrome AB_CD=$*