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_ds
|
|
|
|
LIBRARY_NAME = xpcomds_s
|
|
|
|
GRE_MODULE = 1
|
2012-11-12 02:08:19 -08:00
|
|
|
LIBXUL_LIBRARY = 1
|
2007-03-22 10:30:00 -07:00
|
|
|
MOZILLA_INTERNAL_API = 1
|
|
|
|
|
|
|
|
|
|
|
|
CPPSRCS = \
|
2009-04-05 16:49:48 -07:00
|
|
|
nsArray.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsAtomTable.cpp \
|
|
|
|
nsAtomService.cpp \
|
|
|
|
nsByteBuffer.cpp \
|
|
|
|
nsCRT.cpp \
|
|
|
|
nsFixedSizeAllocator.cpp \
|
2009-04-05 16:49:48 -07:00
|
|
|
nsHashPropertyBag.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsHashtable.cpp \
|
|
|
|
nsINIParserImpl.cpp \
|
|
|
|
nsObserverList.cpp \
|
|
|
|
nsObserverService.cpp \
|
|
|
|
nsProperties.cpp \
|
|
|
|
nsPersistentProperties.cpp \
|
|
|
|
nsStaticNameTable.cpp \
|
|
|
|
nsStringEnumerator.cpp \
|
|
|
|
nsSupportsArray.cpp \
|
|
|
|
nsSupportsArrayEnumerator.cpp \
|
|
|
|
nsSupportsPrimitives.cpp \
|
|
|
|
nsUnicharBuffer.cpp \
|
|
|
|
nsVariant.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-01-07 09:21:33 -08:00
|
|
|
ifdef HAVE_CLOCK_MONOTONIC
|
|
|
|
CPPSRCS += TimeStamp_posix.cpp
|
2011-07-20 11:27:10 -07:00
|
|
|
else ifeq ($(OS_ARCH),Darwin)
|
|
|
|
CPPSRCS += TimeStamp_darwin.cpp
|
2011-12-08 15:14:42 -08:00
|
|
|
else ifeq ($(OS_ARCH),WINNT)
|
|
|
|
CPPSRCS += TimeStamp_windows.cpp
|
2012-08-18 12:15:22 -07:00
|
|
|
else
|
|
|
|
$(error No TimeStamp implementation on this platform. Build will not succeed)
|
2010-01-07 09:21:33 -08:00
|
|
|
endif
|
|
|
|
|
2009-05-18 11:15:05 -07:00
|
|
|
EXPORTS_NAMESPACES = mozilla
|
|
|
|
|
|
|
|
EXPORTS_mozilla = \
|
2011-07-21 11:13:06 -07:00
|
|
|
CharTokenizer.h \
|
2009-05-18 11:15:05 -07:00
|
|
|
TimeStamp.h \
|
2011-12-16 05:53:30 -08:00
|
|
|
StringBuilder.h \
|
2009-05-18 11:15:05 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2013-02-11 13:56:58 -08:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
EXPORTS_mozilla += \
|
|
|
|
TimeStamp_windows.h \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
EXPORTS = \
|
2012-09-21 09:12:32 -07:00
|
|
|
nsArray.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsAtomService.h \
|
|
|
|
nsCheapSets.h \
|
|
|
|
nsCppSharedAllocator.h \
|
|
|
|
nsCRT.h \
|
2007-03-26 20:38:21 -07:00
|
|
|
nsExpirationTracker.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsFixedSizeAllocator.h \
|
|
|
|
nsHashtable.h \
|
|
|
|
nsIByteBuffer.h \
|
|
|
|
nsIUnicharBuffer.h \
|
|
|
|
nsMathUtils.h \
|
2012-04-30 12:01:11 -07:00
|
|
|
nsObserverList.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsObserverService.h \
|
|
|
|
nsStaticNameTable.h \
|
|
|
|
nsStaticAtom.h \
|
|
|
|
nsSupportsArray.h \
|
|
|
|
nsSupportsPrimitives.h \
|
|
|
|
nsVariant.h \
|
|
|
|
nsStringEnumerator.h \
|
|
|
|
nsHashPropertyBag.h \
|
2007-07-26 15:20:29 -07:00
|
|
|
nsWhitespaceTokenizer.h \
|
2010-05-04 07:43:48 -07:00
|
|
|
nsCharSeparatedTokenizer.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
XPIDLSRCS = \
|
|
|
|
nsIAtom.idl \
|
|
|
|
nsIAtomService.idl \
|
|
|
|
nsICollection.idl \
|
|
|
|
nsIEnumerator.idl \
|
|
|
|
nsIINIParser.idl \
|
|
|
|
nsIPersistentProperties2.idl \
|
|
|
|
nsIProperty.idl \
|
|
|
|
nsIPropertyBag.idl \
|
|
|
|
nsIPropertyBag2.idl \
|
|
|
|
nsIWritablePropertyBag.idl \
|
|
|
|
nsIWritablePropertyBag2.idl \
|
|
|
|
nsIVariant.idl \
|
|
|
|
nsISerializable.idl \
|
|
|
|
nsIStringEnumerator.idl \
|
|
|
|
nsISupportsArray.idl \
|
|
|
|
nsISupportsIterators.idl \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SDK_XPIDLSRCS = \
|
|
|
|
nsIArray.idl \
|
2007-10-02 12:16:30 -07:00
|
|
|
nsIHashable.idl \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsIMutableArray.idl \
|
|
|
|
nsIObserverService.idl \
|
|
|
|
nsIObserver.idl \
|
|
|
|
nsIProperties.idl \
|
|
|
|
nsISimpleEnumerator.idl \
|
|
|
|
nsISupportsPrimitives.idl \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-05-01 11:59:24 -07:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2007-03-22 10:30:00 -07:00
|
|
|
CPPSRCS += nsWindowsRegKey.cpp
|
|
|
|
XPIDLSRCS += nsIWindowsRegKey.idl
|
|
|
|
EXPORTS += nsWindowsRegKey.h
|
|
|
|
endif
|
|
|
|
|
2010-02-09 17:05:31 -08:00
|
|
|
EXTRA_COMPONENTS = \
|
|
|
|
nsINIProcessor.js \
|
2010-06-22 09:59:15 -07:00
|
|
|
nsINIProcessor.manifest \
|
2010-02-09 17:05:31 -08:00
|
|
|
$(NULL)
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
# 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
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../io
|
|
|
|
|
|
|
|
DEFINES += -D_IMPL_NS_COM
|