1999-05-18 13:11:01 +04:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1999-05-18 13:11:01 +04:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
1999-05-18 13:11:01 +04:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-11-06 06:43:54 +03:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
1999-09-18 06:12:56 +04:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# ***** END LICENSE BLOCK *****
|
1999-05-18 13:11:01 +04:00
|
|
|
|
1999-09-18 06:12:56 +04:00
|
|
|
DEPTH = ../..
|
1999-05-18 13:11:01 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
1999-09-18 06:12:56 +04:00
|
|
|
MODULE = xpcom
|
|
|
|
XPIDL_MODULE = xpcom_ds
|
|
|
|
LIBRARY_NAME = xpcomds_s
|
2002-12-28 04:15:07 +03:00
|
|
|
GRE_MODULE = 1
|
2005-04-01 22:22:57 +04:00
|
|
|
MOZILLA_INTERNAL_API = 1
|
2002-12-28 04:15:07 +03:00
|
|
|
|
2001-11-02 01:40:03 +03:00
|
|
|
REQUIRES = \
|
2001-09-18 17:41:47 +04:00
|
|
|
string \
|
|
|
|
$(NULL)
|
1999-09-18 06:12:56 +04:00
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
nsAtomTable.cpp \
|
2000-03-31 13:19:17 +04:00
|
|
|
nsAtomService.cpp \
|
1999-09-18 06:12:56 +04:00
|
|
|
nsByteBuffer.cpp \
|
2002-10-03 07:43:11 +04:00
|
|
|
nsCheapSets.cpp \
|
1999-09-18 06:12:56 +04:00
|
|
|
nsCRT.cpp \
|
|
|
|
nsDeque.cpp \
|
2000-07-29 06:58:43 +04:00
|
|
|
nsFixedSizeAllocator.cpp \
|
2002-10-03 07:43:11 +04:00
|
|
|
nsHashSets.cpp \
|
1999-09-18 06:12:56 +04:00
|
|
|
nsHashtable.cpp \
|
2005-10-04 21:19:14 +04:00
|
|
|
nsINIParserImpl.cpp \
|
1999-09-18 06:12:56 +04:00
|
|
|
nsObserverList.cpp \
|
|
|
|
nsObserverService.cpp \
|
|
|
|
nsProperties.cpp \
|
2000-01-05 12:29:25 +03:00
|
|
|
nsPersistentProperties.cpp \
|
2002-01-24 09:48:58 +03:00
|
|
|
nsRecyclingAllocator.cpp \
|
2000-08-22 09:59:06 +04:00
|
|
|
nsStaticNameTable.cpp \
|
2003-03-11 00:09:31 +03:00
|
|
|
nsStringEnumerator.cpp \
|
1999-09-18 06:12:56 +04:00
|
|
|
nsSupportsArray.cpp \
|
|
|
|
nsSupportsArrayEnumerator.cpp \
|
|
|
|
nsSupportsPrimitives.cpp \
|
|
|
|
nsUnicharBuffer.cpp \
|
2001-11-01 02:35:07 +03:00
|
|
|
nsVariant.cpp \
|
2000-01-18 01:32:13 +03:00
|
|
|
nsTextFormatter.cpp \
|
2001-08-17 06:03:34 +04:00
|
|
|
nsTimelineService.cpp \
|
2002-01-16 01:43:37 +03:00
|
|
|
nsValueArray.cpp \
|
2002-10-07 23:03:41 +04:00
|
|
|
nsArray.cpp \
|
2004-11-25 02:21:14 +03:00
|
|
|
nsHashPropertyBag.cpp \
|
1999-09-18 06:12:56 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS = \
|
2000-03-31 13:19:17 +04:00
|
|
|
nsAtomService.h \
|
2002-10-03 07:43:11 +04:00
|
|
|
nsCheapSets.h \
|
1999-09-18 06:12:56 +04:00
|
|
|
nsCppSharedAllocator.h \
|
|
|
|
nsCRT.h \
|
|
|
|
nsDeque.h \
|
2002-02-20 09:08:53 +03:00
|
|
|
nsDoubleHashtable.h \
|
2000-07-29 06:58:43 +04:00
|
|
|
nsFixedSizeAllocator.h \
|
2002-10-03 07:43:11 +04:00
|
|
|
nsHashSets.h \
|
1999-09-18 06:12:56 +04:00
|
|
|
nsHashtable.h \
|
|
|
|
nsIByteBuffer.h \
|
|
|
|
nsIUnicharBuffer.h \
|
|
|
|
nsInt64.h \
|
2007-02-28 23:57:13 +03:00
|
|
|
nsMathUtils.h \
|
2006-03-09 06:14:32 +03:00
|
|
|
nsObserverService.h \
|
2002-01-24 09:48:58 +03:00
|
|
|
nsRecyclingAllocator.h \
|
2000-08-22 09:59:06 +04:00
|
|
|
nsStaticNameTable.h \
|
2003-03-26 00:46:33 +03:00
|
|
|
nsStaticAtom.h \
|
1999-11-10 03:28:34 +03:00
|
|
|
nsSupportsArray.h \
|
1999-09-18 06:12:56 +04:00
|
|
|
nsSupportsPrimitives.h \
|
|
|
|
nsTime.h \
|
|
|
|
nsUnitConversion.h \
|
2001-11-01 02:35:07 +03:00
|
|
|
nsVariant.h \
|
2000-01-18 01:32:13 +03:00
|
|
|
nsTextFormatter.h \
|
2002-01-16 01:43:37 +03:00
|
|
|
nsValueArray.h \
|
2003-03-11 00:09:31 +03:00
|
|
|
nsStringEnumerator.h \
|
2004-02-06 23:15:59 +03:00
|
|
|
nsAutoBuffer.h \
|
2004-11-25 02:21:14 +03:00
|
|
|
nsHashPropertyBag.h \
|
1999-09-18 06:12:56 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
XPIDLSRCS = \
|
|
|
|
nsIAtom.idl \
|
2000-03-31 13:19:17 +04:00
|
|
|
nsIAtomService.idl \
|
1999-09-18 06:12:56 +04:00
|
|
|
nsICollection.idl \
|
|
|
|
nsIEnumerator.idl \
|
2005-11-18 17:18:49 +03:00
|
|
|
nsIHashable.idl \
|
2005-10-04 21:19:14 +04:00
|
|
|
nsIINIParser.idl \
|
2001-07-31 23:05:34 +04:00
|
|
|
nsIPersistentProperties2.idl \
|
2005-03-22 21:16:53 +03:00
|
|
|
nsIProperty.idl \
|
2001-11-01 02:35:07 +03:00
|
|
|
nsIPropertyBag.idl \
|
2005-03-22 21:16:53 +03:00
|
|
|
nsIPropertyBag2.idl \
|
|
|
|
nsIWritablePropertyBag.idl \
|
|
|
|
nsIWritablePropertyBag2.idl \
|
2002-07-02 03:36:03 +04:00
|
|
|
nsIRecyclingAllocator.idl \
|
2001-11-01 02:35:07 +03:00
|
|
|
nsIVariant.idl \
|
2001-07-31 23:05:34 +04:00
|
|
|
nsISerializable.idl \
|
2003-03-11 00:09:31 +03:00
|
|
|
nsIStringEnumerator.idl \
|
1999-09-18 06:12:56 +04:00
|
|
|
nsISupportsArray.idl \
|
2000-02-14 09:38:22 +03:00
|
|
|
nsISupportsIterators.idl \
|
2001-08-17 06:03:34 +04:00
|
|
|
nsITimelineService.idl \
|
1999-09-18 06:12:56 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2002-02-26 02:20:01 +03:00
|
|
|
SDK_XPIDLSRCS = \
|
2006-04-12 19:43:32 +04:00
|
|
|
nsIArray.idl \
|
|
|
|
nsIMutableArray.idl \
|
2002-02-26 02:20:01 +03:00
|
|
|
nsIObserverService.idl \
|
|
|
|
nsIObserver.idl \
|
2002-08-27 05:05:21 +04:00
|
|
|
nsIProperties.idl \
|
2002-02-26 02:20:01 +03:00
|
|
|
nsISimpleEnumerator.idl \
|
2002-10-05 03:49:23 +04:00
|
|
|
nsISupportsPrimitives.idl \
|
2002-02-26 02:20:01 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2005-06-17 01:20:45 +04:00
|
|
|
ifneq (,$(filter WINNT WINCE,$(OS_ARCH)))
|
2005-05-17 01:23:09 +04:00
|
|
|
CPPSRCS += nsWindowsRegKey.cpp
|
|
|
|
XPIDLSRCS += nsIWindowsRegKey.idl
|
|
|
|
EXPORTS += nsWindowsRegKey.h
|
|
|
|
endif
|
|
|
|
|
1999-09-18 06:12:56 +04:00
|
|
|
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
|
1999-05-18 13:11:01 +04:00
|
|
|
|
|
|
|
# we don't want the shared lib, but we want to force the creation of a static lib.
|
2001-06-19 02:10:38 +04:00
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
|
|
|
# Force use of PIC
|
|
|
|
FORCE_USE_PIC = 1
|
1999-05-18 13:11:01 +04:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2006-07-21 20:28:51 +04:00
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../io
|
2003-03-15 04:04:32 +03:00
|
|
|
|
2002-08-12 17:35:18 +04:00
|
|
|
DEFINES += -D_IMPL_NS_COM
|