• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" ?>
2<!--
3
4Copyright (C) 2007 Kevin Ollivier.  All rights reserved.
5
6Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions
8are met:
9
101.  Redistributions of source code must retain the above copyright
11    notice, this list of conditions and the following disclaimer.
122.  Redistributions in binary form must reproduce the above copyright
13    notice, this list of conditions and the following disclaimer in the
14    documentation and/or other materials provided with the distribution.
153.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
16    its contributors may be used to endorse or promote products derived
17    from this software without specific prior written permission.
18
19THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
20EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
23DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
30This file builds the wxWebKit library.
31
32-->
33
34<makefile>
35    <include file="wxwk-settings.bkl"/>
36
37    <dll id="wxwebkit-dynamic" template="wxwk,jscore,webcore,xml2,iconv,xslt,icu,curl,sqlite3,gtk,pthreads">
38        <!-- make sure we relink wxwebkit if either webcore or jscore change -->
39        <if cond="FORMAT=='gnu'">
40            <depends-on-file>$(WKOUTPUTDIR)/libjscore.a</depends-on-file>
41            <depends-on-file>$(WKOUTPUTDIR)/libwebcore-wx.a</depends-on-file>
42        </if>
43        <if cond="FORMAT=='msvc'">
44            <depends-on-file>$(WKOUTPUTDIR)/jscore.lib</depends-on-file>
45            <depends-on-file>$(WKOUTPUTDIR)/webcore-wx.lib</depends-on-file>
46        </if>
47        <runtime-libs>dynamic</runtime-libs>
48        <dllname>wxwebkit</dllname>
49        <libname>wxwebkit</libname>
50
51        <include>$(WK_ROOT)/WebCore/platform/graphics/wx</include>
52        <include>$(WK_ROOT)/WebCore/platform/wx</include>
53        <include>$(WK_ROOT)/WebCore/bridge/wx</include>
54        <include>$(WK_ROOT)/WebCore/page/wx</include>
55        <include>$(WK_ROOT)/WebKit/wx</include>
56        <include>$(WK_ROOT)/WebKit/wx/WebKitSupport</include>
57
58        <lib-path>$(WKOUTPUTDIR)</lib-path>
59        <sys-lib>webcore-wx</sys-lib>
60        <sys-lib>jscore</sys-lib>
61
62        <if cond="FORMAT in ['msvc','msvs2005prj']">
63            <sys-lib>winmm</sys-lib> <!-- for timeGetTime -->
64            <sys-lib>gdiplus</sys-lib>
65            <sys-lib>libpng</sys-lib>
66            <sys-lib>libjpeg</sys-lib>
67        </if>
68
69        <sources>
70            WebKitSupport/ChromeClientWx.cpp
71            WebKitSupport/ContextMenuClientWx.cpp
72            WebKitSupport/DragClientWx.cpp
73            WebKitSupport/EditorClientWx.cpp
74            WebKitSupport/FrameLoaderClientWx.cpp
75            WebKitSupport/InspectorClientWx.cpp
76
77            WebFrame.cpp
78            WebView.cpp
79            WebBrowserShell.cpp
80        </sources>
81    </dll>
82
83</makefile>
84