1999-05-18 09:11:01 +00:00
|
|
|
#
|
2012-05-21 11:12:37 +00: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/.
|
1999-05-18 09:11:01 +00:00
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
1999-05-18 09:11:01 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
1999-09-18 02:12:56 +00:00
|
|
|
MODULE = xpcom
|
|
|
|
XPIDL_MODULE = xpcom_ds
|
|
|
|
LIBRARY_NAME = xpcomds_s
|
2002-12-28 01:15:07 +00:00
|
|
|
GRE_MODULE = 1
|
2012-11-12 10:08:19 +00:00
|
|
|
LIBXUL_LIBRARY = 1
|
2005-04-01 18:22:57 +00:00
|
|
|
MOZILLA_INTERNAL_API = 1
|
2002-12-28 01:15:07 +00:00
|
|
|
|
1999-09-18 02:12:56 +00:00
|
|
|
|
|
|
|
CPPSRCS = \
|
2009-04-05 23:49:48 +00:00
|
|
|
nsArray.cpp \
|
1999-09-18 02:12:56 +00:00
|
|
|
nsAtomTable.cpp \
|
2000-03-31 09:19:17 +00:00
|
|
|
nsAtomService.cpp \
|
1999-09-18 02:12:56 +00:00
|
|
|
nsByteBuffer.cpp \
|
|
|
|
nsCRT.cpp \
|
2000-07-29 02:58:43 +00:00
|
|
|
nsFixedSizeAllocator.cpp \
|
2009-04-05 23:49:48 +00:00
|
|
|
nsHashPropertyBag.cpp \
|
1999-09-18 02:12:56 +00:00
|
|
|
nsHashtable.cpp \
|
2005-10-04 17:19:14 +00:00
|
|
|
nsINIParserImpl.cpp \
|
1999-09-18 02:12:56 +00:00
|
|
|
nsObserverList.cpp \
|
|
|
|
nsObserverService.cpp \
|
|
|
|
nsProperties.cpp \
|
2000-01-05 09:29:25 +00:00
|
|
|
nsPersistentProperties.cpp \
|
2000-08-22 05:59:06 +00:00
|
|
|
nsStaticNameTable.cpp \
|
2003-03-10 21:09:31 +00:00
|
|
|
nsStringEnumerator.cpp \
|
1999-09-18 02:12:56 +00:00
|
|
|
nsSupportsArray.cpp \
|
|
|
|
nsSupportsArrayEnumerator.cpp \
|
|
|
|
nsSupportsPrimitives.cpp \
|
|
|
|
nsUnicharBuffer.cpp \
|
2001-10-31 23:35:07 +00:00
|
|
|
nsVariant.cpp \
|
1999-09-18 02:12:56 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-01-07 17:21:33 +00:00
|
|
|
ifdef HAVE_CLOCK_MONOTONIC
|
|
|
|
CPPSRCS += TimeStamp_posix.cpp
|
2011-07-20 18:27:10 +00:00
|
|
|
else ifeq ($(OS_ARCH),Darwin)
|
|
|
|
CPPSRCS += TimeStamp_darwin.cpp
|
2011-12-08 23:14:42 +00:00
|
|
|
else ifeq ($(OS_ARCH),WINNT)
|
|
|
|
CPPSRCS += TimeStamp_windows.cpp
|
2012-08-18 19:15:22 +00:00
|
|
|
else
|
|
|
|
$(error No TimeStamp implementation on this platform. Build will not succeed)
|
2010-01-07 17:21:33 +00:00
|
|
|
endif
|
|
|
|
|
2009-05-18 18:15:05 +00:00
|
|
|
EXPORTS_NAMESPACES = mozilla
|
|
|
|
|
|
|
|
EXPORTS_mozilla = \
|
2011-07-21 18:13:06 +00:00
|
|
|
CharTokenizer.h \
|
2009-05-18 18:15:05 +00:00
|
|
|
TimeStamp.h \
|
2011-12-16 13:53:30 +00:00
|
|
|
StringBuilder.h \
|
2009-05-18 18:15:05 +00:00
|
|
|
$(NULL)
|
|
|
|
|
1999-09-18 02:12:56 +00:00
|
|
|
EXPORTS = \
|
2012-09-21 16:12:32 +00:00
|
|
|
nsArray.h \
|
2000-03-31 09:19:17 +00:00
|
|
|
nsAtomService.h \
|
2002-10-03 03:43:11 +00:00
|
|
|
nsCheapSets.h \
|
1999-09-18 02:12:56 +00:00
|
|
|
nsCppSharedAllocator.h \
|
|
|
|
nsCRT.h \
|
2007-03-27 03:38:21 +00:00
|
|
|
nsExpirationTracker.h \
|
2000-07-29 02:58:43 +00:00
|
|
|
nsFixedSizeAllocator.h \
|
1999-09-18 02:12:56 +00:00
|
|
|
nsHashtable.h \
|
|
|
|
nsIByteBuffer.h \
|
|
|
|
nsIUnicharBuffer.h \
|
2007-02-28 20:57:13 +00:00
|
|
|
nsMathUtils.h \
|
2012-04-30 19:01:11 +00:00
|
|
|
nsObserverList.h \
|
2006-03-09 03:14:32 +00:00
|
|
|
nsObserverService.h \
|
2000-08-22 05:59:06 +00:00
|
|
|
nsStaticNameTable.h \
|
2003-03-25 21:46:33 +00:00
|
|
|
nsStaticAtom.h \
|
1999-11-10 00:28:34 +00:00
|
|
|
nsSupportsArray.h \
|
1999-09-18 02:12:56 +00:00
|
|
|
nsSupportsPrimitives.h \
|
2001-10-31 23:35:07 +00:00
|
|
|
nsVariant.h \
|
2003-03-10 21:09:31 +00:00
|
|
|
nsStringEnumerator.h \
|
2004-11-24 23:21:14 +00:00
|
|
|
nsHashPropertyBag.h \
|
2007-07-26 22:20:29 +00:00
|
|
|
nsWhitespaceTokenizer.h \
|
2010-05-04 14:43:48 +00:00
|
|
|
nsCharSeparatedTokenizer.h \
|
1999-09-18 02:12:56 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
XPIDLSRCS = \
|
|
|
|
nsIAtom.idl \
|
2000-03-31 09:19:17 +00:00
|
|
|
nsIAtomService.idl \
|
1999-09-18 02:12:56 +00:00
|
|
|
nsICollection.idl \
|
|
|
|
nsIEnumerator.idl \
|
2005-10-04 17:19:14 +00:00
|
|
|
nsIINIParser.idl \
|
2001-07-31 19:05:34 +00:00
|
|
|
nsIPersistentProperties2.idl \
|
2005-03-22 18:16:53 +00:00
|
|
|
nsIProperty.idl \
|
2001-10-31 23:35:07 +00:00
|
|
|
nsIPropertyBag.idl \
|
2005-03-22 18:16:53 +00:00
|
|
|
nsIPropertyBag2.idl \
|
|
|
|
nsIWritablePropertyBag.idl \
|
|
|
|
nsIWritablePropertyBag2.idl \
|
2001-10-31 23:35:07 +00:00
|
|
|
nsIVariant.idl \
|
2001-07-31 19:05:34 +00:00
|
|
|
nsISerializable.idl \
|
2003-03-10 21:09:31 +00:00
|
|
|
nsIStringEnumerator.idl \
|
1999-09-18 02:12:56 +00:00
|
|
|
nsISupportsArray.idl \
|
2000-02-14 06:38:22 +00:00
|
|
|
nsISupportsIterators.idl \
|
1999-09-18 02:12:56 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2002-02-25 23:20:01 +00:00
|
|
|
SDK_XPIDLSRCS = \
|
2006-04-12 15:43:32 +00:00
|
|
|
nsIArray.idl \
|
2007-10-02 19:16:30 +00:00
|
|
|
nsIHashable.idl \
|
2006-04-12 15:43:32 +00:00
|
|
|
nsIMutableArray.idl \
|
2002-02-25 23:20:01 +00:00
|
|
|
nsIObserverService.idl \
|
|
|
|
nsIObserver.idl \
|
2002-08-27 01:05:21 +00:00
|
|
|
nsIProperties.idl \
|
2002-02-25 23:20:01 +00:00
|
|
|
nsISimpleEnumerator.idl \
|
2002-10-04 23:49:23 +00:00
|
|
|
nsISupportsPrimitives.idl \
|
2002-02-25 23:20:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2011-05-01 18:59:24 +00:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2005-05-16 21:23:09 +00:00
|
|
|
CPPSRCS += nsWindowsRegKey.cpp
|
|
|
|
XPIDLSRCS += nsIWindowsRegKey.idl
|
|
|
|
EXPORTS += nsWindowsRegKey.h
|
|
|
|
endif
|
|
|
|
|
2010-02-10 01:05:31 +00:00
|
|
|
EXTRA_COMPONENTS = \
|
|
|
|
nsINIProcessor.js \
|
2010-06-22 16:59:15 +00:00
|
|
|
nsINIProcessor.manifest \
|
2010-02-10 01:05:31 +00:00
|
|
|
$(NULL)
|
|
|
|
|
1999-05-18 09:11:01 +00:00
|
|
|
# we don't want the shared lib, but we want to force the creation of a static lib.
|
2001-06-18 22:10:38 +00:00
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
1999-05-18 09:11:01 +00:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2006-07-21 16:28:51 +00:00
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../io
|
2003-03-15 01:04:32 +00:00
|
|
|
|
2002-08-12 13:35:18 +00:00
|
|
|
DEFINES += -D_IMPL_NS_COM
|