2007-03-22 10:30:00 -07:00
|
|
|
#
|
2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2007-03-22 10:30:00 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = xpcom
|
|
|
|
XPIDL_MODULE = xpcom_components
|
|
|
|
LIBRARY_NAME = xpcomcomponents_s
|
|
|
|
GRE_MODULE = 1
|
2010-06-11 13:13:26 -07:00
|
|
|
LIBXUL_LIBRARY = 1
|
2007-03-22 10:30:00 -07:00
|
|
|
MOZILLA_INTERNAL_API = 1
|
|
|
|
|
2010-06-10 11:11:11 -07:00
|
|
|
EXPORTS_NAMESPACES = mozilla
|
|
|
|
|
|
|
|
EXPORTS = \
|
|
|
|
nsCategoryManagerUtils.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS_mozilla = \
|
|
|
|
Module.h \
|
|
|
|
ModuleLoader.h \
|
|
|
|
ModuleUtils.h \
|
|
|
|
$(NULL)
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
nsCategoryManager.cpp \
|
|
|
|
nsComponentManager.cpp \
|
2010-06-11 13:13:26 -07:00
|
|
|
ManifestParser.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsNativeComponentLoader.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SDK_XPIDLSRCS = \
|
|
|
|
nsIClassInfo.idl \
|
|
|
|
nsIComponentRegistrar.idl \
|
2010-06-24 11:31:18 -07:00
|
|
|
nsIFactory.idl \
|
|
|
|
nsIModule.idl \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsIServiceManager.idl \
|
|
|
|
nsIComponentManager.idl \
|
|
|
|
nsICategoryManager.idl \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../reflect/xptinfo/src \
|
|
|
|
-I$(srcdir)/../base \
|
|
|
|
-I$(srcdir)/../ds \
|
|
|
|
-I$(srcdir)/../build \
|
|
|
|
-I.. \
|
2010-06-11 13:13:26 -07:00
|
|
|
-I$(topsrcdir)/chrome/src \
|
2010-07-22 07:31:29 -07:00
|
|
|
-I$(topsrcdir)/modules/libjar \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# we don't want the shared lib, but we want to force the creation of a static lib.
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2010-06-24 11:31:18 -07:00
|
|
|
DEFINES += -D_IMPL_NS_COM
|
2010-06-21 08:41:42 -07:00
|
|
|
|
|
|
|
ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
CXXFLAGS += $(MOZ_GTK2_CFLAGS)
|
|
|
|
endif
|