diff --git a/atk/meson.build b/atk/meson.build index c9b72287d..bacf1d99e 100644 --- a/atk/meson.build +++ b/atk/meson.build @@ -28,6 +28,16 @@ atk_sharp = library(assembly_name, source_gen, sources, link_with: glib_sharp, ) +gluegen = custom_target('atkgluegen', + input: raw_api_fname, + output: 'generate.c', + command: [generate_api, '--fakeglue'], + depends: [source_gen]) + +library('atksharpglue-3', gluegen, + dependencies: [glib_dep, gio_dep, atk_dep], + install: true) + install_infos += [assembly_name, atk_sharp.full_path()] atk_sharp_dep = declare_dependency(link_with: atk_sharp) diff --git a/gio/meson.build b/gio/meson.build index 01505c70d..b74d454a0 100644 --- a/gio/meson.build +++ b/gio/meson.build @@ -32,5 +32,15 @@ gio_sharp = library(assembly_name, source_gen, sources, link_with: glib_sharp, ) +gluegen = custom_target('giogluegen', + input: raw_api_fname, + output: 'generate.c', + command: [generate_api, '--fakeglue'], + depends: [source_gen]) + +library('giosharpglue-3', gluegen, + dependencies: [glib_dep, gio_dep], + install: true) + install_infos += [assembly_name, gio_sharp.full_path()] gio_sharp_dep = declare_dependency(link_with: gio_sharp) diff --git a/gtk/generated/meson.build b/gtk/generated/meson.build index a010b781c..7ba67889f 100644 --- a/gtk/generated/meson.build +++ b/gtk/generated/meson.build @@ -1058,8 +1058,7 @@ generated_sources = [ 'Gtk_MapEventHandler.cs', ] -source_gen = [] -source_gen += [custom_target(assembly_name + 'codegen', +source_gen = custom_target(assembly_name + 'codegen', input: raw_api_fname, output: generated_sources, command: [ @@ -1083,7 +1082,7 @@ source_gen += [custom_target(assembly_name + 'codegen', '--glue-libname', gluefile, '--schema', schema, ], - depends: [gapi_codegen, gapi_fixup])] + depends: [gapi_codegen, gapi_fixup]) gtk_api_includes = join_paths(meson.current_build_dir(), 'gtk-api.xml') diff --git a/gtk/meson.build b/gtk/meson.build index 9ad65e045..349d033d5 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -136,5 +136,15 @@ gtk_sharp = library(assembly_name, source_gen, sources, gdk_sharp], ) +gluegen = custom_target('gtkgluegen', + input: raw_api_fname, + output: 'generate.c', + command: [generate_api, '--fakeglue'], + depends: [source_gen]) + +library('gtksharpglue-3', gluegen, + dependencies: [glib_dep, gio_dep, atk_dep, gdk_dep, gtk_dep], + install: true) + install_infos += [assembly_name, gtk_sharp.full_path()] gtk_sharp_dep = declare_dependency(link_with: gtk_sharp) diff --git a/pango/meson.build b/pango/meson.build index 370807c84..bdb82e1b9 100644 --- a/pango/meson.build +++ b/pango/meson.build @@ -63,5 +63,15 @@ pango_sharp = library(assembly_name, source_gen, sources, link_with: [glib_sharp, cairo_sharp] ) +gluegen = custom_target('pangogluegen', + input: raw_api_fname, + output: 'generate.c', + command: [generate_api, '--fakeglue'], + depends: [source_gen]) + +library('pangosharpglue-3', gluegen, + dependencies: [glib_dep, gio_dep, pango_dep], + install: true) + install_infos += [assembly_name, pango_sharp.full_path()] pango_sharp_dep = declare_dependency(link_with: pango_sharp)