Bug 865244 - Expose the maximum channel count in the AudioStream. r=kinetik
[gecko.git] / widget / xpwidgets / Makefile.in
blobe149a004f664534bea68f64a45b86894329831ef
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/.
6 DEPTH = @DEPTH@
7 topsrcdir = @top_srcdir@
8 srcdir = @srcdir@
9 VPATH = @srcdir@
11 include $(DEPTH)/config/autoconf.mk
13 LIBRARY_NAME = xpwidgets_s
14 MSVC_ENABLE_PGO := 1
15 LIBXUL_LIBRARY = 1
17 DEFINES += \
18 -D_IMPL_NS_WIDGET \
19 $(NULL)
21 SHARED_LIBRARY_LIBS = ../shared/$(LIB_PREFIX)widget_shared.$(LIB_SUFFIX)
22 ifdef MOZ_X11
23 SHARED_LIBRARY_LIBS += ../shared/x11/$(LIB_PREFIX)widget_shared_x11.$(LIB_SUFFIX)
24 endif
26 ifdef MOZ_ENABLE_D3D10_LAYER
27 DEFINES += -DMOZ_ENABLE_D3D10_LAYER
28 endif
30 ifneq (,$(filter gtk3,$(MOZ_WIDGET_TOOLKIT)))
31 # gtk3 shares includes with gtk2
32 LOCAL_INCLUDES += \
33 -I$(srcdir)/../gtk2 \
34 $(NULL)
35 else
36 LOCAL_INCLUDES += \
37 -I$(srcdir)/../$(MOZ_WIDGET_TOOLKIT) \
38 $(NULL)
39 endif
41 LOCAL_INCLUDES += \
42 -I$(srcdir)/../shared \
43 -I$(topsrcdir)/layout/base \
44 -I$(topsrcdir)/layout/forms \
45 -I$(topsrcdir)/layout/generic \
46 -I$(topsrcdir)/layout/xul/base/src \
47 -I$(topsrcdir)/view/src \
48 -I$(srcdir) \
49 $(NULL)
51 # we don't want the shared lib, but we want to force the creation of a static lib.
52 FORCE_STATIC_LIB = 1
54 include $(topsrcdir)/config/config.mk
55 include $(topsrcdir)/ipc/chromium/chromium-config.mk
56 include $(topsrcdir)/config/rules.mk
58 CXXFLAGS += $(TK_CFLAGS)