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/.
7
topsrcdir = @top_srcdir@
11
include $(DEPTH)/config/autoconf.mk
14
XPIDL_MODULE = xpcom_components
15
LIBRARY_NAME = xpcomcomponents_s
18
MOZILLA_INTERNAL_API = 1
20
EXPORTS_NAMESPACES = mozilla
23
nsCategoryManagerUtils.h \
33
nsCategoryManager.cpp \
34
nsComponentManager.cpp \
36
nsNativeComponentLoader.cpp \
41
nsIComponentRegistrar.idl \
44
nsIServiceManager.idl \
45
nsIComponentManager.idl \
46
nsICategoryManager.idl \
50
-I$(srcdir)/../reflect/xptinfo/src \
53
-I$(srcdir)/../build \
55
-I$(topsrcdir)/chrome/src \
56
-I$(topsrcdir)/modules/libjar \
59
# we don't want the shared lib, but we want to force the creation of a static lib.
62
include $(topsrcdir)/config/rules.mk
64
DEFINES += -D_IMPL_NS_COM
66
ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
67
CXXFLAGS += $(MOZ_GTK2_CFLAGS)