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