mozilla-history/xpcom/base/makefile.win

119 строки
3.1 KiB
Plaintext
Исходник Обычный вид История

1999-05-18 13:11:01 +04:00
#!nmake
#
# 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
#
# 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
#
# 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
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
1999-05-18 13:11:01 +04:00
1999-05-18 13:11:01 +04:00
DEPTH=..\..
MODULE = xpcom
################################################################################
## exports
EXPORTS = \
nsAgg.h \
nsIAllocator.h \
nsMemory.h \
1999-05-18 13:11:01 +04:00
nsCOMPtr.h \
nsCom.h \
nsCWeakReference.h \
1999-05-18 13:11:01 +04:00
nsDebug.h \
nsError.h \
nsID.h \
nsIID.h \
nsIPtr.h \
1999-05-18 13:11:01 +04:00
nsISupportsUtils.h \
nsTraceRefcnt.h \
nsWeakReference.h \
nsWeakPtr.h \
1999-05-18 13:11:01 +04:00
nscore.h \
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 \
.\nsIMemory.idl \
.\nsILeakDetector.idl \
.\nsIInterfaceRequestor.idl \
1999-05-18 13:11:01 +04:00
.\nsISupports.idl \
# .\nsISystemInfo.idl \
1999-08-03 07:48:04 +04:00
.\nsIWeakReference.idl \
.\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 \
-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)\nsMemoryImpl.obj \
1999-05-18 13:11:01 +04:00
.\$(OBJDIR)\nsCOMPtr.obj \
.\$(OBJDIR)\nsCWeakReference.obj \
1999-05-18 13:11:01 +04:00
.\$(OBJDIR)\nsID.obj \
.\$(OBJDIR)\nsIInterfaceRequestor.obj \
# .\$(OBJDIR)\nsSystemInfo.obj \
1999-05-18 13:11:01 +04:00
.\$(OBJDIR)\nsTraceRefcnt.obj \
.\$(OBJDIR)\nsWeakReference.obj \
.\$(OBJDIR)\nsConsoleService.obj \
.\$(OBJDIR)\nsConsoleMessage.obj \
!ifdef GC_LEAK_DETECTOR
.\$(OBJDIR)\nsGarbageCollector.obj \
.\$(OBJDIR)\nsLeakDetector.obj \
!endif
!ifdef MOZ_DEBUG
.\$(OBJDIR)\pure_api.obj \
!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