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.
|
|
|
|
|
|
|
|
IGNORE_MANIFEST=1
|
|
|
|
|
|
|
|
DEPTH=..\..
|
|
|
|
MODULE = xpcom
|
|
|
|
|
|
|
|
LIBNAME = .\$(OBJDIR)\xpcom
|
|
|
|
DLL = $(LIBNAME).dll
|
|
|
|
|
1999-05-26 05:38:36 +04:00
|
|
|
LINCS = \
|
1999-07-02 15:50:19 +04:00
|
|
|
-I$(PUBLIC)\xpcom \
|
1999-05-26 05:38:36 +04:00
|
|
|
-I..\base \
|
|
|
|
-I..\ds \
|
|
|
|
-I..\io \
|
|
|
|
-I..\components \
|
|
|
|
-I..\threads \
|
|
|
|
-I..\reflect\xptinfo\src \
|
|
|
|
-I..\proxy\src \
|
1999-05-18 13:11:01 +04:00
|
|
|
$(NULL)
|
|
|
|
|
1999-05-26 05:38:36 +04:00
|
|
|
LCFLAGS=-D_IMPL_NS_COM \
|
|
|
|
-D_IMPL_NS_BASE \
|
|
|
|
-DWIN32_LEAN_AND_MEAN \
|
|
|
|
-DEXPORT_XPT_API \
|
|
|
|
-DEXPORT_XPTC_API \
|
|
|
|
-DEXPORT_XPTI_API
|
1999-05-18 13:11:01 +04:00
|
|
|
|
|
|
|
CPP_OBJS = \
|
|
|
|
.\$(OBJDIR)\nsXPComInit.obj \
|
|
|
|
.\$(OBJDIR)\dlldeps.obj \
|
|
|
|
$(NULL)
|
|
|
|
|
1999-05-29 02:41:13 +04:00
|
|
|
!ifndef BUILD_OPT
|
|
|
|
#CPP_OBJS = $(CPP_OBJS) .\$(OBJDIR)\nsConstructorPattern.obj
|
|
|
|
!endif
|
|
|
|
|
1999-07-02 17:42:17 +04:00
|
|
|
LLIBS = \
|
1999-07-02 15:50:19 +04:00
|
|
|
$(LIBNSPR) \
|
1999-05-18 13:11:01 +04:00
|
|
|
$(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 \
|
1999-05-26 05:38:36 +04:00
|
|
|
$(DIST)\lib\xpcomxpt_s.lib \
|
1999-07-02 15:50:19 +04:00
|
|
|
$(DIST)\lib\xpcomxptcall_s.lib \
|
|
|
|
$(DIST)\lib\xpcomxptcmd_s.lib \
|
1999-05-26 05:38:36 +04:00
|
|
|
$(DIST)\lib\xpcomxptinfo_s.lib \
|
|
|
|
$(DIST)\lib\xpcomproxy_s.lib \
|
1999-07-02 15:50:19 +04:00
|
|
|
$(DIST)\lib\libreg32.lib \
|
|
|
|
$(NULL)
|
1999-06-04 01:51:14 +04:00
|
|
|
|
1999-07-02 15:50:19 +04:00
|
|
|
WIN_LIBS = \
|
|
|
|
shell32.lib \
|
1999-05-18 13:11:01 +04:00
|
|
|
!if defined(MOZ_TRACE_XPCOM_REFCNT)
|
1999-07-02 15:50:19 +04:00
|
|
|
imagehlp.lib \
|
1999-07-02 17:42:17 +04:00
|
|
|
!endif
|
|
|
|
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
|
|
|
|
$(GLOWDIR)\glowcode.lib \
|
1999-07-02 15:50:19 +04:00
|
|
|
!endif
|
|
|
|
$(NULL)
|
1999-05-18 13:11:01 +04:00
|
|
|
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
|
|
|
libs:: $(DLL)
|
|
|
|
$(MAKE_INSTALL) $(LIBNAME).$(DLL_SUFFIX) $(DIST)\bin
|
|
|
|
$(MAKE_INSTALL) $(LIBNAME).$(LIB_SUFFIX) $(DIST)\lib
|