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

« back to all changes in this revision

Viewing changes to tools/profiler/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
 
#! gmake
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
 
relativesrcdir = @relativesrcdir@
12
 
 
13
 
XPCSHELL_TESTS = tests
14
 
 
15
 
include $(DEPTH)/config/autoconf.mk
16
 
 
17
 
EXPORTS = sampler.h
18
 
 
19
 
ifdef MOZ_ENABLE_PROFILER_SPS
20
 
EXPORTS += \
21
 
  sps_sampler.h \
22
 
  shared-libraries.h \
23
 
  $(NULL)
24
 
 
25
 
LOCAL_INCLUDES += \
26
 
  -I$(topsrcdir)/ipc/chromium/src \
27
 
  $(NULL)
28
 
 
29
 
ifneq (,$(MOZ_PROFILING))
30
 
ifneq (,$(filter Android,$(OS_TARGET)))
31
 
LOCAL_INCLUDES += \
32
 
  -I$(topsrcdir)/tools/profiler/libunwind/src/include \
33
 
  -I$(DEPTH)/tools/profiler/libunwind/src/include \
34
 
  $(NULL)
35
 
 
36
 
SHARED_LIBRARY_LIBS += \
37
 
  $(DEPTH)/tools/profiler/libunwind/src/src/.libs/libunwind-arm.$(LIB_SUFFIX) \
38
 
  $(NULL)
39
 
 
40
 
export::
41
 
        # Avoid building libunwind documentation
42
 
        $(topsrcdir)/tools/profiler/libunwind/dont_build_docs.sh $(DEPTH)/tools/profiler/libunwind/src/doc/Makefile
43
 
        $(call SUBMAKE,,libunwind/src)
44
 
 
45
 
distclean::
46
 
        $(call SUBMAKE,$@,libunwind/src)
47
 
endif
48
 
endif
49
 
 
50
 
MODULE          = profiler
51
 
MODULE_NAME     = nsProfilerModule
52
 
LIBRARY_NAME    = profiler
53
 
EXPORT_LIBRARY  = 1
54
 
LIBXUL_LIBRARY  = 1
55
 
IS_COMPONENT    = 1
56
 
 
57
 
CPPSRCS         = \
58
 
  nsProfilerFactory.cpp \
59
 
  nsProfiler.cpp \
60
 
  TableTicker.cpp \
61
 
  $(NULL)
62
 
 
63
 
XPIDLSRCS = \
64
 
  nsIProfiler.idl \
65
 
  $(NULL)
66
 
 
67
 
EXTRA_JS_MODULES = \
68
 
  Profiler.jsm \
69
 
  $(NULL)
70
 
 
71
 
ifneq (,$(filter Android Linux,$(OS_TARGET)))
72
 
CPPSRCS += \
73
 
  shared-libraries-linux.cc \
74
 
  platform-linux.cc \
75
 
  $(NULL)
76
 
endif
77
 
 
78
 
ifeq ($(OS_TARGET),Darwin)
79
 
CPPSRCS += \
80
 
  shared-libraries-macos.cc \
81
 
  platform-macos.cc \
82
 
  $(NULL)
83
 
endif
84
 
 
85
 
ifeq ($(OS_TARGET),WINNT)
86
 
CPPSRCS += \
87
 
  shared-libraries-win32.cc \
88
 
  platform-win32.cc \
89
 
  $(NULL)
90
 
endif
91
 
 
92
 
endif
93
 
 
94
 
include $(topsrcdir)/config/rules.mk