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
|
|
|
|
|
|
|
|
DIRS = standalone
|
2001-09-15 03:50:59 +04:00
|
|
|
|
|
|
|
MODULE = xpcom
|
2002-03-22 02:43:21 +03:00
|
|
|
LIBRARY_NAME = xpcomglue_s
|
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)
|
|
|
|
|
|
|
|
EXPORTS = \
|
|
|
|
pldhash.h \
|
|
|
|
nsBaseHashtable.h \
|
|
|
|
nsClassHashtable.h \
|
|
|
|
nsDataHashtable.h \
|
|
|
|
nsHashKeys.h \
|
|
|
|
nsINIParser.h \
|
|
|
|
nsInterfaceHashtable.h \
|
|
|
|
nsRefPtrHashtable.h \
|
|
|
|
nsTHashtable.h \
|
2002-03-22 02:43:21 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2002-09-07 21:13:19 +04:00
|
|
|
SDK_HEADERS = \
|
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 \
|
2002-02-26 02:20:01 +03: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
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|