2010-08-07 Balazs Kelemen <kb@inf.u-szeged.hu>
[WebKit-https.git] / WebKit2 / WebKit2.pro
1 # WebKit2 - Qt4 build info
2
3 CONFIG += building-libs
4 CONFIG += depend_includepath
5
6 include($$PWD/../common.pri)
7 include($$PWD/../WebCore/features.pri)
8 include(WebKit2.pri)
9
10 TEMPLATE = lib
11 CONFIG += staticlib
12 TARGET = $$WEBKIT2_TARGET
13 DESTDIR = $$WEBKIT2_DESTDIR
14 QT += network
15
16 !CONFIG(release, debug|release) {
17     OBJECTS_DIR = obj/debug
18 } else { # Release
19     OBJECTS_DIR = obj/release
20 }
21
22 INCLUDEPATH = \
23     $$PWD/.. \
24     $$PWD/../JavaScriptCore \
25     $$PWD/../JavaScriptCore/assembler \
26     $$PWD/../JavaScriptCore/bytecode \
27     $$PWD/../JavaScriptCore/bytecompiler \
28     $$PWD/../JavaScriptCore/debugger \
29     $$PWD/../JavaScriptCore/interpreter \
30     $$PWD/../JavaScriptCore/jit \
31     $$PWD/../JavaScriptCore/parser \
32     $$PWD/../JavaScriptCore/pcre \
33     $$PWD/../JavaScriptCore/profiler \
34     $$PWD/../JavaScriptCore/runtime \
35     $$PWD/../JavaScriptCore/wtf \
36     $$PWD/../JavaScriptCore/wtf/symbian \
37     $$PWD/../JavaScriptCore/wtf/unicode \
38     $$PWD/../JavaScriptCore/yarr \
39     $$PWD/../JavaScriptCore/API \
40     $$PWD/../JavaScriptCore/ForwardingHeaders \
41     $$INCLUDEPATH
42
43 INCLUDEPATH = \
44     $$PWD/../WebCore \
45     $$PWD/../WebCore/accessibility \
46     $$PWD/../WebCore/bindings \
47     $$PWD/../WebCore/bindings/generic \
48     $$PWD/../WebCore/bindings/js \
49     $$PWD/../WebCore/bridge \
50     $$PWD/../WebCore/bridge/c \
51     $$PWD/../WebCore/bridge/jsc \
52     $$PWD/../WebCore/css \
53     $$PWD/../WebCore/dom \
54     $$PWD/../WebCore/dom/default \
55     $$PWD/../WebCore/editing \
56     $$PWD/../WebCore/history \
57     $$PWD/../WebCore/html \
58     $$PWD/../WebCore/html/canvas \
59     $$PWD/../WebCore/inspector \
60     $$PWD/../WebCore/loader \
61     $$PWD/../WebCore/loader/appcache \
62     $$PWD/../WebCore/loader/archive \
63     $$PWD/../WebCore/loader/icon \
64     $$PWD/../WebCore/mathml \
65     $$PWD/../WebCore/notifications \
66     $$PWD/../WebCore/page \
67     $$PWD/../WebCore/page/animation \
68     $$PWD/../WebCore/platform \
69     $$PWD/../WebCore/platform/animation \
70     $$PWD/../WebCore/platform/graphics \
71     $$PWD/../WebCore/platform/graphics/filters \
72     $$PWD/../WebCore/platform/graphics/transforms \
73     $$PWD/../WebCore/platform/image-decoders \
74     $$PWD/../WebCore/platform/mock \
75     $$PWD/../WebCore/platform/network \
76     $$PWD/../WebCore/platform/sql \
77     $$PWD/../WebCore/platform/text \
78     $$PWD/../WebCore/platform/text/transcoder \
79     $$PWD/../WebCore/plugins \
80     $$PWD/../WebCore/rendering \
81     $$PWD/../WebCore/rendering/style \
82     $$PWD/../WebCore/storage \
83     $$PWD/../WebCore/svg \
84     $$PWD/../WebCore/svg/animation \
85     $$PWD/../WebCore/svg/graphics \
86     $$PWD/../WebCore/svg/graphics/filters \
87     $$PWD/../WebCore/websockets \
88     $$PWD/../WebCore/wml \
89     $$PWD/../WebCore/workers \
90     $$PWD/../WebCore/xml \
91     $$INCLUDEPATH
92
93 INCLUDEPATH = \
94     $$PWD/../WebCore/bridge/qt \
95     $$PWD/../WebCore/page/qt \
96     $$PWD/../WebCore/platform/graphics/qt \
97     $$PWD/../WebCore/platform/network/qt \
98     $$PWD/../WebCore/platform/qt \
99     $$PWD/../WebKit/qt/Api \
100     $$PWD/../WebKit/qt/WebCoreSupport \
101     $$INCLUDEPATH
102
103 INCLUDEPATH = \
104     Platform \
105     Platform/CoreIPC \
106     Shared \
107     Shared/CoreIPCSupport \
108     Shared/qt \
109     UIProcess \
110     UIProcess/API/C \
111     UIProcess/API/cpp \
112     UIProcess/API/cpp/qt \
113     UIProcess/API/qt \
114     UIProcess/Launcher \
115     UIProcess/Plugins \
116     UIProcess/qt \
117     WebProcess \
118     WebProcess/InjectedBundle \
119     WebProcess/InjectedBundle/API/c \
120     WebProcess/Plugins \
121     WebProcess/WebCoreSupport \
122     WebProcess/WebPage \
123     $$INCLUDEPATH
124
125 INCLUDEPATH += \
126     $$OUTPUT_DIR/include \
127     $$OUTPUT_DIR/WebCore/generated
128
129
130 PREFIX_HEADER = $$PWD/../WebKit2/WebKit2Prefix.h
131 QMAKE_CXXFLAGS += "-include $$PREFIX_HEADER"
132
133 DEFINES += BUILDING_QT__
134
135 HEADERS += \
136     ../WebKit2/Platform/CoreIPC/ArgumentDecoder.h \
137     ../WebKit2/Platform/CoreIPC/ArgumentEncoder.h \
138     ../WebKit2/Platform/CoreIPC/Arguments.h \
139     ../WebKit2/Platform/CoreIPC/Attachment.h \
140     ../WebKit2/Platform/CoreIPC/Connection.h \
141     ../WebKit2/Platform/CoreIPC/CoreIPCMessageKinds.h \
142     ../WebKit2/Platform/CoreIPC/MessageID.h \
143     ../WebKit2/Platform/PlatformProcessIdentifier.h \
144     ../WebKit2/Platform/RunLoop.h \
145     ../WebKit2/Platform/WorkItem.h \
146     ../WebKit2/Platform/WorkQueue.h \
147     ../WebKit2/Shared/CoreIPCSupport/DrawingAreaMessageKinds.h \
148     ../WebKit2/Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h \
149     ../WebKit2/Shared/CoreIPCSupport/WebPageMessageKinds.h \
150     ../WebKit2/Shared/CoreIPCSupport/WebPageProxyMessageKinds.h \
151     ../WebKit2/Shared/CoreIPCSupport/WebProcessMessageKinds.h \
152     ../WebKit2/Shared/NotImplemented.h \
153     ../WebKit2/Shared/qt/WebEventFactoryQt.h \
154     ../WebKit2/Shared/WebEventConversion.h \
155     ../WebKit2/Shared/WebEvent.h \
156     ../WebKit2/Shared/WebNavigationDataStore.h \
157     ../WebKit2/Shared/WebPreferencesStore.h \
158     ../WebKit2/UIProcess/API/cpp/WKRetainPtr.h \
159     ../WebKit2/UIProcess/API/cpp/qt/WKStringQt.h \
160     ../WebKit2/UIProcess/API/cpp/qt/WKURLQt.h \
161     ../WebKit2/UIProcess/API/C/WebKit2.h \
162     ../WebKit2/UIProcess/API/C/WKAPICast.h \
163     ../WebKit2/UIProcess/API/C/WKBase.h \
164     ../WebKit2/UIProcess/API/C/WKContext.h \
165     ../WebKit2/UIProcess/API/C/WKContextPrivate.h \
166     ../WebKit2/UIProcess/API/C/WKFrame.h \
167     ../WebKit2/UIProcess/API/C/WKFramePolicyListener.h \
168     ../WebKit2/UIProcess/API/C/WKNavigationData.h \
169     ../WebKit2/UIProcess/API/C/WKPage.h \
170     ../WebKit2/UIProcess/API/C/WKPageNamespace.h \
171     ../WebKit2/UIProcess/API/C/WKPagePrivate.h \
172     ../WebKit2/UIProcess/API/C/WKPreferences.h \
173     ../WebKit2/UIProcess/API/C/WKString.h \
174     ../WebKit2/UIProcess/API/C/WKURL.h \
175     ../WebKit2/UIProcess/API/qt/qgraphicswkview.h \
176     ../WebKit2/UIProcess/API/qt/qwkpage.h \
177     ../WebKit2/UIProcess/API/qt/qwkpage_p.h \
178     ../WebKit2/UIProcess/ChunkedUpdateDrawingAreaProxy.h \
179     ../WebKit2/UIProcess/DrawingAreaProxy.h \
180     ../WebKit2/UIProcess/GenericCallback.h \
181     ../WebKit2/UIProcess/Launcher/ProcessLauncher.h \
182     ../WebKit2/UIProcess/Plugins/PluginInfoStore.h \
183     ../WebKit2/UIProcess/PageClient.h \
184     ../WebKit2/UIProcess/ProcessModel.h \
185     ../WebKit2/UIProcess/API/qt/ClientImpl.h \
186     ../WebKit2/UIProcess/ResponsivenessTimer.h \
187     ../WebKit2/UIProcess/WebContext.h \
188     ../WebKit2/UIProcess/WebContextInjectedBundleClient.h \
189     ../WebKit2/UIProcess/WebFramePolicyListenerProxy.h \
190     ../WebKit2/UIProcess/WebFrameProxy.h \
191     ../WebKit2/UIProcess/WebHistoryClient.h \
192     ../WebKit2/UIProcess/WebLoaderClient.h \
193     ../WebKit2/UIProcess/WebNavigationData.h \
194     ../WebKit2/UIProcess/WebPageNamespace.h \
195     ../WebKit2/UIProcess/WebPageProxy.h \
196     ../WebKit2/UIProcess/WebPolicyClient.h \
197     ../WebKit2/UIProcess/WebPreferences.h \
198     ../WebKit2/UIProcess/WebProcessManager.h \
199     ../WebKit2/UIProcess/WebProcessProxy.h \
200     ../WebKit2/UIProcess/WebUIClient.h \
201     ../WebKit2/WebProcess/InjectedBundle/API/c/WKBundleBase.h \
202     ../WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h \
203     ../WebKit2/WebProcess/InjectedBundle/InjectedBundle.h \
204     ../WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.h \
205     ../WebKit2/WebProcess/Plugins/JSNPObject.h \
206     ../WebKit2/WebProcess/Plugins/JSNPMethod.h \
207     ../WebKit2/WebProcess/Plugins/NPJSObject.h \
208     ../WebKit2/WebProcess/Plugins/NPRuntimeObjectMap.h \
209     ../WebKit2/WebProcess/Plugins/NPRuntimeUtilities.h \
210     ../WebKit2/WebProcess/Plugins/Plugin.h \
211     ../WebKit2/WebProcess/Plugins/PluginController.h \
212     ../WebKit2/WebProcess/Plugins/PluginView.h \
213     ../WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h \
214     ../WebKit2/WebProcess/WebCoreSupport/WebContextMenuClient.h \
215     ../WebKit2/WebProcess/WebCoreSupport/WebDragClient.h \
216     ../WebKit2/WebProcess/WebCoreSupport/WebEditorClient.h \
217     ../WebKit2/WebProcess/WebCoreSupport/WebErrors.h \
218     ../WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.h \
219     ../WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.h \
220     ../WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.h \
221     ../WebKit2/WebProcess/WebCoreSupport/WebSearchPopupMenu.h \
222     ../WebKit2/WebProcess/WebPage/ChunkedUpdateDrawingArea.h \
223     ../WebKit2/WebProcess/WebPage/DrawingArea.h \
224     ../WebKit2/WebProcess/WebPage/WebFrame.h \
225     ../WebKit2/WebProcess/WebPage/WebPage.h \
226     ../WebKit2/WebProcess/WebProcess.h \
227
228 SOURCES += \
229     ../WebKit2/Platform/CoreIPC/ArgumentDecoder.cpp \
230     ../WebKit2/Platform/CoreIPC/ArgumentEncoder.cpp \
231     ../WebKit2/Platform/CoreIPC/Attachment.cpp \
232     ../WebKit2/Platform/CoreIPC/Connection.cpp \
233     ../WebKit2/Platform/CoreIPC/qt/ConnectionQt.cpp \
234     ../WebKit2/Platform/RunLoop.cpp \
235     ../WebKit2/Platform/WorkQueue.cpp \
236     ../WebKit2/Platform/qt/RunLoopQt.cpp \
237     ../WebKit2/Platform/qt/WorkQueueQt.cpp \
238     ../WebKit2/Shared/ImmutableArray.cpp \
239     ../WebKit2/Shared/WebEventConversion.cpp \
240     ../WebKit2/Shared/WebPreferencesStore.cpp \
241     ../WebKit2/Shared/qt/UpdateChunk.cpp \
242     ../WebKit2/Shared/qt/WebEventFactoryQt.cpp \
243     ../WebKit2/UIProcess/API/C/WKContext.cpp \
244     ../WebKit2/UIProcess/API/C/WKFrame.cpp \
245     ../WebKit2/UIProcess/API/C/WKFramePolicyListener.cpp \
246     ../WebKit2/UIProcess/API/C/WKNavigationData.cpp \
247     ../WebKit2/UIProcess/API/C/WKPage.cpp \
248     ../WebKit2/UIProcess/API/C/WKPageNamespace.cpp \
249     ../WebKit2/UIProcess/API/C/WKPreferences.cpp \
250     ../WebKit2/UIProcess/API/C/WKString.cpp \
251     ../WebKit2/UIProcess/API/C/WKURL.cpp \
252     ../WebKit2/UIProcess/API/qt/ClientImpl.cpp \
253     ../WebKit2/UIProcess/API/qt/qgraphicswkview.cpp \
254     ../WebKit2/UIProcess/API/qt/qwkpage.cpp \
255     ../WebKit2/UIProcess/API/cpp/qt/WKStringQt.cpp \
256     ../WebKit2/UIProcess/API/cpp/qt/WKURLQt.cpp \
257     ../WebKit2/UIProcess/ChunkedUpdateDrawingAreaProxy.cpp \
258     ../WebKit2/UIProcess/DrawingAreaProxy.cpp \
259     ../WebKit2/UIProcess/Plugins/PluginInfoStore.cpp \
260     ../WebKit2/UIProcess/Plugins/qt/PluginInfoStoreQt.cpp \
261     ../WebKit2/UIProcess/Launcher/ProcessLauncher.cpp \
262     ../WebKit2/UIProcess/Launcher/qt/ProcessLauncherQt.cpp \
263     ../WebKit2/UIProcess/ResponsivenessTimer.cpp \
264     ../WebKit2/UIProcess/WebBackForwardList.cpp \
265     ../WebKit2/UIProcess/WebBackForwardListItem.cpp \
266     ../WebKit2/UIProcess/WebContext.cpp \
267     ../WebKit2/UIProcess/WebContextInjectedBundleClient.cpp \
268     ../WebKit2/UIProcess/WebFramePolicyListenerProxy.cpp \
269     ../WebKit2/UIProcess/WebFrameProxy.cpp \
270     ../WebKit2/UIProcess/WebHistoryClient.cpp \
271     ../WebKit2/UIProcess/WebLoaderClient.cpp \
272     ../WebKit2/UIProcess/WebNavigationData.cpp \
273     ../WebKit2/UIProcess/WebPageNamespace.cpp \
274     ../WebKit2/UIProcess/WebPageProxy.cpp \
275     ../WebKit2/UIProcess/WebPolicyClient.cpp \
276     ../WebKit2/UIProcess/WebPreferences.cpp \
277     ../WebKit2/UIProcess/WebProcessManager.cpp \
278     ../WebKit2/UIProcess/WebProcessProxy.cpp \
279     ../WebKit2/UIProcess/WebUIClient.cpp \
280     ../WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp \
281     ../WebKit2/WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp \
282     ../WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp \
283     ../WebKit2/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp \
284     ../WebKit2/WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp \
285     ../WebKit2/WebProcess/Plugins/JSNPObject.cpp \
286     ../WebKit2/WebProcess/Plugins/JSNPMethod.cpp \
287     ../WebKit2/WebProcess/Plugins/NPJSObject.cpp \
288     ../WebKit2/WebProcess/Plugins/NPRuntimeObjectMap.cpp \
289     ../WebKit2/WebProcess/Plugins/NPRuntimeUtilities.cpp \
290     ../WebKit2/WebProcess/Plugins/Plugin.cpp \
291     ../WebKit2/WebProcess/Plugins/PluginView.cpp \
292     ../WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp \
293     ../WebKit2/WebProcess/WebCoreSupport/WebContextMenuClient.cpp \
294     ../WebKit2/WebProcess/WebCoreSupport/WebDragClient.cpp \
295     ../WebKit2/WebProcess/WebCoreSupport/WebEditorClient.cpp \
296     ../WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp \
297     ../WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.cpp \
298     ../WebKit2/WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp \
299     ../WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.cpp \
300     ../WebKit2/WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp \
301     ../WebKit2/WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp \
302     ../WebKit2/WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp \
303     ../WebKit2/WebProcess/WebPage/DrawingArea.cpp \
304     ../WebKit2/WebProcess/WebPage/WebFrame.cpp \
305     ../WebKit2/WebProcess/WebPage/WebPage.cpp \
306     ../WebKit2/WebProcess/WebPage/WebBackForwardListProxy.cpp \
307     ../WebKit2/WebProcess/WebPage/qt/ChunkedUpdateDrawingAreaQt.cpp \
308     ../WebKit2/WebProcess/WebPage/qt/WebPageQt.cpp \
309     ../WebKit2/WebProcess/WebProcess.cpp \
310     ../WebKit2/UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp \
311     ../WebKit2/UIProcess/qt/WebContextQt.cpp \
312     ../WebKit2/WebProcess/qt/WebProcessMainQt.cpp \