summaryrefslogtreecommitdiff
path: root/browser/base/Makefile.in
blob: 285ef15f0f1eba2d30651c6ddd14889d65d11065 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DEPTH   = @DEPTH@
topsrcdir = @top_srcdir@
srcdir    = @srcdir@
VPATH   = @srcdir@

include $(DEPTH)/config/autoconf.mk

include $(topsrcdir)/config/config.mk

abs_srcdir = $(call core_abspath,$(srcdir))

CHROME_DEPS += $(abs_srcdir)/content/overrides/app-license.html

include $(topsrcdir)/config/rules.mk

PRE_RELEASE_SUFFIX := ""

DEFINES += \
	-DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \
	-DAPP_LICENSE_BLOCK=$(abs_srcdir)/content/overrides/app-license.html \
	-DPRE_RELEASE_SUFFIX="$(PRE_RELEASE_SUFFIX)" \
	$(NULL)

ifneq (,$(filter windows gtk2 gtk3 cocoa, $(MOZ_WIDGET_TOOLKIT)))
DEFINES += -DHAVE_SHELL_SERVICE=1
endif

ifneq (,$(filter windows cocoa gtk2 gtk3, $(MOZ_WIDGET_TOOLKIT)))
DEFINES += -DCONTEXT_COPY_IMAGE_CONTENTS=1
endif

ifneq (,$(filter windows cocoa, $(MOZ_WIDGET_TOOLKIT)))
DEFINES += -DCAN_DRAW_IN_TITLEBAR=1
endif

ifneq (,$(filter windows gtk2 gtk3, $(MOZ_WIDGET_TOOLKIT)))
DEFINES += -DMENUBAR_CAN_AUTOHIDE=1
endif