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