Rubberstamped by Kevin Decker
[WebKit-https.git] / WebKitTools / GdkLauncher / gdklauncher.bkl
1 <?xml version="1.0" ?>
2 <!-- generate GNUmakefile with 'bakefile -f gnu gdklauncher.bkl' -->
3
4 <makefile>
5     <include file="../../Bakefiles/presets.bkl" />
6
7     <template id="webcore_gdk_link" template="gtk,freetype,curl">
8         <define>APPLE_CHANGES=1</define>
9         <!-- this GC version requires Mach's thread suspend/resume: -->
10         <if cond="PLATFORM_MACOSX!='1'">
11             <define>USE_CONSERVATIVE_GC=0</define>
12         </if>
13
14         <if cond="PLATFORM_MACOSX=='1'">
15             <define>USE_CONSERVATIVE_GC=1</define>
16         </if>
17
18         <define>ENABLE_XSLT=1</define>
19
20         <if cond="FORMAT=='gnu'">
21             <!-- FIXME: we need proper configure checks -->
22             <define>HAVE_FUNC_ISNAN</define>
23         </if>
24
25         <if cond="PLATFORM_WIN32=='1'">
26             <include>$(SRCDIR)/os-win32</include>
27             <define>HAVE_SYS_TIMEB_H=1</define>
28             <define>HAVE_FLOAT_H=1</define>
29             <define>HAVE_FUNC__FINITE=1</define>
30         </if>
31
32         <include>$(TOPDIR)/JavaScriptCore</include>
33
34         <include>$(TOPDIR)/WebCore</include>
35         <include>$(TOPDIR)/WebCore/DerivedSources/WebCore</include>
36         <include>$(TOPDIR)/WebCore/bindings/js</include>
37         <include>$(TOPDIR)/WebCore/bridge</include>
38         <include>$(TOPDIR)/WebCore/css</include>
39         <include>$(TOPDIR)/WebCore/dom</include>
40         <include>$(TOPDIR)/WebCore/editing</include>
41         <include>$(TOPDIR)/WebCore/history</include>
42         <include>$(TOPDIR)/WebCore/html</include>
43         <include>$(TOPDIR)/WebCore/include</include>
44         <include>$(TOPDIR)/WebCore/loader</include>
45         <include>$(TOPDIR)/WebCore/loader/gdk</include>
46         <include>$(TOPDIR)/WebCore/page</include>
47         <include>$(TOPDIR)/WebCore/page/gdk</include>
48         <include>$(TOPDIR)/WebCore/platform</include>
49         <include>$(TOPDIR)/WebCore/platform/gdk</include>
50         <include>$(TOPDIR)/WebCore/platform/graphics/cairo</include>
51         <include>$(TOPDIR)/WebCore/platform/graphics</include>
52         <include>$(TOPDIR)/WebCore/platform/image-decoders/gif</include>
53         <include>$(TOPDIR)/WebCore/platform/image-decoders/jpeg</include>
54         <include>$(TOPDIR)/WebCore/platform/image-decoders/png</include>
55         <include>$(TOPDIR)/WebCore/platform/image-decoders/zlib</include>
56         <include>$(TOPDIR)/WebCore/platform/image-decoders</include>
57         <include>$(TOPDIR)/WebCore/platform/network</include>
58         <include>$(TOPDIR)/WebCore/platform/network/gdk</include>
59         <include>$(TOPDIR)/WebCore/rendering</include>
60         <include>$(TOPDIR)/WebCore/xml</include>
61
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