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

« back to all changes in this revision

Viewing changes to mozilla/build/win32/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
# This Source Code Form is subject to the terms of the Mozilla Public
 
2
# License, v. 2.0. If a copy of the MPL was not distributed with this
 
3
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
4
 
 
5
DEPTH     = @DEPTH@
 
6
topsrcdir = @top_srcdir@
 
7
srcdir    = @srcdir@
 
8
VPATH     = @srcdir@
 
9
 
 
10
include $(DEPTH)/config/autoconf.mk
 
11
 
 
12
NO_PROFILE_GUIDED_OPTIMIZE = 1
 
13
 
 
14
ifdef _MSC_VER
 
15
ifneq ($(OS_TEST),x86_64)
 
16
TEST_DIRS += vmwarerecordinghelper
 
17
endif
 
18
endif
 
19
 
 
20
TEST_DIRS += \
 
21
  crashinjectdll \
 
22
  $(NULL)
 
23
 
 
24
ifdef ENABLE_TESTS
 
25
 
 
26
PROGRAM = crashinject$(BIN_SUFFIX)
 
27
USE_STATIC_LIBS = 1
 
28
CPPSRCS = crashinject.cpp
 
29
 
 
30
endif # ENABLE_TESTS
 
31
 
 
32
MOZ_GLUE_LDFLAGS =
 
33
 
 
34
include $(topsrcdir)/config/rules.mk
 
35
 
 
36
ifdef WIN32_REDIST_DIR
 
37
ifndef MOZ_DEBUG
 
38
 
 
39
ifeq (1400,$(_MSC_VER))
 
40
REDIST_FILES = \
 
41
  Microsoft.VC80.CRT.manifest \
 
42
  msvcm80.dll \
 
43
  msvcp80.dll \
 
44
  msvcr80.dll \
 
45
  $(NULL)
 
46
endif
 
47
 
 
48
ifeq (1500,$(_MSC_VER))
 
49
REDIST_FILES = \
 
50
  Microsoft.VC90.CRT.manifest \
 
51
  msvcm90.dll \
 
52
  msvcp90.dll \
 
53
  msvcr90.dll \
 
54
  $(NULL)
 
55
endif
 
56
 
 
57
ifeq (1600,$(_MSC_VER))
 
58
REDIST_FILES = \
 
59
  msvcp100.dll \
 
60
  msvcr100.dll \
 
61
  $(NULL)
 
62
endif
 
63
 
 
64
ifeq (1700,$(_MSC_VER))
 
65
REDIST_FILES = \
 
66
  msvcp110.dll \
 
67
  msvcr110.dll \
 
68
  $(NULL)
 
69
endif
 
70
 
 
71
ifdef MOZ_METRO
 
72
REDIST_FILES += vccorlib110.dll
 
73
endif
 
74
 
 
75
ifdef REDIST_FILES
 
76
libs-preqs = \
 
77
  $(call mkdir_deps,$(FINAL_TARGET)) \
 
78
  $(NULL)
 
79
 
 
80
libs:: $(libs-preqs)
 
81
        install --preserve-timestamps $(foreach f,$(REDIST_FILES),"$(WIN32_REDIST_DIR)"/$(f)) $(FINAL_TARGET)
 
82
endif
 
83
 
 
84
endif # ! MOZ_DEBUG
 
85
endif # WIN32_REDIST_DIR
 
86
 
 
87
# run the binscope tool to make sure the binary and all libraries
 
88
# are using all available Windows OS-level security mechanisms
 
89
check::
 
90
        $(PYTHON) $(srcdir)/autobinscope.py $(DIST)/bin/$(MOZ_APP_NAME)$(BIN_SUFFIX) $(DIST)/crashreporter-symbols/
 
91
        $(PYTHON) $(srcdir)/autobinscope.py $(DIST)/bin/plugin-container.exe $(DIST)/crashreporter-symbols/
 
92