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
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
## exports
|
|
|
|
|
|
|
|
EXPORTS = \
|
|
|
|
nsAgg.h \
|
|
|
|
nsIAllocator.h \
|
|
|
|
nsCOMPtr.h \
|
|
|
|
nsCom.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 \
|
1999-05-18 13:11:01 +04:00
|
|
|
nsISupportsUtils.h \
|
|
|
|
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 \
|
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-02-01 04:08:29 +03:00
|
|
|
.\nsILeakDetector.idl \
|
|
|
|
.\nsIInterfaceRequestor.idl \
|
1999-05-18 13:11:01 +04:00
|
|
|
.\nsISupports.idl \
|
2000-02-01 04:08:29 +03:00
|
|
|
.\nsISystemInfo.idl \
|
1999-08-03 07:48:04 +04:00
|
|
|
.\nsIWeakReference.idl \
|
2000-04-18 06:34:54 +04:00
|
|
|
.\nsIConsoleService.idl \
|
|
|
|
.\nsIConsoleMessage.idl \
|
|
|
|
.\nsIConsoleListener.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
|
|
|
|
|
|
|
|
LINCS = \
|
|
|
|
-I$(PUBLIC)\xpcom \
|
1999-10-16 05:22:01 +04:00
|
|
|
-I$(PUBLIC)\xpcom\components \
|
1999-05-18 13:11:01 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LCFLAGS = -D_IMPL_NS_COM -DWIN32_LEAN_AND_MEAN
|
|
|
|
|
1999-10-22 01:56:47 +04:00
|
|
|
!ifdef GC_LEAK_DETECTOR
|
|
|
|
LCFLAGS = $(LCFLAGS) -DGC_LEAK_DETECTOR
|
|
|
|
!endif
|
|
|
|
|
|
|
|
|
1999-05-18 13:11:01 +04:00
|
|
|
CPP_OBJS = \
|
|
|
|
.\$(OBJDIR)\nsDebug.obj \
|
|
|
|
.\$(OBJDIR)\nsAllocator.obj \
|
|
|
|
.\$(OBJDIR)\nsCOMPtr.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-02-01 04:08:29 +03:00
|
|
|
.\$(OBJDIR)\nsSystemInfo.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 \
|
1999-10-15 11:40:13 +04:00
|
|
|
!endif
|
1999-05-18 13:11:01 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
1999-11-28 06:05:01 +03:00
|
|
|
install:: $(DLL)
|
1999-05-18 13:11:01 +04:00
|
|
|
# $(MAKE_INSTALL) $(LIBNAME).$(DLL_SUFFIX) $(DIST)\bin
|
|
|
|
# $(MAKE_INSTALL) $(LIBNAME).$(LIB_SUFFIX) $(DIST)\lib
|
|
|
|
|
1999-11-28 06:05:01 +03:00
|
|
|
install:: $(LIBRARY)
|
1999-05-18 13:11:01 +04:00
|
|
|
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
|
|
|
|
|
|
|
|
clobber::
|
|
|
|
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib
|