Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # |
michael@0 | 2 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 5 | |
michael@0 | 6 | #! gmake |
michael@0 | 7 | |
michael@0 | 8 | MOD_DEPTH = ../../.. |
michael@0 | 9 | topsrcdir = @top_srcdir@ |
michael@0 | 10 | srcdir = @srcdir@ |
michael@0 | 11 | VPATH = @srcdir@ |
michael@0 | 12 | |
michael@0 | 13 | include $(MOD_DEPTH)/config/autoconf.mk |
michael@0 | 14 | |
michael@0 | 15 | include $(topsrcdir)/config/config.mk |
michael@0 | 16 | |
michael@0 | 17 | ifdef USE_PTHREADS |
michael@0 | 18 | DIRS = |
michael@0 | 19 | else |
michael@0 | 20 | ifdef USE_BTHREADS |
michael@0 | 21 | DIRS = |
michael@0 | 22 | else |
michael@0 | 23 | DIRS = combined |
michael@0 | 24 | endif |
michael@0 | 25 | endif |
michael@0 | 26 | |
michael@0 | 27 | ifdef USE_PTHREADS |
michael@0 | 28 | CSRCS = \ |
michael@0 | 29 | prcmon.c \ |
michael@0 | 30 | prrwlock.c \ |
michael@0 | 31 | prtpd.c \ |
michael@0 | 32 | $(NULL) |
michael@0 | 33 | else |
michael@0 | 34 | ifdef USE_BTHREADS |
michael@0 | 35 | CSRCS = \ |
michael@0 | 36 | prcmon.c \ |
michael@0 | 37 | prrwlock.c \ |
michael@0 | 38 | prtpd.c \ |
michael@0 | 39 | $(NULL) |
michael@0 | 40 | else |
michael@0 | 41 | CSRCS = \ |
michael@0 | 42 | prcmon.c \ |
michael@0 | 43 | prdump.c \ |
michael@0 | 44 | prmon.c \ |
michael@0 | 45 | prsem.c \ |
michael@0 | 46 | prrwlock.c \ |
michael@0 | 47 | prcthr.c \ |
michael@0 | 48 | prtpd.c \ |
michael@0 | 49 | $(NULL) |
michael@0 | 50 | endif |
michael@0 | 51 | endif |
michael@0 | 52 | |
michael@0 | 53 | TARGETS = $(OBJS) |
michael@0 | 54 | |
michael@0 | 55 | INCLUDES = -I$(dist_includedir) -I$(topsrcdir)/pr/include -I$(topsrcdir)/pr/include/private |
michael@0 | 56 | |
michael@0 | 57 | DEFINES += -D_NSPR_BUILD_ |
michael@0 | 58 | |
michael@0 | 59 | include $(topsrcdir)/config/rules.mk |
michael@0 | 60 | |
michael@0 | 61 | export:: $(TARGETS) |
michael@0 | 62 |