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
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.
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 *****
39 topsrcdir
= @top_srcdir@
43 include $(DEPTH
)/config
/autoconf.mk
46 ifeq ($(OS_ARCH
),SunOS
)
51 LIBRARY_NAME
= gklayout
54 MODULE_NAME
= nsLayoutModule
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
) \
117 ifneq (,$(filter qt gtk2
,$(MOZ_WIDGET_TOOLKIT
)))
118 SHARED_LIBRARY_LIBS
+= \
119 $(DEPTH
)/dom
/system
/unix
/$(LIB_PREFIX
)domsystemunix_s.
$(LIB_SUFFIX
) \
122 -I
$(topsrcdir
)/dom
/system
/unix \
124 else ifneq (,$(filter windows
,$(MOZ_WIDGET_TOOLKIT
)))
125 SHARED_LIBRARY_LIBS
+= \
126 $(DEPTH
)/dom
/system
/windows
/$(LIB_PREFIX
)domsystemwindows_s.
$(LIB_SUFFIX
) \
129 -I
$(topsrcdir
)/dom
/system
/windows \
131 else ifneq (,$(filter cocoa
,$(MOZ_WIDGET_TOOLKIT
)))
132 SHARED_LIBRARY_LIBS
+= \
133 $(DEPTH
)/dom
/system
/cocoa
/$(LIB_PREFIX
)domsystemcocoa_s.
$(LIB_SUFFIX
) \
136 -I
$(topsrcdir
)/dom
/system
/cocoa \
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
) \
144 -I
$(topsrcdir
)/dom
/system
/android \
145 -I
$(topsrcdir
)/dom
/system \
150 SHARED_LIBRARY_LIBS
+= $(DEPTH
)/dom
/system
/b2g
/$(LIB_PREFIX
)domsystemb2g_s.
$(LIB_SUFFIX
)
154 SHARED_LIBRARY_LIBS
+= \
155 $(DEPTH
)/content
/media
/$(LIB_PREFIX
)gkconmedia_s.
$(LIB_SUFFIX
) \
160 SHARED_LIBRARY_LIBS
+= \
161 $(DEPTH
)/content
/media
/ogg
/$(LIB_PREFIX
)gkconogg_s.
$(LIB_SUFFIX
) \
166 SHARED_LIBRARY_LIBS
+= \
167 $(DEPTH
)/content
/media
/raw
/$(LIB_PREFIX
)gkconraw_s.
$(LIB_SUFFIX
)\
172 SHARED_LIBRARY_LIBS
+= \
173 $(DEPTH
)/content
/media
/webm
/$(LIB_PREFIX
)gkconwebm_s.
$(LIB_SUFFIX
) \
178 SHARED_LIBRARY_LIBS
+= \
179 $(DEPTH
)/content
/media
/wave
/$(LIB_PREFIX
)gkconwave_s.
$(LIB_SUFFIX
) \
183 ifdef MOZ_SYDNEYAUDIO
184 LOCAL_INCLUDES
+= -I
$(DEPTH
)/content
/html
/content
/src
188 SHARED_LIBRARY_LIBS
+= \
189 ..
/printing
/$(LIB_PREFIX
)gkprinting_s.
$(LIB_SUFFIX
) \
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
) \
203 -I
$(srcdir)/..
/inspector
/src \
205 SHARED_LIBRARY_LIBS
+= ..
/inspector
/src
/$(LIB_PREFIX
)inspector_s.
$(LIB_SUFFIX
)
208 SHARED_LIBRARY_LIBS
+= \
209 $(DEPTH
)/content
/xtf
/src
/$(LIB_PREFIX
)gkcontentxtf_s.
$(LIB_SUFFIX
) \
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
) \
220 ifdef ENABLE_EDITOR_API_LOG
221 DEFINES
+= -DENABLE_EDITOR_API_LOG
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 \
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 \
276 LOCAL_INCLUDES
+= -I
$(topsrcdir
)/dom
/system
/b2g
280 DEFINES
+= -D_IMPL_NS_LAYOUT