browser/base/Makefile.in
author Ehsan Akhgari <ehsan@mozilla.com>
Tue, 12 Jun 2012 23:53:09 -0400
changeset 96548 4142308ec401baf9504115c3492fd698f2c99a4f
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 101418 2ef51674316aadfe26a46877b16794f758bf4b6d
permissions -rw-r--r--
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (uriloader parts); r=bzbarsky

#
# 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   = ../..
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

TEST_DIRS += content/test

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

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