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 \
|
|
|
|
nsIID.h \
|
|
|
|
nsIPtr.h \
|
|
|
|
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 \
|
1999-10-16 05:22:01 +04:00
|
|
|
.\nsILeakDetector.idl \
|
1999-10-26 05:37:29 +04:00
|
|
|
.\nsIInterfaceRequestor.idl \
|
1999-05-18 13:11:01 +04:00
|
|
|
.\nsISupports.idl \
|
1999-08-03 07:48:04 +04:00
|
|
|
.\nsIWeakReference.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 \
|
1999-10-01 06:43:27 +04: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 \
|
1999-05-18 13:11:01 +04:00
|
|
|
.\$(OBJDIR)\nsTraceRefcnt.obj \
|
1999-08-03 11:20:37 +04:00
|
|
|
.\$(OBJDIR)\nsWeakReference.obj \
|
1999-10-15 11:40:13 +04:00
|
|
|
!ifdef GC_LEAK_DETECTOR
|
|
|
|
.\$(OBJDIR)\nsGarbageCollector.obj \
|
1999-10-16 05:22:01 +04:00
|
|
|
.\$(OBJDIR)\nsLeakDetector.obj \
|
1999-10-29 07:26:50 +04:00
|
|
|
!endif
|
|
|
|
!ifdef MOZ_DEBUG
|
|
|
|
.\$(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
|