tor-browser

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

Makefile (2242B)


      1 #! gmake
      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 #######################################################################
      8 # (1) Include initial platform-independent assignments (MANDATORY).   #
      9 #######################################################################
     10 
     11 include manifest.mn
     12 
     13 #######################################################################
     14 # (2) Include "global" configuration information. (OPTIONAL)          #
     15 #######################################################################
     16 
     17 include $(CORE_DEPTH)/coreconf/config.mk
     18 
     19 #######################################################################
     20 # (3) Include "component" configuration information. (OPTIONAL)       #
     21 #######################################################################
     22 
     23 ifdef NSS_NO_INIT_SUPPORT
     24    DEFINES += -DNSS_NO_INIT_SUPPORT
     25 endif
     26 ifeq ($(OS_TARGET),Linux)
     27 ifeq ($(CPU_ARCH),ppc)
     28 ifdef USE_64
     29    DEFINES += -DNSS_NO_INIT_SUPPORT
     30 endif # USE_64
     31 endif # ppc
     32 else # !Linux
     33    # turn off no init support everywhere for now
     34    DEFINES += -DNSS_NO_INIT_SUPPORT
     35 endif # Linux
     36 
     37 #######################################################################
     38 # (4) Include "local" platform-dependent assignments (OPTIONAL).      #
     39 #######################################################################
     40 
     41 include config.mk
     42 
     43 #######################################################################
     44 # (5) Execute "global" rules. (OPTIONAL)                              #
     45 #######################################################################
     46 
     47 include $(CORE_DEPTH)/coreconf/rules.mk
     48 
     49 #######################################################################
     50 # (6) Execute "component" rules. (OPTIONAL)                           #
     51 #######################################################################
     52 
     53 
     54 
     55 #######################################################################
     56 # (7) Execute "local" rules. (OPTIONAL).                              #
     57 #######################################################################
     58 
     59 # indicates dependency on freebl static lib
     60 $(SHARED_LIBRARY): $(CRYPTOLIB)