2007-04-24 Benjamin Otte <otte@gnome.org>
[WebKit-https.git] / WebCore / Projects / gdk / webcore-gdk.bkl
1 <?xml version="1.0" ?>
2 <makefile>
3     <option name="ENCODINGS_FILE">
4         <default-value>platform/gdk/gdk-encodings.txt</default-value>
5         <values>platform/gdk/gdk-encodings.txt</values>
6    </option>
7
8     <option name="FEATURE_DEFINES" never_empty="1" >
9         <!-- ENABLE_SVG ENABLE_XPATH-->
10         <default-value>ENABLE_XPATH</default-value>
11         <values>ENABLE_XPATH,ENABLE_SVG</values>
12     </option>
13
14     <set var="FEATURE_DEFINES">ENABLE_XPATH</set>
15     <set var="ENCODINGS_FILE">$(SRCDIR)/platform/gdk/gdk-encodings.txt</set>
16
17     <include file="../../webcore-base.bkl"/>
18
19     <action id=".DerivedSources">
20         <!-- This causes a full rebuild everytime
21             <is-phony />
22         -->
23         <command>
24             bash -c "cd ../..; ./move-js-headers.sh" &amp;&amp; \
25             bash -c "cd ../.. &amp;&amp; \
26             export FEATURE_DEFINES=$(FEATURE_DEFINES) &amp;&amp; \
27             ./make-generated-sources.sh $(ENCODINGS_FILE)" &amp;&amp; \
28             bash -c "touch .DerivedSources"
29         </command>
30     </action>
31
32     <dll id="webcore-gdk" template="webcore_base,freetype,gtk,curl,cairo,sqlite3">
33         <!-- FIXME: create a debug option and set these accordingly -->
34         <!-- check for undefined symbols for debugging reasons -->
35
36         <pre-build-target>.DerivedSources</pre-build-target>
37         <dirname>.</dirname>
38         <pic>on</pic>
39         <threading>multi</threading>
40         <warnings>default</warnings>
41         <cxx-rtti>off</cxx-rtti>
42         <cxx-exceptions>off</cxx-exceptions>
43         <debug-info>on</debug-info>
44         <include>$(SRCDIR)/platform/gdk</include>
45         <include>$(SRCDIR)/platform/network/gdk</include>
46         <define>BUILDING_GDK__</define>
47         <define>BUILDING_CAIRO__</define>
48         <include>platform/gdk</include>
49         <include>platform/graphics/cairo</include>
50         <define>ENABLE_XPATH</define>
51  
52         <sources>
53             platform/gdk/CookieJarGdk.cpp
54             platform/gdk/CursorGdk.cpp
55             platform/gdk/DragDataGdk.cpp
56             platform/gdk/DragImageGdk.cpp
57             platform/gdk/EditorClientGdk.cpp
58             platform/gdk/FontCacheGdk.cpp
59             platform/gdk/FontDataGdk.cpp
60             platform/gdk/FontGdk.cpp
61             platform/gdk/FontPlatformDataGdk.cpp
62             platform/gdk/FrameGdk.cpp
63             platform/gdk/GlyphPageTreeNodeGdk.cpp
64             platform/gdk/KeyEventGdk.cpp
65             platform/gdk/MimeTypeRegistryGdk.cpp
66             platform/gdk/MouseEventGdk.cpp
67             platform/gdk/PopupMenuGdk.cpp
68             platform/gdk/RenderThemeGdk.cpp
69             platform/gdk/ScrollViewGdk.cpp
70             platform/gdk/ScreenGdk.cpp
71             platform/gdk/SharedTimerLinux.cpp
72             platform/gdk/SystemTimeLinux.cpp
73             platform/gdk/TemporaryLinkStubs.cpp
74             platform/gdk/WheelEventGdk.cpp
75             platform/gdk/WidgetGdk.cpp
76             platform/graphics/gdk/ImageGdk.cpp
77             platform/network/gdk/ResourceHandleCurl.cpp
78             platform/network/gdk/ResourceHandleManager.cpp
79
80             $(WEBCORE_SOURCES_PLATFORM_CAIRO)
81         </sources>
82
83         <clean-files>
84             .DerivedSources
85             rm -rf $(SRCDIR)/DerivedSources
86             rm -rf $(SRCDIR)/include/JavaScriptCore
87             rm -rf $(SRCDIR)/Projects/gdk/obj-gnu
88         </clean-files>
89         <!--HACK block dependencies on the phony target -->
90     </dll>
91 </makefile>
92