2007-03-22 10:30:00 -07:00
|
|
|
#
|
2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2007-03-22 10:30:00 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
|
2009-03-11 15:39:24 -07:00
|
|
|
abs_srcdir = $(call core_abspath,$(srcdir))
|
2008-04-10 11:05:51 -07:00
|
|
|
|
|
|
|
CHROME_DEPS += $(abs_srcdir)/content/overrides/app-license.html
|
2008-04-10 09:07:21 -07:00
|
|
|
|
2012-02-04 09:32:24 -08:00
|
|
|
TEST_DIRS += content/test
|
2007-06-29 18:47:53 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2011-04-12 23:43:18 -07:00
|
|
|
PRE_RELEASE_SUFFIX := ""
|
2009-02-15 15:04:05 -08:00
|
|
|
|
2008-04-10 09:07:21 -07:00
|
|
|
DEFINES += \
|
|
|
|
-DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \
|
2008-11-26 17:59:47 -08:00
|
|
|
-DAPP_LICENSE_BLOCK=$(abs_srcdir)/content/overrides/app-license.html \
|
2009-02-15 15:04:05 -08:00
|
|
|
-DPRE_RELEASE_SUFFIX="$(PRE_RELEASE_SUFFIX)" \
|
2008-04-10 09:07:21 -07:00
|
|
|
$(NULL)
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-09-18 19:59:53 -07:00
|
|
|
ifneq (,$(filter windows gtk2 cocoa, $(MOZ_WIDGET_TOOLKIT)))
|
2007-03-22 10:30:00 -07:00
|
|
|
DEFINES += -DHAVE_SHELL_SERVICE=1
|
|
|
|
endif
|
|
|
|
|
2009-09-18 19:59:53 -07:00
|
|
|
ifneq (,$(filter windows cocoa gtk2, $(MOZ_WIDGET_TOOLKIT)))
|
2007-03-22 10:30:00 -07:00
|
|
|
DEFINES += -DCONTEXT_COPY_IMAGE_CONTENTS=1
|
|
|
|
endif
|
2010-06-13 01:20:58 -07:00
|
|
|
|
2013-02-04 08:05:06 -08:00
|
|
|
ifneq (,$(filter windows, $(MOZ_WIDGET_TOOLKIT)))
|
2010-11-05 01:26:46 -07:00
|
|
|
DEFINES += -DCAN_DRAW_IN_TITLEBAR=1
|
2010-11-12 02:01:00 -08:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter windows gtk2, $(MOZ_WIDGET_TOOLKIT)))
|
2010-06-13 01:20:58 -07:00
|
|
|
DEFINES += -DMENUBAR_CAN_AUTOHIDE=1
|
|
|
|
endif
|