2007-03-22 10:30:00 -07:00
|
|
|
# vim:set ts=8 sw=8 sts=8 noet:
|
2012-05-21 04:12:37 -07: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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2007-03-22 10:30:00 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
include $(srcdir)/objs.mk
|
|
|
|
|
|
|
|
EXTRA_DEPS += $(srcdir)/objs.mk
|
|
|
|
|
2010-08-25 07:21:08 -07:00
|
|
|
DIRS = standalone nomozalloc
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-05-21 14:31:03 -07:00
|
|
|
# On win we build two glue libs - glue linked to crt dlls here and in staticruntime we build
|
|
|
|
# a statically linked glue lib.
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
DIRS += staticruntime
|
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
MODULE = xpcom
|
|
|
|
LIBRARY_NAME = xpcomglue_s
|
|
|
|
DIST_INSTALL = 1
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../build \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
$(XPCOM_GLUE_SRC_LCPPSRCS) \
|
|
|
|
$(XPCOM_GLUENS_SRC_LCPPSRCS) \
|
2007-07-11 10:26:11 -07:00
|
|
|
nsStringAPI.cpp \
|
2010-06-24 13:36:27 -07:00
|
|
|
GenericModule.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SDK_HEADERS = \
|
|
|
|
nsArrayEnumerator.h \
|
|
|
|
nsArrayUtils.h \
|
|
|
|
nsBaseHashtable.h \
|
|
|
|
nsCOMArray.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsCOMPtr.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsCRTGlue.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsCategoryCache.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsClassHashtable.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsComponentManagerUtils.h \
|
|
|
|
nsCycleCollectionParticipant.h \
|
2010-11-11 14:52:30 -08:00
|
|
|
nsCycleCollectorUtils.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsDataHashtable.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsDebug.h \
|
|
|
|
nsDeque.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsEnumeratorUtils.h \
|
|
|
|
nsHashKeys.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsIClassInfoImpl.h \
|
|
|
|
nsID.h \
|
|
|
|
nsIInterfaceRequestorUtils.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsINIParser.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsISupportsImpl.h \
|
|
|
|
nsISupportsUtils.h \
|
|
|
|
nsIWeakReferenceUtils.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsInterfaceHashtable.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsMemory.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsQuickSort.h \
|
|
|
|
nsRefPtrHashtable.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsServiceManagerUtils.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsStringAPI.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsStringGlue.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsTArray.h \
|
2010-11-08 18:48:59 -08:00
|
|
|
nsTArray-inl.h \
|
2012-12-18 17:16:06 -08:00
|
|
|
nsTArrayForwardDeclare.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsTHashtable.h \
|
|
|
|
nsTObserverArray.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsTWeakRef.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsTextFormatter.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsTraceRefcnt.h \
|
|
|
|
nsVersionComparator.h \
|
2009-04-18 18:54:23 -07:00
|
|
|
nsVoidArray.h \
|
|
|
|
nsWeakReference.h \
|
|
|
|
pldhash.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2010-11-11 14:52:30 -08:00
|
|
|
EXPORTS_NAMESPACES = mozilla mozilla/threads
|
2009-05-18 11:15:05 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
EXPORTS = \
|
|
|
|
nsThreadUtils.h \
|
2010-01-12 12:00:49 -08:00
|
|
|
nsTPriorityQueue.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsProxyRelease.h \
|
|
|
|
nsXPTCUtils.h \
|
2010-11-11 14:52:30 -08:00
|
|
|
nsCycleCollectorUtils.h \
|
2012-11-14 23:32:39 -08:00
|
|
|
nsCycleCollectionNoteChild.h \
|
|
|
|
nsCycleCollectionTraversalCallback.h \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2009-05-18 11:15:05 -07:00
|
|
|
EXPORTS_mozilla = \
|
2012-06-08 05:41:30 -07:00
|
|
|
AppData.h \
|
2009-12-11 08:13:19 -08:00
|
|
|
AutoRestore.h \
|
2009-05-18 11:15:05 -07:00
|
|
|
BlockingResourceBase.h \
|
|
|
|
CondVar.h \
|
|
|
|
DeadlockDetector.h \
|
2010-11-17 12:55:25 -08:00
|
|
|
FileUtils.h \
|
2010-06-24 13:36:27 -07:00
|
|
|
GenericFactory.h \
|
2010-11-17 12:55:25 -08:00
|
|
|
IntentionalCrash.h \
|
2011-04-29 12:21:57 -07:00
|
|
|
Monitor.h \
|
2009-05-18 11:15:05 -07:00
|
|
|
Mutex.h \
|
2011-04-29 12:21:57 -07:00
|
|
|
ReentrantMonitor.h \
|
2009-12-11 08:13:19 -08:00
|
|
|
SSE.h \
|
2011-04-08 11:57:52 -07:00
|
|
|
arm.h \
|
2010-04-26 22:43:00 -07:00
|
|
|
unused.h \
|
2011-11-02 06:47:32 -07:00
|
|
|
Observer.h \
|
2009-05-18 11:15:05 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2010-11-11 14:52:30 -08:00
|
|
|
EXPORTS_mozilla/threads = \
|
|
|
|
nsThreadIDs.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
SDK_LIBRARY = \
|
|
|
|
$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
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
|
2008-03-21 21:25:34 -07:00
|
|
|
|
|
|
|
ifdef TARGET_XPCOM_ABI
|
|
|
|
DEFINES += -DTARGET_XPCOM_ABI=\"$(TARGET_XPCOM_ABI)\"
|
|
|
|
endif
|