2006-09-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
[WebKit-https.git] / WebCore / Projects / gdk / webcore-gdk.bkl
1 <?xml version="1.0" ?>
2 <!-- generate GnuMakefile with
3         bakefile -f gnu gtkwebcore.bkl
4         consider forcing includes agian
5         CXX = g++  -I. include config.h
6 -->
7
8
9 <makefile>
10
11                 <option name="ENCODINGS_FILE">
12                 <default-value>platform/gdk/gdk-encodings.txt</default-value>
13                 <values>platform/gdk/gdk-encodings.txt</values>
14                 </option>
15
16                 <option name="FEATURE_DEFINES" never_empty="1" >
17                 <!-- SVG_SUPPORT XPATH_SUPPORT-->
18                 <default-value>XPATH_SUPPORT</default-value>
19                 <values>XPATH_SUPPORT,SVG_SUPPORT</values>
20                 </option>
21                 <set var="FEATURE_DEFINES">XPATH_SUPPORT</set>
22                 <set var="ENCODINGS_FILE">$(SRCDIR)/platform/gdk/gdk-encodings.txt</set>
23
24         <include file="../../webcore-base.bkl"/>
25
26    <action id=".DerivedSources">
27    <!-- This causes a full rebuild everytime
28      <is-phony/>
29          -->
30         <command>bash -c "cd ../..; ./move-js-headers.sh"</command>
31         <command>
32                 bash -c "cd ../..;\
33                 export FEATURE_DEFINES=$(FEATURE_DEFINES);\
34                 ./make-generated-sources.sh $(ENCODINGS_FILE)"
35                 </command>
36         <command>bash -c "touch .DerivedSources"</command>
37    </action>
38
39     <dll id="webcore-gdk" template="webcore_base,freetype,gtk,curl,cairo,sqlite3">        
40         <!-- FIXME: create a debug option and set these accordingly -->
41         <!-- check for undefined symbols for debugging reasons -->
42         <!--
43         <ldflags>W,undefined</ldflags>
44         -->
45
46                 <pre-build-target>.DerivedSources</pre-build-target>
47         <dirname>.</dirname>
48         <pic>on</pic>
49         <threading>multi</threading>
50         <warnings>no</warnings>
51                 <cxxflags>-w</cxxflags>
52         <include>$(SRCDIR)/platform/gdk</include>
53                 <cflags>-w</cflags>
54         <define>BUILDING_GDK__</define>
55         <define>BUILDING_CAIRO__</define>
56                 <include>platform/gdk</include>
57                 <include>platform/cairo</include>
58             <include>$(SRCDIR)/kcanvas/device/cairo</include>
59         <define>XPATH_SUPPORT</define>
60         <!-- gdk build broken with without NDEBUG defined -->
61         <define>NDEBUG</define>
62  
63         <sources>               
64           platform/cairo/GraphicsContextCairo.cpp
65           platform/cairo/ImageCairo.cpp
66           platform/cairo/ImageSourceCairo.cpp
67           platform/gdk/CookieJarGdk.cpp
68           platform/gdk/CursorGdk.cpp
69           platform/gdk/FontCacheGdk.cpp
70           platform/gdk/FontDataGdk.cpp
71           platform/gdk/FontGdk.cpp
72           platform/gdk/FontPlatformDataGdk.cpp
73           platform/gdk/FrameGdk.cpp
74           platform/gdk/GlyphMapGdk.cpp
75            platform/gdk/ImageGdk.cpp
76           platform/gdk/KeyEventGdk.cpp
77           platform/gdk/MouseEventGdk.cpp
78           platform/gdk/PageGdk.cpp
79           platform/gdk/ResourceLoaderManager.cpp
80           platform/gdk/RenderThemeGdk.cpp
81           platform/gdk/RenderPopupMenuGdk.cpp
82           platform/gdk/ScreenGdk.cpp
83           platform/gdk/ScrollViewGdk.cpp
84           platform/gdk/SharedTimerLinux.cpp
85           platform/gdk/SystemTimeLinux.cpp
86           platform/gdk/TemporaryLinkStubs.cpp
87           platform/gdk/ResourceLoaderCurl.cpp
88           platform/gdk/WheelEventGdk.cpp
89           platform/gdk/WidgetGdk.cpp
90                 </sources>
91
92                 <clean-files>
93                 .DerivedSources
94                 rm -rf $(SRCDIR)/DerivedSources
95                 rm -rf $(SRCDIR)/include/JavaScripCore
96                 rm -rf $(SRCDIR)/Projects/gdk/obj-gnu
97                 </clean-files>
98                 <!--HACK block dependencies on the phony target -->
99     </dll>
100 </makefile>
101