1999-05-18 13:11:01 +04:00
|
|
|
#!nmake
|
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# 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
|
|
|
#
|
1999-11-06 06:43:54 +03: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
|
|
|
#
|
1999-11-06 06:43:54 +03: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
|
1999-11-06 06:43:54 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-05-18 13:11:01 +04:00
|
|
|
|
1999-09-01 04:54:34 +04:00
|
|
|
|
1999-05-18 13:11:01 +04:00
|
|
|
|
|
|
|
DEPTH=..\..
|
|
|
|
MODULE = xpcom
|
2001-09-19 02:01:13 +04:00
|
|
|
REQUIRES = mozreg \
|
|
|
|
string \
|
|
|
|
$(NULL)
|
1999-05-18 13:11:01 +04:00
|
|
|
|
1999-07-25 01:57:34 +04:00
|
|
|
include <$(DEPTH)\config\config.mak>
|
|
|
|
|
2001-06-21 00:21:49 +04:00
|
|
|
MAKE_OBJ_TYPE=DLL
|
1999-05-18 13:11:01 +04:00
|
|
|
LIBNAME = .\$(OBJDIR)\xpcom
|
|
|
|
DLL = $(LIBNAME).dll
|
|
|
|
|
2001-10-16 07:35:52 +04:00
|
|
|
EXPORTS = \
|
|
|
|
nsXPCOM.h \
|
|
|
|
$(NULL)
|
|
|
|
|
1999-07-19 06:54:33 +04:00
|
|
|
# if we ever add a .def file for x86 we need to deal with this.
|
|
|
|
!if "$(CPU)" == "ALPHA"
|
|
|
|
DEFFILE = xpcom_alpha.def
|
|
|
|
!endif
|
|
|
|
|
1999-05-26 05:38:36 +04:00
|
|
|
LINCS = \
|
|
|
|
-I..\base \
|
2001-12-07 22:54:16 +03:00
|
|
|
-I..\glue \
|
1999-05-26 05:38:36 +04:00
|
|
|
-I..\ds \
|
|
|
|
-I..\io \
|
|
|
|
-I..\components \
|
|
|
|
-I..\threads \
|
1999-09-16 05:16:22 +04:00
|
|
|
-I..\threads\_xpidlgen \
|
1999-05-26 05:38:36 +04:00
|
|
|
-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 \
|
1999-10-22 01:59:15 +04:00
|
|
|
!ifdef GC_LEAK_DETECTOR
|
|
|
|
-DGC_LEAK_DETECTOR \
|
|
|
|
!endif
|
1999-05-26 05:38:36 +04:00
|
|
|
-DEXPORT_XPTI_API
|
1999-05-18 13:11:01 +04:00
|
|
|
|
|
|
|
CPP_OBJS = \
|
|
|
|
.\$(OBJDIR)\nsXPComInit.obj \
|
|
|
|
.\$(OBJDIR)\dlldeps.obj \
|
|
|
|
$(NULL)
|
|
|
|
|
2001-06-21 00:21:49 +04:00
|
|
|
SUB_LIBRARIES = \
|
|
|
|
$(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\string_s.lib \
|
|
|
|
$(DIST)\lib\string_obsolete_s.lib \
|
|
|
|
$(DIST)\lib\mozreg.lib \
|
2001-09-30 05:44:25 +04:00
|
|
|
$(DIST)\lib\xpcomglue.lib \
|
2001-06-21 00:21:49 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LLIBS = $(SUB_LIBRARIES) \
|
1999-07-02 15:50:19 +04:00
|
|
|
$(LIBNSPR) \
|
|
|
|
$(NULL)
|
1999-06-04 01:51:14 +04:00
|
|
|
|
1999-07-02 15:50:19 +04:00
|
|
|
WIN_LIBS = \
|
|
|
|
shell32.lib \
|
1999-07-27 02:09:42 +04:00
|
|
|
ole32.lib \
|
1999-10-15 11:40:13 +04:00
|
|
|
!ifdef GC_LEAK_DETECTOR
|
|
|
|
$(DIST)\lib\boehm.lib \
|
|
|
|
!endif
|
2001-12-06 05:36:02 +03:00
|
|
|
!if defined(MOZ_DEBUG) || defined(MOZ_TRACE_MALLOC)
|
1999-07-02 15:50:19 +04:00
|
|
|
imagehlp.lib \
|
|
|
|
!endif
|
|
|
|
$(NULL)
|
1999-05-18 13:11:01 +04:00
|
|
|
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
2001-11-21 12:49:41 +03:00
|
|
|
libs:: $(DLL)
|
1999-05-18 13:11:01 +04:00
|
|
|
$(MAKE_INSTALL) $(LIBNAME).$(DLL_SUFFIX) $(DIST)\bin
|
|
|
|
$(MAKE_INSTALL) $(LIBNAME).$(LIB_SUFFIX) $(DIST)\lib
|