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

« back to all changes in this revision

Viewing changes to xpcom/glue/nomozalloc/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
 
# vim:set ts=8 sw=8 sts=8 noet:
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
 
include $(srcdir)/../objs.mk
13
 
 
14
 
EXTRA_DEPS += $(srcdir)/../objs.mk
15
 
 
16
 
MODULE          = xpcom
17
 
LIBRARY_NAME    = xpcomglue_s_nomozalloc
18
 
DIST_INSTALL    = 1
19
 
 
20
 
LOCAL_INCLUDES  = \
21
 
                -I$(srcdir)/../../build \
22
 
                $(NULL)
23
 
 
24
 
CPPSRCS         = \
25
 
                $(XPCOM_GLUE_SRC_LCPPSRCS) \
26
 
                $(XPCOM_GLUENS_SRC_LCPPSRCS) \
27
 
                nsStringAPI.cpp \
28
 
                GenericModule.cpp \
29
 
                $(NULL)
30
 
 
31
 
SDK_LIBRARY     =                        \
32
 
                $(LIB_PREFIX)xpcomglue_s_nomozalloc.$(LIB_SUFFIX) \
33
 
                $(NULL)
34
 
 
35
 
GARBAGE += $(CPPSRCS) DeadlockDetector.h SSE.h arm.h
36
 
 
37
 
# we don't want the shared lib, but we want to force the creation of a static lib.
38
 
FORCE_STATIC_LIB = 1
39
 
 
40
 
# Pretend we're statically linking the CRT, even though we might not be: this
41
 
# avoids "msvcrp" and assembly dependencies from creeping into the directives
42
 
# for this library on Windows.
43
 
USE_STATIC_LIBS = 1
44
 
 
45
 
# Don't use STL wrappers here (i.e. wrapped <new>); they require mozalloc
46
 
STL_FLAGS       =
47
 
 
48
 
include $(topsrcdir)/config/rules.mk
49
 
 
50
 
ifdef _MSC_VER
51
 
# Don't include directives about which CRT to use
52
 
OS_COMPILE_CXXFLAGS += -Zl
53
 
OS_COMPILE_CFLAGS += -Zl
54
 
DEFINES += -D_USE_ANSI_CPP
55
 
endif
56
 
 
57
 
export:: $(XPCOM_GLUE_SRC_CPPSRCS) $(XPCOM_GLUENS_SRC_CPPSRCS) $(topsrcdir)/xpcom/glue/nsStringAPI.cpp $(topsrcdir)/xpcom/glue/GenericModule.cpp $(topsrcdir)/xpcom/glue/DeadlockDetector.h $(topsrcdir)/xpcom/glue/SSE.h $(topsrcdir)/xpcom/glue/arm.h
58
 
        $(INSTALL) $^ .
59
 
 
60
 
ifdef TARGET_XPCOM_ABI
61
 
DEFINES += -DTARGET_XPCOM_ABI=\"$(TARGET_XPCOM_ABI)\"
62
 
endif
63
 
 
64
 
DEFINES += -DMOZ_NO_MOZALLOC