gecko-dev/embedding/tests/winEmbed/makefile.win
blythe%netscape.com 0c699aeff9 Fix bug 127069.
Reclaim .75 MB of VM on Win32.
r=dp sr=brendan a=shaver
2002-02-22 02:55:08 +00:00

90 lines
2.1 KiB
Plaintext

#
# 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 Communicator client code,
# released March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..
MAKE_OBJ_TYPE = EXE
MODULE = winEmbed
REQUIRES = xpcom \
string \
embed_base \
webBrowser_core \
webshell \
windowwatcher \
profile \
necko \
docshell \
dom \
widget \
uriloader \
shistory \
webbrowserpersist \
gfx \
$(NULL)
PROGRAM = .\$(OBJDIR)\$(MODULE).exe
RESFILE = $(MODULE).res
#
# Control the default heap size.
# This is the heap returned by GetProcessHeap().
# As we use the CRT heap, the default size is too large and wastes VM.
#
# The default heap size is 1MB on Win32.
# The heap will grow if need be.
#
# Set it to 256k. See bug 127069.
#
LLFLAGS=$(LLFLAGS) /HEAP:0x40000
OBJS = \
.\$(OBJDIR)\winEmbed.obj \
.\$(OBJDIR)\WebBrowserChrome.obj \
.\$(OBJDIR)\WindowCreator.obj \
.\$(OBJDIR)\StdAfx.obj \
$(NULL)
LLIBS= \
$(DIST)\lib\baseembed_s.lib \
$(DIST)\lib\gkgfx.lib \
$(DIST)\lib\xpcom.lib \
$(LIBNSPR) \
$(NULL)
WIN_LIBS= \
ole32.lib \
comdlg32.lib \
shell32.lib \
version.lib \
$(NULL)
include <$(DEPTH)\config\rules.mak>
libs:: $(PROGRAM)
$(MAKE_INSTALL) $(PROGRAM) $(DIST)\bin
clobber_all::
$(RM) $(DIST)\bin\$(MODULE).exe