From a9634b933f71a9045e61d29c486f2d51d39fd1e2 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Mon, 23 Dec 2024 12:25:59 +0100 Subject: Add gobject-introspection generated bindings Uses the gir2pascal tool from the Lazarus IDE project, see https://wiki.freepascal.org/gir2pascal Generating gtk3 bindings involves generating all its dependencies, including glib2, etc. As long as the generated units have number of issues getting this compiled, using a copy of gtk3bindings from Lazarus for the moment. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bb9dd96..8f8add9 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ tuxcmd:: echo " ConstFPCTargetOSString = '`fpc -iTO`';" >> fpcver.inc echo " ConstFPCTargetProcessorString = '`fpc -iTP`';" >> fpcver.inc fpc -Mdelphi $(CFLAGS) $(EXTRA_CFLAGS) \ - -Fu./libgtk_kylix -Fu./translations -Fu./vfs \ + -Fu./bindings -Fu./libgtk_kylix -Fu./translations -Fu./vfs \ tuxcmd.dpr @@ -73,6 +73,7 @@ clean cleandir: ( cd vfs && rm -f $(CLEAN_OBJS) ) ( cd libgtk_kylix && rm -f $(CLEAN_OBJS) ) ( cd translations && rm -f $(CLEAN_OBJS) ) + ( cd bindings && rm -f $(CLEAN_OBJS) ) gtk_update_icon_cache = gtk-update-icon-cache -f -t $(DESTDIR)/share/icons/hicolor -- cgit v1.2.3