Skip to content
  • zandobersek@gmail.com's avatar
    [GTK] Set up the libPlatformGtk.la library · 6e0b8076
    zandobersek@gmail.com authored
    https://bugs.webkit.org/show_bug.cgi?id=111738
    
    Reviewed by Martin Robinson.
    
    .: 
    
    * GNUmakefile.am: Define the two variables that will hold sources list and cppflags as required for the new library.
    Include the new GNUmakefile.am that's now available under Source/Platform.
    
    Source/Platform: 
    
    * GNUmakefile.am: Added. Set up the rules for building the new libPlatformGtk.la. For now it will be built in
    the same way as libWebCoreGtk.la and in parallel with it while the sources are moved from Source/WebCore/platform
    to Source/Platform/gtk and each migrated source file moves to be built in libPlatformGtk.la instead of libWebCoreGtk.la.
    * GNUmakefile.list.am: Added. Lists the build targets for the libPlatformGtk.la.
    * gtk/GtkVersioning.c: Renamed from Source/WebCore/platform/gtk/GtkVersioning.c. This file is independent of WebCore and can be moved
    and changed to be built into libPlatformGtk.la right away.
    * gtk/GtkVersioning.h: Renamed from Source/WebCore/platform/gtk/GtkVersioning.h. Ditto.
    
    Source/WebCore: 
    
    No new tests - no new functionality.
    
    * GNUmakefile.am: Reference platformgtk_cppflags, platformgtk_sources variables along with webcoregtk_cppflags, webcoregtk_sources variables.
    * GNUmakefile.list.am: Removing GtkVersioning.c and GtkVersioning.h from the sources list, these files have been moved under Source/Platform.
    * bindings/gobject/GNUmakefile.am: Ditto on the platformgtk_* variables.
    
    Source/WebKit/gtk: 
    
    * GNUmakefile.am: Reference platformgtk_cppflags variable, libPlatformGtk.la along with webcoregtk_cppflags variable, libWebCoreGtk.la.
    Adjust the path to GtkVersioning.c, the file has moved under Source/Platform.
    
    Source/WebKit2: 
    
    * GNUmakefile.am: Reference platformgtk_cppflags variable, libPlatformGtk.la along with webcoregtk_cppflags variable, libWebCoreGtk.la.
    Adjust the path to GtkVersioning.c, the file has moved under Source/Platform.
    
    Tools: 
    
    * GNUmakefile.am: Reference platformgtk_cppflags variable along with webcoregtk_cppflags variable.
    Adjust the path to GtkVersioning.c, the file has moved under Source/Platform.
    * TestWebKitAPI/GNUmakefile.am: Reference platformgtk_cppflags variable along with webcoregtk_cppflags variable.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6e0b8076