1999-05-18 13:11:01 +04:00
|
|
|
#!nmake
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Netscape Public License
|
|
|
|
# Version 1.0 (the "NPL"); you may not use this file except in
|
|
|
|
# compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
# http://www.mozilla.org/NPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# NPL.
|
|
|
|
#
|
|
|
|
# The Initial Developer of this code under the NPL is Netscape
|
|
|
|
# Communications Corporation. Portions created by Netscape are
|
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
|
|
# Reserved.
|
|
|
|
|
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 \
|
|
|
|
$(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 \
|
|
|
|
.\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 \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LCFLAGS = -D_IMPL_NS_COM -DWIN32_LEAN_AND_MEAN
|
|
|
|
|
|
|
|
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 \
|
|
|
|
.\$(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 \
|
|
|
|
!endif
|
1999-05-18 13:11:01 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
|
|
|
#libs:: $(DLL)
|
|
|
|
# $(MAKE_INSTALL) $(LIBNAME).$(DLL_SUFFIX) $(DIST)\bin
|
|
|
|
# $(MAKE_INSTALL) $(LIBNAME).$(LIB_SUFFIX) $(DIST)\lib
|
|
|
|
|
|
|
|
libs:: $(LIBRARY)
|
|
|
|
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
|
|
|
|
|
|
|
|
clobber::
|
|
|
|
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib
|