~ubuntu-branches/ubuntu/precise/enigmail/precise-security

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-11-12 16:36:01 UTC
  • mfrom: (0.12.15)
  • Revision ID: package-import@ubuntu.com-20121112163601-t8e8skdfi3ni9iqp
Tags: 2:1.4.6-0ubuntu0.12.04.1
* New upstream release v1.4.6
  - see LP: #1080212 for USN information
* Drop unneeded patches
  - remove debian/patches/correct-version-number.diff
  - remove debian/patches/dont_register_cids_multiple_times.diff
  - update debian/patches/series
* Support building in an objdir
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# ***** BEGIN LICENSE BLOCK *****
3
 
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
4
 
#
5
 
# The contents of this file are subject to the Mozilla Public License Version
6
 
# 1.1 (the "License"); you may not use this file except in compliance with
7
 
# the License. You may obtain a copy of the License at
8
 
# http://www.mozilla.org/MPL/
9
 
#
10
 
# Software distributed under the License is distributed on an "AS IS" basis,
11
 
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12
 
# for the specific language governing rights and limitations under the
13
 
# License.
14
 
#
15
 
# The Original Code is mozilla.org code.
16
 
#
17
 
# The Initial Developer of the Original Code is
18
 
# Netscape Communications Corporation.
19
 
# Portions created by the Initial Developer are Copyright (C) 1998
20
 
# the Initial Developer. All Rights Reserved.
21
 
#
22
 
# Contributor(s):
23
 
#
24
 
# Alternatively, the contents of this file may be used under the terms of
25
 
# either the GNU General Public License Version 2 or later (the "GPL"), or
26
 
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27
 
# in which case the provisions of the GPL or the LGPL are applicable instead
28
 
# of those above. If you wish to allow use of your version of this file only
29
 
# under the terms of either the GPL or the LGPL, and not to allow others to
30
 
# use your version of this file under the terms of the MPL, indicate your
31
 
# decision by deleting the provisions above and replace them with the notice
32
 
# and other provisions required by the GPL or the LGPL. If you do not delete
33
 
# the provisions above, a recipient may use your version of this file under
34
 
# the terms of any one of the MPL, the GPL or the LGPL.
35
 
#
36
 
# ***** END LICENSE BLOCK *****
 
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/.
37
5
 
38
 
DEPTH           = .
 
6
DEPTH           = @DEPTH@
39
7
topsrcdir       = @top_srcdir@
40
8
srcdir          = @srcdir@
41
9
VPATH           = @srcdir@
62
30
  config \
63
31
  build \
64
32
  probes \
65
 
  mfbt \
66
33
  $(NULL)
67
34
 
68
35
ifndef LIBXUL_SDK
69
36
ifeq (android,$(MOZ_WIDGET_TOOLKIT))
70
37
tier_base_dirs += \
71
38
  other-licenses/android \
72
 
  other-licenses/skia-npapi \
 
39
  $(NULL)
 
40
endif
 
41
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
 
42
tier_base_dirs += \
 
43
  other-licenses/android \
73
44
  $(NULL)
74
45
endif
75
46
 
76
47
ifdef MOZ_MEMORY
 
48
tier_base_dirs += memory/mozjemalloc
 
49
ifdef MOZ_JEMALLOC
77
50
tier_base_dirs += memory/jemalloc
78
51
endif
 
52
tier_base_dirs += memory/build
 
53
endif
 
54
ifndef MOZ_NATIVE_ZLIB
 
55
tier_base_dirs += modules/zlib
 
56
endif
79
57
tier_base_dirs += \
80
58
  mozglue \
81
59
  memory/mozalloc \
101
79
        $(RM) -r $(DIST)/include
102
80
        $(RM) -r $(DIST)/private
103
81
        $(RM) -r $(DIST)/public
104
 
        $(RM) -r $(DIST)/bin/components
 
82
        $(RM) $(DIST)/chrome.manifest
105
83
        $(RM) -r _tests
106
84
 
107
85
$(topsrcdir)/configure: $(topsrcdir)/configure.in
171
149
endif
172
150
 
173
151
SYMBOL_INDEX_NAME = \
174
 
  $(MOZ_APP_NAME)-$(MOZ_APP_VERSION)-$(OS_TARGET)-$(BUILDID)$(EXTRA_BUILDID)-symbols.txt
 
152
  $(MOZ_APP_NAME)-$(MOZ_APP_VERSION)-$(OS_TARGET)-$(BUILDID)-$(CPU_ARCH)$(EXTRA_BUILDID)-symbols.txt
175
153
 
176
154
buildsymbols:
177
155
ifdef MOZ_CRASHREPORTER
189
167
        OBJCOPY="$(OBJCOPY)" \
190
168
        $(PYTHON) $(topsrcdir)/toolkit/crashreporter/tools/symbolstore.py \
191
169
          $(MAKE_SYM_STORE_ARGS)                                          \
 
170
          --exclude="*test*" --exclude="*Test*"                           \
192
171
          $(foreach dir,$(SYM_STORE_SOURCE_DIRS),-s $(dir))               \
193
172
          $(DUMP_SYMS_BIN)                                                \
194
173
          $(DIST)/crashreporter-symbols                                   \
231
210
        find $(DIST)/$(MOZ_APP_NAME) -name "*.pgc" -exec mv {} $(DIST)/bin \;
232
211
endif
233
212
 
 
213
# put in our default gdbinit so that the gdb debugging experience is happier.
 
214
libs:: .gdbinit
 
215
        $(INSTALL) $< $(DIST)/bin
 
216
 
234
217
.PHONY: maybe_clobber_profiledbuild
235
218
 
236
219
# Look for R_386_PC32 relocations in shared libs, these
239
222
scheck::
240
223
        @relcount=`find $(DIST)/bin -name "*.so" | xargs objdump -R | grep R_386_PC32 | wc -l` && if test $$relcount -gt 0; then echo "FAILED: R_386_PC32 relocations detected in a shared library.  Did you use a system header without adding it to config/system-headers?"; exit 1; else echo "PASSED"; fi
241
224
endif
 
225
 
 
226
js/src/Makefile: subsrcdir := js/src