2
# The contents of this file are subject to the Netscape Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/NPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is mozilla.org code.
14
# The Initial Developer of the Original Code is Netscape
15
# Communications Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
23
topsrcdir = @top_srcdir@
27
include $(DEPTH)/config/autoconf.mk
30
XPIDL_MODULE = xpcom_base
31
LIBRARY_NAME = xpcombase_s
39
nsConsoleMessage.cpp \
40
nsConsoleService.cpp \
43
nsExceptionService.cpp \
46
nsTraceRefcntImpl.cpp \
49
ifdef GC_LEAK_DETECTOR
50
CSRCS += nsGarbageCollector.c
51
CPPSRCS += nsLeakDetector.cpp
63
nsISupportsObsolete.h \
68
ifeq ($(OS_ARCH),WINNT)
73
CPPSRCS += nsStackFrameWin.cpp
76
ifneq ($(OS_ARCH),WINNT)
77
CPPSRCS += nsStackFrameUnix.cpp
82
nsIInterfaceRequestor.idl \
84
nsIProgrammingLanguage.idl \
87
nsIWeakReference.idl \
97
nsIConsoleListener.idl \
98
nsIConsoleMessage.idl \
99
nsIConsoleService.idl \
100
nsIErrorService.idl \
102
nsIExceptionService.idl \
105
ifdef GC_LEAK_DETECTOR
106
XPIDLSRCS += nsILeakDetector.idl
109
# we don't want the shared lib, but we want to force the creation of a static lib.
115
include $(topsrcdir)/config/rules.mk
117
DEFINES += -D_IMPL_NS_COM