summaryrefslogtreecommitdiffstats
path: root/WebKit/wx/wxwk-settings.bkl
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/wx/wxwk-settings.bkl')
-rw-r--r--WebKit/wx/wxwk-settings.bkl82
1 files changed, 82 insertions, 0 deletions
diff --git a/WebKit/wx/wxwk-settings.bkl b/WebKit/wx/wxwk-settings.bkl
new file mode 100644
index 0000000..e312c05
--- /dev/null
+++ b/WebKit/wx/wxwk-settings.bkl
@@ -0,0 +1,82 @@
+<?xml version="1.0" ?>
+<!--
+Copyright (C) 2007 Kevin Ollivier All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ its contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+JavaScriptCore Bakefile project file.
+-->
+
+<makefile>
+ <set var="WX_UNICODE">1</set>
+ <set var="WX_SHARED">1</set>
+
+ <include file="presets/wx.bkl"/>
+ <include file="presets/wxwebkit.bkl"/>
+ <include file="dependencies.bkl"/>
+
+ <!-- the WX_PYTHON option was added to presets/wx.bkl in 2.8.5, so define
+ it in case the presets/wx.bkl doesn't define it for us. -->
+
+ <if cond="not isdefined('WX_PYTHON')">
+ <set var="WX_PYTHON">0</set>
+ </if>
+
+ <template id="wxwk_build_settings">
+ <dirname>$(WKOUTPUTDIR)</dirname>
+ <warnings>default</warnings>
+ <cxx-rtti>on</cxx-rtti>
+ <cxx-exceptions>on</cxx-exceptions>
+ <define>BUILDING_WX__=1</define>
+ <debug-info>on</debug-info>
+ <if cond="FORMAT in ['msvc', 'msvs2005prj']">
+ <set var="DEBUG_RUNTIME">
+ <if cond="WX_PYTHON=='1' and WX_DEBUG=='0'">off</if>
+ <if cond="WX_PYTHON=='0' and WX_DEBUG=='0'">off</if>
+ <if cond="WX_PYTHON=='1' and WX_DEBUG=='1'">off</if>
+ <if cond="WX_PYTHON=='0' and WX_DEBUG=='1'">on</if>
+ </set>
+ <debug-runtime-libs>
+ $(DEBUG_RUNTIME)
+ </debug-runtime-libs>
+ </if>
+ <if cond="FORMAT=='gnu'">
+ <include>$(WK_ROOT)/WebKitLibraries/unix/include</include>
+ <lib-path>$(WK_ROOT)/WebKitLibraries/unix/lib</lib-path>
+ </if>
+ <if cond="FORMAT in ['msvc', 'msvs2005prj']">
+ <include>$(WK_ROOT)/WebKitLibraries/win/include</include>
+ <lib-path>$(WK_ROOT)/WebKitLibraries/win/lib</lib-path>
+ </if>
+ </template>
+ <template id="wxwk" template="wxwk_build_settings,wx">
+ <wx-lib>core</wx-lib>
+ <wx-lib>base</wx-lib>
+ <if cond="PLATFORM_WIN32=='1'">
+ <define>WXUSINGDLL=1</define>
+ </if>
+ </template>
+
+</makefile>