browser/base/Makefile.in
author Sean Stangl <sstangl@mozilla.com>
Tue, 16 Apr 2013 13:47:10 -0700
changeset 128986 089c532f32d1a1515b2554b451a828d497b4f83b
parent 123224 3fc89f2888fe975cc617c836c79073fa352e96aa
child 134673 0cb01583448b23c7b99e538a6db3c45b395588db
permissions -rw-r--r--
Bug 860029 - Standardize Modelines in the JS Module. r=njn

#
# 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 cocoa, $(MOZ_WIDGET_TOOLKIT)))
DEFINES += -DHAVE_SHELL_SERVICE=1
endif

ifneq (,$(filter windows cocoa gtk2, $(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, $(MOZ_WIDGET_TOOLKIT)))
DEFINES += -DMENUBAR_CAN_AUTOHIDE=1
endif