2004-10-29 23:43:51 +04:00
|
|
|
# vim:set ts=8 sw=8 sts=8 noet:
|
2004-07-16 23:09:02 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2001-09-15 03:50:59 +04:00
|
|
|
#
|
2004-07-16 23:09:02 +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/
|
2001-09-15 03:50:59 +04:00
|
|
|
#
|
2004-07-16 23:09:02 +04:00
|
|
|
# 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.
|
2001-09-15 03:50:59 +04:00
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-07-16 23:09:02 +04:00
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2001
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
2001-09-15 03:50:59 +04:00
|
|
|
#
|
2004-07-16 23:09:02 +04:00
|
|
|
# Contributor(s):
|
2001-09-15 03:50:59 +04:00
|
|
|
#
|
2004-07-16 23:09:02 +04:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either 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.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
2001-09-15 03:50:59 +04:00
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
2002-03-22 02:43:21 +03:00
|
|
|
include $(srcdir)/objs.mk
|
|
|
|
|
2005-11-02 23:38:21 +03:00
|
|
|
EXTRA_DEPS += $(srcdir)/objs.mk
|
|
|
|
|
2002-03-22 02:43:21 +03:00
|
|
|
DIRS = standalone
|
2001-09-15 03:50:59 +04:00
|
|
|
|
|
|
|
MODULE = xpcom
|
2002-03-22 02:43:21 +03:00
|
|
|
LIBRARY_NAME = xpcomglue_s
|
2006-02-10 21:23:52 +03:00
|
|
|
DIST_INSTALL = 1
|
2001-09-15 03:50:59 +04:00
|
|
|
|
2004-11-12 22:26:37 +03:00
|
|
|
REQUIRES = \
|
|
|
|
string \
|
|
|
|
$(NULL)
|
2001-12-07 22:54:16 +03:00
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../build \
|
2001-09-15 03:50:59 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2005-08-15 22:29:55 +04:00
|
|
|
CSRCS = \
|
2005-08-12 02:07:08 +04:00
|
|
|
$(XPCOM_GLUE_SRC_LCSRCS) \
|
2005-08-15 22:29:55 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
$(XPCOM_GLUE_SRC_LCPPSRCS) \
|
|
|
|
$(XPCOM_GLUENS_SRC_LCPPSRCS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2006-05-03 20:11:14 +04:00
|
|
|
SDK_HEADERS = \
|
2005-08-15 22:29:55 +04:00
|
|
|
pldhash.h \
|
2006-08-08 22:18:50 +04:00
|
|
|
nsArrayEnumerator.h \
|
2006-04-12 19:43:32 +04:00
|
|
|
nsArrayUtils.h \
|
2007-01-12 23:55:53 +03:00
|
|
|
nsAutoLock.h \
|
2005-08-15 22:29:55 +04:00
|
|
|
nsBaseHashtable.h \
|
2007-04-26 17:53:48 +04:00
|
|
|
nsCategoryCache.h \
|
2005-11-02 23:38:21 +03:00
|
|
|
nsCOMArray.h \
|
|
|
|
nsCRTGlue.h \
|
2005-08-15 22:29:55 +04:00
|
|
|
nsClassHashtable.h \
|
|
|
|
nsDataHashtable.h \
|
2006-08-08 22:18:50 +04:00
|
|
|
nsEnumeratorUtils.h \
|
2005-08-15 22:29:55 +04:00
|
|
|
nsHashKeys.h \
|
|
|
|
nsINIParser.h \
|
|
|
|
nsInterfaceHashtable.h \
|
2005-11-02 23:38:21 +03:00
|
|
|
nsQuickSort.h \
|
|
|
|
nsStringGlue.h \
|
2005-08-15 22:29:55 +04:00
|
|
|
nsRefPtrHashtable.h \
|
2006-05-03 20:11:14 +04:00
|
|
|
nsStringAPI.h \
|
2005-08-15 22:29:55 +04:00
|
|
|
nsTHashtable.h \
|
2005-11-02 23:38:21 +03:00
|
|
|
nsVoidArray.h \
|
2005-11-23 22:44:16 +03:00
|
|
|
nsTArray.h \
|
2006-10-18 01:40:07 +04:00
|
|
|
nsTPtrArray.h \
|
2006-05-10 21:30:15 +04:00
|
|
|
nsTWeakRef.h \
|
2005-08-09 17:39:12 +04:00
|
|
|
nsID.h \
|
2002-03-21 12:36:47 +03:00
|
|
|
nsIGenericFactory.h \
|
|
|
|
nsIInterfaceRequestorUtils.h \
|
|
|
|
nsISupportsImpl.h \
|
|
|
|
nsISupportsUtils.h \
|
|
|
|
nsIWeakReferenceUtils.h \
|
2005-06-13 20:45:22 +04:00
|
|
|
nsCOMPtr.h \
|
|
|
|
nsDebug.h \
|
|
|
|
nsGenericFactory.h \
|
|
|
|
nsIGenericFactory.h \
|
|
|
|
nsMemory.h \
|
|
|
|
nsTraceRefcnt.h \
|
|
|
|
nsWeakReference.h \
|
|
|
|
nsComponentManagerUtils.h \
|
|
|
|
nsServiceManagerUtils.h \
|
2005-07-23 18:05:25 +04:00
|
|
|
nsVersionComparator.h \
|
2006-03-15 07:59:42 +03:00
|
|
|
nsIClassInfoImpl.h \
|
2007-05-22 23:39:14 +04:00
|
|
|
nsTObserverArray.h \
|
2002-02-26 02:20:01 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2006-05-22 18:19:13 +04:00
|
|
|
EXPORTS = \
|
|
|
|
nsThreadUtils.h \
|
|
|
|
nsProxyRelease.h \
|
2006-11-20 20:03:38 +03:00
|
|
|
nsXPTCUtils.h \
|
2006-05-22 18:19:13 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2004-03-23 23:58:21 +03:00
|
|
|
SDK_LIBRARY = \
|
2002-03-22 02:43:21 +03:00
|
|
|
$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \
|
2002-02-26 02:20:01 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2001-09-15 03:50:59 +04:00
|
|
|
# we don't want the shared lib, but we want to force the creation of a static lib.
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
|
|
|
# Force use of PIC
|
|
|
|
FORCE_USE_PIC = 1
|
|
|
|
|
2006-08-30 19:57:03 +04:00
|
|
|
# Pretend we're statically linking the CRT, even though we might not be: this
|
|
|
|
# avoids "msvcrp" and assembly dependencies from creeping into the directives
|
|
|
|
# for this library on Windows.
|
|
|
|
USE_STATIC_LIBS = 1
|
|
|
|
|
2001-09-15 03:50:59 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2006-08-30 19:57:03 +04:00
|
|
|
|
|
|
|
ifdef _MSC_VER
|
|
|
|
# Don't include directives about which CRT to use
|
|
|
|
OS_COMPILE_CXXFLAGS += -Zl
|
|
|
|
OS_COMPILE_CFLAGS += -Zl
|
|
|
|
DEFINES += -D_USE_ANSI_CPP
|
|
|
|
endif
|