737fdd15b833c253162bd121a2fa47f491d77088
[WebKit-https.git] / WebKit / wx / presets / wxwebkit.bkl
1 <?xml version="1.0" ?>
2 <!-- 
3
4 Copyright (C) 2007 Kevin Ollivier.  All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions
8 are met:
9
10 1.  Redistributions of source code must retain the above copyright
11     notice, this list of conditions and the following disclaimer. 
12 2.  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. 
15 3.  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
19 THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
20 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22 DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
23 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 ON 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
28 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
30 This file contains templates with settings for components used by JavaScriptCore
31 and WebCore. Include this file to use these settings.
32
33 -->
34
35
36 <makefile>
37     <if cond="not isdefined('WK_ROOT')">
38         <option name="WK_ROOT" category="path">
39             <default-value>$(DOLLAR)(WEBKIT_ROOT)</default-value>
40             <description>
41                 The root directory containing WebKit sources
42             </description>
43         </option>
44     </if>
45     <if cond="not isdefined('WKOUTPUTDIR')">
46         <option name="WKOUTPUTDIR" category="path">
47             <default-value>$(DOLLAR)(WEBKITOUTPUTDIR)</default-value>
48             <description>
49                 The root directory containing WebKit products
50             </description>
51         </option>
52     </if>
53     
54     <if cond="not isdefined('WX_PORT')">
55         <if cond="FORMAT in ['msvc','msvs2005prj']">
56             <set var="WX_PORT_DEFAULT" overwrite="0">
57                 msw
58             </set>
59         </if>
60         <if cond="not FORMAT in ['msvc','msvs2005prj']">
61             <set var="WX_PORT_DEFAULT" overwrite="0">
62                 $(DOLLAR)(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 1)
63             </set>
64         </if>
65         <option name="WX_PORT">
66             <values>gtk2,msw,mac</values>
67             <default-value force="1">$(WX_PORT_DEFAULT)</default-value>
68             <description>
69                 Port of the wx library to build against
70             </description>
71         </option>
72     </if>
73     
74     <template id="jscore">
75         <include>$(WK_ROOT)</include>
76         <include>$(WK_ROOT)/JavaScriptCore</include>
77         <include>$(WK_ROOT)/JavaScriptCore/kjs</include>
78         <include>$(WK_ROOT)/JavaScriptCore/pcre</include>
79         <include>$(WK_ROOT)/JavaScriptCore/wtf</include>
80         <include>$(WK_ROOT)/WebKitLibraries/unix/include</include>
81         <if cond="FORMAT in ['msvc', 'msvs2005prj']">
82             <!-- MSVC chokes on #import, so don't use ForwardingHeaders... -->
83             <include>$(WK_ROOT)/JavaScriptCore/os-win32</include><!-- stdint.h is here -->
84         </if>
85     </template>
86
87     <template id="webcore">
88         <if cond="FORMAT=='gnu'">
89             <!-- FIXME: we need proper configure checks -->
90             <define>HAVE_FUNC_ISNAN</define>
91         </if>
92
93         <if cond="PLATFORM_WIN32=='1'">
94             <include>$(WK_ROOT)/os-win32</include>
95             <define>HAVE_SYS_TIMEB_H=1</define>
96             <define>HAVE_FLOAT_H=1</define>
97             <define>HAVE_FUNC__FINITE=1</define>
98         </if>
99     
100         <include>$(WK_ROOT)/WebCore/.</include>
101         <include>$(WK_ROOT)/WebCore/include</include>
102         <include>$(WK_ROOT)/WebCore/DerivedSources/WebCore</include>
103         <include>$(WK_ROOT)/WebCore/bindings/js</include>
104         <include>$(WK_ROOT)/WebCore/bridge</include>
105         <include>$(WK_ROOT)/WebCore/editing</include>
106         <include>$(WK_ROOT)/WebCore/history</include>
107         <include>$(WK_ROOT)/WebCore/html</include>
108         <include>$(WK_ROOT)/WebCore/css</include>
109         <include>$(WK_ROOT)/WebCore/dom</include>
110         <include>$(WK_ROOT)/WebCore/kwq</include>
111         <include>$(WK_ROOT)/WebCore/loader</include>
112         <include>$(WK_ROOT)/WebCore/loader/icon</include>
113         <include>$(WK_ROOT)/WebCore/page</include>
114         <include>$(WK_ROOT)/WebCore/platform</include>
115         <include>$(WK_ROOT)/WebCore/platform/graphics</include>
116         <include>$(WK_ROOT)/WebCore/platform/image-decoders</include>
117         <include>$(WK_ROOT)/WebCore/platform/image-decoders/gif</include>
118         <include>$(WK_ROOT)/WebCore/platform/image-decoders/jpeg</include>
119         <include>$(WK_ROOT)/WebCore/platform/image-decoders/png</include>
120         <include>$(WK_ROOT)/WebCore/platform/image-decoders/zlib</include>
121         <include>$(WK_ROOT)/WebCore/platform/network</include>
122         <include>$(WK_ROOT)/WebCore/platform/network/curl</include>
123         <include>$(WK_ROOT)/WebCore/platform/sql</include>
124         <include>$(WK_ROOT)/WebCore/rendering</include>
125         <include>$(WK_ROOT)/WebCore/storage</include>
126         <include>$(WK_ROOT)/WebCore/xml</include>
127         
128         <include>$(WK_ROOT)/WebKitLibraries/unix/include</include>
129         <lib-path>$(WK_ROOT)/WebKitLibraries/unix/lib</lib-path>
130     </template>
131     
132 </makefile>