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_ds
15
LIBRARY_NAME = xpcomds_s
17
MOZILLA_INTERNAL_API = 1
26
nsFixedSizeAllocator.cpp \
27
nsHashPropertyBag.cpp \
31
nsObserverService.cpp \
33
nsPersistentProperties.cpp \
34
nsStaticNameTable.cpp \
35
nsStringEnumerator.cpp \
37
nsSupportsArrayEnumerator.cpp \
38
nsSupportsPrimitives.cpp \
43
ifdef HAVE_CLOCK_MONOTONIC
44
CPPSRCS += TimeStamp_posix.cpp
45
else ifeq ($(OS_ARCH),Darwin)
46
CPPSRCS += TimeStamp_darwin.cpp
47
else ifeq ($(OS_ARCH),WINNT)
48
CPPSRCS += TimeStamp_windows.cpp
50
$(error No TimeStamp implementation on this platform. Build will not succeed)
53
EXPORTS_NAMESPACES = mozilla
64
nsCppSharedAllocator.h \
66
nsExpirationTracker.h \
67
nsFixedSizeAllocator.h \
77
nsSupportsPrimitives.h \
79
nsStringEnumerator.h \
81
nsWhitespaceTokenizer.h \
82
nsCharSeparatedTokenizer.h \
91
nsIPersistentProperties2.idl \
95
nsIWritablePropertyBag.idl \
96
nsIWritablePropertyBag2.idl \
99
nsIStringEnumerator.idl \
100
nsISupportsArray.idl \
101
nsISupportsIterators.idl \
107
nsIMutableArray.idl \
108
nsIObserverService.idl \
111
nsISimpleEnumerator.idl \
112
nsISupportsPrimitives.idl \
115
ifeq ($(OS_ARCH),WINNT)
116
CPPSRCS += nsWindowsRegKey.cpp
117
XPIDLSRCS += nsIWindowsRegKey.idl
118
EXPORTS += nsWindowsRegKey.h
123
nsINIProcessor.manifest \
126
# we don't want the shared lib, but we want to force the creation of a static lib.
130
include $(topsrcdir)/config/rules.mk
132
LOCAL_INCLUDES += -I$(srcdir)/../io
134
DEFINES += -D_IMPL_NS_COM