Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / layout / base / Makefile.in
blob71d7ec64d3c9b148de105c2e58ab64c72fb61a90
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 mozilla.org code.
17 # The Initial Developer of the Original Code is
18 # Netscape Communications Corporation.
19 # Portions created by the Initial Developer are Copyright (C) 1998
20 # the Initial Developer. All Rights Reserved.
22 # Contributor(s):
24 # Alternatively, the contents of this file may be used under the terms of
25 # either of the GNU General Public License Version 2 or later (the "GPL"),
26 # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 # in which case the provisions of the GPL or the LGPL are applicable instead
28 # of those above. If you wish to allow use of your version of this file only
29 # under the terms of either the GPL or the LGPL, and not to allow others to
30 # use your version of this file under the terms of the MPL, indicate your
31 # decision by deleting the provisions above and replace them with the notice
32 # and other provisions required by the GPL or the LGPL. If you do not delete
33 # the provisions above, a recipient may use your version of this file under
34 # the terms of any one of the MPL, the GPL or the LGPL.
36 # ***** END LICENSE BLOCK *****
38 DEPTH = ../..
39 topsrcdir = @top_srcdir@
40 srcdir = @srcdir@
41 VPATH = @srcdir@
43 include $(DEPTH)/config/autoconf.mk
45 ifdef ENABLE_TESTS
46 DIRS += tests
47 endif
49 MODULE = layout
50 XPIDL_MODULE = layout_base
51 GRE_MODULE = 1
52 LIBRARY_NAME = gkbase_s
53 LIBXUL_LIBRARY = 1
55 REQUIRES = xpcom \
56 string \
57 dom \
58 content \
59 xuldoc \
60 gfx \
61 widget \
62 view \
63 necko \
64 docshell \
65 webshell \
66 webbrwsr \
67 uriloader \
68 js \
69 xpconnect \
70 plugin \
71 locale \
72 pref \
73 imglib2 \
74 unicharutil \
75 htmlparser \
76 util \
77 windowwatcher \
78 shistory \
79 caps \
80 thebes \
81 $(NULL)
83 ifdef ACCESSIBILITY
84 REQUIRES += accessibility
85 endif
87 XPIDLSRCS = \
88 nsIStyleSheetService.idl \
89 $(NULL)
91 EXPORTS = \
92 nsBidi.h \
93 nsBidiPresUtils.h \
94 nsCaret.h \
95 nsCSSFrameConstructor.h \
96 nsChangeHint.h \
97 nsCompatibility.h \
98 nsDisplayList.h \
99 nsFrameManager.h \
100 nsFrameManagerBase.h \
101 nsFrameTraversal.h \
102 nsIDocumentViewer.h \
103 nsIFrameTraversal.h \
104 nsIImageMap.h \
105 nsILayoutDebugger.h \
106 nsILayoutHistoryState.h \
107 nsIPercentHeightObserver.h \
108 nsIPresShell.h \
109 nsIReflowCallback.h \
110 nsLayoutErrors.h \
111 nsLayoutUtils.h \
112 nsIFocusEventSuppressor.h \
113 nsPresContext.h \
114 nsPresState.h \
115 nsStyleChangeList.h \
116 nsStyleConsts.h \
117 $(NULL)
119 CPPSRCS = \
120 nsCSSColorUtils.cpp \
121 nsCSSFrameConstructor.cpp \
122 nsCSSRendering.cpp \
123 nsCSSRenderingBorders.cpp \
124 nsCaret.cpp \
125 nsChildIterator.cpp \
126 nsCounterManager.cpp \
127 nsDisplayList.cpp \
128 nsDocumentViewer.cpp \
129 nsFrameManager.cpp \
130 nsFrameTraversal.cpp \
131 nsGenConList.cpp \
132 nsImageLoader.cpp \
133 nsLayoutDebugger.cpp \
134 nsLayoutHistoryState.cpp \
135 nsLayoutUtils.cpp \
136 nsPresContext.cpp \
137 nsPresShell.cpp \
138 nsPresState.cpp \
139 nsQuoteList.cpp \
140 nsStyleChangeList.cpp \
141 nsStyleSheetService.cpp \
142 nsFocusEventSuppressor.cpp \
143 $(NULL)
145 ifndef MOZ_XUL
146 XPIDLSRCS += \
147 nsIBoxObject.idl \
148 $(NULL)
149 EXPORTS += \
150 nsPIBoxObject.h \
151 $(NULL)
152 CPPSRCS += \
153 nsBoxObject.cpp \
154 $(NULL)
155 endif
157 ifdef IBMBIDI
158 CPPSRCS += \
159 nsBidiPresUtils.cpp \
160 nsBidi.cpp \
161 $(NULL)
162 endif
164 FORCE_STATIC_LIB = 1
166 include $(topsrcdir)/config/rules.mk
168 LOCAL_INCLUDES += \
169 -I$(srcdir) \
170 -I$(srcdir)/../style \
171 -I$(srcdir)/../generic \
172 -I$(srcdir)/../forms \
173 -I$(srcdir)/../tables \
174 -I$(srcdir)/../printing \
175 -I$(srcdir)/../xul/base/src \
176 -I$(srcdir)/../xul/base/src/tree/src \
177 -I$(srcdir)/../../content/base/src \
178 -I$(srcdir)/../../content/events/src \
179 -I$(srcdir)/../../content/xbl/src \
180 -I$(srcdir)/../../view/src \
181 -I$(srcdir)/../../dom/src/base \
182 -I$(srcdir)/../../content/svg/content/src \
183 $(NULL)
185 ifdef MOZ_MATHML
186 LOCAL_INCLUDES += \
187 -I$(srcdir)/../mathml/content/src \
188 -I$(srcdir)/../mathml/base/src
189 endif
191 ifdef MOZ_SVG
192 LOCAL_INCLUDES += \
193 -I$(srcdir)/../svg/base/src
194 endif
196 ifdef MOZ_MEDIA
197 LOCAL_INCLUDES += \
198 -I$(srcdir)/../../content/html/content/src
199 endif
201 CXXFLAGS += $(MOZ_CAIRO_CFLAGS)
203 DEFINES += -D_IMPL_NS_LAYOUT
205 ifndef MOZ_XUL
206 nsIBoxObject.idl: %: $(topsrcdir)/layout/xul/base/public/%
207 $(INSTALL) $^ .
208 nsPIBoxObject.h: %: $(topsrcdir)/layout/xul/base/public/%
209 $(INSTALL) $^ .
210 nsBoxObject.cpp: %: $(topsrcdir)/layout/xul/base/src/%
211 $(INSTALL) $^ .
213 GARBAGE += nsIBoxObject.idl nsPIBoxObject.h nsBoxObject.cpp
214 endif