On Thu, Jul 18, 2024 at 11:28 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote: > > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> > > Add the directory structure and build files as well as changes to > .gitignore and Doxygen.in for GLib bindings. > > Tested-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxxxx> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> > --- [snip] > + > +if HAVE_INTROSPECTION > + > +INTROSPECTION_GIRS = gpiod-glib.gir > + > +girdir = $(INTROSPECTION_GIRDIR) > +gir_DATA = gpiod-glib.gir > + > +typelibsdir = $(INTROSPECTION_TYPELIBDIR) > +typelibs_DATA = gpiod-glib.typelib > + > +gpiod_gir_SCANNERFLAGS = \ > + --c-include="gpiod-glib.h" \ > + --warn-all \ > + --namespace Gpiodglib \ > + --identifier-prefix Gpiodglib \ > + --symbol-prefix gpiod > + > +gpiod_glib_gir_CFLAGS = $(libgpiod_glib_la_CFLAGS) > + > +gpiod-glib.gir: libgpiod-glib.la > +gpiod_glib_gir_INCLUDES = Gio-2.0 > +gpiod_glib_gir_LIBS = libgpiod-glib.la > +gpiod_glib_gir_FILES = $(libgpiod_glib_la_SOURCES) > +gpiod_glib_gir_EXPORT_PACKAGES = gpiod-glib > + > +include $(INTROSPECTION_MAKEFILE) Ah, I realized I added the introspection bits but they just silently fail to generate anything useful. I probably still need to change the file names to fit the convention. Bart