1999-05-18 13:11:01 +04:00
|
|
|
#!nmake
|
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The contents of this file are subject to the Netscape 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/NPL/
|
1999-05-18 13:11:01 +04:00
|
|
|
#
|
1999-11-06 06:43:54 +03: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.
|
1999-05-18 13:11:01 +04:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1999-05-18 13:11:01 +04:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:43:54 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-05-18 13:11:01 +04:00
|
|
|
|
1999-09-01 04:54:34 +04:00
|
|
|
|
1999-05-18 13:11:01 +04:00
|
|
|
|
|
|
|
DEPTH=..\..
|
|
|
|
MODULE = xpcom
|
|
|
|
|
2001-09-19 02:01:13 +04:00
|
|
|
REQUIRES = string \
|
|
|
|
$(NULL)
|
2001-12-05 00:15:28 +03:00
|
|
|
|
|
|
|
|
|
|
|
include <$(DEPTH)\config\config.mak>
|
|
|
|
|
1999-05-18 13:11:01 +04:00
|
|
|
################################################################################
|
|
|
|
## exports
|
|
|
|
|
|
|
|
EXPORTS = \
|
|
|
|
nsAgg.h \
|
|
|
|
nsIAllocator.h \
|
|
|
|
nsCom.h \
|
2001-09-27 07:43:00 +04:00
|
|
|
nsComObsolete.h \
|
1999-10-01 06:43:27 +04:00
|
|
|
nsCWeakReference.h \
|
1999-05-18 13:11:01 +04:00
|
|
|
nsDebug.h \
|
|
|
|
nsError.h \
|
|
|
|
nsID.h \
|
2000-02-01 04:08:29 +03:00
|
|
|
nsIID.h \
|
|
|
|
nsIPtr.h \
|
2001-09-27 07:43:00 +04:00
|
|
|
nsISupportsBase.h \
|
|
|
|
nsISupportsImpl.h \
|
|
|
|
nsISupportsObsolete.h \
|
1999-05-18 13:11:01 +04:00
|
|
|
nsISupportsUtils.h \
|
2001-10-31 02:18:51 +03:00
|
|
|
nsIWeakReferenceUtils.h \
|
1999-05-18 13:11:01 +04:00
|
|
|
nsTraceRefcnt.h \
|
1999-08-03 11:20:37 +04:00
|
|
|
nsWeakReference.h \
|
1999-08-03 12:15:31 +04:00
|
|
|
nsWeakPtr.h \
|
1999-05-18 13:11:01 +04:00
|
|
|
nscore.h \
|
1999-10-29 07:26:50 +04:00
|
|
|
pure.h \
|
2001-01-26 01:54:05 +03:00
|
|
|
!ifdef MOZ_TRACE_MALLOC
|
2001-12-06 05:36:02 +03:00
|
|
|
nsTraceMalloc.h \
|
2001-01-26 01:54:05 +03:00
|
|
|
!endif
|
2001-09-06 01:28:38 +04:00
|
|
|
nsIInterfaceRequestorUtils.h \
|
1999-05-18 13:11:01 +04:00
|
|
|
$(NULL)
|
|
|
|
|
1999-06-04 00:06:49 +04:00
|
|
|
XPIDL_MODULE = xpcom_base
|
1999-05-26 05:38:36 +04:00
|
|
|
|
1999-05-18 13:11:01 +04:00
|
|
|
XPIDLSRCS = \
|
|
|
|
.\nsrootidl.idl \
|
2000-07-22 09:46:39 +04:00
|
|
|
.\nsIErrorService.idl \
|
2000-06-03 11:02:20 +04:00
|
|
|
.\nsIMemory.idl \
|
2000-02-01 04:08:29 +03:00
|
|
|
.\nsILeakDetector.idl \
|
|
|
|
.\nsIInterfaceRequestor.idl \
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
.\nsIException.idl \
|
|
|
|
.\nsIExceptionService.idl \
|
1999-05-18 13:11:01 +04:00
|
|
|
.\nsISupports.idl \
|
2000-05-05 03:07:19 +04:00
|
|
|
# .\nsISystemInfo.idl \
|
1999-08-03 07:48:04 +04:00
|
|
|
.\nsIWeakReference.idl \
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
.\nsIConsoleService.idl \
|
|
|
|
.\nsIConsoleMessage.idl \
|
|
|
|
.\nsIConsoleListener.idl \
|
|
|
|
.\nsIProgrammingLanguage.idl \
|
1999-05-18 13:11:01 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
## library
|
|
|
|
|
|
|
|
#MAKE_OBJ_TYPE = DLL
|
|
|
|
#LIBNAME = .\$(OBJDIR)\xpcombase
|
|
|
|
#DLL = $(LIBNAME).dll
|
|
|
|
|
|
|
|
LIBRARY_NAME=xpcombase_s
|
|
|
|
|
2001-01-26 01:54:05 +03:00
|
|
|
LCFLAGS = -D_IMPL_NS_COM -D_IMPL_NS_BASE -DWIN32_LEAN_AND_MEAN
|
|
|
|
|
1999-05-18 13:11:01 +04:00
|
|
|
|
1999-10-22 01:56:47 +04:00
|
|
|
!ifdef GC_LEAK_DETECTOR
|
|
|
|
LCFLAGS = $(LCFLAGS) -DGC_LEAK_DETECTOR
|
|
|
|
!endif
|
|
|
|
|
|
|
|
|
2001-01-26 01:54:05 +03:00
|
|
|
!ifdef MOZ_TRACE_MALLOC
|
2001-12-06 05:36:02 +03:00
|
|
|
C_OBJS = $(C_OBJS) \
|
|
|
|
.\$(OBJDIR)\nsTraceMalloc.obj \
|
2001-01-26 01:54:05 +03:00
|
|
|
$(NULL)
|
|
|
|
!endif
|
|
|
|
|
1999-05-18 13:11:01 +04:00
|
|
|
CPP_OBJS = \
|
2000-07-22 09:46:39 +04:00
|
|
|
.\$(OBJDIR)\nsErrorService.obj \
|
1999-05-18 13:11:01 +04:00
|
|
|
.\$(OBJDIR)\nsDebug.obj \
|
|
|
|
.\$(OBJDIR)\nsAllocator.obj \
|
2000-06-03 11:02:20 +04:00
|
|
|
.\$(OBJDIR)\nsMemoryImpl.obj \
|
2000-02-01 04:08:29 +03:00
|
|
|
.\$(OBJDIR)\nsCWeakReference.obj \
|
1999-05-18 13:11:01 +04:00
|
|
|
.\$(OBJDIR)\nsID.obj \
|
1999-11-28 05:15:11 +03:00
|
|
|
.\$(OBJDIR)\nsIInterfaceRequestor.obj \
|
2000-05-05 03:07:19 +04:00
|
|
|
# .\$(OBJDIR)\nsSystemInfo.obj \
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
.\$(OBJDIR)\nsExceptionService.obj \
|
1999-05-18 13:11:01 +04:00
|
|
|
.\$(OBJDIR)\nsTraceRefcnt.obj \
|
1999-08-03 11:20:37 +04:00
|
|
|
.\$(OBJDIR)\nsWeakReference.obj \
|
2000-04-18 06:34:54 +04:00
|
|
|
.\$(OBJDIR)\nsConsoleService.obj \
|
|
|
|
.\$(OBJDIR)\nsConsoleMessage.obj \
|
1999-10-15 11:40:13 +04:00
|
|
|
!ifdef GC_LEAK_DETECTOR
|
2000-02-01 04:08:29 +03:00
|
|
|
.\$(OBJDIR)\nsGarbageCollector.obj \
|
|
|
|
.\$(OBJDIR)\nsLeakDetector.obj \
|
1999-10-29 07:26:50 +04:00
|
|
|
!endif
|
|
|
|
!ifdef MOZ_DEBUG
|
2000-02-01 04:08:29 +03:00
|
|
|
.\$(OBJDIR)\pure_api.obj \
|
2001-01-26 01:54:05 +03:00
|
|
|
!endif
|
|
|
|
!ifdef MOZ_TRACE_MALLOC
|
|
|
|
.\$(OBJDIR)\nsTypeInfo.obj \
|
|
|
|
.\$(OBJDIR)\nsDebugHelpWin32.obj \
|
|
|
|
.\$(OBJDIR)\nsWinTraceMalloc.obj \
|
1999-10-15 11:40:13 +04:00
|
|
|
!endif
|
1999-05-18 13:11:01 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
2001-11-21 12:49:41 +03:00
|
|
|
libs:: $(LIBRARY)
|
1999-05-18 13:11:01 +04:00
|
|
|
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
|
|
|
|
|
|
|
|
clobber::
|
|
|
|
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib
|