gecko-dev/xpcom/components/makefile.win

100 строки
2.9 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
XPIDL_MODULE = xpcom_components
REQUIRES = mozreg \
string \
$(NULL)
1999-05-18 13:11:01 +04:00
################################################################################
## exports
EXPORTS = \
2002-03-22 03:41:48 +03:00
nsCategoryManagerUtils.h \
nsComponentManagerObsolete.h \
nsComponentManagerUtils.h \
nsIComponentManagerUtils.h \
nsIRegistryUtils.h \
nsIServiceManagerObsolete.h \
nsIServiceManagerUtils.h \
nsXPComFactory.h \
nsNativeComponentLoader.h \
nsStaticComponent.h \
xcDll.h \
nsObsoleteModuleLoading.h \
$(NULL)
1999-05-18 13:11:01 +04:00
XPIDLSRCS = \
.\nsICategoryHandler.idl \
.\nsICategoryManager.idl \
.\nsIClassInfo.idl \
.\nsIComponentLoader.idl \
.\nsIComponentLoaderManager.idl \
.\nsIComponentManager.idl \
.\nsIComponentManagerObsolete.idl \
.\nsIComponentRegistrar.idl \
.\nsIFactory.idl \
.\nsIModule.idl \
.\nsIRegistry.idl \
.\nsIServiceManager.idl \
1999-05-18 13:11:01 +04:00
$(NULL)
################################################################################
## library
LIBRARY_NAME=xpcomcomp_s
LINCS = \
-I..\base \
2002-06-15 01:50:50 +04:00
-I..\ds \
1999-05-18 13:11:01 +04:00
-I..\threads \
2002-06-15 01:50:50 +04:00
-I..\io \
$(NULL)
1999-05-18 13:11:01 +04:00
LCFLAGS = -D_IMPL_NS_COM -D_IMPL_NS_BASE -DWIN32_LEAN_AND_MEAN
1999-05-18 13:11:01 +04:00
!ifdef MOZ_STATIC_COMPONENT_LIBS
LCFLAGS = $(LCFLAGS) -DENABLE_STATIC_COMPONENT_LOADER
!endif
1999-05-18 13:11:01 +04:00
CPP_OBJS = \
.\$(OBJDIR)\nsComponentManager.obj \
.\$(OBJDIR)\nsComponentManagerObsolete.obj \
.\$(OBJDIR)\nsNativeComponentLoader.obj \
.\$(OBJDIR)\nsServiceManagerObsolete.obj \
.\$(OBJDIR)\nsStaticComponentLoader.obj \
1999-05-18 13:11:01 +04:00
.\$(OBJDIR)\nsRegistry.obj \
.\$(OBJDIR)\nsCategoryManager.obj \
1999-05-18 13:11:01 +04:00
.\$(OBJDIR)\xcDll.obj \
$(NULL)
include <$(DEPTH)\config\rules.mak>
libs:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
1999-05-18 13:11:01 +04:00
clobber::
$(RM) $(DIST)\lib\$(LIBRARY_NAME).lib