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.
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 OS_CXXFLAGS := $(filter-out -fshort-wchar,$(OS_CXXFLAGS))
7 ACDEFINES =
9 ifndef MOZ_NATIVE_LIBEVENT # {
10 vpath %.c \
11 $(srcdir)/src/third_party/libevent \
12 $(NULL)
13 endif # }
15 vpath %.cc \
16 $(srcdir)/src/base \
17 $(srcdir)/src/chrome/common \
18 $(NULL)
20 vpath %.mm \
21 $(srcdir)/src/base \
22 $(srcdir)/src/chrome/common \
23 $(NULL)
25 OS_CXXFLAGS += $(TK_CFLAGS)
27 include $(topsrcdir)/config/rules.mk
29 ifdef MOZ_NATIVE_LIBEVENT # {
31 export-preqs = \
32 $(call mkdir_deps,$(CURDIR)/third_party/libevent) \
33 $(NULL)
35 export:: $(export-preqs)
36 echo '#include <event.h>' > $(CURDIR)/third_party/libevent/event.h
38 endif # }