Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / embedding / tests / winEmbed / Makefile.in
blobed8ec61f4a4fd4f3b1e1dc8e00a4d2d043e246fc
1 # ***** BEGIN LICENSE BLOCK *****
2 # Version: Mozilla-sample-code 1.0
4 # Copyright (c) 2002 Netscape Communications Corporation and
5 # other contributors
7 # Permission is hereby granted, free of charge, to any person obtaining a
8 # copy of this Mozilla sample software and associated documentation files
9 # (the "Software"), to deal in the Software without restriction, including
10 # without limitation the rights to use, copy, modify, merge, publish,
11 # distribute, sublicense, and/or sell copies of the Software, and to permit
12 # persons to whom the Software is furnished to do so, subject to the
13 # following conditions:
15 # The above copyright notice and this permission notice shall be included
16 # in all copies or substantial portions of the Software.
18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
24 # DEALINGS IN THE SOFTWARE.
26 # Contributor(s):
28 # ***** END LICENSE BLOCK *****
30 DEPTH = ../../..
31 topsrcdir = @top_srcdir@
32 srcdir = @srcdir@
33 VPATH = @srcdir@
35 include $(DEPTH)/config/autoconf.mk
37 XPI_NAME = winembed
39 PROGRAM = winEmbed$(BIN_SUFFIX)
40 RESFILE = winEmbed.res
42 MODULE = winEmbed
44 REQUIRES = xpcom \
45 string \
46 embed_base \
47 webbrwsr \
48 webshell \
49 windowwatcher \
50 profile \
51 necko \
52 docshell \
53 dom \
54 widget \
55 uriloader \
56 shistory \
57 webbrowserpersist \
58 profdirserviceprovider \
59 xulapp \
60 $(NULL)
62 CPPSRCS = \
63 winEmbed.cpp \
64 WebBrowserChrome.cpp \
65 WindowCreator.cpp \
66 $(NULL)
68 LIBS = \
69 $(DEPTH)/profile/dirserviceprovider/standalone/$(LIB_PREFIX)profdirserviceprovidersa_s.$(LIB_SUFFIX) \
70 $(XPCOM_STANDALONE_GLUE_LDOPTS) \
71 $(NULL)
73 LOCAL_INCLUDES = -I$(srcdir)
75 DEFINES += -DXPCOM_GLUE
77 OS_LIBS += $(call EXPAND_LIBNAME,ole32 comdlg32 shell32 version)
79 include $(topsrcdir)/config/config.mk
81 include $(topsrcdir)/config/rules.mk
84 # Control the default heap size.
85 # This is the heap returned by GetProcessHeap().
86 # As we use the CRT heap, the default size is too large and wastes VM.
88 # The default heap size is 1MB on Win32.
89 # The heap will grow if need be.
91 # Set it to 256k. See bug 127069.
93 ifndef GNU_CC
94 LDFLAGS += /HEAP:0x40000
95 endif
97 # Get rid of console window
98 ifdef GNU_CC
99 LDFLAGS += -mwindows
100 endif