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 ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
6 ACDEFINES += -UWIN32_LEAN_AND_MEAN
7 endif
9 include $(topsrcdir)/config/rules.mk
11 DEFINES := $(filter-out -DUNICODE,$(DEFINES))
13 CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS)
14 CFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS)
16 ifeq ($(MOZ_WIDGET_TOOLKIT),android)
17 CXXFLAGS += $(CAIRO_FT_CFLAGS)
18 endif
20 ifeq ($(MOZ_WIDGET_TOOLKIT),gonk)
21 CXXFLAGS += $(CAIRO_FT_CFLAGS)
22 endif
24 ifdef MOZ_WIDGET_GTK
25 CXXFLAGS += $(MOZ_PANGO_CFLAGS)
26 endif
28 ifeq ($(MOZ_WIDGET_TOOLKIT),qt)
29 CXXFLAGS += $(CAIRO_FT_CFLAGS) $(MOZ_PANGO_CFLAGS)
30 endif
32 DeprecatedPremultiplyTables.h: $(srcdir)/genTables.py
33 $(PYTHON) $(srcdir)/genTables.py