88d917f838a02be5ede78403ff3001dc54bd45ae
[WebKit-https.git] / WebCore / webcore-base.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 <makefile>
33     <include file="../WebKit/wx/wxwk-settings.bkl" />
34     <include file="WebCoreSources.bkl" />
35
36     <set var="WEBCORE_BASE_SOURCES">
37         $(WEBCORE_SOURCES_BMP)
38         $(WEBCORE_SOURCES_BRIDGE)
39         $(WEBCORE_SOURCES_CSS)
40         $(WEBCORE_SOURCES_DERIVEDSOURCES)
41         $(WEBCORE_SOURCES_DOM)
42         $(WEBCORE_SOURCES_EDITING)
43         $(WEBCORE_SOURCES_GIF)
44         $(WEBCORE_SOURCES_HTML)
45         $(WEBCORE_SOURCES_ICO)
46         $(WEBCORE_SOURCES_ICON)
47         $(WEBCORE_SOURCES_INSPECTOR)
48         $(WEBCORE_SOURCES_JS)
49         $(WEBCORE_SOURCES_LOADER)
50         $(WEBCORE_SOURCES_PAGE)
51         $(WEBCORE_SOURCES_HISTORY)
52         $(WEBCORE_SOURCES_PLATFORM)
53         $(WEBCORE_SOURCES_PLUGINS)
54         $(WEBCORE_SOURCES_RENDERING)
55         $(WEBCORE_SOURCES_STORAGE)
56         $(WEBCORE_SOURCES_XBM)
57         $(WEBCORE_SOURCES_XML)
58         $(WEBCORE_SOURCES_ZLIB)
59         $(WEBCORE_SOURCES_PNG)
60         $(WEBCORE_SOURCES_JPEG)
61     </set>
62
63     <template id="webcore_base" template="xml2,iconv,xslt,icu,jscore,curl,sqlite3">
64         <include>$(SRCDIR)</include>
65         <include>$(SRCDIR)/bindings/js</include>
66         <include>$(SRCDIR)/bridge</include>
67         <include>$(SRCDIR)/bridge/c</include>
68         <include>$(SRCDIR)/bridge/jni</include>
69         <include>$(SRCDIR)/css</include>
70         <include>$(SRCDIR)/dom</include>
71         <include>$(SRCDIR)/editing</include>
72         <include>$(SRCDIR)/history</include>
73         <include>$(SRCDIR)/html</include>
74         <include>$(SRCDIR)/inspector</include>
75         <include>$(SRCDIR)/loader</include>
76         <include>$(SRCDIR)/loader/gdk</include>
77         <include>$(SRCDIR)/loader/appcache</include>
78         <include>$(SRCDIR)/loader/archive</include>
79         <include>$(SRCDIR)/loader/icon</include>
80         <include>$(SRCDIR)/page</include>
81         <include>$(SRCDIR)/page/animation</include>
82         <include>$(SRCDIR)/platform</include>
83         <include>$(SRCDIR)/platform/animation</include>
84         <include>$(SRCDIR)/platform/graphics</include>
85         <include>$(SRCDIR)/platform/graphics/transforms</include>
86         <include>$(SRCDIR)/platform/image-decoders</include>
87         <include>$(SRCDIR)/platform/image-decoders/bmp</include>
88         <include>$(SRCDIR)/platform/image-decoders/gif</include>
89         <include>$(SRCDIR)/platform/image-decoders/ico</include>
90         <include>$(SRCDIR)/platform/image-decoders/jpeg</include>
91         <include>$(SRCDIR)/platform/image-decoders/png</include>
92         <include>$(SRCDIR)/platform/image-decoders/xbm</include>
93         <include>$(SRCDIR)/platform/image-decoders/zlib</include>
94         <include>$(SRCDIR)/platform/network</include>
95         <include>$(SRCDIR)/platform/network/curl</include>
96         <include>$(SRCDIR)/platform/sql</include>
97         <include>$(SRCDIR)/platform/text</include>
98         <include>$(SRCDIR)/plugins</include> 
99         <include>$(SRCDIR)/rendering</include>
100         <include>$(SRCDIR)/rendering/style</include>
101         <include>$(SRCDIR)/storage</include>
102         <include>$(SRCDIR)/xml</include>
103         <!-- FIXME: this is below the other headers because there currently exists both
104              WebCore/DerivedSources/HTMLElementFactory.h and WebCore/html/HTMLElementFactory.h 
105              and the latter is the one WebCore/dom/Document.cpp needs to compile. -->
106         <include>$(SRCDIR)/DerivedSources/WebCore</include>
107         <include>$(WK_ROOT)</include>
108         <include>$(WK_ROOT)/JavaScriptCore</include>
109         <include>$(WK_ROOT)/JavaScriptCore/ForwardingHeaders</include>
110         <include>$(WK_ROOT)/JavaScriptCore/bindings</include>
111         <include>$(WK_ROOT)/JavaScriptCore/bytecompiler</include>
112         <include>$(WK_ROOT)/JavaScriptCore/bytecode</include>
113         <include>$(WK_ROOT)/JavaScriptCore/debugger</include>
114         <include>$(WK_ROOT)/JavaScriptCore/jit</include>
115         <include>$(WK_ROOT)/JavaScriptCore/parser</include>
116         <include>$(WK_ROOT)/JavaScriptCore/pcre</include>
117         <include>$(WK_ROOT)/JavaScriptCore/profiler</include>
118         <include>$(WK_ROOT)/JavaScriptCore/runtime</include>
119         <include>$(WK_ROOT)/JavaScriptCore/interpreter</include>
120         <include>$(WK_ROOT)/JavaScriptCore/wtf</include>
121
122         <sources>$(WEBCORE_BASE_SOURCES)</sources>
123
124         <define>ENABLE_XSLT=1</define>
125
126         <if cond="FORMAT=='gnu'">
127             <!-- FIXME: we need proper configure checks -->
128             <define>HAVE_FUNC_ISNAN</define>
129         </if>
130
131         <if cond="PLATFORM_WIN32=='1'">
132             <include>win32</include>
133             <define>HAVE_SYS_TIMEB_H=1</define>
134             <define>HAVE_FLOAT_H=1</define>
135             <define>HAVE_FUNC__FINITE=1</define>
136         </if>
137     </template>
138 </makefile>