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

« back to all changes in this revision

Viewing changes to xpcom/string/src/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
 
3
 
# This Source Code Form is subject to the terms of the Mozilla Public
4
 
# License, v. 2.0. If a copy of the MPL was not distributed with this
5
 
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
 
 
7
 
DEPTH           = @DEPTH@
8
 
topsrcdir       = @top_srcdir@
9
 
srcdir          = @srcdir@
10
 
VPATH           = @srcdir@
11
 
 
12
 
include $(DEPTH)/config/autoconf.mk
13
 
 
14
 
MODULE          = string
15
 
LIBRARY_NAME    = string_s
16
 
MOZILLA_INTERNAL_API = 1
17
 
 
18
 
 
19
 
CPPSRCS         =                               \
20
 
                nsDependentString.cpp           \
21
 
                nsDependentSubstring.cpp        \
22
 
                nsPromiseFlatString.cpp         \
23
 
                nsReadableUtils.cpp             \
24
 
                nsSubstring.cpp                 \
25
 
                nsSubstringTuple.cpp            \
26
 
                nsString.cpp                    \
27
 
                nsStringComparator.cpp          \
28
 
                nsStringObsolete.cpp            \
29
 
                $(NULL)
30
 
 
31
 
# we don't want the shared lib, but we want to force the creation of a
32
 
# static lib.
33
 
FORCE_STATIC_LIB = 1
34
 
 
35
 
 
36
 
# Are we targeting x86 or x86-64?  If so, compile the SSE2 functions for
37
 
# nsUTF8Utils.cpp.
38
 
ifneq (,$(INTEL_ARCHITECTURE))
39
 
CPPSRCS += nsUTF8UtilsSSE2.cpp
40
 
endif
41
 
 
42
 
include $(topsrcdir)/config/rules.mk
43
 
 
44
 
ifneq (,$(INTEL_ARCHITECTURE))
45
 
# gcc requires -msse2 on nsUTF8UtilsSSE2.cpp since it uses SSE2 intrinsics.
46
 
# (See bug 585538 comment 12.)
47
 
ifdef GNU_CC
48
 
nsUTF8UtilsSSE2.$(OBJ_SUFFIX): CXXFLAGS+=-msse2
49
 
endif
50
 
 
51
 
ifdef SOLARIS_SUNPRO_CXX
52
 
nsUTF8UtilsSSE2.$(OBJ_SUFFIX): CXXFLAGS+=-xarch=sse2 -xO4
53
 
endif
54
 
endif
55
 
 
56
 
DEFINES         += -D_IMPL_NS_COM