pjs/xpcom/base/makefile.win

136 строки
3.7 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
REQUIRES=string
1999-05-18 13:11:01 +04:00
################################################################################
## 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 \
nslog.h \
!ifdef MOZ_TRACE_MALLOC
nsTraceMalloc.h \
!endif
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 = \
.\nsILoggingService.idl \
1999-05-18 13:11:01 +04:00
.\nsrootidl.idl \
2000-07-22 09:46:39 +04:00
.\nsIErrorService.idl \
.\nsIMemory.idl \
.\nsILeakDetector.idl \
.\nsIInterfaceRequestor.idl \
.\nsIException.idl \
.\nsIExceptionService.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 \
.\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
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
!ifdef MOZ_TRACE_MALLOC
C_OBJS = \
.\$(OBJDIR)\nsTraceMalloc.obj \
$(NULL)
!endif
1999-05-18 13:11:01 +04:00
CPP_OBJS = \
.\$(OBJDIR)\nsLogging.obj \
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 \
.\$(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 \
.\$(OBJDIR)\nsExceptionService.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
!ifdef MOZ_TRACE_MALLOC
.\$(OBJDIR)\nsTypeInfo.obj \
.\$(OBJDIR)\nsDebugHelpWin32.obj \
.\$(OBJDIR)\nsWinTraceMalloc.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:: $(LIBRARY)
1999-05-18 13:11:01 +04:00
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
clobber::
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib