~ubuntu-branches/ubuntu/quantal/enigmail/quantal-security

« back to all changes in this revision

Viewing changes to toolkit/content/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-09-13 16:02:15 UTC
  • mfrom: (0.12.16)
  • Revision ID: package-import@ubuntu.com-20130913160215-u3g8nmwa0pdwagwc
Tags: 2:1.5.2-0ubuntu0.12.10.1
* New upstream release v1.5.2 for Thunderbird 24

* Build enigmail using a stripped down Thunderbird 17 build system, as it's
  now quite difficult to build the way we were doing previously, with the
  latest Firefox build system
* Add debian/patches/no_libxpcom.patch - Don't link against libxpcom, as it
  doesn't exist anymore (but exists in the build system)
* Add debian/patches/use_sdk.patch - Use the SDK version of xpt.py and
  friends
* Drop debian/patches/ipc-pipe_rename.diff (not needed anymore)
* Drop debian/patches/makefile_depth.diff (not needed anymore)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# This Source Code Form is subject to the terms of the Mozilla Public
3
 
# License, v. 2.0. If a copy of the MPL was not distributed with this
4
 
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
 
 
6
 
 
7
 
DEPTH     = @DEPTH@
8
 
topsrcdir = @top_srcdir@
9
 
srcdir    = @srcdir@
10
 
VPATH     = @srcdir@
11
 
 
12
 
CHROME_DEPS = buildconfig.html
13
 
 
14
 
include $(DEPTH)/config/autoconf.mk
15
 
 
16
 
DEFINES += \
17
 
  -Dtarget="$(target)" \
18
 
  -Dac_configure_args="$(ac_configure_args)" \
19
 
  -DCC="$(CC)" \
20
 
  -DCC_VERSION="$(CC_VERSION)" \
21
 
  -DCFLAGS="$(CFLAGS)" \
22
 
  -DCXX="$(CXX)" \
23
 
  -DCXX_VERSION="$(CXX_VERSION)" \
24
 
  -DCXXFLAGS="$(CXXFLAGS)" \
25
 
  -DCPPFLAGS="$(CPPFLAGS)" \
26
 
  -DMOZ_APP_NAME=$(MOZ_APP_NAME) \
27
 
  -DMOZ_BUILD_APP=$(MOZ_BUILD_APP) \
28
 
  $(NULL)
29
 
 
30
 
MOZ_SOURCE_STAMP ?= $(shell hg -R $(topsrcdir) parent --template="{node|short}\n" 2>/dev/null)
31
 
ifdef MOZ_SOURCE_STAMP
32
 
DEFINES += -DSOURCE_CHANGESET="$(MOZ_SOURCE_STAMP)"
33
 
endif
34
 
 
35
 
ifeq (Android,$(OS_TARGET))
36
 
DEFINES += -DANDROID_PACKAGE_NAME=$(ANDROID_PACKAGE_NAME)
37
 
endif
38
 
 
39
 
# strip a trailing slash from the repo URL because it's not always present,
40
 
# and we want to construct a working URL in buildconfig.html
41
 
# make+shell+sed = awful
42
 
_dollar=$$
43
 
SOURCE_REPO := $(shell cd $(topsrcdir) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" )
44
 
# extra sanity check for old versions of hg
45
 
# that don't support showconfig
46
 
ifeq (http,$(patsubst http%,http,$(SOURCE_REPO)))
47
 
DEFINES += -DSOURCE_REPO="$(SOURCE_REPO)"
48
 
endif
49
 
 
50
 
BUILD_HOSTNAME = $(shell hostname -s || hostname)
51
 
DEFINES += -DBUILD_HOSTNAME="$(BUILD_HOSTNAME)"
52
 
 
53
 
ifdef MOZ_TOOLKIT_SEARCH
54
 
DEFINES += -DMOZ_TOOLKIT_SEARCH
55
 
endif
56
 
 
57
 
TEST_DIRS += tests
58
 
 
59
 
EXTRA_JS_MODULES = \
60
 
  debug.js \
61
 
  Geometry.jsm \
62
 
  InlineSpellChecker.jsm \
63
 
  PopupNotifications.jsm \
64
 
  Dict.jsm \
65
 
  PageMenu.jsm \
66
 
  PropertyListUtils.jsm \
67
 
  PrivateBrowsingUtils.jsm \
68
 
  Task.jsm \
69
 
  $(NULL)
70
 
 
71
 
EXTRA_PP_JS_MODULES = \
72
 
  LightweightThemeConsumer.jsm \
73
 
  Services.jsm \
74
 
  WindowDraggingUtils.jsm \
75
 
  $(NULL)
76
 
 
77
 
include $(topsrcdir)/config/rules.mk