https://bugs.webkit.org/show_bug.cgi?id=27965
[WebKit-https.git] / WebCore / webcore-wx.bkl
1 <?xml version="1.0" ?>
2 <!-- 
3 Copyright (C) 2007 Kevin Ollivier <kevino@theolliviers.com>
4
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions
7 are met:
8
9 1.  Redistributions of source code must retain the above copyright
10     notice, this list of conditions and the following disclaimer. 
11 2.  Redistributions in binary form must reproduce the above copyright
12     notice, this list of conditions and the following disclaimer in the
13     documentation and/or other materials provided with the distribution. 
14 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
15     its contributors may be used to endorse or promote products derived
16     from this software without specific prior written permission. 
17
18 THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
19 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29 wxWebCore port Bakefile project file.
30 -->
31
32
33
34 <makefile>
35     <include file="webcore-base.bkl"/>
36
37     <template id="webcore-wx" template="wxwk_build_settings,webcore_base,curl,gtk,pthreads">
38         <pic>on</pic>
39         <threading>multi</threading>
40         
41         <include>$(SRCDIR)/platform/graphics/wx</include>
42         <include>$(SRCDIR)/platform/wx</include>
43         <include>$(SRCDIR)/platform/wx/wxcode</include>
44         <include>$(SRCDIR)/page/wx</include>
45         <include>$(WK_ROOT)/WebKitLibraries</include>
46         
47         <sources>
48           bindings/js/ScriptControllerWx.cpp
49
50           editing/wx/EditorWx.cpp
51
52           page/wx/DragControllerWx.cpp
53           page/wx/EventHandlerWx.cpp
54
55           platform/graphics/wx/TransformationMatrixWx.cpp
56           platform/graphics/wx/ColorWx.cpp
57           platform/graphics/wx/FloatRectWx.cpp
58           platform/graphics/wx/GradientWx.cpp
59           platform/graphics/wx/GraphicsContextWx.cpp
60           platform/graphics/wx/ImageBufferWx.cpp
61           platform/graphics/wx/ImageWx.cpp
62           platform/graphics/wx/IntPointWx.cpp
63           platform/graphics/wx/IntRectWx.cpp
64           platform/graphics/wx/PathWx.cpp
65           platform/graphics/wx/PenWx.cpp
66
67           platform/image-decoders/wx/ImageDecoderWx.cpp
68
69           platform/wx/TemporaryLinkStubs.cpp
70           platform/wx/ClipboardWx.cpp
71           platform/wx/CursorWx.cpp
72           platform/wx/DragDataWx.cpp
73           platform/wx/DragImageWx.cpp
74           platform/wx/EventLoopWx.cpp
75           platform/wx/FileSystemWx.cpp
76           platform/wx/PopupMenuWx.cpp
77           platform/graphics/wx/FontCacheWx.cpp
78           platform/graphics/wx/FontPlatformDataWx.cpp
79           platform/graphics/wx/FontWx.cpp
80           platform/graphics/wx/GlyphMapWx.cpp
81           platform/graphics/wx/SimpleFontDataWx.cpp
82           platform/wx/KeyboardEventWx.cpp
83           platform/wx/LocalizedStringsWx.cpp
84           platform/wx/LoggingWx.cpp
85           platform/wx/MimeTypeRegistryWx.cpp
86           platform/wx/MouseEventWx.cpp
87           platform/wx/MouseWheelEventWx.cpp
88           platform/wx/PasteboardWx.cpp
89           platform/wx/RenderThemeWx.cpp
90           platform/wx/ScreenWx.cpp
91           platform/wx/ScrollViewWx.cpp
92           platform/wx/SoundWx.cpp
93           platform/text/wx/StringWx.cpp
94           platform/wx/WidgetWx.cpp
95           platform/wx/ContextMenuWx.cpp
96           platform/wx/ContextMenuItemWx.cpp
97
98           <!-- files from other ports we currently rely on -->
99             platform/network/curl/CookieJarCurl.cpp
100             platform/network/curl/FormDataStreamCurl.cpp
101             platform/network/curl/ResourceHandleCurl.cpp
102             platform/network/curl/ResourceHandleManager.cpp
103             
104             plugins/PluginDataNone.cpp
105             plugins/PluginPackageNone.cpp
106             plugins/PluginViewNone.cpp
107         </sources>
108         
109         <!-- platform-dependent source files -->
110         <set var="EXT_SOURCES">
111             <if cond="WX_PORT=='gtk2'">
112                 platform/wx/wxcode/gtk/fontprops.cpp
113                 platform/wx/wxcode/gtk/non-kerned-drawing.cpp
114                 platform/wx/SharedTimerWx.cpp
115             </if>
116             <if cond="PLATFORM_OS=='mac'">
117                 platform/mac/PurgeableBufferMac.cpp
118                 platform/wx/wxcode/mac/carbon/fontprops.cpp
119                 platform/wx/wxcode/mac/carbon/non-kerned-drawing.cpp
120                 platform/wx/SharedTimerWx.cpp
121             </if>
122             <if cond="WX_PORT=='msw'">
123                 platform/wx/wxcode/win/fontprops.cpp
124                 platform/wx/wxcode/win/non-kerned-drawing.cpp
125                 <!-- grab the windows port's SharedTimer implementation -->
126                 platform/win/SharedTimerWin.cpp
127                 page/win/PageWin.cpp
128             </if>
129         </set>
130         
131         <sources>
132             $(EXT_SOURCES)
133         </sources>
134         
135     </template>
136
137     <lib id="wx-webcore-static" template="webcore-wx,wx-lib">
138         <libname>webcore-wx</libname>
139         <if cond="PLATFORM_WIN32=='1'">
140             <define>WXUSINGDLL=1</define>
141     </if>
142     </lib>
143
144 </makefile>
145