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