webcore-gdk.bkl 3.09 KB
Newer Older
1 2
<?xml version="1.0" ?>
<makefile>
3
    <option name="FEATURE_DEFINES" never_empty="1" >
mjs's avatar
mjs committed
4 5 6
        <!-- ENABLE_SVG ENABLE_XPATH-->
        <default-value>ENABLE_XPATH</default-value>
        <values>ENABLE_XPATH,ENABLE_SVG</values>
7
    </option>
ggaren's avatar
ggaren committed
8

mjs's avatar
mjs committed
9
    <set var="FEATURE_DEFINES">ENABLE_XPATH</set>
ggaren's avatar
ggaren committed
10

11
    <include file="../../webcore-base.bkl"/>
ggaren's avatar
ggaren committed
12

13 14 15 16
    <action id=".DerivedSources">
        <!-- This causes a full rebuild everytime
            <is-phony />
        -->
ggaren's avatar
ggaren committed
17
        <command>
18 19 20
            bash -c "cd ../..; ./move-js-headers.sh" &amp;&amp; \
            bash -c "cd ../.. &amp;&amp; \
            export FEATURE_DEFINES=$(FEATURE_DEFINES) &amp;&amp; \
darin's avatar
darin committed
21
            ./make-generated-sources.sh &amp;&amp; \
22
            bash -c "touch .DerivedSources"
23 24
        </command>
    </action>
ggaren's avatar
ggaren committed
25

26 27 28
    <dll id="webcore-gdk" template="webcore_base,freetype,gtk,curl,cairo,sqlite3">
        <!-- FIXME: create a debug option and set these accordingly -->
        <!-- check for undefined symbols for debugging reasons -->
ggaren's avatar
ggaren committed
29

30
        <pre-build-target>.DerivedSources</pre-build-target>
31 32 33
        <dirname>.</dirname>
        <pic>on</pic>
        <threading>multi</threading>
34 35 36 37
        <warnings>default</warnings>
        <cxx-rtti>off</cxx-rtti>
        <cxx-exceptions>off</cxx-exceptions>
        <debug-info>on</debug-info>
ggaren's avatar
ggaren committed
38
        <include>$(SRCDIR)/platform/gdk</include>
mjs's avatar
mjs committed
39
        <include>$(SRCDIR)/platform/network/gdk</include>
40 41 42
        <define>BUILDING_GDK__</define>
        <define>BUILDING_CAIRO__</define>
        <include>platform/gdk</include>
43
        <include>platform/graphics/cairo</include>
mjs's avatar
mjs committed
44
        <define>ENABLE_XPATH</define>
45
 
46
        <sources>
zecke's avatar
/:  
zecke committed
47 48 49 50
            platform/gdk/CookieJarGtk.cpp
            platform/gdk/CursorGtk.cpp
            platform/gdk/DragDataGtk.cpp
            platform/gdk/DragImageGtk.cpp
kjk's avatar
kjk committed
51
            platform/gdk/EditorClientGdk.cpp
zecke's avatar
/:  
zecke committed
52 53 54 55 56 57 58
            platform/gdk/FontCacheGtk.cpp
            platform/gdk/FontDataGtk.cpp
            platform/gdk/FontGtk.cpp
            platform/gdk/FontPlatformDataGtk.cpp
            platform/gdk/FrameGtk.cpp
            platform/gdk/GlyphPageTreeNodeGtk.cpp
            platform/gdk/KeyEventGtk.cpp
kjk's avatar
kjk committed
59
            platform/gdk/MimeTypeRegistryGdk.cpp
zecke's avatar
/:  
zecke committed
60 61 62 63
            platform/gdk/MouseEventGtk.cpp
            platform/gdk/PopupMenuGtk.cpp
            platform/gdk/RenderThemeGtk.cpp
            platform/gdk/ScrollViewGtk.cpp
kjk's avatar
kjk committed
64
            platform/gdk/ScreenGdk.cpp
65 66 67
            platform/gdk/SharedTimerLinux.cpp
            platform/gdk/SystemTimeLinux.cpp
            platform/gdk/TemporaryLinkStubs.cpp
zecke's avatar
/:  
zecke committed
68 69 70
            platform/gdk/WheelEventGtk.cpp
            platform/gdk/WidgetGtk.cpp
            platform/graphics/gdk/ImageGtk.cpp
71 72 73 74
            platform/network/gdk/ResourceHandleCurl.cpp
            platform/network/gdk/ResourceHandleManager.cpp

            $(WEBCORE_SOURCES_PLATFORM_CAIRO)
75
        </sources>
ggaren's avatar
ggaren committed
76

77 78 79 80 81 82 83
        <clean-files>
            .DerivedSources
            rm -rf $(SRCDIR)/DerivedSources
            rm -rf $(SRCDIR)/include/JavaScriptCore
            rm -rf $(SRCDIR)/Projects/gdk/obj-gnu
        </clean-files>
        <!--HACK block dependencies on the phony target -->
84 85 86
    </dll>
</makefile>