Make gdk.la and gsk.la a noninst helper library

This merged gtk, gdk and gsk into one library, making it possible to
have internal private APIs between gtk them, as well as producing more
efficient code.

https://bugzilla.gnome.org/show_bug.cgi?id=773100
This commit is contained in:
Alexander Larsson 2016-10-17 15:07:57 +02:00
parent 3fd63e1d67
commit 723b588b5d
28 changed files with 84 additions and 145 deletions

View File

@ -40,14 +40,9 @@ gtk+-x11-4.0.pc gtk+-win32-4.0.pc gtk+-quartz-4.0.pc gtk+-broadway-4.0.pc gtk+-w
rm -f $@ && \
cp gtk+-4.0.pc $@
gdk-x11-4.0.pc gdk-win32-4.0.pc gdk-quartz-4.0.pc gdk-broadway-4.0.pc gdk-wayland-4.0.pc gdk-mir-4.0.pc: gdk-4.0.pc
rm -f $@ && \
cp gdk-4.0.pc $@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gdk-4.0.pc gsk-4.0.pc gtk+-4.0.pc gail-4.0.pc
pkgconfig_DATA = gtk+-4.0.pc gail-4.0.pc
pkgconfig_DATA += ${GDK_BACKENDS:%=gtk+-%-4.0.pc}
pkgconfig_DATA += ${GDK_BACKENDS:%=gdk-%-4.0.pc}
if OS_UNIX
pkgconfig_DATA += gtk+-unix-print-4.0.pc
@ -62,14 +57,6 @@ DISTCLEANFILES = \
gtk+-broadway-4.0.pc \
gtk+-wayland-4.0.pc \
gtk+-mir-4.0.pc \
gsk-4.0.pc \
gdk-4.0.pc \
gdk-x11-4.0.pc \
gdk-win32-4.0.pc \
gdk-quartz-4.0.pc \
gdk-broadway-4.0.pc \
gdk-wayland-4.0.pc \
gdk-mir-4.0.pc \
gail-4.0.pc \
config.lt

View File

@ -1943,8 +1943,6 @@ INSTALL
config.h.win32
gtk-zip.sh
Makefile
gdk-4.0.pc
gsk-4.0.pc
gtk+-4.0.pc
gtk+-unix-print-4.0.pc
gail-4.0.pc

View File

@ -94,7 +94,6 @@ DEPS = \
LDADDS = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS) \
$(GDK_DEP_LIBS) \
-lm

View File

@ -7,7 +7,6 @@ AM_CPPFLAGS = \
LDADD = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)

View File

@ -22,7 +22,6 @@ gtk4_widget_factory_CPPFLAGS = \
$(NULL)
gtk4_widget_factory_LDADD = \
$(top_builddir)/gdk/libgdk-4.la \
$(top_builddir)/gtk/libgtk-4.la \
$(GTK_DEP_LIBS) \
$(NULL)

View File

@ -61,7 +61,7 @@ AM_CPPFLAGS = \
$(GTK_DEBUG_FLAGS) \
$(GDK_DEP_CFLAGS)
GTKDOC_LIBS = $(top_builddir)/gdk/libgdk-4.la $(GDK_DEP_LIBS)
GTKDOC_LIBS = $(top_builddir)/gtk/libgtk-4.la $(GDK_DEP_LIBS)
# Extra options to supply to gtkdoc-mkdb
MKDB_OPTIONS=--output-format=xml --name-space=gdk

View File

@ -31,7 +31,7 @@ AM_CPPFLAGS = \
$(GTK_DEBUG_FLAGS) \
$(GDK_DEP_CFLAGS)
GTKDOC_LIBS = $(top_builddir)/gsk/libgsk-4.la $(GDK_DEP_LIBS)
GTKDOC_LIBS = $(top_builddir)/gtk/libgtk-4.la $(GDK_DEP_LIBS)
MKDB_OPTIONS=--output-format=xml --name-space=gsk

View File

@ -265,7 +265,6 @@ CPPFLAGS += \
-UGTK_DISABLE_SINGLE_INCLUDES
GTKDOC_LIBS = \
$(top_builddir)/gdk/libgdk-4.la \
$(top_builddir)/gtk/libgtk-4.la \
$(GTK_DEP_LIBS)

View File

@ -16,7 +16,6 @@ AM_CPPFLAGS = \
LDADD = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)
noinst_PROGRAMS = \

View File

@ -4,7 +4,6 @@ GTK_CFLAGS = \
GTK_LIBS = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)

View File

@ -4,7 +4,6 @@ GTK_CFLAGS = \
GTK_LIBS = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)

View File

@ -4,7 +4,6 @@ GTK_CFLAGS = \
GTK_LIBS = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)

View File

@ -4,7 +4,6 @@ GTK_CFLAGS = \
GTK_LIBS = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)

View File

@ -4,7 +4,6 @@ GTK_CFLAGS = \
GTK_LIBS = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)

View File

@ -4,7 +4,6 @@ GTK_CFLAGS = \
GTK_LIBS = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)

View File

@ -4,7 +4,6 @@ GTK_CFLAGS = \
GTK_LIBS = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)

View File

@ -4,7 +4,6 @@ GTK_CFLAGS = \
GTK_LIBS = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)

View File

@ -4,7 +4,6 @@ GTK_CFLAGS = \
GTK_LIBS = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)

View File

@ -4,7 +4,6 @@ GTK_CFLAGS = \
GTK_LIBS = \
$(top_builddir)/gtk/libgtk-4.la \
$(top_builddir)/gdk/libgdk-4.la \
$(GTK_DEP_LIBS)

View File

@ -1,13 +0,0 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
targets=@GDK_BACKENDS@
Name: GDK
Description: GTK+ Drawing Kit
Version: @VERSION@
Requires: @GDK_PACKAGES@
Requires.private: @GDK_PRIVATE_PACKAGES@
Libs: -L${libdir} -lgdk-4 @GDK_EXTRA_LIBS@
Cflags: -I${includedir}/gtk-@GTK_API_VERSION@ @GDK_EXTRA_CFLAGS@

View File

@ -47,16 +47,6 @@ AM_CPPFLAGS = \
$(GTK_DEBUG_FLAGS) \
$(GDK_DEP_CFLAGS)
# libtool stuff: set version and export symbols for resolving
# since automake doesn't support conditionalized libsomething_la_LDFLAGS
# we use the general approach here
LDADD = \
$(GTK_LINK_FLAGS) \
-version-info $(LT_VERSION_INFO) \
-export-dynamic \
-rpath $(libdir) \
$(no_undefined)
#
# setup source file variables
#
@ -245,17 +235,17 @@ introspection_files = \
gdkenumtypes.c \
gdkenumtypes.h
Gdk-4.0.gir: libgdk-4.la Makefile
Gdk_4_0_gir_SCANNERFLAGS = \
Gdk-noinst-4.0.gir: libgdk-4.la Makefile
Gdk_noinst_4_0_gir_SCANNERFLAGS = \
--c-include="gdk/gdk.h"
Gdk_4_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0 cairo-1.0
Gdk_4_0_gir_LIBS = libgdk-4.la
Gdk_4_0_gir_FILES = $(introspection_files)
Gdk_4_0_gir_CFLAGS = $(AM_CPPFLAGS)
Gdk_4_0_gir_EXPORT_PACKAGES = gdk-4.0
INTROSPECTION_GIRS += Gdk-4.0.gir
Gdk_noinst_4_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0 cairo-1.0
Gdk_noinst_4_0_gir_LIBS = libgdk-4.la
Gdk_noinst_4_0_gir_FILES = $(introspection_files)
Gdk_noinst_4_0_gir_CFLAGS = $(AM_CPPFLAGS)
Gdk_noinst_4_0_gir_EXPORT_PACKAGES = gdk-4.0
INTROSPECTION_GIRS += Gdk-noinst-4.0.gir
if OS_WIN32
Gdk_4_0_gir_CFLAGS += -I$(srcdir)/win32 -I$(srcdir)
Gdk_noinst_4_0_gir_CFLAGS += -I$(srcdir)/win32 -I$(srcdir)
endif
if USE_X11
x11_introspection_files = \
@ -305,17 +295,17 @@ x11_introspection_files = \
x11/gdkx11visual.h \
x11/gdkx11window.h
GdkX11-4.0.gir: libgdk-4.la Gdk-4.0.gir Makefile
GdkX11_4_0_gir_SCANNERFLAGS = \
GdkX11-noinst-4.0.gir: libgdk-4.la Gdk-noinst-4.0.gir Makefile
GdkX11_noinst_4_0_gir_SCANNERFLAGS = \
--identifier-prefix=Gdk \
--c-include="gdk/gdkx.h" \
--include-uninstalled=$(top_builddir)/gdk/Gdk-4.0.gir
GdkX11_4_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0 xlib-2.0
GdkX11_4_0_gir_LIBS = libgdk-4.la
GdkX11_4_0_gir_FILES = $(x11_introspection_files)
GdkX11_4_0_gir_CFLAGS = $(AM_CPPFLAGS) -L$(top_builddir)/gdk
GdkX11_4_0_gir_EXPORT_PACKAGES = gdk-x11-4.0
INTROSPECTION_GIRS += GdkX11-4.0.gir
--include-uninstalled=$(top_builddir)/gdk/Gdk-noinst-4.0.gir
GdkX11_noinst_4_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0 xlib-2.0
GdkX11_noinst_4_0_gir_LIBS = libgdk-4.la
GdkX11_noinst_4_0_gir_FILES = $(x11_introspection_files)
GdkX11_noinst_4_0_gir_CFLAGS = $(AM_CPPFLAGS) -L$(top_builddir)/gdk
GdkX11_noinst_4_0_gir_EXPORT_PACKAGES = gdk-x11-4.0
INTROSPECTION_GIRS += GdkX11-noinst-4.0.gir
endif # USE_X11
@ -350,26 +340,22 @@ w32_introspection_files = \
win32/gdkwindow-win32.c
if OS_WIN32
GdkWin32-4.0.gir: libgdk-3.la Gdk-4.0.gir Makefile
GdkWin32_4_0_gir_SCANNERFLAGS = \
GdkWin32-noinst-4.0.gir: libgdk-3.la Gdk-noinst-4.0.gir Makefile
GdkWin32_noinst_4_0_gir_SCANNERFLAGS = \
--identifier-prefix=Gdk \
--c-include="gdk/gdkwin32.h" \
--include-uninstalled=$(top_builddir)/gdk/Gdk-4.0.gir
GdkWin32_4_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0
GdkWin32_4_0_gir_LIBS = libgdk-4.la
GdkWin32_4_0_gir_FILES = $(w32_introspection_files)
GdkWin32_4_0_gir_CFLAGS = $(AM_CPPFLAGS) -L$(top_builddir)/gdk -I$(srcdir)/win32 -I$(srcdir)
INTROSPECTION_GIRS += GdkWin32-4.0.gir
--include-uninstalled=$(top_builddir)/gdk/Gdk-noinst-4.0.gir
GdkWin32_noinst_4_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0
GdkWin32_noinst_4_0_gir_LIBS = libgdk-4.la
GdkWin32_noinst_4_0_gir_FILES = $(w32_introspection_files)
GdkWin32_noinst_4_0_gir_CFLAGS = $(AM_CPPFLAGS) -L$(top_builddir)/gdk -I$(srcdir)/win32 -I$(srcdir)
INTROSPECTION_GIRS += GdkWin32-noinst-4.0.gir
endif # OS_WIN32
girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)
noinst_DATA = $(INTROSPECTION_GIRS)
typelibsdir = $(libdir)/girepository-1.0
typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
CLEANFILES += $(gir_DATA)
endif # HAVE_INTROSPECTION
@ -405,7 +391,7 @@ install-ms-lib:
uninstall-ms-lib:
endif
lib_LTLIBRARIES = libgdk-4.la
noinst_LTLIBRARIES = libgdk-4.la
MAINTAINERCLEANFILES = $(gdk_built_sources) stamp-gdkenumtypes.h
EXTRA_DIST += \
@ -537,7 +523,7 @@ GdkWin32_4_0_gir_MSVC_CFLAGS = $(BASE_MSVC_GIR_CFLAGS)
GdkWin32_4_0_gir_MSVC_SCANNERFLAGS = \
--identifier-prefix=Gdk \
--c-include="gdk/gdkwin32.h" \
--include-uninstalled=./Gdk-4.0.gir
--include-uninstalled=./Gdk-noinst-4.0.gir
include $(top_srcdir)/build/Makefile.msvc-introspection

View File

@ -1,13 +0,0 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
targets=@GDK_BACKENDS@
Name: GSK
Description: GTK+ Scene Graph Kit
Version: @VERSION@
Requires: gdk-@GTK_API_VERSION@ @GSK_PACKAGES@
Requires.private: @GSK_PRIVATE_PACKAGES@
Libs: -L${libdir} -lgsk-3 @GSK_EXTRA_LIBS@
Cflags: -I${includedir}/gsk-@GTK_API_VERSION@ @GSK_EXTRA_CFLAGS@

View File

@ -20,7 +20,7 @@ BUILT_SOURCES =
CLEANFILES =
DISTCLEANFILES =
lib_LTLIBRARIES =
noinst_LTLIBRARIES =
gsk_public_source_h = \
gskenums.h \
@ -109,14 +109,8 @@ libgsk_4_la_SOURCES = $(all_sources)
nodist_libgsk_4_la_SOURCES = $(gsk_built_source_h) $(gsk_built_source_c)
libgsk_4_la_CFLAGS = $(AM_CFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
libgsk_4_la_LIBADD = $(GSK_DEP_LIBS) $(top_builddir)/gdk/libgdk-4.la
libgsk_4_la_LDFLAGS = \
$(GTK_LINK_FLAGS) \
-version-info $(LT_VERSION_INFO) \
-export-dynamic \
-rpath $(libdir) \
$(no_undefined)
lib_LTLIBRARIES += libgsk-4.la
noinst_LTLIBRARIES += libgsk-4.la
gskincludedir = $(includedir)/gtk-4.0/gsk
gskinclude_HEADERS = $(gsk_public_source_h) gskenumtypes.h gsk.h
@ -137,25 +131,21 @@ if HAVE_INTROSPECTION
introspection_files = $(gsk_public_source_h) $(gsk_public_source_c)
Gsk-4.0.gir: libgsk-4.la Makefile
Gsk_4_0_gir_SCANNERFLAGS = \
Gsk-4.0_noinst.gir: libgsk-4.la Makefile
Gsk_noinst_4_0_gir_SCANNERFLAGS = \
--add-include-path=$(top_builddir)/gdk \
--include-uninstalled=$(top_builddir)/gdk/Gdk-4.0.gir \
--include-uninstalled=$(top_builddir)/gdk/Gdk-noinst-4.0.gir \
--c-include="gsk/gsk.h"
Gsk_4_0_gir_LIBS = libgsk-4.la $(top_builddir)/gdk/libgdk-4.la
Gsk_4_0_gir_FILES = $(introspection_files)
Gsk_4_0_gir_CFLAGS = $(AM_CPPFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
Gsk_4_0_gir_EXPORT_PACKAGES = gsk-4.0
Gsk_4_0_gir_INCLUDES = GObject-2.0 cairo-1.0 Graphene-1.0
INTROSPECTION_GIRS += Gsk-4.0.gir
Gsk_noinst_4_0_gir_LIBS = libgsk-4.la
Gsk_noinst_4_0_gir_FILES = $(introspection_files)
Gsk_noinst_4_0_gir_CFLAGS = $(AM_CPPFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
Gsk_noinst_4_0_gir_EXPORT_PACKAGES = gsk-4.0
Gsk_noinst_4_0_gir_INCLUDES = GObject-2.0 cairo-1.0 Graphene-1.0
INTROSPECTION_GIRS += Gsk-noinst-4.0.gir
girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)
noinst_DATA = $(INTROSPECTION_GIRS)
typelibsdir = $(libdir)/girepository-1.0
typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
CLEANFILES += $(gir_DATA)
endif
@ -196,11 +186,11 @@ INTROSPECTION_INTERMEDIATE_ITEMS = \
Gsk_4_0_gir_MSVC_FILES = $(introspection_files)
Gsk_4_0_gir_MSVC_EXPORT_PACKAGES = $(Gsk_4_0_gir_EXPORT_PACKAGES)
Gsk_4_0_gir_MSVC_INCLUDE_GIRS = $(Gsk_4_0_gir_INCLUDES)
Gsk_4_0_gir_MSVC_LIBS = gdk-4.0
Gsk_4_0_gir_MSVC_LIBS = gsk-4.0
Gsk_4_0_gir_MSVC_CFLAGS = $(BASE_MSVC_GIR_CFLAGS)
Gsk_4_0_gir_MSVC_SCANNERFLAGS = \
--add-include-path=. \
--include-uninstalled=./Gdk-4.0.gir
--include-uninstalled=../gdk/Gdk-noinst-4.0.gir
include $(top_srcdir)/build/Makefile.msvc-introspection

View File

@ -10,7 +10,7 @@ gtk_host=@host@
Name: GTK+
Description: GTK+ Graphical UI Library
Version: @VERSION@
Requires: gdk-@GTK_API_VERSION@ @GTK_PACKAGES@
Requires.private: @GTK_PRIVATE_PACKAGES@
Libs: -L${libdir} -lgtk-4 @GTK_EXTRA_LIBS@
Cflags: -I${includedir}/gtk-@GTK_API_VERSION@ @GTK_EXTRA_CFLAGS@
Requires: gdk-@GTK_API_VERSION@ @GDK_PACKAGES@ @GTK_PACKAGES@
Requires.private: @GDK_PRIVATE_PACKAGES@ @GTK_PRIVATE_PACKAGES@
Libs: -L${libdir} -lgtk-4 @GDK_EXTRA_LIBS@ @GSK_EXTRA_LIBS@ @GTK_EXTRA_LIBS@
Cflags: -I${includedir}/gtk-@GTK_API_VERSION@ @GDK_EXTRA_CFLAGS@ @GSK_EXTRA_CFLAGS@ @GTK_EXTRA_CFLAGS@

View File

@ -82,12 +82,10 @@ uninstall-ms-lib:
endif
libadd = \
$(top_builddir)/gdk/libgdk-4.la \
$(top_builddir)/gsk/libgsk-4.la \
$(GMODULE_LIBS) \
$(GTK_DEP_LIBS)
deps = \
$(top_builddir)/gdk/libgdk-4.la \
$(top_builddir)/gsk/libgsk-4.la
# libtool stuff: set version and export symbols for resolving
@ -1469,7 +1467,7 @@ Gtk_4_0_gir_MSVC_EXPORT_PACKAGES = $(Gtk_4_0_gir_EXPORT_PACKAGES)
Gtk_4_0_gir_MSVC_INCLUDE_GIRS = Atk-1.0
Gtk_4_0_gir_MSVC_LIBS = gtk-4.0 gdk-4.0
Gtk_4_0_gir_MSVC_CFLAGS = $(GTK_MSVC_GIR_CFLAGS)
Gtk_4_0_gir_MSVC_SCANNERFLAGS = --warn-all --add-include-path=. --include-uninstalled=./Gdk-4.0.gir
Gtk_4_0_gir_MSVC_SCANNERFLAGS = --warn-all --add-include-path=. --include-uninstalled=./Gdk-4.0.gir --include-uninstalled=./Gsk-4.0.gir
include $(top_srcdir)/build/Makefile.msvc-introspection
@ -1518,11 +1516,34 @@ INTROSPECTION_COMPILER_ARGS = \
--includedir=. \
--includedir=../gdk
Gtk-4.0.gir: $(INTROSPECTION_SCANNER) libgtk-4.la $(top_builddir)/gdk/Gdk-4.0.gir Makefile
Gdk-4.0.gir: $(top_builddir)/gdk/Gdk-noinst-4.0.gir
sed -e "s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" -e "s/noinst-4.0/4.0/" < $(top_builddir)/gdk/Gdk-noinst-4.0.gir > $@
EXTRA_GIRS = Gdk-4.0.gir
if USE_X11
GdkX11-4.0.gir: $(top_builddir)/gdk/GdkX11-noinst-4.0.gir
sed -e "s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" -e "s/noinst-4.0/4.0/" < $(top_builddir)/gdk/GdkX11-noinst-4.0.gir > $@
EXTRA_GIRS += GdkX11-4.0.gir
endif
if OS_WIN32
GdkWin32-4.0.gir: $(top_builddir)/gdk/GdkX11-noinst-4.0.gir
sed "-e s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" -e "s/noinst-4.0/4.0/" < $(top_builddir)/gdk/GdkX11-noinst-4.0.gir > $@
EXTRA_GIRS += GdkWin32-4.0.gir
endif
Gsk-4.0.gir: $(top_builddir)/gsk/Gsk-noinst-4.0.gir
sed -e "s/shared-library=\"[^\"]*\"/shared-library=\"libgtk-4.so.0\"/" -e "s/noinst-4.0/4.0/" < $(top_builddir)/gsk/Gsk-noinst-4.0.gir > $@
EXTRA_GIRS += Gsk-4.0.gir
Gtk-4.0.gir: $(INTROSPECTION_SCANNER) libgtk-4.la Gdk-4.0.gir Gsk-4.0.gir Makefile
Gtk_4_0_gir_SCANNERFLAGS = \
--warn-all \
--add-include-path=$(top_builddir)/gdk \
--include-uninstalled=$(top_builddir)/gdk/Gdk-4.0.gir
--add-include-path=./ \
--include-uninstalled=Gdk-4.0.gir \
--include-uninstalled=Gsk-4.0.gir
Gtk_4_0_gir_INCLUDES = Atk-1.0
if USE_X11
Gtk_4_0_gir_SCANNERFLAGS += --add-include-path=$(top_builddir)/gdk/x11
@ -1532,15 +1553,15 @@ Gtk_4_0_gir_CFLAGS = \
$(AM_CPPFLAGS) \
-DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
Gtk_4_0_gir_FILES = $(introspection_files)
Gtk_4_0_gir_LIBS = libgtk-4.la $(top_builddir)/gsk/libgsk-4.la $(top_builddir)/gdk/libgdk-4.la
Gtk_4_0_gir_LIBS = libgtk-4.la $(top_builddir)/gsk/libgsk-4.la
Gtk_4_0_gir_EXPORT_PACKAGES = gtk+-4.0
INTROSPECTION_GIRS = Gtk-4.0.gir
girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)
gir_DATA = $(INTROSPECTION_GIRS) $(EXTRA_GIRS)
typelibsdir = $(libdir)/girepository-1.0
typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) $(EXTRA_GIRS:.gir=.typelib)
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
endif

View File

@ -13,8 +13,7 @@ AM_CPPFLAGS = \
$(GTK_DEP_CFLAGS) \
$(GDK_DEP_CFLAGS)
DEPS = \
$(top_builddir)/gtk/libgtk-4.la
DEPS =
LDADD = \
$(top_builddir)/gtk/libgtk-4.la \

View File

@ -13,7 +13,7 @@ AM_CPPFLAGS = \
$(GTK_DEBUG_FLAGS) \
$(GTK_DEP_CFLAGS)
LDADD = $(GTK_DEP_LIBS) $(top_builddir)/gsk/libgsk-4.la
LDADD = $(GTK_DEP_LIBS)
TEST_PROGS += \
$(NULL)

View File

@ -24,7 +24,6 @@ gtk_reftest_CFLAGS = \
gtk_reftest_LDADD = \
libgtkreftestprivate.la \
$(top_builddir)/gdk/libgdk-4.la \
$(top_builddir)/gtk/libgtk-4.la \
$(GTK_DEP_LIBS) \
$(GMODULE_LIBS) \