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

« back to all changes in this revision

Viewing changes to layout/media/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
 
MODULE          = layout
14
 
LIBRARY_NAME    = gkmedias
15
 
EXPORT_LIBRARY  = $(DIST)/lib
16
 
ifeq (WINNT,$(OS_TARGET))
17
 
FORCE_SHARED_LIB = 1
18
 
endif
19
 
 
20
 
SHARED_LIBRARY_LIBS = \
21
 
    $(MOZ_OTS_LIBS) \
22
 
    $(QCMS_LIBS) \
23
 
    $(MOZ_HARFBUZZ_LIBS) \
24
 
    $(NULL)
25
 
 
26
 
ifdef MOZ_TREE_CAIRO
27
 
SHARED_LIBRARY_LIBS += $(MOZ_CAIRO_LIBS)
28
 
endif
29
 
 
30
 
ifdef MOZ_TREE_PIXMAN
31
 
SHARED_LIBRARY_LIBS += $(MOZ_PIXMAN_LIBS)
32
 
endif
33
 
 
34
 
ifdef MOZ_GRAPHITE
35
 
SHARED_LIBRARY_LIBS += $(MOZ_GRAPHITE_LIBS)
36
 
endif
37
 
 
38
 
ifdef MOZ_VORBIS
39
 
SHARED_LIBRARY_LIBS     += \
40
 
        $(DEPTH)/media/libvorbis/lib/$(LIB_PREFIX)vorbis.$(LIB_SUFFIX) \
41
 
        $(DEPTH)/media/libogg/src/$(LIB_PREFIX)ogg.$(LIB_SUFFIX) \
42
 
        $(NULL)
43
 
endif
44
 
 
45
 
ifdef MOZ_TREMOR
46
 
SHARED_LIBRARY_LIBS     += \
47
 
        $(DEPTH)/media/libtremor/lib/$(LIB_PREFIX)tremor.$(LIB_SUFFIX) \
48
 
        $(DEPTH)/media/libogg/src/$(LIB_PREFIX)ogg.$(LIB_SUFFIX) \
49
 
        $(NULL)
50
 
endif
51
 
 
52
 
ifdef MOZ_OGG
53
 
SHARED_LIBRARY_LIBS     += \
54
 
        $(DEPTH)/media/libtheora/lib/$(LIB_PREFIX)theora.$(LIB_SUFFIX) \
55
 
        $(NULL)
56
 
endif
57
 
 
58
 
ifdef MOZ_OPUS
59
 
SHARED_LIBRARY_LIBS += \
60
 
  $(DEPTH)/media/libopus/$(LIB_PREFIX)opus.$(LIB_SUFFIX) \
61
 
  $(NULL)
62
 
endif
63
 
 
64
 
ifdef MOZ_WEBM
65
 
SHARED_LIBRARY_LIBS     += \
66
 
        $(DEPTH)/media/libnestegg/src/$(LIB_PREFIX)nestegg.$(LIB_SUFFIX) \
67
 
        $(NULL)
68
 
endif
69
 
 
70
 
ifdef MOZ_VP8
71
 
ifndef MOZ_NATIVE_LIBVPX
72
 
SHARED_LIBRARY_LIBS     += \
73
 
        $(DEPTH)/media/libvpx/$(LIB_PREFIX)vpx.$(LIB_SUFFIX) \
74
 
        $(NULL)
75
 
endif
76
 
endif
77
 
 
78
 
ifdef MOZ_SYDNEYAUDIO
79
 
SHARED_LIBRARY_LIBS     += \
80
 
        $(DEPTH)/media/libsydneyaudio/src/$(LIB_PREFIX)sydneyaudio.$(LIB_SUFFIX) \
81
 
        $(NULL)
82
 
endif
83
 
 
84
 
ifdef MOZ_SPEEX_RESAMPLER
85
 
SHARED_LIBRARY_LIBS     += \
86
 
        $(DEPTH)/media/libspeex_resampler/src/$(LIB_PREFIX)speex_resampler.$(LIB_SUFFIX) \
87
 
        $(NULL)
88
 
endif
89
 
 
90
 
ifdef MOZ_CUBEB
91
 
SHARED_LIBRARY_LIBS     += \
92
 
        $(DEPTH)/media/libcubeb/src/$(LIB_PREFIX)cubeb.$(LIB_SUFFIX) \
93
 
        $(NULL)
94
 
endif
95
 
 
96
 
ifndef MOZ_NATIVE_PNG
97
 
SHARED_LIBRARY_LIBS     += \
98
 
        $(DEPTH)/media/libpng/$(LIB_PREFIX)mozpng.$(LIB_SUFFIX) \
99
 
        $(NULL)
100
 
endif
101
 
 
102
 
ifndef MOZ_NATIVE_JPEG
103
 
SHARED_LIBRARY_LIBS     += \
104
 
        $(DEPTH)/media/libjpeg/$(LIB_PREFIX)mozjpeg.$(LIB_SUFFIX) \
105
 
        $(NULL)
106
 
endif
107
 
 
108
 
SHARED_LIBRARY_LIBS     += \
109
 
        $(DEPTH)/gfx/angle/$(LIB_PREFIX)angle.$(LIB_SUFFIX) \
110
 
        $(DEPTH)/parser/expat/lib/$(LIB_PREFIX)mozexpat_s.$(LIB_SUFFIX) \
111
 
        $(NULL)
112
 
 
113
 
SHARED_LIBRARY_LIBS     += \
114
 
        $(DEPTH)/gfx/2d/$(LIB_PREFIX)gfx2d.$(LIB_SUFFIX) \
115
 
        $(NULL)
116
 
 
117
 
ifdef MOZ_WEBRTC
118
 
include $(topsrcdir)/media/webrtc/shared_libs.mk
119
 
endif
120
 
 
121
 
ifdef MOZ_ENABLE_SKIA
122
 
SHARED_LIBRARY_LIBS += $(MOZ_SKIA_LIBS)
123
 
endif
124
 
 
125
 
ifeq (WINNT,$(OS_TARGET))
126
 
EXTRA_DSO_LDOPTS = $(MOZALLOC_LIB) $(NSPR_LIBS)
127
 
OS_LIBS += $(call EXPAND_LIBNAME,usp10 ole32)
128
 
 
129
 
ifdef MOZ_WEBRTC
130
 
EXTRA_DSO_LDOPTS += \
131
 
  -LIBPATH:"$(MOZ_DIRECTX_SDK_PATH)/lib/$(MOZ_DIRECTX_SDK_CPU_SUFFIX)" \
132
 
  $(NULL)
133
 
OS_LIBS += $(call EXPAND_LIBNAME,secur32 crypt32 iphlpapi strmiids dmoguids wmcodecdspuuid amstrmid msdmo wininet)
134
 
ifdef _MSC_VER
135
 
OS_LIBS += $(call EXPAND_LIBNAME,delayimp)
136
 
EXTRA_DSO_LDOPTS += \
137
 
  -DELAYLOAD:msdmo.dll \
138
 
  $(NULL)
139
 
endif
140
 
endif
141
 
 
142
 
DEFFILE = symbols.def
143
 
endif
144
 
 
145
 
include $(topsrcdir)/config/rules.mk
146
 
 
147
 
ifeq (WINNT,$(OS_TARGET))
148
 
symbols.def: symbols.def.in
149
 
        $(PYTHON) $(topsrcdir)/config/Preprocessor.py $(ACDEFINES) $< > $@
150
 
 
151
 
OS_LIBS += $(call EXPAND_LIBNAME, msimg32)
152
 
 
153
 
ifdef MOZ_CUBEB
154
 
OS_LIBS += $(call EXPAND_LIBNAME, winmm)
155
 
endif
156
 
 
157
 
endif