Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / embedding / browser / build / Makefile.in
blob252c329d419046bab16dba147cdf36f078a62984
1 #
2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Original Code is the Mozilla browser.
17 # The Initial Developer of the Original Code is
18 # Netscape Communications, Inc.
19 # Portions created by the Initial Developer are Copyright (C) 1999
20 # the Initial Developer. All Rights Reserved.
22 # Contributor(s):
23 # Travis Bogard <travis@netscape.com>
25 # Alternatively, the contents of this file may be used under the terms of
26 # either the GNU General Public License Version 2 or later (the "GPL"), or
27 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 # in which case the provisions of the GPL or the LGPL are applicable instead
29 # of those above. If you wish to allow use of your version of this file only
30 # under the terms of either the GPL or the LGPL, and not to allow others to
31 # use your version of this file under the terms of the MPL, indicate your
32 # decision by deleting the provisions above and replace them with the notice
33 # and other provisions required by the GPL or the LGPL. If you do not delete
34 # the provisions above, a recipient may use your version of this file under
35 # the terms of any one of the MPL, the GPL or the LGPL.
37 # ***** END LICENSE BLOCK *****
39 DEPTH = ../../..
40 topsrcdir = @top_srcdir@
41 srcdir = @srcdir@
42 VPATH = @srcdir@
44 include $(DEPTH)/config/autoconf.mk
46 MODULE = webbrwsr
47 LIBRARY_NAME = webbrwsr
48 IS_COMPONENT = 1
49 MODULE_NAME = Browser_Embedding_Module
50 EXPORT_LIBRARY = 1
51 GRE_MODULE = 1
52 LIBXUL_LIBRARY = 1
54 REQUIRES = xpcom \
55 string \
56 docshell \
57 dom \
58 widget \
59 gfx \
60 content \
61 necko \
62 uriloader \
63 shistory \
64 windowwatcher \
65 webbrowserpersist \
66 embed_base \
67 $(NULL)
69 ifeq (,$(filter-out WINCE WINNT,$(OS_ARCH)))
70 EXTRA_DSO_LIBS = gkgfx
71 endif
73 CPPSRCS = \
74 nsWebBrowserModule.cpp \
75 $(NULL)
77 SHARED_LIBRARY_LIBS= \
78 ../webBrowser/$(LIB_PREFIX)nsWebBrowser_s.$(LIB_SUFFIX) \
79 $(NULL)
81 EXTRA_DSO_LDOPTS= \
82 $(LIBS_DIR) \
83 $(EXTRA_DSO_LIBS) \
84 $(MOZ_UNICHARUTIL_LIBS) \
85 $(MOZ_COMPONENT_LIBS) \
86 $(NULL)
88 ifeq (mac,$(MOZ_WIDGET_TOOLKIT))
89 EXTRA_DSO_LDOPTS += $(TK_LIBS)
90 endif
92 include $(topsrcdir)/config/rules.mk
94 INCLUDES += \
95 -I$(srcdir) \
96 -I$(srcdir)/../webBrowser \
97 -I$(srcdir)/../setup \
98 $(NULL)