tor-browser

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

Makefile.in (1665B)


      1 # 
      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 #! gmake
      7 
      8 MOD_DEPTH	= ../../..
      9 topsrcdir	= @top_srcdir@
     10 srcdir		= @srcdir@
     11 VPATH		= @srcdir@
     12 
     13 include $(MOD_DEPTH)/config/autoconf.mk
     14 
     15 include $(topsrcdir)/config/config.mk
     16 
     17 CSRCS = \
     18 pralarm.c  \
     19 pratom.c   \
     20 prcountr.c \
     21 prdtoa.c   \
     22 prenv.c    \
     23 prerr.c  \
     24 prerror.c  \
     25 prerrortable.c  \
     26 prinit.c   \
     27 prinrval.c \
     28 pripc.c \
     29 prlog2.c   \
     30 prlong.c   \
     31 prnetdb.c  \
     32 praton.c  \
     33 prolock.c  \
     34 prrng.c    \
     35 prsystem.c \
     36 prtime.c   \
     37 prthinfo.c \
     38 prtpool.c \
     39 prtrace.c  \
     40 $(NULL)
     41 
     42 ifndef USE_PTHREADS
     43 CSRCS += \
     44 pripcsem.c \
     45 $(NULL)
     46 endif
     47 
     48 TARGETS	= $(OBJS)
     49 
     50 INCLUDES = -I$(dist_includedir) -I$(topsrcdir)/pr/include -I$(topsrcdir)/pr/include/private
     51 
     52 DEFINES	+= -D_NSPR_BUILD_
     53 
     54 RELEASE_BINS = $(srcdir)/compile-et.pl $(srcdir)/prerr.properties
     55 
     56 include $(topsrcdir)/config/rules.mk
     57 
     58 # Prevent floating point errors caused by MSVC 6.0 Processor Pack
     59 # optimizations (bug 207421).  This disables optimizations that
     60 # could change the precision of floating-point calculations for
     61 # this single compilation unit.
     62 ifeq ($(NS_USE_GCC)_$(OS_ARCH),_WINNT)
     63 $(OBJDIR)/prdtoa.$(OBJ_SUFFIX): prdtoa.c
     64 @$(MAKE_OBJDIR)
     65 ifeq (,$(filter-out 1100 1200 1300 1310,$(MSC_VER)))
     66 $(CC) -Fo$@ -c $(CFLAGS) -Op $(call pr_abspath,$<)
     67 else
     68 $(CC) -Fo$@ -c $(CFLAGS) -fp:precise $(call pr_abspath,$<)
     69 endif
     70 endif
     71 
     72 #
     73 # Generate prerr.h, prerr.c, and prerr.properties from prerr.et.
     74 #
     75 build_prerr:
     76 cd $(srcdir); $(PERL) compile-et.pl prerr.et
     77 
     78 export:: $(TARGETS)