2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
[WebKit.git] / WebKitTools / GdkLauncher / gdklauncher.bkl
1 <?xml version="1.0" ?>
2 <!-- generate GnuMakefile with
3         bakefile -f gnu gdkwebcore.bkl
4         consider forcing includes agian
5         CXX = g++  -I. include config.h
6 -->
7
8 <makefile>
9         <include file="../../Bakefiles/presets.bkl"/>
10
11    <template id="webcore_gdk_link" template="gtk,freetype">
12                 
13         <define>APPLE_CHANGES=1</define>
14         <!-- this GC version requires Mach's thread suspend/resume: -->
15         <if cond="PLATFORM_MACOSX=='1'">
16             <define>USE_CONSERVATIVE_GC=0</define>
17         </if>
18         
19         <if cond="PLATFORM_MACOSX=='1'">
20             <define>USE_CONSERVATIVE_GC=1</define>
21         </if> 
22
23         <define>KHTML_XSLT=1</define>
24
25         <if cond="FORMAT=='gnu'">
26             <!-- FIXME: we need proper configure checks -->
27             <define>HAVE_FUNC_ISNAN</define>
28         </if>
29
30         <if cond="PLATFORM_WIN32=='1'">
31             <include>$(SRCDIR)/os-win32</include>
32             <define>HAVE_SYS_TIMEB_H=1</define>
33             <define>HAVE_FLOAT_H=1</define>
34             <define>HAVE_FUNC__FINITE=1</define>
35         </if>
36
37         <include>$(TOPDIR)/JavaScriptCore</include>
38
39         <include>$(TOPDIR)/WebCore/.</include>
40         <include>$(TOPDIR)/WebCore/include</include>
41         <include>$(TOPDIR)/WebCore/DerivedSources/WebCore</include>
42         <include>$(TOPDIR)/WebCore/bindings/js</include>
43         <include>$(TOPDIR)/WebCore/bridge</include>
44         <include>$(TOPDIR)/WebCore/editing</include>
45         <include>$(TOPDIR)/WebCore/html</include>
46         <include>$(TOPDIR)/WebCore/css</include>
47         <include>$(TOPDIR)/WebCore/dom</include>
48         <include>$(TOPDIR)/WebCore/kwq</include>
49         <include>$(TOPDIR)/WebCore/loader</include>
50         <include>$(TOPDIR)/WebCore/page</include>
51         <include>$(TOPDIR)/WebCore/platform</include>
52         <include>$(TOPDIR)/WebCore/platform/image-decoders</include>
53         <include>$(TOPDIR)/WebCore/platform/image-decoders/gif</include>
54         <include>$(TOPDIR)/WebCore/platform/image-decoders/jpeg</include>
55         <include>$(TOPDIR)/WebCore/platform/image-decoders/png</include>
56         <include>$(TOPDIR)/WebCore/platform/image-decoders/zlib</include>
57         <include>$(TOPDIR)/WebCore/rendering</include>
58         <include>$(TOPDIR)/WebCore/xml</include>
59
60         <include>$(TOPDIR)/WebCore/platform/cairo</include>
61         <include>$(TOPDIR)/WebCore/platform/gdk</include>
62         <pic>on</pic>
63         <threading>multi</threading>
64         <warnings>default</warnings>
65         <debug-info>on</debug-info>
66
67         <define>BUILDING_GDK__</define>
68         <define>BUILDING_CAIRO__</define>
69
70    </template>
71
72         <set var="TOPDIR">../..</set>
73     <exe id="gdklauncher" template="webcore_gdk_link">        
74                 <ldflags>-L$(TOPDIR)/WebCore/Projects/gdk -lwebcore-gdk</ldflags>
75         <warnings>default</warnings>
76         <cxx-rtti>off</cxx-rtti>
77         <cxx-exceptions>off</cxx-exceptions>
78         <debug-info>on</debug-info>
79         <sources>               
80           main.cpp
81                 </sources>
82     </exe>
83 </makefile>
84