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

« back to all changes in this revision

Viewing changes to memory/mozalloc/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
 
DEPTH           = @DEPTH@
7
 
topsrcdir       = @top_srcdir@
8
 
srcdir          = @srcdir@
9
 
VPATH           = @srcdir@
10
 
 
11
 
include $(DEPTH)/config/autoconf.mk
12
 
 
13
 
VISIBILITY_FLAGS=
14
 
STL_FLAGS       =
15
 
ifdef _MSC_VER
16
 
STL_FLAGS       = -D_HAS_EXCEPTIONS=0
17
 
endif
18
 
 
19
 
MODULE          = mozalloc
20
 
LIBRARY_NAME    = mozalloc
21
 
DIST_INSTALL    = 1
22
 
 
23
 
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
24
 
FORCE_STATIC_LIB= 1
25
 
else
26
 
FORCE_SHARED_LIB= 1
27
 
endif
28
 
 
29
 
# TODO: we do this in crashreporter and storage/src too, should be centralized
30
 
ifeq ($(OS_ARCH),Linux)
31
 
DEFINES += -DXP_LINUX
32
 
endif
33
 
 
34
 
ifeq (,$(filter-out OS2,$(OS_ARCH)))
35
 
# The strndup declaration in string.h is in an ifdef __USE_GNU section
36
 
DEFINES         += -D_GNU_SOURCE
37
 
endif
38
 
 
39
 
EXPORTS_NAMESPACES      = mozilla
40
 
EXPORTS_mozilla         =                       \
41
 
        fallible.h                              \
42
 
        mozalloc.h                              \
43
 
        mozalloc_abort.h                        \
44
 
        mozalloc_macro_wrappers.h               \
45
 
        mozalloc_oom.h                          \
46
 
        mozalloc_undef_macro_wrappers.h         \
47
 
        $(NULL)
48
 
 
49
 
CPPSRCS                 =                       \
50
 
        mozalloc.cpp                            \
51
 
        mozalloc_abort.cpp                      \
52
 
        mozalloc_oom.cpp                        \
53
 
        $(NULL)
54
 
 
55
 
ifdef WRAP_STL_INCLUDES #{
56
 
ifdef GNU_CXX #{
57
 
EXPORTS_mozilla += throw_gcc.h
58
 
else
59
 
ifdef _MSC_VER #{
60
 
 
61
 
ifeq ($(MOZ_MSVC_STL_WRAP__RAISE),1) #{
62
 
BUILD_MSVC_WRAPPERS = 1
63
 
else
64
 
ifeq ($(MOZ_MSVC_STL_WRAP__Throw),1) #{
65
 
BUILD_MSVC_WRAPPERS = 1
66
 
endif #}
67
 
endif #}
68
 
 
69
 
ifdef BUILD_MSVC_WRAPPERS #{
70
 
EXPORTS_mozilla         +=                      \
71
 
        msvc_raise_wrappers.h                   \
72
 
        msvc_throw_wrapper.h                    \
73
 
        throw_msvc.h                            \
74
 
        $(NULL)
75
 
 
76
 
CPPSRCS                 +=                      \
77
 
        msvc_raise_wrappers.cpp                 \
78
 
        msvc_throw_wrapper.cpp                  \
79
 
        $(NULL)
80
 
endif #}
81
 
 
82
 
endif #}
83
 
endif #}
84
 
 
85
 
endif #}
86
 
 
87
 
ifneq (,$(filter OS2 WINNT,$(OS_ARCH)))
88
 
SDK_LIBRARY = $(IMPORT_LIBRARY)
89
 
else
90
 
SDK_LIBRARY = $(SHARED_LIBRARY)
91
 
endif
92
 
 
93
 
LOCAL_INCLUDES += -I$(DEPTH)/xpcom
94
 
 
95
 
include $(topsrcdir)/config/rules.mk