On x86 compilers without fastcall, simulate it when invoking traces and un-simulate...
[wine-gecko.git] / content / media / video / src / Makefile.in
blob644b7938b720ff45112470939a9eef0e6d9a753a
1 # ***** BEGIN LICENSE BLOCK *****
2 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 # http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Original Code is Mozilla code.
16 # The Initial Developer of the Original Code is the Mozilla Corporation.
17 # Portions created by the Initial Developer are Copyright (C) 2007
18 # the Initial Developer. All Rights Reserved.
20 # Contributor(s):
21 # Chris Double <chris.double@double.co.nz>
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 2 or later (the "GPL"), or
25 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26 # in which case the provisions of the GPL or the LGPL are applicable instead
27 # of those above. If you wish to allow use of your version of this file only
28 # under the terms of either the GPL or the LGPL, and not to allow others to
29 # use your version of this file under the terms of the MPL, indicate your
30 # decision by deleting the provisions above and replace them with the notice
31 # and other provisions required by the GPL or the LGPL. If you do not delete
32 # the provisions above, a recipient may use your version of this file under
33 # the terms of any one of the MPL, the GPL or the LGPL.
35 # ***** END LICENSE BLOCK *****
37 DEPTH = ../../../..
38 topsrcdir = @top_srcdir@
39 srcdir = @srcdir@
40 VPATH = @srcdir@
42 include $(DEPTH)/config/autoconf.mk
44 ifdef MOZ_OGG
45 ifeq ($(OS_ARCH),Linux)
46 DEFINES += -DSYDNEY_AUDIO_NO_POSITION
47 endif
49 ifeq ($(OS_ARCH),WINNT)
50 DEFINES += -DSYDNEY_AUDIO_NO_VOLUME -DSYDNEY_AUDIO_NO_POSITION
51 endif
52 endif
54 MODULE = content
55 LIBRARY_NAME = gkconvideo_s
56 LIBXUL_LIBRARY = 1
58 REQUIRES = \
59 xpcom \
60 string \
61 gfx \
62 content \
63 thebes \
64 layout \
65 widget \
66 dom \
67 js \
68 locale \
69 unicharutil \
70 webshell \
71 uriloader \
72 htmlparser \
73 necko \
74 view \
75 pref \
76 docshell \
77 xpconnect \
78 xuldoc \
79 caps \
80 editor \
81 imglib2 \
82 mimetype \
83 exthandler \
84 uconv \
85 intl \
86 plugin \
87 cairo \
88 libpixman \
89 $(NULL)
91 CPPSRCS = \
92 nsVideoDecoder.cpp \
93 $(NULL)
95 ifdef MOZ_OGG
96 CPPSRCS += \
97 nsAudioStream.cpp \
98 nsChannelReader.cpp \
99 nsOggDecoder.cpp \
100 $(NULL)
101 endif
103 FORCE_STATIC_LIB = 1
105 include $(topsrcdir)/config/rules.mk
107 INCLUDES += \
108 -I$(srcdir)/../../../base/src \
109 -I$(srcdir)/../../../html/content/src \
110 $(NULL)