bug 715586: checksums.py should generate sha1 and md5 checksums. r=catlee,ted
[gecko.git] / layout / build / Makefile.in
blobf38de7c623cbf8f6eb55d585a3cefe1e1a31cc42
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 # Solaris sh blows
46 ifeq ($(OS_ARCH),SunOS)
47 SHELL := ksh
48 endif
50 MODULE = layout
51 LIBRARY_NAME = gklayout
52 EXPORT_LIBRARY = 1
53 IS_COMPONENT = 1
54 MODULE_NAME = nsLayoutModule
55 GRE_MODULE = 1
56 LIBXUL_LIBRARY = 1
59 CPPSRCS = \
60 nsLayoutModule.cpp \
61 nsContentDLF.cpp \
62 nsLayoutStatics.cpp \
63 $(NULL)
65 EXPORTS = \
66 nsLayoutCID.h \
67 nsContentDLF.h \
68 nsLayoutStatics.h \
69 $(NULL)
71 SHARED_LIBRARY_LIBS = \
72 ../base/$(LIB_PREFIX)gkbase_s.$(LIB_SUFFIX) \
73 ../forms/$(LIB_PREFIX)gkforms_s.$(LIB_SUFFIX) \
74 ../generic/$(LIB_PREFIX)gkgeneric_s.$(LIB_SUFFIX) \
75 ../ipc/$(LIB_PREFIX)gkipc_s.$(LIB_SUFFIX) \
76 ../style/$(LIB_PREFIX)gkstyle_s.$(LIB_SUFFIX) \
77 ../tables/$(LIB_PREFIX)gktable_s.$(LIB_SUFFIX) \
78 ../xul/base/src/$(LIB_PREFIX)gkxulbase_s.$(LIB_SUFFIX) \
79 ../mathml/$(LIB_PREFIX)gkmathml_s.$(LIB_SUFFIX) \
80 $(DEPTH)/content/base/src/$(LIB_PREFIX)gkconbase_s.$(LIB_SUFFIX) \
81 $(DEPTH)/content/canvas/src/$(LIB_PREFIX)gkconcvs_s.$(LIB_SUFFIX) \
82 $(DEPTH)/content/events/src/$(LIB_PREFIX)gkconevents_s.$(LIB_SUFFIX) \
83 $(DEPTH)/content/html/content/src/$(LIB_PREFIX)gkconhtmlcon_s.$(LIB_SUFFIX) \
84 $(DEPTH)/content/html/document/src/$(LIB_PREFIX)gkconhtmldoc_s.$(LIB_SUFFIX) \
85 $(DEPTH)/content/xml/content/src/$(LIB_PREFIX)gkconxmlcon_s.$(LIB_SUFFIX) \
86 $(DEPTH)/content/xml/document/src/$(LIB_PREFIX)gkconxmldoc_s.$(LIB_SUFFIX) \
87 $(DEPTH)/content/xslt/src/base/$(LIB_PREFIX)txbase_s.$(LIB_SUFFIX) \
88 $(DEPTH)/content/xslt/src/xml/$(LIB_PREFIX)txxml_s.$(LIB_SUFFIX) \
89 $(DEPTH)/content/xslt/src/xpath/$(LIB_PREFIX)txxpath_s.$(LIB_SUFFIX) \
90 $(DEPTH)/content/xslt/src/xslt/$(LIB_PREFIX)txxslt_s.$(LIB_SUFFIX) \
91 $(DEPTH)/content/xbl/src/$(LIB_PREFIX)gkconxbl_s.$(LIB_SUFFIX) \
92 $(DEPTH)/content/xul/document/src/$(LIB_PREFIX)gkconxuldoc_s.$(LIB_SUFFIX) \
93 $(DEPTH)/view/src/$(LIB_PREFIX)gkview_s.$(LIB_SUFFIX) \
94 $(DEPTH)/dom/base/$(LIB_PREFIX)jsdombase_s.$(LIB_SUFFIX) \
95 $(DEPTH)/dom/battery/$(LIB_PREFIX)dom_battery_s.$(LIB_SUFFIX) \
96 $(DEPTH)/dom/sms/src/$(LIB_PREFIX)dom_sms_s.$(LIB_SUFFIX) \
97 $(DEPTH)/dom/src/events/$(LIB_PREFIX)jsdomevents_s.$(LIB_SUFFIX) \
98 $(DEPTH)/dom/src/json/$(LIB_PREFIX)json_s.$(LIB_SUFFIX) \
99 $(DEPTH)/dom/src/jsurl/$(LIB_PREFIX)jsurl_s.$(LIB_SUFFIX) \
100 $(DEPTH)/dom/src/storage/$(LIB_PREFIX)jsdomstorage_s.$(LIB_SUFFIX) \
101 $(DEPTH)/dom/src/offline/$(LIB_PREFIX)jsdomoffline_s.$(LIB_SUFFIX) \
102 $(DEPTH)/dom/src/geolocation/$(LIB_PREFIX)jsdomgeolocation_s.$(LIB_SUFFIX) \
103 $(DEPTH)/dom/src/notification/$(LIB_PREFIX)jsdomnotification_s.$(LIB_SUFFIX) \
104 $(DEPTH)/dom/system/$(LIB_PREFIX)domsystem_s.$(LIB_SUFFIX) \
105 $(DEPTH)/dom/telephony/$(LIB_PREFIX)domtelephony_s.$(LIB_SUFFIX) \
106 $(DEPTH)/dom/workers/$(LIB_PREFIX)domworkers_s.$(LIB_SUFFIX) \
107 $(DEPTH)/dom/indexedDB/$(LIB_PREFIX)dom_indexeddb_s.$(LIB_SUFFIX) \
108 $(DEPTH)/editor/libeditor/text/$(LIB_PREFIX)texteditor_s.$(LIB_SUFFIX) \
109 $(DEPTH)/editor/libeditor/base/$(LIB_PREFIX)editorbase_s.$(LIB_SUFFIX) \
110 $(DEPTH)/parser/html/$(LIB_PREFIX)html5p_s.$(LIB_SUFFIX) \
111 $(DEPTH)/caps/src/$(LIB_PREFIX)caps_s.$(LIB_SUFFIX) \
112 $(DEPTH)/editor/libeditor/html/$(LIB_PREFIX)htmleditor_s.$(LIB_SUFFIX) \
113 $(DEPTH)/editor/txtsvc/src/$(LIB_PREFIX)txtsvc_s.$(LIB_SUFFIX) \
114 $(DEPTH)/content/mathml/content/src/$(LIB_PREFIX)gkcontentmathml_s.$(LIB_SUFFIX) \
115 $(NULL)
117 ifneq (,$(filter qt gtk2,$(MOZ_WIDGET_TOOLKIT)))
118 SHARED_LIBRARY_LIBS += \
119 $(DEPTH)/dom/system/unix/$(LIB_PREFIX)domsystemunix_s.$(LIB_SUFFIX) \
120 $(NULL)
121 LOCAL_INCLUDES += \
122 -I$(topsrcdir)/dom/system/unix \
123 $(NULL)
124 else ifneq (,$(filter windows,$(MOZ_WIDGET_TOOLKIT)))
125 SHARED_LIBRARY_LIBS += \
126 $(DEPTH)/dom/system/windows/$(LIB_PREFIX)domsystemwindows_s.$(LIB_SUFFIX) \
127 $(NULL)
128 LOCAL_INCLUDES += \
129 -I$(topsrcdir)/dom/system/windows \
130 $(NULL)
131 else ifneq (,$(filter cocoa,$(MOZ_WIDGET_TOOLKIT)))
132 SHARED_LIBRARY_LIBS += \
133 $(DEPTH)/dom/system/cocoa/$(LIB_PREFIX)domsystemcocoa_s.$(LIB_SUFFIX) \
134 $(NULL)
135 LOCAL_INCLUDES += \
136 -I$(topsrcdir)/dom/system/cocoa \
137 $(NULL)
138 else ifneq (,$(filter android,$(MOZ_WIDGET_TOOLKIT)))
139 SHARED_LIBRARY_LIBS += \
140 $(DEPTH)/dom/system/android/$(LIB_PREFIX)domsystemandroid_s.$(LIB_SUFFIX) \
141 $(DEPTH)/dom/plugins/base/android/$(LIB_PREFIX)gkpluginandroid_s.$(LIB_SUFFIX) \
142 $(NULL)
143 LOCAL_INCLUDES += \
144 -I$(topsrcdir)/dom/system/android \
145 -I$(topsrcdir)/dom/system \
146 $(NULL)
147 endif
149 ifdef MOZ_B2G_RIL #{
150 SHARED_LIBRARY_LIBS += $(DEPTH)/dom/system/b2g/$(LIB_PREFIX)domsystemb2g_s.$(LIB_SUFFIX)
151 endif #}
153 ifdef MOZ_MEDIA
154 SHARED_LIBRARY_LIBS += \
155 $(DEPTH)/content/media/$(LIB_PREFIX)gkconmedia_s.$(LIB_SUFFIX) \
156 $(NULL)
157 endif
159 ifdef MOZ_OGG
160 SHARED_LIBRARY_LIBS += \
161 $(DEPTH)/content/media/ogg/$(LIB_PREFIX)gkconogg_s.$(LIB_SUFFIX) \
162 $(NULL)
163 endif
165 ifdef MOZ_RAW
166 SHARED_LIBRARY_LIBS += \
167 $(DEPTH)/content/media/raw/$(LIB_PREFIX)gkconraw_s.$(LIB_SUFFIX)\
168 $(NULL)
169 endif
171 ifdef MOZ_WEBM
172 SHARED_LIBRARY_LIBS += \
173 $(DEPTH)/content/media/webm/$(LIB_PREFIX)gkconwebm_s.$(LIB_SUFFIX) \
174 $(NULL)
175 endif
177 ifdef MOZ_WAVE
178 SHARED_LIBRARY_LIBS += \
179 $(DEPTH)/content/media/wave/$(LIB_PREFIX)gkconwave_s.$(LIB_SUFFIX) \
180 $(NULL)
181 endif
183 ifdef MOZ_SYDNEYAUDIO
184 LOCAL_INCLUDES += -I$(DEPTH)/content/html/content/src
185 endif
187 ifdef NS_PRINTING
188 SHARED_LIBRARY_LIBS += \
189 ../printing/$(LIB_PREFIX)gkprinting_s.$(LIB_SUFFIX) \
190 $(NULL)
191 endif
193 ifdef MOZ_XUL
194 SHARED_LIBRARY_LIBS += \
195 ../xul/base/src/tree/src/$(LIB_PREFIX)gkxultree_s.$(LIB_SUFFIX) \
196 ../xul/base/src/grid/$(LIB_PREFIX)gkxulgrid_s.$(LIB_SUFFIX) \
197 $(DEPTH)/content/xul/content/src/$(LIB_PREFIX)gkconxulcon_s.$(LIB_SUFFIX) \
198 $(DEPTH)/content/xul/templates/src/$(LIB_PREFIX)gkconxultmpl_s.$(LIB_SUFFIX) \
199 $(NULL)
200 endif
202 LOCAL_INCLUDES += \
203 -I$(srcdir)/../inspector/src \
204 $(NULL)
205 SHARED_LIBRARY_LIBS += ../inspector/src/$(LIB_PREFIX)inspector_s.$(LIB_SUFFIX)
207 ifdef MOZ_XTF
208 SHARED_LIBRARY_LIBS += \
209 $(DEPTH)/content/xtf/src/$(LIB_PREFIX)gkcontentxtf_s.$(LIB_SUFFIX) \
210 $(NULL)
211 endif
213 SHARED_LIBRARY_LIBS += \
214 ../svg/base/src/$(LIB_PREFIX)gksvgbase_s.$(LIB_SUFFIX) \
215 $(DEPTH)/content/svg/document/src/$(LIB_PREFIX)gkconsvgdoc_s.$(LIB_SUFFIX) \
216 $(DEPTH)/content/svg/content/src/$(LIB_PREFIX)gkcontentsvg_s.$(LIB_SUFFIX) \
217 $(DEPTH)/content/smil/$(LIB_PREFIX)gkconsmil_s.$(LIB_SUFFIX) \
218 $(NULL)
220 ifdef ENABLE_EDITOR_API_LOG
221 DEFINES += -DENABLE_EDITOR_API_LOG
222 endif
224 SHARED_LIBRARY_LIBS += \
225 $(DEPTH)/js/xpconnect/src/$(LIB_PREFIX)xpconnect_s.$(LIB_SUFFIX)
227 include $(topsrcdir)/config/config.mk
228 include $(topsrcdir)/ipc/chromium/chromium-config.mk
230 include $(topsrcdir)/config/rules.mk
232 LOCAL_INCLUDES += -I$(srcdir)/../base \
233 -I$(srcdir)/../generic \
234 -I$(srcdir)/../forms \
235 -I$(srcdir)/../tables \
236 -I$(srcdir)/../style \
237 -I$(srcdir)/../xul/content/src \
238 -I$(srcdir)/../xul/base/src \
239 -I$(srcdir)/../mathml \
240 -I$(topsrcdir)/content/base/src \
241 -I$(topsrcdir)/content/canvas/src \
242 -I$(topsrcdir)/content/html/content/src \
243 -I$(topsrcdir)/content/html/document/src \
244 -I$(topsrcdir)/content/html/style/src \
245 -I$(topsrcdir)/content/xslt/src/base \
246 -I$(topsrcdir)/content/xslt/src/xml \
247 -I$(topsrcdir)/content/xslt/src/xpath \
248 -I$(topsrcdir)/content/xslt/src/xslt \
249 -I$(topsrcdir)/content/xul/content/src \
250 -I$(topsrcdir)/content/xul/document/src \
251 -I$(topsrcdir)/content/xul/templates/src \
252 -I$(topsrcdir)/content/events/src \
253 -I$(topsrcdir)/content/xbl/src \
254 -I$(topsrcdir)/view/src \
255 -I$(topsrcdir)/dom/base \
256 -I$(topsrcdir)/dom/src/json \
257 -I$(topsrcdir)/dom/src/jsurl \
258 -I$(topsrcdir)/dom/src/storage \
259 -I$(topsrcdir)/dom/src/offline \
260 -I$(topsrcdir)/dom/src/geolocation \
261 -I$(topsrcdir)/dom/telephony \
262 -I. \
263 -I$(topsrcdir)/editor/libeditor/base \
264 -I$(topsrcdir)/editor/libeditor/text \
265 -I$(topsrcdir)/editor/libeditor/html \
266 -I$(topsrcdir)/editor/txtsvc/src \
267 -I$(topsrcdir)/editor/composer/src \
268 -I$(topsrcdir)/js/xpconnect/src \
269 -I$(topsrcdir)/js/xpconnect/loader \
270 -I$(topsrcdir)/caps/include \
271 -I$(topsrcdir)/netwerk/base/src \
272 -I$(topsrcdir)/content/svg/content/src \
273 $(NULL)
275 ifdef MOZ_B2G_RIL #{
276 LOCAL_INCLUDES += -I$(topsrcdir)/dom/system/b2g
277 endif #}
280 DEFINES += -D_IMPL_NS_LAYOUT