Bug 846687 - Set the transport as non-seekable if the server sends Accept-Ranges...
[gecko.git] / xpcom / components / Makefile.in
blob0678242529d1a03bba4e062c0a7f671d8a75d720
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 MODULE = xpcom
14 XPIDL_MODULE = xpcom_components
15 LIBRARY_NAME = xpcomcomponents_s
16 GRE_MODULE = 1
17 LIBXUL_LIBRARY = 1
18 MOZILLA_INTERNAL_API = 1
20 EXPORTS_NAMESPACES = mozilla
22 EXPORTS = \
23 nsCategoryManagerUtils.h \
24 $(NULL)
26 EXPORTS_mozilla = \
27 Module.h \
28 ModuleLoader.h \
29 ModuleUtils.h \
30 $(NULL)
32 CPPSRCS = \
33 nsCategoryManager.cpp \
34 nsComponentManager.cpp \
35 ManifestParser.cpp \
36 nsNativeComponentLoader.cpp \
37 $(NULL)
39 SDK_XPIDLSRCS = \
40 nsIClassInfo.idl \
41 nsIComponentRegistrar.idl \
42 nsIFactory.idl \
43 nsIModule.idl \
44 nsIServiceManager.idl \
45 nsIComponentManager.idl \
46 nsICategoryManager.idl \
47 $(NULL)
49 LOCAL_INCLUDES = \
50 -I$(srcdir)/../reflect/xptinfo/src \
51 -I$(srcdir)/../base \
52 -I$(srcdir)/../ds \
53 -I$(srcdir)/../build \
54 -I.. \
55 -I$(topsrcdir)/chrome/src \
56 -I$(topsrcdir)/modules/libjar \
57 $(NULL)
59 # we don't want the shared lib, but we want to force the creation of a static lib.
60 FORCE_STATIC_LIB = 1
62 include $(topsrcdir)/config/rules.mk
64 DEFINES += -D_IMPL_NS_COM
66 ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
67 CXXFLAGS += $(MOZ_GTK2_CFLAGS)
68 endif