mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
94 lines
2.6 KiB
Plaintext
94 lines
2.6 KiB
Plaintext
#!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/
|
|
#
|
|
# 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.
|
|
#
|
|
# The Original Code is mozilla.org code.
|
|
#
|
|
# The Initial Developer of the Original Code is Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
|
|
|
|
|
|
DEPTH=..\..
|
|
MODULE = xpcom
|
|
|
|
include <$(DEPTH)\config\config.mak>
|
|
|
|
LIBNAME = .\$(OBJDIR)\xpcom
|
|
DLL = $(LIBNAME).dll
|
|
|
|
# if we ever add a .def file for x86 we need to deal with this.
|
|
!if "$(CPU)" == "ALPHA"
|
|
DEFFILE = xpcom_alpha.def
|
|
!endif
|
|
|
|
LINCS = \
|
|
-I$(PUBLIC)\xpcom \
|
|
-I..\base \
|
|
-I..\ds \
|
|
-I..\io \
|
|
-I..\components \
|
|
-I..\threads \
|
|
-I..\threads\_xpidlgen \
|
|
-I..\proxy\src \
|
|
$(NULL)
|
|
|
|
LCFLAGS=-D_IMPL_NS_COM \
|
|
-D_IMPL_NS_BASE \
|
|
-DWIN32_LEAN_AND_MEAN \
|
|
-DEXPORT_XPT_API \
|
|
-DEXPORT_XPTC_API \
|
|
!ifdef GC_LEAK_DETECTOR
|
|
-DGC_LEAK_DETECTOR \
|
|
!endif
|
|
-DEXPORT_XPTI_API
|
|
|
|
CPP_OBJS = \
|
|
.\$(OBJDIR)\nsXPComInit.obj \
|
|
.\$(OBJDIR)\dlldeps.obj \
|
|
$(NULL)
|
|
|
|
LLIBS = \
|
|
$(LIBNSPR) \
|
|
$(DIST)\lib\xpcombase_s.lib \
|
|
$(DIST)\lib\xpcomds_s.lib \
|
|
$(DIST)\lib\xpcomio_s.lib \
|
|
$(DIST)\lib\xpcomcomp_s.lib \
|
|
$(DIST)\lib\xpcomthreads_s.lib \
|
|
$(DIST)\lib\xpcomxpt_s.lib \
|
|
$(DIST)\lib\xpcomxptcall_s.lib \
|
|
$(DIST)\lib\xpcomxptcmd_s.lib \
|
|
$(DIST)\lib\xpcomxptinfo_s.lib \
|
|
$(DIST)\lib\xpcomproxy_s.lib \
|
|
$(DIST)\lib\mozreg.lib \
|
|
$(NULL)
|
|
|
|
WIN_LIBS = \
|
|
shell32.lib \
|
|
ole32.lib \
|
|
!ifdef GC_LEAK_DETECTOR
|
|
$(DIST)\lib\boehm.lib \
|
|
!endif
|
|
!if defined(MOZ_DEBUG)
|
|
imagehlp.lib \
|
|
!endif
|
|
$(NULL)
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
install:: $(DLL)
|
|
$(MAKE_INSTALL) $(LIBNAME).$(DLL_SUFFIX) $(DIST)\bin
|
|
$(MAKE_INSTALL) $(LIBNAME).$(LIB_SUFFIX) $(DIST)\lib
|